Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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_SEND_USER_MESSAGE function is called to communicate with the user. The message content is contained in custom UI display strings that are passed to the hotspot offload service.
Syntax
typedef DWORD (WINAPI *HS_HOST_SEND_USER_MESSAGE)(
_In_ HANDLE hPluginContext,
_In_ DWORD dwConnectionId,
_In_ DWORD dwStringID
);
Parameters
hPluginContext [in]
Context handle for the plugin making the call to this function.
dwConnectionId [in]
Unique identifier for the network connection.
dwStringID [in]
The string ID, used as an index into the string table where the message is stored.
Return value
This function is called by the plugin to communicate with the host and does not return a value.
Remarks
The hotspot plugin stores the messages in a string table. The plugin must pass the string IDs to the hotspot offload service to enable it to load the appropriate strings.
Requirements
Version |
Windows 10 Mobile |
Header |
Hotspotoffloadplugin.h (include Hotspotoffloadplugin.h) |