NDIS_MINIPORT_ADAPTER_NDK_ATTRIBUTES structure

The NDIS_MINIPORT_ADAPTER_NDK_ATTRIBUTES structure specifies the NDK-capabilities of a miniport adapter. This structure is used in the NDKAttributes member of the NDIS_MINIPORT_ADAPTER_ATTRIBUTES union.

Syntax

typedef struct _NDIS_MINIPORT_ADAPTER_NDK_ATTRIBUTES {
  NDIS_OBJECT_HEADER     Header;
  BOOLEAN                Enabled;
  PNDIS_NDK_CAPABILITIES NdkCapabilities;
} NDIS_MINIPORT_ADAPTER_NDK_ATTRIBUTES, *PNDIS_MINIPORT_ADAPTER_NDK_ATTRIBUTES;

Members

Header

A NDIS_OBJECT_HEADER structure that describes this NDIS_MINIPORT_ADAPTER_NDK_ATTRIBUTES structure.

Set the members of the NDIS_OBJECT_HEADER structure as follows:

  • Set the Type member to NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_NDK_ATTRIBUTES.
  • Set the Revision member to NDIS_MINIPORT_ADAPTER_NDK_ATTRIBUTES_REVISION_1.
  • Set the Size member to NDIS_SIZEOF_MINIPORT_ADAPTER_NDK_ATTRIBUTES_REVISION_1.

Enabled

If the miniport adapter's NDK functionality is enabled, this member is TRUE. Otherwise, it is FALSE.

NdkCapabilities

A pointer to an NDIS_NDK_CAPABILITIES structure that specifies the capabilities of an NDK adapter.

Remarks

An NDK-capable adapter must indicate its NDK capabilities in its MiniportInitializeEx function, even if its NDK functionality is currently disabled.

To report its NDK capabilities, the miniport adapter stores an NDIS_MINIPORT_ADAPTER_NDK_ATTRIBUTES structure in the NDKAttributes member of the NDIS_MINIPORT_ADAPTER_ATTRIBUTES union and passes the NDIS_MINIPORT_ADAPTER_ATTRIBUTES union to the NdisMSetMiniportAttributes function. For more information, see Initializing an NDK Miniport Adapter.

Requirements

   
Minimum supported client None supported,Supported in NDIS 6.30 and later.
Minimum supported server Windows Server 2012
Header ndis.h (include Ndis.h)

See Also

Initializing an NDK Miniport Adapter

MiniportInitializeEx

NDIS_MINIPORT_ADAPTER_ATTRIBUTES

NDIS_NDK_CAPABILITIES

NDIS_OBJECT_HEADER

NdisMSetMiniportAttributes