共用方式為


IoWriteErrorLogEntry 函式 (ntifs.h)

IoWriteErrorLogEntry 例程會將指定的錯誤記錄封包排入系統錯誤記錄線程。

語法

void IoWriteErrorLogEntry(
  [in] PVOID ElEntry
);

參數

[in] ElEntry

驅動程式已配置 IoAllocateErrorLogEntry 並填入呼叫端所填入的錯誤記錄封包指標。

傳回值

沒有

言論

IoWriteErrorLogEntry 釋放錯誤記錄專案。 驅動程式不得在已傳遞給 ioWriteErrorLogEntry ioWriteErrorLogEntry的記錄專案上呼叫 IoFreeErrorLogEntry

要求

要求 價值
最低支援的用戶端 Windows 2000
目標平臺 普遍
標頭 ntifs.h (包括 Wdm.h、Ntddk.h、Ntifs.h)
連結庫 NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <= DISPATCH_LEVEL
DDI 合規性規則 IrqlDispatch(wdm)

另請參閱

IO_ERROR_LOG_PACKET

IoAllocateErrorLogEntry

IoFreeErrorLogEntry