WlanFreeMemory function
The WlanFreeMemory function frees memory. Any memory returned from Native Wifi functions must be freed.
Syntax
VOID WINAPI WlanFreeMemory( _In_ PVOID pMemory );
Parameters
- pMemory [in]
-
Pointer to the memory to be freed.
Return value
None.
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. For more information, see Help and Knowledge Base article 940541, entitled "FIX: The private bytes of the application continuously increase when an application calls the WlanGetAvailableNetworkList function and the WlanFreeMemory function on a Windows XP Service Pack 2-based computer", in the Help and Support Knowledge Base at http://go.microsoft.com/fwlink/p/?linkid=102216.
Requirements
|
Minimum supported client | Windows Vista, Windows XP with SP3 [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2008 [desktop apps only] |
|
Redistributable | Wireless LAN API for Windows XP with SP2 |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/29/2012