KeDeregisterBugCheckReasonCallback function (wdm.h)

The KeDeregisterBugCheckReasonCallback routine removes a callback routine that was registered by KeRegisterBugCheckReasonCallback.

Syntax

BOOLEAN KeDeregisterBugCheckReasonCallback(
  [in, out] PKBUGCHECK_REASON_CALLBACK_RECORD CallbackRecord
);

Parameters

[in, out] CallbackRecord

Pointer to a KBUGCHECK_REASON_CALLBACK_RECORD structure. CallbackRecord must be the same value that was passed to KeRegisterBugCheckReasonCallback when the callback was registered.

Return value

KeDeregisterBugCheckReasonCallback returns TRUE if the callback is successfully removed. It returns FALSE if the specified callback is not registered.

Requirements

Requirement Value
Minimum supported client Available in Windows XP Service Pack 1 (SP1), Windows Server 2003, and later versions of Windows.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL Any level

See also

KeRegisterBugCheckReasonCallback