Edit

HS_PLUGIN_PRE_CONNECT_INIT 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_PRE_CONNECT_INIT function is called to notify the plugin to initialize its state when a connection to a hotspot network is in progress.

Syntax

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

Parameters

*pNetworkIdentity [in]
Pointer to the HS_NETWORK_IDENTITY structure for the target 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