IoWriteErrorLogEntry function

The IoWriteErrorLogEntry routine queues a given error log packet to the system error logging thread.

Syntax

NTKERNELAPI VOID IoWriteErrorLogEntry(
  PVOID ElEntry
);

Parameters

ElEntry

Pointer to the error log packet the driver has allocated with IoAllocateErrorLogEntry and filled in by the caller.

Return Value

None

Remarks

IoWriteErrorLogEntry frees the error log entry. Drivers must not call IoFreeErrorLogEntry on a log entry that they have already passed to IoWriteErrorLogEntry.

Requirements

   
Windows version Available starting with Windows 2000.
Target Platform Universal
Header ntifs.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL "<= DISPATCH_LEVEL"
DDI compliance rules IrqlDispatch

See Also

IO_ERROR_LOG_PACKET

IoAllocateErrorLogEntry

IoFreeErrorLogEntry