DevHlp_QSysState

From EDM2
Jump to: navigation, search

DevHlp_QSysState is used by physical device drivers to obtain system status information.

Syntax

There is no direct C calling Sequence.

CallingSequence in Assembler

    MOV   EAX, EntityList
    MOV   EBX, EntityLevel
    MOV   EDI, pidtid
    MOV   ESI, pDataBuf
    MOV   ECX, cbDataBuf
    MOV   DL,  DevHlp_QSysState
    CALL  [Device_Help]

Return

  • C' Clear if process killed. AX = zero.
  • 'C" Set if error.

Possible errors

87 ERROR_INVALID_PARAMETER
Invalid parameter specified.
111 ERROR_BUFFER_OVERFLOW
Data buffer is too small to hold all returned information.
115 ERROR_PROTECTION_VIOLATION
Unable to store in to data buffer.
124 ERROR_INVALID_LEVEL
Data buffer is too small to hold all returned information.

Remarks

DevHlp_QSysState is functionally equivalent to DosQuerySysState. See DosQuerySysState for information on the entities that may be requested and the format of the entities returned. This Device Help may be call at Task Time only.