MbbDeviceInitialize function (mbbcx.h)
The MbbDeviceInitialize method registers the client driver's MBB-specific callback functions.
NTSTATUS MbbDeviceInitialize(
WDFDEVICE Device,
PMBB_DEVICE_CONFIG Config
);
Device
A handle to a framework device object the client driver obtained from a previous call to WdfDeviceCreate.
Config
A pointer to a client driver-allocated and initialized MBB_DEVICE_CONFIG structure.
Returns STATUS_SUCCESS if the operation succeeds. Otherwise, this method may return an appropriate NTSTATUS error code.
This method might return failure in low resource situations.
The client driver must call this method after it calls WdfDeviceCreate from within EVT_WDF_DRIVER_DEVICE_ADD.
For more information, see Initialize the device.
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1809 |
Target Platform | Universal |
Minimum KMDF version | 1.27 |
Header | mbbcx.h |
Library | mbbcxstub.lib |
IRQL | PASSIVE_LEVEL |