DOT11EXT_FREE_BUFFER callback 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

DOT11EXT_FREE_BUFFER Dot11extFreeBuffer;

void Dot11extFreeBuffer(
  LPVOID pvMemory
)
{...}

Parameters

pvMemory

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

   
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header wlanihv.h (include Wlanihv.h)

See Also

Native 802.11 IHV Handler Functions

Dot11ExtAllocateBuffer