ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/MSYS2/mingw32/i686-w64-mingw32/include/debugapi.h
Revision: 1166
Committed: Tue Oct 26 14:22:36 2021 UTC (4 years ago) by rossy
Content type: text/x-chdr
File size: 1369 byte(s)
Log Message:
Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File Contents

# Content
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 VOID WINAPI DebugBreak (VOID);
19 WINBASEAPI WINBOOL WINAPI IsDebuggerPresent (VOID);
20 WINBASEAPI VOID WINAPI OutputDebugStringA (LPCSTR lpOutputString);
21 WINBASEAPI VOID WINAPI OutputDebugStringW (LPCWSTR lpOutputString);
22
23 #define OutputDebugString __MINGW_NAME_AW(OutputDebugString)
24 #endif
25
26 #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
27 WINBASEAPI WINBOOL APIENTRY ContinueDebugEvent (DWORD dwProcessId, DWORD dwThreadId, DWORD dwContinueStatus);
28 WINBASEAPI WINBOOL APIENTRY WaitForDebugEvent (LPDEBUG_EVENT lpDebugEvent, DWORD dwMilliseconds);
29 #if WINVER >= _WIN32_WINNT_WIN10
30 WINBASEAPI WINBOOL APIENTRY WaitForDebugEventEx (LPDEBUG_EVENT lpDebugEvent, DWORD dwMilliseconds);
31 #endif
32 WINBASEAPI WINBOOL APIENTRY DebugActiveProcess (DWORD dwProcessId);
33 WINBASEAPI WINBOOL APIENTRY DebugActiveProcessStop (DWORD dwProcessId);
34 WINBASEAPI WINBOOL WINAPI CheckRemoteDebuggerPresent (HANDLE hProcess, PBOOL pbDebuggerPresent);
35 #endif
36
37 #ifdef __cplusplus
38 }
39 #endif
40 #endif