NDIS_PD_CONFIG structure (ntddndis.h)

This structure holds configuration data for the PD provider.

Syntax

typedef struct _NDIS_PD_CONFIG {
  NDIS_OBJECT_HEADER Header;
  ULONG              Flags;
  BOOLEAN            Enabled;
  ULONG              CapabilitiesOffset;
  ULONG              CapabilitiesSize;
} NDIS_PD_CONFIG;

Members

Header

The NDIS_OBJECT_HEADER structure for the NDIS_PD_CONFIG structure. Set the members of this structure as follows:

  • Type = NDIS_OBJECT_TYPE_DEFAULT
  • Revision = NDIS_PD_CONFIG_REVISION_1
  • Size = NDIS_SIZEOF_PD_CONFIG_REVISION_1

Flags

This member is reserved and must be set to 0.

Enabled

A BOOLEAN value that is set to TRUE if the PDPI provider's PacketDirect capability is enabled. Otherwise, this member is FALSE.

CapabilitiesOffset

If the CapabilitiesSize member is greater than zero, this is a ULONG-aligned pointer to an NDIS_PD_CAPABILITIES structure.

CapabilitiesSize

If this member is greater than zero, it contains the size of the NDIS_PD_CAPABILITIES structure that the CapabilitiesOffset member points to.

Remarks

This structure must be aligned on an 8-byte boundary.

Requirements

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

See also

NDIS_OBJECT_HEADER