MBB_DEVICE_CONFIG_INIT function

Warning

Some information in this topic relates to prereleased product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

MBBCx is preview only in Windows 10, version 1903.

The MBB_DEVICE_CONFIG_INIT method initializes the MBB_DEVICE_CONFIG structure.

Syntax

void MBB_DEVICE_CONFIG_INIT(
  PMBB_DEVICE_CONFIG                              Config,
  PFN_MBB_DEVICE_SEND_MBIM_FRAGMENT               SendMbimFragment,
  PFN_MBB_DEVICE_RECEIVE_MBIM_FRAGMENT            ReceiveMbimFragment,
  PFN_MBB_DEVICE_SEND_DEVICE_SERVICE_SESSION_DATA SendDeviceServiceSessionData,
  PFN_MBB_DEVICE_CREATE_ADAPTER                   CreateAdapter
);

Parameters

Config

A pointer to the client driver-allocated MBB_DEVICE_CONFIG structure.

SendMbimFragment

A pointer to the client driver's implementation of the EVT_MBB_DEVICE_SEND_MBIM_FRAGMENT callback function.

ReceiveMbimFragment

A pointer to the client driver's implementation of the EVT_MBB_DEVICE_RECEIVE_MBIM_FRAGMENT callback function.

SendDeviceServiceSessionData

A pointer to the client driver's implementation of the EVT_MBB_DEVICE_SEND_SERVICE_SESSION_DATA callback function.

CreateAdapter

A pointer to the client driver's implementation of the EVT_MBB_DEVICE_CREATE_ADAPTER callback function.

Return Value

This method does not return a value.

Remarks

The client driver calls this method from its EVT_WDF_DRIVER_DEVICE_ADD event callback function in preparation for calling MbbDeviceInitialize.

Requirements

   
Minimum supported client Windows 10, version 1809
Target Platform Universal
Minimum KMDF version 1.27
Header mbbcx.h
Library mbbcxstub.lib
IRQL PASSIVE_LEVEL

See Also

Mobile Broadband (MBB) WDF class extension (MBBCx)