IoWriteErrorLogEntry function (wdm.h)

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

Syntax

void IoWriteErrorLogEntry(
  [in] PVOID ElEntry
);

Parameters

[in] 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

Requirement Value
Minimum supported client Available starting with Windows 2000.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <= DISPATCH_LEVEL
DDI compliance rules IrqlDispatch(wdm)

See also

IO_ERROR_LOG_PACKET

IoAllocateErrorLogEntry

IoFreeErrorLogEntry