DevHlp QSysState: Difference between revisions
Appearance
Created page with "DevHlp_QSysState is used by physical device drivers to obtain system status information. ==Syntax== ===C=== There is no direct C calling Sequence. ===Assembler=== CallingSeq..." |
|||
Line 27: | Line 27: | ||
; pDataBuf : | ; pDataBuf : | ||
; cbDataBuf : | ; cbDataBuf : | ||
==Return Code== | ==Return 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
Example Code
C
N/A