IoFreeErrorLogEntry routine

The IoFreeErrorLogEntry routine frees an unused error log entry.

Syntax


VOID IoFreeErrorLogEntry(
  _In_ PVOID ElEntry
);

Parameters

ElEntry [in]

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

Target platform

Universal

Version

Available in Windows XP and later versions of the Windows operating system.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

See also

IO_ERROR_LOG_PACKET
IoAllocateErrorLogEntry
IoWriteErrorLogEntry

 

 

Send comments about this topic to Microsoft

Show: