ReactOS  0.4.15-dev-1206-g731eddf
dbgkfuncs.h
Go to the documentation of this file.
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 #include <dbgktypes.h>
27 
28 //
29 // Native calls
30 //
33 NTAPI
36  _In_ HANDLE DebugObject
37 );
38 
41 NTAPI
43  _Out_ PHANDLE DebugHandle,
47 );
48 
51 NTAPI
53  _In_ HANDLE DebugObject,
54  _In_ PCLIENT_ID AppClientId,
55  _In_ NTSTATUS ContinueStatus
56 );
57 
60 NTAPI
62  _In_ HANDLE DebugObject,
66 );
67 
70 NTAPI
73  _In_ HANDLE DebugObject
74 );
75 
78 NTAPI
80  _In_ HANDLE DebugObject,
83  _In_ ULONG InformationLength,
85 );
86 
89 NTAPI
92  _In_ HANDLE DebugObject
93 );
94 
97 NTAPI
99  _Out_ PHANDLE DebugHandle,
103 );
104 
105 NTSYSAPI
106 NTSTATUS
107 NTAPI
109  _In_ HANDLE DebugObject,
110  _In_ PCLIENT_ID AppClientId,
111  _In_ NTSTATUS ContinueStatus
112 );
113 
114 NTSYSAPI
115 NTSTATUS
116 NTAPI
119  _In_ HANDLE DebugObject
120 );
121 
122 NTSYSAPI
123 NTSTATUS
124 NTAPI
126  _In_ HANDLE DebugObject,
129  _Out_ PDBGUI_WAIT_STATE_CHANGE StateChange
130 );
131 
132 NTSYSAPI
133 NTSTATUS
134 NTAPI
136  _In_ HANDLE DebugObject,
139  _In_ ULONG InformationLength,
141 );
142 #endif
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES ObjectAttributes
Definition: conport.c:35
_In_ PVOID _In_ BOOLEAN Alertable
Definition: exfuncs.h:452
IN CINT OUT PVOID IN ULONG OUT PULONG ReturnLength
Definition: dumpinfo.c:39
LONG NTSTATUS
Definition: precomp.h:26
NTSYSAPI NTSTATUS NTAPI ZwWaitForDebugEvent(_In_ HANDLE DebugObject, _In_ BOOLEAN Alertable, _In_opt_ PLARGE_INTEGER Timeout, _Out_ PDBGUI_WAIT_STATE_CHANGE StateChange)
#define NTSYSCALLAPI
Definition: ntbasedef.h:204
#define NTSYSAPI
Definition: ntoskrnl.h:14
#define _In_opt_
Definition: no_sal2.h:212
Iosb Information
Definition: create.c:4353
NTSYSCALLAPI NTSTATUS NTAPI NtSetInformationDebugObject(_In_ HANDLE DebugObject, _In_ DEBUGOBJECTINFOCLASS InformationClass, _In_ PVOID Information, _In_ ULONG InformationLength, _Out_opt_ PULONG ReturnLength)
NTSYSAPI NTSTATUS NTAPI ZwDebugContinue(_In_ HANDLE DebugObject, _In_ PCLIENT_ID AppClientId, _In_ NTSTATUS ContinueStatus)
NTSYSCALLAPI NTSTATUS NTAPI NtCreateDebugObject(_Out_ PHANDLE DebugHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes, _In_ ULONG Flags)
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
unsigned char BOOLEAN
#define _Out_
Definition: no_sal2.h:160
NTSYSAPI NTSTATUS NTAPI ZwSetInformationDebugObject(_In_ HANDLE DebugObject, _In_ DEBUGOBJECTINFOCLASS InformationClass, _In_ PVOID Information, _In_ ULONG InformationLength, _Out_opt_ PULONG ReturnLength)
#define _Out_opt_
Definition: no_sal2.h:214
enum _DEBUGOBJECTINFOCLASS DEBUGOBJECTINFOCLASS
NTSYSAPI NTSTATUS NTAPI ZwRemoveProcessDebug(_In_ HANDLE Process, _In_ HANDLE DebugObject)
NTSYSCALLAPI NTSTATUS NTAPI NtRemoveProcessDebug(_In_ HANDLE Process, _In_ HANDLE DebugObject)
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:454
#define _In_
Definition: no_sal2.h:158
NTSYSCALLAPI NTSTATUS NTAPI NtDebugContinue(_In_ HANDLE DebugObject, _In_ PCLIENT_ID AppClientId, _In_ NTSTATUS ContinueStatus)
static ULONG Timeout
Definition: ping.c:61
NTSYSAPI NTSTATUS NTAPI ZwCreateDebugObject(_Out_ PHANDLE DebugHandle, _In_ ACCESS_MASK DesiredAccess, _In_ POBJECT_ATTRIBUTES ObjectAttributes, _In_ ULONG Flags)
_In_ PIO_STACK_LOCATION _Inout_ PFILE_OBJECT _Inout_ PVCB _Outptr_result_maybenull_ PDCB _In_ PDCB _In_ PDIRENT _In_ ULONG _In_ ULONG _In_ PUNICODE_STRING _In_ PACCESS_MASK DesiredAccess
Definition: create.c:4137
NTSYSCALLAPI NTSTATUS NTAPI NtDebugActiveProcess(_In_ HANDLE Process, _In_ HANDLE DebugObject)
unsigned int * PULONG
Definition: retypes.h:1
NTSYSAPI NTSTATUS NTAPI ZwDebugActiveProcess(_In_ HANDLE Process, _In_ HANDLE DebugObject)
NTSYSCALLAPI NTSTATUS NTAPI NtWaitForDebugEvent(_In_ HANDLE DebugObject, _In_ BOOLEAN Alertable, _In_opt_ PLARGE_INTEGER Timeout, _Out_ PDBGUI_WAIT_STATE_CHANGE StateChange)
_Must_inspect_result_ _In_ PLARGE_INTEGER _In_ PLARGE_INTEGER _In_ ULONG _In_ PFILE_OBJECT _In_ PVOID Process
Definition: fsrtlfuncs.h:219
unsigned int ULONG
Definition: retypes.h:1
_In_ FILTER_INFORMATION_CLASS InformationClass
Definition: fltkernel.h:1714
ULONG ACCESS_MASK
Definition: nt_native.h:40