// dot11wdi.h
MINIPORT_WDI_POST_ADAPTER_RESTART MiniportWdiPostAdapterRestart;
NDIS_STATUS MiniportWdiPostAdapterRestart(
[in] NDIS_HANDLE MiniportAdapterContext,
[in] PNDIS_MINIPORT_RESTART_PARAMETERS RestartParameters
)
{...}
View the official Windows Driver Kit DDI reference// dot11wificxintf.h
MINIPORT_WDI_POST_ADAPTER_RESTART MiniportWdiPostAdapterRestart;
NDIS_STATUS MiniportWdiPostAdapterRestart(
NDIS_HANDLE MiniportAdapterContext,
PNDIS_MINIPORT_RESTART_PARAMETERS RestartParameters
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
[!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 MiniportWdiPostAdapterRestart handler function is called by the Microsoft component after it finishes restarting the data path as part of the NDIS MiniportRestart requirements.
This is a WDI miniport handler inside NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS.
The NDIS MiniportRestart requirements are handled by the Microsoft component. As part of MiniportRestart, it undoes the data path pause work that it performed as part of MiniportPause. The WDI IHV miniport can optionally register for a MiniportWdiPostAdapterRestart callback that is called by the Microsoft component after it finishes restarting the data path.
Note You must declare the function by using the MINIPORT_WDI_POST_ADAPTER_RESTART type. For more information, see the following Examples section.
MiniportAdapterContext [in]The handle to the context area that the miniport driver allocated.
RestartParameters [in]A pointer to an NDIS_MINIPORT_RESTART_PARAMETERS structure that defines the restart parameters for the miniport adapter.
MiniportWdiPostAdapterRestart can return any of the following return values.
| Return code | Description |
|---|---|
| NDIS_STATUS_SUCCESS | The driver successfully restarted the flow of network data through the miniport adapter. |
| NDIS_STATUS_RESOURCES | The restart failed because of insufficient resources. |
| NDIS_STATUS_FAILURE | The driver indicates NDIS_STATUS_FAILURE if none of the preceding values applies. |
NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS
NDIS_MINIPORT_RESTART_PARAMETERS
[!IMPORTANT] This topic is part of the WiFiCx driver model. 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 previous Wi-Fi driver model WDI is in maintenance mode and will only receive high priority fixes.
[!WARNING] Some information in this topic relates to prereleased product, which may be substantially modified before it is commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This function is reserved for system use and should not be called in your code.
MiniportAdapterContextReserved.
RestartParametersReserved.