DevHlp QSysState: Difference between revisions
Appearance
Line 42: | Line 42: | ||
==Remarks== | ==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. | |||
==Example Code== | ==Example Code== |
Revision as of 23:43, 7 June 2017
DevHlp_QSysState is used by physical device drivers to obtain system status information.
Syntax
C
There is no direct C calling Sequence.
Assembler
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]
Parameters
C
N/A
Assembler
- EntityList
- EntityLevel
- pidtid
- pDataBuf
- cbDataBuf
Return Code
C
N/A
Assembler
- 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.
Example Code
C
N/A