DBG_STATE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTDBG_H

typedef enum _DBG_STATE
{
    DbgIdle,
    DbgReplyPending,
    DbgCreateThreadStateChange,
    DbgCreateProcessStateChange,
    DbgExitThreadStateChange,
    DbgExitProcessStateChange,
    DbgExceptionStateChange,
    DbgBreakpointStateChange,
    DbgSingleStepStateChange,
    DbgLoadDllStateChange,
    DbgUnloadDllStateChange
} DBG_STATE, *PDBG_STATE;

#endif

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:

DbgIdle

DbgReplyPending

DbgCreateThreadStateChange

DbgCreateProcessStateChange

DbgExitThreadStateChange

DbgExitProcessStateChange

DbgExceptionStateChange

DbgBreakpointStateChange

DbgSingleStepStateChange

DbgLoadDllStateChange

DbgUnloadDllStateChange

Documented by

See also