GetSystemDebugState

3.1

  LONG GetSystemDebugState(void)    

The GetSystemDebugState function retrieves information about the state of the system. A Windows-based debugger can use this information to determine whether to enter hard mode or soft mode upon encountering a breakpoint.

Parameters

This function has no parameters.

Return Value

The return value can be one or more of the following values:

Value Meaning

SDS_MENU Menu is displayed.
SDS_SYSMODAL System-modal dialog box is displayed.
SDS_NOTASKQUEUE Application queue does not exist yet and, therefore, the application cannot accept posted messages.
SDS_DIALOG Dialog box is displayed.
SDS_TASKLOCKED Current task is locked and, therefore, no other task is permitted to run.