Previous Next

KeDeregisterBugCheckReasonCallback

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

NTKERNELAPI
BOOLEAN
  KeDeregisterBugCheckReasonCallback (
    IN PKBUGCHECK_REASON_CALLBACK_RECORD CallbackRecord 
    );

Parameters

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.

Headers

Declared in ntddk.h. Include ntddk.h.

Comments

This routine is only available in Windows XP Service Pack 1 (SP1), Windows Server 2003, and later operating systems.

Callers of KeDeregisterBugCheckReasonCallback can be running at any IRQL.

See Also

KeRegisterBugCheckReasonCallback