NTKERNELAPI BOOLEAN KeRegisterBugCheckReasonCallback( IN PKBUGCHECK_REASON_CALLBACK_RECORD CallbackRecord, IN PKBUGCHECK_REASON_CALLBACK_ROUTINE CallbackRoutine, IN KBUGCHECK_CALLBACK_REASON Reason, IN PUCHAR Component ); Routine Description: This function registers a bug check callback record. If the system crashes, then the specified function will be called during bug check processing. N.B. Bug check callback routines are called in reverse order of registration, i.e., in LIFO order. Arguments: CallbackRecord - Supplies a pointer to a callback record. CallbackRoutine - Supplies a pointer to the callback routine. Reason - Specifies the conditions under which the callback should be called. Component - Supplies a pointer to a zero terminated component identifier. Return Value: If the specified bug check callback record is successfully registered, then a value of TRUE is returned. Otherwise, a value of FALSE is returned.