wlanapi.h header

This header is used by Native Wifi. For more information, see:

  • Native Wifi wlanapi.h contains the following programming interfaces:

Functions

Title Description
WFDCancelOpenSession Indicates that the application wants to cancel a pending WFDStartOpenSession function that has not completed.
WFDCloseHandle Closes a handle to the Wi-Fi Direct service.
WFDCloseSession Closes a session after a previously successful call to the WFDStartOpenSession function.
WFDOpenHandle Opens a handle to the Wi-Fi Direct service and negotiates a version of the Wi-FI Direct API to use.
WFDOpenLegacySession Retrieves and applies a stored profile for a Wi-Fi Direct legacy device.
WFDStartOpenSession Starts an on-demand connection to a specific Wi-Fi Direct device, which has been previously paired through the Windows Pairing experience.
WFDUpdateDeviceVisibility Updates device visibility for the Wi-Fi Direct device address for a given installed Wi-Fi Direct device node.
WlanAllocateMemory Allocates memory.
WlanCloseHandle Closes a connection to the server.
WlanConnect Attempts to connect to a specific network.
WlanDeleteProfile Deletes a wireless profile for a wireless interface on the local computer.
WlanDisconnect Disconnects an interface from its current network.
WlanEnumInterfaces Enumerates all of the wireless LAN interfaces currently enabled on the local computer.
WlanExtractPsdIEDataList Extracts the proximity service discovery (PSD) information element (IE) data list from raw IE data included in a beacon.
WlanFreeMemory Frees memory.
WlanGetAvailableNetworkList Retrieves the list of available networks on a wireless LAN interface.
WlanGetFilterList Retrieves a group policy or user permission list.
WlanGetInterfaceCapability Retrieves the capabilities of an interface.
WlanGetNetworkBssList Retrieves a list of the basic service set (BSS) entries of the wireless network or networks on a given wireless LAN interface.
WlanGetProfile Retrieves all information about a specified wireless profile.
WlanGetProfileCustomUserData Gets the custom user data associated with a wireless profile.
WlanGetProfileList Retrieves the list of profiles.
WlanGetSecuritySettings Gets the security settings associated with a configurable object.
WlanHostedNetworkForceStart Transitions the wireless Hosted Network to the wlan_hosted_network_active state without associating the request with the application's calling handle.
WlanHostedNetworkForceStop Transitions the wireless Hosted Network to the wlan_hosted_network_idle without associating the request with the application's calling handle.
WlanHostedNetworkInitSettings Configures and persists to storage the network connection settings (SSID and maximum number of peers, for example) on the wireless Hosted Network if these settings are not already configured.
WlanHostedNetworkQueryProperty Queries the current static properties of the wireless Hosted Network.
WlanHostedNetworkQuerySecondaryKey Queries the secondary security key that is configured to be used by the wireless Hosted Network.
WlanHostedNetworkQueryStatus Queries the current status of the wireless Hosted Network.
WlanHostedNetworkRefreshSecuritySettings Refreshes the configurable and auto-generated parts of the wireless Hosted Network security settings.
WlanHostedNetworkSetProperty Sets static properties of the wireless Hosted Network.
WlanHostedNetworkSetSecondaryKey Configures the secondary security key that will be used by the wireless Hosted Network.
WlanHostedNetworkStartUsing Starts the wireless Hosted Network.
WlanHostedNetworkStopUsing Stops the wireless Hosted Network.
WlanIhvControl Provides a mechanism for independent hardware vendor (IHV) control of WLAN drivers or services.
WlanOpenHandle Opens a connection to the server.
WlanQueryAutoConfigParameter Queries for the parameters of the auto configuration service.
WlanQueryInterface The WlanQueryInterface function queries various parameters of a specified interface.
WlanReasonCodeToString Retrieves a string that describes a specified reason code.
WlanRegisterNotification Is used to register and unregister notifications on all wireless interfaces.
WlanRegisterVirtualStationNotification Is used to register and unregister notifications on a virtual station.
WlanRenameProfile Renames the specified profile.
WlanSaveTemporaryProfile Saves a temporary profile to the profile store.
WlanScan Requests a scan for available networks on the indicated interface.
WlanSetAutoConfigParameter Sets parameters for the automatic configuration service.
WlanSetFilterList Sets the permit/deny list.
WlanSetInterface Sets user-configurable parameters.
WlanSetProfile Sets the content of a specific profile.
WlanSetProfileCustomUserData Sets the custom user data associated with a profile.
WlanSetProfileEapUserData Sets the Extensible Authentication Protocol (EAP) user credentials as specified by raw EAP data.
WlanSetProfileEapXmlUserData Sets the Extensible Authentication Protocol (EAP) user credentials as specified by an XML string.
WlanSetProfileList Sets the preference order of profiles.
WlanSetProfilePosition Sets the position of a single, specified profile in the preference list.
WlanSetPsdIEDataList Sets the proximity service discovery (PSD) information element (IE) data list.
WlanSetSecuritySettings Sets the security settings for a configurable object.
WlanUIEditProfile Displays the wireless profile user interface (UI).

Callback functions

Title Description
WFD_OPEN_SESSION_COMPLETE_CALLBACK Defines the callback function that is called by the WFDStartOpenSession function when the WFDStartOpenSession operation completes.
WLAN_NOTIFICATION_CALLBACK Defines the type of notification callback function.

Structures

Title Description
DOT11_NETWORK Contains information about an available wireless network.
DOT11_NETWORK_LIST Contains a list of 802.11 wireless networks.
WLAN_ASSOCIATION_ATTRIBUTES Contains association attributes for a connection.
WLAN_AUTH_CIPHER_PAIR_LIST Contains a list of authentication and cipher algorithm pairs.
WLAN_AVAILABLE_NETWORK Contains information about an available wireless network.
WLAN_AVAILABLE_NETWORK_LIST Contains an array of information about available networks.
WLAN_BSS_ENTRY Contains information about a basic service set (BSS).
WLAN_BSS_LIST Contains a list of basic service set (BSS) entries.
WLAN_CONNECTION_ATTRIBUTES Defines the attributes of a wireless connection.
WLAN_CONNECTION_NOTIFICATION_DATA Contains information about connection related notifications.
WLAN_CONNECTION_PARAMETERS Specifies the parameters used when using the WlanConnect function.
WLAN_COUNTRY_OR_REGION_STRING_LIST Contains a list of supported country or region strings.
WLAN_HOSTED_NETWORK_CONNECTION_SETTINGS Contains information about the connection settings on the wireless Hosted Network.
WLAN_HOSTED_NETWORK_DATA_PEER_STATE_CHANGE Contains information about a network state change for a data peer on the wireless Hosted Network.
WLAN_HOSTED_NETWORK_PEER_STATE Contains information about the peer state for a peer on the wireless Hosted Network.
WLAN_HOSTED_NETWORK_RADIO_STATE Contains information about the radio state on the wireless Hosted Network.
WLAN_HOSTED_NETWORK_SECURITY_SETTINGS Contains information about the security settings on the wireless Hosted Network.
WLAN_HOSTED_NETWORK_STATE_CHANGE Contains information about a network state change on the wireless Hosted Network.
WLAN_HOSTED_NETWORK_STATUS Contains information about the status of the wireless Hosted Network.
WLAN_INTERFACE_CAPABILITY Contains information about the capabilities of an interface.
WLAN_INTERFACE_INFO Contains information about a wireless LAN interface.
WLAN_INTERFACE_INFO_LIST Array of NIC interface information.
WLAN_MAC_FRAME_STATISTICS Contains information about sent and received MAC frames.
WLAN_MSM_NOTIFICATION_DATA Contains information about media specific module (MSM) connection related notifications.
WLAN_PHY_FRAME_STATISTICS Contains information about sent and received PHY frames.
WLAN_PHY_RADIO_STATE Specifies the radio state.
WLAN_PROFILE_INFO Basic information about a profile.
WLAN_PROFILE_INFO_LIST Contains a list of wireless profile information.
WLAN_RADIO_STATE Specifies the radio state on a list of physical layer (PHY) types.
WLAN_RATE_SET The set of supported data rates.
WLAN_RAW_DATA Contains raw data in the form of a blob that is used by some Native Wifi functions.
WLAN_RAW_DATA_LIST Contains raw data in the form of an array of data blobs that are used by some Native Wifi functions.
WLAN_SECURITY_ATTRIBUTES Defines the security attributes for a wireless connection.
WLAN_STATISTICS Assorted statistics about an interface.

Enumerations

Title Description
DOT11_RADIO_STATE
WL_DISPLAY_PAGES Specifies the active tab when the wireless profile user interface dialog box appears.
WLAN_ADHOC_NETWORK_STATE
WLAN_AUTOCONF_OPCODE
WLAN_CONNECTION_MODE Defines the mode of connection.
WLAN_FILTER_LIST_TYPE Indicates types of filter lists.
WLAN_HOSTED_NETWORK_NOTIFICATION_CODE Specifies the possible values of the NotificationCode parameter for received notifications on the wireless Hosted Network.
WLAN_HOSTED_NETWORK_OPCODE Specifies the possible values of the operation code for the properties to query or set on the wireless Hosted Network.
WLAN_HOSTED_NETWORK_PEER_AUTH_STATE Specifies the possible values for the authentication state of a peer on the wireless Hosted Network.
WLAN_HOSTED_NETWORK_REASON Specifies the possible values for the result of a wireless Hosted Network function call.
WLAN_HOSTED_NETWORK_STATE Specifies the possible values for the network state of the wireless Hosted Network.
WLAN_IHV_CONTROL_TYPE
WLAN_INTERFACE_STATE
WLAN_INTERFACE_TYPE Specifies the wireless interface type.
WLAN_INTF_OPCODE
WLAN_NOTIFICATION_ACM
WLAN_NOTIFICATION_MSM
WLAN_OPCODE_VALUE_TYPE
WLAN_POWER_SETTING
WLAN_SECURABLE_OBJECT Defines the securable objects used by Native Wifi Functions.