1 // Licensed under the Apache License, Version 2.0
2 // <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
4 // All files in the project carrying such notice may not be copied, modified, or distributed
5 // except according to those terms.
6 use shared
::minwindef
::{BOOL, DWORD, PBOOL}
;
7 use um
::minwinbase
::LPDEBUG_EVENT
;
8 use um
::winnt
::{HANDLE, LPCSTR, LPCWSTR}
;
10 pub fn IsDebuggerPresent() -> BOOL
;
12 pub fn OutputDebugStringA(
13 lpOutputString
: LPCSTR
,
15 pub fn OutputDebugStringW(
16 lpOutputString
: LPCWSTR
,
18 pub fn ContinueDebugEvent(
21 dwContinueStatus
: DWORD
,
23 pub fn WaitForDebugEvent(
24 lpDebugEvent
: LPDEBUG_EVENT
,
25 dwMilliseconds
: DWORD
,
27 pub fn DebugActiveProcess(
30 pub fn DebugActiveProcessStop(
33 pub fn CheckRemoteDebuggerPresent(
35 pbDebuggerPresent
: PBOOL
,
37 pub fn WaitForDebugEventEx(
38 lpDebugEvent
: LPDEBUG_EVENT
,
39 dwMilliseconds
: DWORD
,