Bewerken

Delen via


MBB_DEVICE_CONFIG structure (mbbcx.h)

The MBB_DEVICE_CONFIG structure contains pointers to a client driver's MBBCx-specific callback functions. The client driver must supply an initialized MBB_DEVICE_CONFIG structure as an input parameter to MbbDeviceInitialize.

Syntax

typedef struct _MBB_DEVICE_CONFIG {
  ULONG                                           Size;
  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;
} MBB_DEVICE_CONFIG, *PMBB_DEVICE_CONFIG;

Members

Size

The size of this MBB_DEVICE_CONFIG structure, in bytes.

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.

Remarks

Call MBB_DEVICE_CONFIG_INIT to initialize this structure.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809
Minimum KMDF version 1.27
Header mbbcx.h