NDIS_PORT_ARRAY structure (ntddndis.h)
The NDIS_PORT_ARRAY structure specifies a list of NDIS ports and their associated characteristics.
Syntax
typedef struct _NDIS_PORT_ARRAY {
NDIS_OBJECT_HEADER Header;
ULONG NumberOfPorts;
ULONG OffsetFirstPort;
ULONG ElementSize;
NDIS_PORT_CHARACTERISTICS Ports[1];
} NDIS_PORT_ARRAY, *PNDIS_PORT_ARRAY;
Members
Header
The NDIS_OBJECT_HEADER structure for the NDIS_PORT_ARRAY structure. Set the Type member of the structure that Header specifies to NDIS_OBJECT_TYPE_DEFAULT, the Revision member to NDIS_PORT_ARRAY_REVISION_1, and the Size member to NDIS_SIZEOF_PORT_ARRAY_REVISION_1.
NumberOfPorts
The number of NDIS ports that have characteristics that are listed in the Ports member.
OffsetFirstPort
The offset, in bytes, from the beginning of the NDIS_PORT_ARRAY structure to the start of the first port characteristics data.
ElementSize
The size, in bytes, of each element in the array that the Ports member specifies.
Ports[1]
An array that contains the port characteristics for each active NDIS port on a miniport adapter. The ElementSize member specifies the size of each element in the array. The NumberOfPorts member specifies the number of elements in the array. Each element in the array is an NDIS_PORT_CHARACTERISTICS structure.
Remarks
The NDIS_PORT_ARRAY structure specifies characteristics, of all of the active NDIS ports on the miniport adapter, for the OID_GEN_ENUMERATE_PORTS OID.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported in NDIS 6.0 and later. |
Header | ntddndis.h (include Ndis.h) |