Previous Next

IoWriteErrorLogEntry

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

VOID 
  IoWriteErrorLogEntry(
    IN 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

Headers

Declared in wdm.h and ntddk.h. Include wdm.h or ntddk.h.

Comments

Callers of this routine must be running at IRQL <= DISPATCH_LEVEL.

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

See Also

IO_ERROR_LOG_PACKET, IoAllocateErrorLogEntry, IoFreeErrorLogEntry