- NDK 0.98, now with versionned headers. Too many changes to list, see the TinyKRNL...
[reactos.git] / reactos / include / ndk / dbgkfuncs.h
1 /*++ NDK Version: 0098
2
3 Copyright (c) Alex Ionescu. All rights reserved.
4
5 Header Name:
6
7 dbgkfuncs.h
8
9 Abstract:
10
11 Function definitions for the User Mode Debugging Facility.
12
13 Author:
14
15 Alex Ionescu (alexi@tinykrnl.org) - Updated - 27-Feb-2006
16
17 --*/
18
19 #ifndef _DBGKFUNCS_H
20 #define _DBGKFUNCS_H
21
22 //
23 // Dependencies
24 //
25 #include <umtypes.h>
26
27 //
28 // Native calls
29 //
30 NTSYSCALLAPI
31 NTSTATUS
32 NTAPI
33 NtCreateDebugObject(
34 OUT PHANDLE DebugHandle,
35 IN ACCESS_MASK DesiredAccess,
36 IN POBJECT_ATTRIBUTES ObjectAttributes,
37 IN BOOLEAN KillProcessOnExit
38 );
39
40 NTSYSCALLAPI
41 NTSTATUS
42 NTAPI
43 NtDebugContinue(
44 IN HANDLE DebugObject,
45 IN PCLIENT_ID AppClientId,
46 IN NTSTATUS ContinueStatus
47 );
48
49 NTSYSCALLAPI
50 NTSTATUS
51 NTAPI
52 NtWaitForDebugEvent(
53 IN HANDLE DebugObject,
54 IN BOOLEAN Alertable,
55 IN PLARGE_INTEGER Timeout OPTIONAL,
56 OUT PDBGUI_WAIT_STATE_CHANGE StateChange
57 );
58
59 NTSYSAPI
60 NTSTATUS
61 NTAPI
62 ZwCreateDebugObject(
63 OUT PHANDLE DebugHandle,
64 IN ACCESS_MASK DesiredAccess,
65 IN POBJECT_ATTRIBUTES ObjectAttributes,
66 IN BOOLEAN KillProcessOnExit
67 );
68
69 NTSYSAPI
70 NTSTATUS
71 NTAPI
72 ZwDebugContinue(
73 IN HANDLE DebugObject,
74 IN PCLIENT_ID AppClientId,
75 IN NTSTATUS ContinueStatus
76 );
77
78 NTSYSAPI
79 NTSTATUS
80 NTAPI
81 ZwWaitForDebugEvent(
82 IN HANDLE DebugObject,
83 IN BOOLEAN Alertable,
84 IN PLARGE_INTEGER Timeout OPTIONAL,
85 OUT PDBGUI_WAIT_STATE_CHANGE StateChange
86 );
87 #endif