Undocumented functions of NTDLL

2OO8, 17 April



DBG_STATE
DBG_STATE

typedef enum _DBG_STATE {

DbgIdle, DbgReplyPending, DbgCreateThreadStateChange, DbgCreateProcessStateChange, DbgExitThreadStateChange, DbgExitProcessStateChange, DbgExceptionStateChange, DbgBreakpointStateChange, DbgSingleStepStateChange, DbgLoadDllStateChange, DbgUnloadDllStateChange

} DBG_STATE, *PDBG_STATE;



DBG_STATE enumeration is used by Debug Objects as a member of DBGUI_WAIT_STATE_CHANGE structure returned in successfull 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
  •     


    Supported on system versions:
    Win XP/2003



    Documented by:
    Reactos
    Tomasz Nowak



    Requirements:
    Library: ntdll.lib


    See also:
    DBGUI_WAIT_STATE_CHANGE
    NtWaitForDebugObject