Partager via


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 MBB_DEVICE_CONFIG allouée par le pilote client.

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.

Valeur de retour

Aucun

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 MbbDeviceInitialize.

Exigences

Exigence Valeur
client minimum pris en charge Windows 10, version 1809
plateforme cible Universel
version minimale de KMDF 1.27
d’en-tête mbbcx.h
bibliothèque mbbcxstub.lib
IRQL PASSIVE_LEVEL

Voir aussi

extension de classe WDF Mobile Broadband (MBB) (MBBCx)