Edit

HS_HOST_POST_CONNECT_AUTH_COMPLETION 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_HOST_POST_CONNECT_AUTH_COMPLETION function indicates the success or failure of an authentication attempt following a Wi-Fi connection setup at layer 2.

Syntax

 typedef DWORD (WINAPI *HS_HOST_POST_CONNECT_AUTH_COMPLETION)(
  _In_     HANDLE                    hPluginContext,
  _In_     DWORD                     dwConnectionId,
  _In_     eHS_AUTHENTICATION_RESULT AuthResult,
  _In_opt_ LPVOID                    pvReserved
);

Parameters

hPluginContext [in]
Context handle for the plugin making the call to this function.

dwConnectionId [in]
Unique identifier for the network connection.

AuthResult [in]
The eHS_AUTHENTICATION_RESULT enumeration value that indicates success or failure.

pvReserved [in, optional]
Reserved for future use.

Return value

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

Remarks

The plugin must call this function to inform the host of the result of a previous call to HS_PLUGIN_START_POST_CONNECT_AUTH.

Requirements

Version

Windows 10 Mobile

Header

Hotspotoffloadplugin.h (include Hotspotoffloadplugin.h)

See also

eHS_AUTHENTICATION_RESULT

HS_PLUGIN_START_POST_CONNECT_AUTH