structure WIFI_DEVICE_CONFIG (wificx.h)
La structure WIFI_DEVICE_CONFIG contient des pointeurs vers les fonctions de rappel spécifiques à WiFiCx d’un pilote client. Le pilote client doit fournir une structure de WIFI_DEVICE_CONFIG initialisée en tant que paramètre d’entrée pour WiFiDeviceInitialize.
Syntaxe
typedef struct _WIFI_DEVICE_CONFIG {
ULONG Size;
ULONG WdiVersion;
PFN_WIFI_DEVICE_SEND_COMMAND SendCommand;
PFN_WIFI_DEVICE_CREATE_ADAPTER CreateAdapter;
PFN_WIFI_DEVICE_CREATE_WIFIDIRECTDEVICE CreateWifiDirectDevice;
} WIFI_DEVICE_CONFIG;
Membres
Size
Taille de cette structure WIFI_DEVICE_CONFIG, en octets.
WdiVersion
Version WDI.
SendCommand
Pointeur vers l’implémentation du pilote client de la fonction de rappel EVT_WIFI_DEVICE_SEND_COMMAND.
CreateAdapter
Pointeur vers l’implémentation du pilote client de la fonction de rappel EVT_WIFI_DEVICE_CREATE_ADAPTER.
CreateWifiDirectDevice
Pointeur vers l’implémentation du pilote client de la fonction de rappel EVT_WIFI_DEVICE_CREATE_WIFIDIRECTDEVICE.
Remarques
Appelez WIFI_DEVICE_CONFIG_INIT pour initialiser cette structure.
Exigences
Exigence | Valeur |
---|---|
client minimum pris en charge | Windows 11 |
serveur minimum pris en charge | Windows Server 2022 |
d’en-tête | wificx.h |