MINIPORT_WDI_FREE_ADAPTER callback function (dot11wdi.h)

Important

This topic is part of the WDI driver model released in Windows 10. The WDI driver model is in maintenance mode and will only receive high priority fixes. WiFiCx is the Wi-Fi driver model released in Windows 11. We recommend that you use WiFiCx to take advantage of the latest features.

The MiniportWdiFreeAdapter handler function requests that the IHV driver deletes its software state.

This is a WDI miniport handler inside NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS.

Note  You must declare the function by using the MINIPORT_WDI_FREE_ADAPTER type. For more information, see the following Examples section.
 

Syntax

MINIPORT_WDI_FREE_ADAPTER MiniportWdiFreeAdapter;

void MiniportWdiFreeAdapter(
  [in] NDIS_HANDLE MiniportAdapterContext
)
{...}

Parameters

[in] MiniportAdapterContext

The handle to the context area that the miniport driver allocated.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Windows
Header dot11wdi.h

See also

NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS