fonction MBB_DEVICE_CONFIG_INIT (mbbcx.h)

La méthode MBB_DEVICE_CONFIG_INIT initialise la structure MBB_DEVICE_CONFIG .

Syntaxe

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
);

Paramètres

Config

Pointeur vers la structure de MBB_DEVICE_CONFIG allouée par le pilote client.

SendMbimFragment

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

ReceiveMbimFragment

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

SendDeviceServiceSessionData

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

CreateAdapter

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

Valeur de retour

None

Remarques

Le pilote client appelle cette méthode à partir de sa fonction de rappel d’événement EVT_WDF_DRIVER_DEVICE_ADD en préparation de l’appel de MbbDeviceInitialize.

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows 10, version 1809
Plateforme cible Universal
Version KMDF minimale 1,27 %
En-tête mbbcx.h
Bibliothèque mbbcxstub.lib
IRQL PASSIVE_LEVEL

Voir aussi

Extension de classe WDF (MBB) (MBBCx)