DOT11EXTIHV_DEINIT_ADAPTER 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 operating system calls the Dot11ExtIhvDeinitAdapter function to have the IHV Extensions DLL halt all operations for the wireless LAN (WLAN) adapter, as well as free any resources allocated for the station.


DOT11EXTIHV_DEINIT_ADAPTER Dot11extihvDeinitAdapter;

void Dot11extihvDeinitAdapter(
  HANDLE hIhvExtAdapter



The handle used by the IHV Extensions DLL to reference the WLAN adapter. This handle value was specified through a previous call to the Dot11ExtIhvInitAdapter IHV Handler function.

Return Value



The operating system calls the Dot11ExtIhvDeinitAdapter function whenever a WLAN adapter becomes unavailable and is disabled for use, such as when a PCMCIA adapter is removed.

The operating system also calls the Dot11ExtIhvDeinitAdapter function for every adapter managed by the IHV Extensions DLL before the operating system unloads the DLL. In this situation, the operating system calls the Dot11ExtIhvDeinitService IHV Handler function after the last WLAN adapter has been halted through a call to the Dot11ExtIhvDeinitAdapter function.

For more information about operations that are performed when the WLAN adapter is removed, see 802.11 WLAN Adapter Removal.


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 Extensibility Functions