Bewerken

Delen via


NDIS_WDI_INIT_PARAMETERS structure (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 NDIS_WDI_INIT_PARAMETERS structure specifies the WDI functions provided by the operating system and called by the IHV WDI driver.

Syntax

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;

Members

Header

The 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:

NDIS_OBJECT_TYPE_WDI_INIT_PARAMETERS_REVISION_1

Set the Size member to NDIS_SIZEOF_WDI_INIT_PARAMETERS_REVISION_1.

WdiVersion

The version of WDI used by the driver. Set this member to one of the following values:

WDI_VERSION_1_0

WDI version 1.0

OpenAdapterCompleteHandler

The entry point of the NdisWdiOpenAdapterComplete callback function.

CloseAdapterCompleteHandler

The entry point of the NdisWdiCloseAdapterComplete callback function.

UeIdleNotificationConfirm

The entry point of the NdisWdiIdleNotificationConfirm callback function.

UeIdleNotificationComplete

The entry point of the NdisWdiIdleNotificationComplete callback function.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Header dot11wdi.h (include Ndis.h)