// dot11wdi.h
typedef struct _NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS {
NDIS_OBJECT_HEADER Header;
ULONG WdiVersion;
MINIPORT_WDI_ALLOCATE_ADAPTER_HANDLER AllocateAdapterHandler;
MINIPORT_WDI_FREE_ADAPTER_HANDLER FreeAdapterHandler;
MINIPORT_WDI_OPEN_ADAPTER_HANDLER OpenAdapterHandler;
MINIPORT_WDI_CLOSE_ADAPTER_HANDLER CloseAdapterHandler;
MINIPORT_WDI_START_OPERATION_HANDLER StartOperationHandler;
MINIPORT_WDI_STOP_OPERATION_HANDLER StopOperationHandler;
MINIPORT_WDI_POST_PAUSE_HANDLER PostPauseHandler;
MINIPORT_WDI_POST_RESTART_HANDLER PostRestartHandler;
MINIPORT_WDI_HANG_DIAGNOSE_HANDLER HangDiagnoseHandler;
MINIPORT_WDI_TAL_TXRX_INITIALIZE_HANDLER TalTxRxInitializeHandler;
MINIPORT_WDI_TAL_TXRX_DEINITIALIZE_HANDLER TalTxRxDeinitializeHandler;
MINIPORT_WDI_IDLE_NOTIFICATION_HANDLER LeIdleNotificationHandler;
MINIPORT_WDI_CANCEL_IDLE_NOTIFICATION_HANDLER LeCancelIdleNotificationHandler;
} NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS, *PNDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS;
View the official Windows Driver Kit DDI reference// dot11wificxintf.h
typedef struct _NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS {
NDIS_OBJECT_HEADER Header;
ULONG WdiVersion;
MINIPORT_WDI_ALLOCATE_ADAPTER_HANDLER AllocateAdapterHandler;
MINIPORT_WDI_FREE_ADAPTER_HANDLER FreeAdapterHandler;
MINIPORT_WDI_OPEN_ADAPTER_HANDLER OpenAdapterHandler;
MINIPORT_WDI_CLOSE_ADAPTER_HANDLER CloseAdapterHandler;
MINIPORT_WDI_START_OPERATION_HANDLER StartOperationHandler;
MINIPORT_WDI_STOP_OPERATION_HANDLER StopOperationHandler;
MINIPORT_WDI_POST_PAUSE_HANDLER PostPauseHandler;
MINIPORT_WDI_POST_RESTART_HANDLER PostRestartHandler;
MINIPORT_WDI_HANG_DIAGNOSE_HANDLER HangDiagnoseHandler;
MINIPORT_WDI_TAL_TXRX_INITIALIZE_HANDLER TalTxRxInitializeHandler;
MINIPORT_WDI_TAL_TXRX_DEINITIALIZE_HANDLER TalTxRxDeinitializeHandler;
MINIPORT_WDI_IDLE_NOTIFICATION_HANDLER LeIdleNotificationHandler;
MINIPORT_WDI_CANCEL_IDLE_NOTIFICATION_HANDLER LeCancelIdleNotificationHandler;
} NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS, *PNDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS;
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_MINIPORT_DRIVER_WDI_CHARACTERISTICS structure defines the set of handlers that a WDI miniport driver must implement. It is used by the IHV driver to register additional handlers for the control path and the full set of handlers for the data path.
HeaderThe NDIS_OBJECT_HEADER structure for the NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS structure. Set the Type member of the structure that Header specifies to NDIS_OBJECT_TYPE_MINIPORT_WDI_CHARACTERISTICS.
To indicate the version of the NDIS_MINIPORT_DRIVER_WDI_CHARACTERISTICS structure, set the Revision member to the following value:
Set the Size member to NDIS_SIZEOF_MINIPORT_WDI_CHARACTERISTICS_REVISION_1.
WdiVersionThe version of WDI used by the driver. Set this member to one of the following values:
The latest WDI version
WDI version 1.0.1
WDI version 1.0
AllocateAdapterHandlerThe entry point of the MiniportWdiAllocateAdapter handler function.
FreeAdapterHandlerThe entry point of the MiniportWdiFreeAdapter handler function.
OpenAdapterHandlerThe entry point of the MiniportWdiOpenAdapter handler function.
CloseAdapterHandlerThe entry point of the MiniportWdiCloseAdapter handler function.
StartOperationHandlerThe entry point of the MiniportWdiStartOperation handler function.
StopOperationHandlerThe entry point of the MiniportWdiStopOperation handler function.
PostPauseHandlerThe entry point of the MiniportWdiPostAdapterPause handler function.
PostRestartHandlerThe entry point of the MiniportWdiPostAdapterRestart handler function.
HangDiagnoseHandlerThe entry point of the MiniportWdiAdapterHangDiagnose handler function.
TalTxRxInitializeHandlerThe entry point of the MiniportWdiTalTxRxInitialize handler function.
TalTxRxDeinitializeHandlerThe entry point of the MiniportWdiTalTxRxDeinitialize handler function.
LeIdleNotificationHandlerThe entry point of the MiniportWdiIdleNotification handler function.
LeCancelIdleNotificationHandlerThe entry point of the MiniportWdiCancelIdleNotification handler 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.
AllocateAdapterHandlerReserved.
FreeAdapterHandlerReserved.
OpenAdapterHandlerReserved.
CloseAdapterHandlerReserved.
StartOperationHandlerReserved.
StopOperationHandlerReserved.
PostPauseHandlerReserved.
PostRestartHandlerReserved.
HangDiagnoseHandlerReserved.
TalTxRxInitializeHandlerReserved.
TalTxRxDeinitializeHandlerReserved.
LeIdleNotificationHandlerReserved.
LeCancelIdleNotificationHandlerReserved.