fonction WIFI_DEVICE_CONFIG_INIT (wificx.h)
La fonction WIFI_DEVICE_CONFIG_INIT initialise la structure WIFI_DEVICE_CONFIG.
Syntaxe
void WIFI_DEVICE_CONFIG_INIT(
WIFI_DEVICE_CONFIG *Config,
ULONG WdiVersion,
PFN_WIFI_DEVICE_SEND_COMMAND SendCommand,
PFN_WIFI_DEVICE_CREATE_ADAPTER CreateAdapter,
PFN_WIFI_DEVICE_CREATE_WIFIDIRECTDEVICE CreateWifiDirectDevice
);
Paramètres
Config
[Out] Pointeur vers la structure WIFI_DEVICE_CONFIG allouée par le pilote client.
WdiVersion
[Dans] Version WDI.
SendCommand
[Dans] Pointeur vers l’implémentation du pilote client de la fonction de rappel EVT_WIFI_DEVICE_SEND_COMMAND.
CreateAdapter
[Dans] Pointeur vers l’implémentation du pilote client de la fonction de rappel EVT_WIFI_DEVICE_CREATE_ADAPTER.
CreateWifiDirectDevice
[Dans] Pointeur vers l’implémentation du pilote client de la fonction de rappel EVT_WIFI_DEVICE_CREATE_WIFIDIRECTDEVICE.
Valeur de retour
Aucun
Remarques
Le pilote client appelle cette fonction à partir de sa fonction de rappel d’événement EVT_WDF_DRIVER_DEVICE_ADD en préparation de l’appel WiFiDeviceInitialize.
Exigences
Exigence | Valeur |
---|---|
client minimum pris en charge | Windows 11 |
serveur minimum pris en charge | Windows Server 2022 |
d’en-tête | wificx.h |
Voir aussi
Écrire un pilote client WiFiCx
EVT_WIFI_DEVICE_CREATE_ADAPTER