WIFI_DEVICE_CONFIG structure (wificx.h)

The WIFI_DEVICE_CONFIG structure contains pointers to a client driver's WiFiCx-specific callback functions. The client driver must supply an initialized WIFI_DEVICE_CONFIG structure as an input parameter to WiFiDeviceInitialize.

Syntax

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;

Members

Size

The size of this WIFI_DEVICE_CONFIG structure, in bytes.

WdiVersion

The WDI version.

SendCommand

A pointer to the client driver's implementation of the EVT_WIFI_DEVICE_SEND_COMMAND callback function.

CreateAdapter

A pointer to the client driver's implementation of the EVT_WIFI_DEVICE_CREATE_ADAPTER callback function.

CreateWifiDirectDevice

A pointer to the client driver's implementation of the EVT_WIFI_DEVICE_CREATE_WIFIDIRECTDEVICE callback function.

Remarks

Call WIFI_DEVICE_CONFIG_INIT to initialize this structure.

Requirements

Requirement Value
Minimum supported client Windows 11
Minimum supported server Windows Server 2022
Header wificx.h

See also

WiFiDeviceInitialize

EVT_MBB_DEVICE_CREATE_ADAPTER

EVT_WIFI_DEVICE_SEND_COMMAND

EVT_WIFI_DEVICE_CREATE_WIFIDIRECTDEVICE

WIFI_DEVICE_CONFIG_INIT