Edit

HS_PLUGIN_IS_HOTSPOT_NETWORK function

Wi-Fi Hotspot Offloading deprecation note

Important

Starting in Windows 10, version 1709, the Wi-Fi Hotspot Offloading feature is deprecated and should not be used. Instead, we recommend writing a UWP app and using the Wi-Fi Hotspot Authentication API (Windows.Networking.NetworkOperators).

For a code sample and more info, see the Wi-Fi hotspot authentication sample.

The HS_PLUGIN_IS_HOTSPOT_NETWORK function is called by the host to determine if a specified network is a hotspot network.

Syntax

 typedef DWORD (WINAPI *HS_PLUGIN_IS_HOTSPOT_NETWORK)(
  _In_      HS_NETWORK_IDENTITY *pNetworkIdentity,
  _Out_     eHS_NETWORK_STATE   *pNetworkState,
  _Out_opt_ HS_NETWORK_PROFILE  *pNetworkProfile
);

Parameters

*pNetworkIdentity [in]
Pointer to the HS_NETWORK_IDENTITY structure for the network from which the device is to be disconnected.

*pNetworkState [out]
An eHS_NETWORK_STATE enumeration value that indicates the type of network.

*pNetworkProfile [out, optional]
Pointer to the HS_NETWORK_PROFILE structure for the network.

Return value

This function is called by the host to communicate with the plugin and does not return a value.

Requirements

Version

Windows 10 Mobile

Header

Hotspotoffloadplugin.h (include Hotspotoffloadplugin.h)

See also

HS_NETWORK_IDENTITY

eHS_NETWORK_STATE

HS_NETWORK_PROFILE