MBB_DEVICE_MBIM_PARAMETERS_INIT function (mbbcx.h)

The MBB_DEVICE_MBIM_PARAMETERS_INIT method initializes a MBB_DEVICE_MBIM_PARAMETERS structure.

Syntax

void MBB_DEVICE_MBIM_PARAMETERS_INIT(
  PMBB_DEVICE_MBIM_PARAMETERS MbimParameters,
  MBB_MBIM_VERSION            Version,
  ULONG                       MaximumFragmentSize,
  MBB_MBIM_EXTENDED_VERSION   ExtendedVersion
);

Parameters

MbimParameters

A pointer to the client driver-allocated MBB_DEVICE_MBIM_PARAMETERS structure to be initialized.

Version

An MBB_MBIM_VERSION value that defines the version of the MBIM specification that the client driver supports. The value of this field must be MBB_MBIM_VERSION1_0_ERRATA.

MaximumFragmentSize

The maximum size, in bytes, of MBIM control messages that the client driver can support.

ExtendedVersion

An MBB_MBIM_EXTENDED_VERSION value that defines the version of the lowest extended MBIM specification that the client driver supports. If a device sets MbbMbimExtendedVersion2Dot0, it means the device can only support MbbMbimExtendedVersion2Dot0 or higher. So if a device with intention to work with older hosts should set MbbMbimExtendedVersion1Dot0

Return value

None

Remarks

The client driver typically calls this method from its EVT_WDF_DEVICE_PREPARE_HARDWARE event callback function in preparation for calling MbbDeviceSetMbimParameters.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809
Target Platform Universal
Minimum KMDF version 1.29
Header mbbcx.h
Library mbbcxstub.lib
IRQL Any level as long as target memory is resident

See also

Mobile Broadband (MBB) WDF class extension (MBBCx)