Dot11ExtFreeBuffer function

Important  The Native 802.11 Wireless LAN interface is deprecated in Windows 10 and later. Please use the WLAN Device Driver Interface (WDI) instead. For more information about WDI, see WLAN Universal Windows driver model.

The IHV Extensions DLL calls the Dot11ExtFreeBuffer function to free memory allocated through a call to Dot11ExtAllocateBuffer.


VOID APIENTRY Dot11ExtFreeBuffer(
  _In_opt_ LPVOID pvMemory


pvMemory [in, optional]

A pointer to the buffer to be freed. If the value of pvMemory is NULL, the Dot11ExtFreeBuffer function returns immediately.

Return value



The IHV Extension DLL must not call the Dot11ExtFreeBuffer function for any variable-length buffer allocated within an IHV handler function and passed to the operating system through a parameter to the function. In this situation, the operating system is responsible for freeing the buffer after the return of the IHV Handler function.

For more information about the IHV Handler functions, see Native 802.11 IHV Handler Functions.


Target platform


Available in Windows Vista and later versions of the Windows operating systems.


Wlanihv.h (include Wlanihv.h)

See also

Native 802.11 IHV Handler Functions



Send comments about this topic to Microsoft