Partager via


structure MBB_DEVICE_CONFIG (mbbcx.h)

La structure MBB_DEVICE_CONFIG contient des pointeurs vers les fonctions de rappel MBBCx propres à un pilote client. Le pilote client doit fournir une structure de MBB_DEVICE_CONFIG initialisée en tant que paramètre d’entrée pour MbbDeviceInitialize.

Syntaxe

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;

Membres

Size

Taille de cette structure MBB_DEVICE_CONFIG, en octets.

SendMbimFragment

Pointeur vers l’implémentation du pilote client de la fonction de rappel EVT_MBB_DEVICE_SEND_MBIM_FRAGMENT.

ReceiveMbimFragment

Pointeur vers l’implémentation du pilote client de la fonction de rappel EVT_MBB_DEVICE_RECEIVE_MBIM_FRAGMENT.

SendDeviceServiceSessionData

Pointeur vers l’implémentation du pilote client de la fonction de rappel EVT_MBB_DEVICE_SEND_SERVICE_SESSION_DATA.

CreateAdapter

Pointeur vers l’implémentation du pilote client de la fonction de rappel EVT_MBB_DEVICE_CREATE_ADAPTER.

Remarques

Appelez MBB_DEVICE_CONFIG_INIT pour initialiser cette structure.

Exigences

Exigence Valeur
client minimum pris en charge Windows 10, version 1809
version minimale de KMDF 1.27
d’en-tête mbbcx.h