98 #define DEBUG_READ_EVENT 0x0001
99 #define DEBUG_PROCESS_ASSIGN 0x0002
100 #define DEBUG_SET_INFORMATION 0x0004
101 #define DEBUG_QUERY_INFORMATION 0x0008
102 #define DEBUG_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | \
103 DEBUG_READ_EVENT | DEBUG_PROCESS_ASSIGN | DEBUG_SET_INFORMATION | \
104 DEBUG_QUERY_INFORMATION)
106 #define DEBUG_KILL_ON_CLOSE 0x1
118 _Out_ PHANDLE DebugObjectHandle,
119 _In_ ACCESS_MASK DesiredAccess,
128 _In_ HANDLE ProcessHandle,
129 _In_ HANDLE DebugObjectHandle
136 _In_ HANDLE DebugObjectHandle,
138 _In_ NTSTATUS ContinueStatus
145 _In_ HANDLE ProcessHandle,
146 _In_ HANDLE DebugObjectHandle
153 _In_ HANDLE DebugObjectHandle,
155 _In_ PVOID DebugInformation,
156 _In_ ULONG DebugInformationLength,
157 _Out_opt_ PULONG ReturnLength
164 _In_ HANDLE DebugObjectHandle,
165 _In_ BOOLEAN Alertable,
166 _In_opt_ PLARGE_INTEGER Timeout,
167 _Out_ PVOID WaitStateChange
190 _In_ HANDLE DebugObject
197 _Out_ PDBGUI_WAIT_STATE_CHANGE StateChange,
198 _In_opt_ PLARGE_INTEGER Timeout
206 _In_ NTSTATUS ContinueStatus
243 _In_ PDBGUI_WAIT_STATE_CHANGE StateChange,
244 _Out_
struct _DEBUG_EVENT *DebugEvent