MBB_DEVICE_CONFIG_INIT function (mbbcx.h)

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

None

Remarks

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

Requirements

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

See also

Mobile Broadband (MBB) WDF class extension (MBBCx)