// ntddk.h
typedef enum _BDCB_CALLBACK_TYPE {
BdCbStatusUpdate,
BdCbInitializeImage
} BDCB_CALLBACK_TYPE, *PBDCB_CALLBACK_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
The BDCB_CALLBACK_TYPE enumeration specifies whether the callback being passed to a BOOT_DRIVER_CALLBACK_FUNCTION routine is a status update or a boot-start driver initialization notification.
BdCbStatusUpdateA status update provided by the system to a boot-start driver.
BdCbInitializeImageA boot image is about to be initialized. During this callback, boot-start drivers may classify a boot image as a known good image or a known bad image.
The two callback types have unique context structures that provide additional information specific to the callback.
| Value | Corresponding structure to use |
|---|---|
| BdCbStatusUpdate | BDCB_STATUS_UPDATE_TYPE |
| BdCbInitializeImage | BDCB_CLASSIFICATION |