IoFreeErrorLogEntry function (wdm.h)

The IoFreeErrorLogEntry routine frees an unused error log entry.

Syntax

void IoFreeErrorLogEntry(
  [in] PVOID ElEntry
);

Parameters

[in] ElEntry

Pointer to an error log packet allocated by IoAllocateErrorLogEntry.

Return value

None

Remarks

Drivers use IoFreeErrorLogEntry to free an error log entry allocated by IoAllocateErrorLogEntry. IoWriteErrorLogEntry also frees any error log entries passed to it, so drivers must not call both on the same log entry.

Requirements

Requirement Value
Minimum supported client Available in Windows XP and later versions of the Windows operating system.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe

See also

IO_ERROR_LOG_PACKET

IoAllocateErrorLogEntry

IoWriteErrorLogEntry