DevHlp_LogEntry provides a device driver interface to the logging facility.
The description of the LogEntry DevHlp function follows:
Calling sequence - LES BX,log_data_address
MOV CX,service
MOV DL,DevHlp_LogEntry /* LogEntry function
code 0x3b */
CALL [Device_Help]
Parameters
log_data_address
is the address of a buffer that
contains a variable length Error Log entry. (See the section on the LogAddEntries
high level API for further details.) level API for further details.)
service
the
class of logging facility:
0x0
0x1
"Old-Style"
Error Logging call ("old" 16-bit (DosLogEntry-style) data packet provided).
0x2 - 0x2f
0x80 - 0x8f
Reserved
for internal use by the System Logging Service device driver.
0x90
"New_Style"
Error Logging call ("new" 32-bit (LogAddEntries-style) data packet provided).
0x91 - 0xffff
Returns
Return code in AX:
- Success
non-zero
Failure.
Possible errors:
Remarks
When CX is set to 80H, DS:SI is set to point to the device driver header
block of the System Logging Service device driver.
[Back]
[Next]