DevHlp QSysState: Difference between revisions
Appearance
mNo edit summary |
|||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:DevHlp_QSysState}} | |||
DevHlp_QSysState is used by physical device drivers to obtain system status information. | DevHlp_QSysState is used by physical device drivers to obtain system status information. | ||
==Syntax== | ==Syntax== | ||
There is no direct C calling Sequence. | There is no direct C calling Sequence. | ||
CallingSequence in Assembler | CallingSequence in Assembler | ||
<PRE> | <PRE> | ||
Line 17: | Line 16: | ||
</PRE> | </PRE> | ||
==Return== | |||
==Return | |||
* C' Clear if process killed. AX = zero. | * C' Clear if process killed. AX = zero. | ||
* 'C" Set if error. | * 'C" Set if error. | ||
Possible errors | Possible errors | ||
; 87 ERROR_INVALID_PARAMETER : Invalid parameter specified. | ; 87 ERROR_INVALID_PARAMETER: Invalid parameter specified. | ||
; 111 ERROR_BUFFER_OVERFLOW : Data buffer is too small to hold all returned information. | ; 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. | ; 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. | ; 124 ERROR_INVALID_LEVEL: Data buffer is too small to hold all returned information. | ||
==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. | 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. | ||
[[Category:DevHlps]] | [[Category:DevHlps]] |
Latest revision as of 02:45, 29 January 2018
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.