Edit

HS_PLUGIN_DISCONNECT_FROM_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_DISCONNECT_FROM_NETWORK function notifies the plugin that the device will be disconnected from the network.

Syntax

 typedef DWORD (WINAPI *HS_PLUGIN_DISCONNECT_FROM_NETWORK)(
  _In_ HS_NETWORK_IDENTITY *pNetworkIdentity
);

Parameters

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

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