// dot11wdi.h
typedef struct _NDIS_WDI_INIT_PARAMETERS {
NDIS_OBJECT_HEADER Header;
ULONG WdiVersion;
NDIS_WDI_OPEN_ADAPTER_COMPLETE_HANDLER OpenAdapterCompleteHandler;
NDIS_WDI_CLOSE_ADAPTER_COMPLETE_HANDLER CloseAdapterCompleteHandler;
NDIS_WDI_IDLE_NOTIFICATION_CONFIRM_HANDLER UeIdleNotificationConfirm;
NDIS_WDI_IDLE_NOTIFICATION_COMPLETE_HANDLER UeIdleNotificationComplete;
} NDIS_WDI_INIT_PARAMETERS, *PNDIS_WDI_INIT_PARAMETERS;
View the official Windows Driver Kit DDI reference// dot11wificxintf.h
typedef struct _NDIS_WDI_INIT_PARAMETERS {
NDIS_OBJECT_HEADER Header;
ULONG WdiVersion;
NDIS_WDI_OPEN_ADAPTER_COMPLETE_HANDLER OpenAdapterCompleteHandler;
NDIS_WDI_CLOSE_ADAPTER_COMPLETE_HANDLER CloseAdapterCompleteHandler;
NDIS_WDI_IDLE_NOTIFICATION_CONFIRM_HANDLER UeIdleNotificationConfirm;
NDIS_WDI_IDLE_NOTIFICATION_COMPLETE_HANDLER UeIdleNotificationComplete;
} NDIS_WDI_INIT_PARAMETERS, *PNDIS_WDI_INIT_PARAMETERS;
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 NDIS_WDI_INIT_PARAMETERS structure specifies the WDI functions provided by the operating system and called by the IHV WDI driver.
HeaderThe NDIS_OBJECT_HEADER structure for the NDIS_WDI_INIT_PARAMETERS structure. Set the Type member of the structure that Header specifies to NDIS_OBJECT_TYPE_WDI_INIT_PARAMETERS.
To indicate the version of the NDIS_WDI_INIT_PARAMETERS structure, set the Revision member to the following value:
Set the Size member to NDIS_SIZEOF_WDI_INIT_PARAMETERS_REVISION_1.
WdiVersionThe version of WDI used by the driver. Set this member to one of the following values:
WDI version 1.0
OpenAdapterCompleteHandlerThe entry point of the NdisWdiOpenAdapterComplete callback function.
CloseAdapterCompleteHandlerThe entry point of the NdisWdiCloseAdapterComplete callback function.
UeIdleNotificationConfirmThe entry point of the NdisWdiIdleNotificationConfirm callback function.
UeIdleNotificationCompleteThe entry point of the NdisWdiIdleNotificationComplete callback function.
[!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 now 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.
HeaderReserved.
WdiVersionReserved.
OpenAdapterCompleteHandlerReserved.
CloseAdapterCompleteHandlerReserved.
UeIdleNotificationConfirmReserved.
UeIdleNotificationCompleteReserved.