Skip to content

Latest commit

 

History

History
70 lines (58 loc) · 1.97 KB

nf-wlanapi-wlanfreememory.md

File metadata and controls

70 lines (58 loc) · 1.97 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:wlanapi.WlanFreeMemory
WlanFreeMemory function (wlanapi.h)
Frees memory.
WlanFreeMemory
WlanFreeMemory function [NativeWIFI]
nwifi.wlanfreememory
wlanapi/WlanFreeMemory
nwifi\wlanfreememory.htm
nwifi
241afb9d-8b16-4d76-b311-302b5492853e
12/05/2018
WlanFreeMemory, WlanFreeMemory function [NativeWIFI], nwifi.wlanfreememory, wlanapi/WlanFreeMemory
wlanapi.h
Wlanapi.h
Windows
Windows Vista, Windows XP with SP3 [desktop apps only]
Windows Server 2008 [desktop apps only]
Wlanapi.lib
Wlanapi.dll
Windows
Wireless LAN API for Windows XP with SP2
19H1
WlanFreeMemory
wlanapi/WlanFreeMemory
c++
APIRef
kbSyntax
DllExport
wlanapi.dll
Ext-MS-Win-networking-wlanapi-l1-1-0.dll
WlanFreeMemory

WlanFreeMemory function

-description

The WlanFreeMemory function frees memory. Any memory returned from Native Wifi functions must be freed.

-parameters

-param pMemory [in]

Pointer to the memory to be freed.

-remarks

If pMemory points to memory that has already been freed, an access violation or heap corruption may occur.

There is a hotfix available for Wireless LAN API for Windows XP with Service Pack 2 (SP2) that can help improve the performance of applications that call WlanFreeMemory and WlanGetAvailableNetworkList many times.

-see-also

WlanAllocateMemory