Bewerken

Delen via


WIFI_WIFIDIRECT_CAPABILITIES_INIT function (wificx.h)

The WIFI_WIFIDIRECT_CAPABILITIES_INIT function initializes a WIFI_WIFIDIRECT_CAPABILITIES structure.

Syntax

void WIFI_WIFIDIRECT_CAPABILITIES_INIT(
  WIFI_WIFIDIRECT_CAPABILITIES *Capabilities
);

Parameters

Capabilities

[Out] A pointer to a client driver-allocated WIFI_WIFIDIRECT_CAPABILITIES structure.

Return value

None

Remarks

This function zeroes out the memory of the WIFI_WIFIDIRECT_CAPABILITIES structure, then fills in the Size member. Client drivers must then call WifiDeviceSetWifiDirectCapabilities to report WiFi Direct capabilities to WiFiCx.

Requirements

Requirement Value
Minimum supported client Windows 11, version 24H2
Header wificx.h

See also

WIFI_WIFIDIRECT_CAPABILITIES

WifiDeviceSetWifiDirectCapabilities