Edit

HS_PLUGIN_QUERY_SUPPORTED_SIMS 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_QUERY_SUPPORTED_SIMS function returns the list of SIMs that the plugin supports.

Syntax

 typedef DWORD (WINAPI *HS_PLUGIN_QUERY_SUPPORTED_SIMS)(
  _In_opt_ HS_NETWORK_IDENTITY      *pNetworkIdentity,
  _Inout_  HS_PLUGIN_SUPPORTED_SIMS *pSupportedSIMs
);

Parameters

*pNetworkIdentity [in, optional]
The HS_NETWORK_IDENTITY structure that uniquely identifies the network.

*pSupportedSIMs [in, out]
Pointer to an array of one or more HS_PLUGIN_SUPPORTED_SIMS structures that contains the list of supported SIMs.

Return value

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

Remarks

If the pNetworkIdentity parameter exists then only those SIM identities required for connecting to the specified network must be provided, otherwise the entire list of SIMs for connecting to all networks must be provided.

Requirements

Version

Windows 10 Mobile

Header

Hotspotoffloadplugin.h (include Hotspotoffloadplugin.h)

See also

HS_NETWORK_IDENTITY

HS_PLUGIN_SUPPORTED_SIMS