Edit

HS_HOST_FREE_MEMORY 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_FREE_MEMORY function frees any memory that was allocated earlier by a call to HS_HOST_ALLOCATE_MEMORY.

Syntax

 typedef VOID (WINAPI *HS_HOST_FREE_MEMORY)(
  _In_     HANDLE hPluginContext,
  _In_opt_ LPVOID pvBuffer
);

Parameters

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

pvBuffer [in, optional]
Pointer to the memory buffer.

Return value

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

Requirements

Version

Windows 10 Mobile

Header

Hotspotoffloadplugin.h (include Hotspotoffloadplugin.h)

See also

HS_HOST_ALLOCATE_MEMORY