#ifndef _NTDBG_H
typedef enum _DBG_STATE
{
DbgIdle,
DbgReplyPending,
DbgCreateThreadStateChange,
DbgCreateProcessStateChange,
DbgExitThreadStateChange,
DbgExitProcessStateChange,
DbgExceptionStateChange,
DbgBreakpointStateChange,
DbgSingleStepStateChange,
DbgLoadDllStateChange,
DbgUnloadDllStateChange
} DBG_STATE, *PDBG_STATE;
View code on GitHub
DBG_STATE
enumeration is used by Debug Objects as a member of DBGUI_WAIT_STATE_CHANGE
structure returned in successful call to NtWaitForDebugEvent
function. It describes current state of Debug Object. Possible values are:
DBGUI_WAIT_STATE_CHANGE
NtWaitForDebugObject