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.

Syntax


VOID APIENTRY Dot11ExtFreeBuffer(
  _In_opt_ LPVOID pvMemory
);

Parameters

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

None

Remarks

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.

Requirements

Target platform

Version

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

Header

Wlanihv.h (include Wlanihv.h)

See also

Dot11ExtAllocateBuffer
Native 802.11 IHV Handler Functions

 

 

Send comments about this topic to Microsoft

Show: