source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/debugapi.h@ 1167

Last change on this file since 1167 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 1.3 KB
Line 
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
14extern "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
Note: See TracBrowser for help on using the repository browser.