Jump to content

DevHlp_LogEntry

From EDM2

DevHlp_LogEntry provides a device driver interface to the logging facility.

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
Reserved
0x1
"Old-Style" Error Logging call ("old" 16-bit (DosLogEntry-style) data packet provided).
0x2 - 0x2f
Reserved for future use.
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
Reserved for future use.

Returns

Return code in AX:

Success
non-zero
Failure.
Possible errors:
Invalid log type
Facility unavailable
Facility suspended

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.

Example Code

Calling sequence:

LES   BX,log_data_address
MOV   CX,service
MOV   DL,DevHlp_LogEntry  /* LogEntry function code 0x3b */
CALL  [Device_Help]