MINIPORT_WDI_START_ADAPTER_OPERATION 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 MiniportWdiStartAdapterOperation handler function can be used by the IHV driver to perform any additional MiniportInitializeEx tasks. The IHV miniport can also use it as a hint that the Microsoft component has finished initializing the miniport and the miniport can start any needed background activities.

This is an optional WDI miniport handler inside NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS.

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

Syntax

MINIPORT_WDI_START_ADAPTER_OPERATION MiniportWdiStartAdapterOperation;

NDIS_STATUS MiniportWdiStartAdapterOperation(
  [in] NDIS_HANDLE MiniportAdapterContext
)
{...}

Parameters

[in] MiniportAdapterContext

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

Return value

MiniportWdiStartAdapterOperation can return any of the following return values.

Return code Description
NDIS_STATUS_SUCCESS
MiniportWdiStartAdapterOperation successfully completed.
Other NDIS_STATUS codes
An appropriate NDIS_STATUS code in the case of a failure.

Requirements

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

See also

MiniportInitializeEx

NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS