Edit

HS_PLUGIN_DEINIT 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_DEINIT function is called by the host to notify the plugin that it will be unloaded.

Syntax

 typedef DWORD (WINAPI *HS_PLUGIN_DEINIT)(
  _In_ eHS_UNLOAD_REASON UnloadReason
);

Parameters

UnloadReason [in]
An eHS_UNLOAD_REASON enumeration value that indicates the reason for the unload.

Return value

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

Remarks

Upon receiving notification that it will be unloaded, the plugin should complete any current activity and save state, if required.

Requirements

Version

Windows 10 Mobile

Header

Hotspotoffloadplugin.h (include Hotspotoffloadplugin.h)

See also

eHS_UNLOAD_REASON