1 /** 2 * This file is part of the mingw-w64 runtime package. 3 * No warranty is given; refer to the file DISCLAIMER within this package. 4 */ 5 #ifndef _APISETDEBUG_ 6 #define _APISETDEBUG_ 7 8 #include <apiset.h> 9 #include <apisetcconv.h> 10 #include <minwindef.h> 11 #include <minwinbase.h> 12 13 #ifdef __cplusplus 14 extern "C" { 15 #endif 16 17 #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP) 18 WINBASEAPI WINBOOL WINAPI IsDebuggerPresent (VOID); 19 WINBASEAPI VOID WINAPI OutputDebugStringA (LPCSTR lpOutputString); 20 WINBASEAPI VOID WINAPI OutputDebugStringW (LPCWSTR lpOutputString); 21 22 #define OutputDebugString __MINGW_NAME_AW(OutputDebugString) 23 #endif 24 25 #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) 26 WINBASEAPI VOID WINAPI DebugBreak (VOID); 27 WINBASEAPI WINBOOL APIENTRY ContinueDebugEvent (DWORD dwProcessId, DWORD dwThreadId, DWORD dwContinueStatus); 28 WINBASEAPI WINBOOL APIENTRY WaitForDebugEvent (LPDEBUG_EVENT lpDebugEvent, DWORD dwMilliseconds); 29 WINBASEAPI WINBOOL APIENTRY DebugActiveProcess (DWORD dwProcessId); 30 WINBASEAPI WINBOOL APIENTRY DebugActiveProcessStop (DWORD dwProcessId); 31 WINBASEAPI WINBOOL WINAPI CheckRemoteDebuggerPresent (HANDLE hProcess, PBOOL pbDebuggerPresent); 32 #endif 33 34 #ifdef __cplusplus 35 } 36 #endif 37 #endif 38