NDIS_SWITCH_PORT_FEATURE_STATUS_CUSTOM - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddndis.h

typedef struct _NDIS_SWITCH_PORT_FEATURE_STATUS_CUSTOM {
  NDIS_OBJECT_HEADER Header;
  ULONG              Flags;
  ULONG              FeatureStatusBufferLength;
  ULONG              FeatureStatusBufferOffset;
} NDIS_SWITCH_PORT_FEATURE_STATUS_CUSTOM, *PNDIS_SWITCH_PORT_FEATURE_STATUS_CUSTOM;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntddndis-_ndis_switch_port_feature_status_custom)

_NDIS_SWITCH_PORT_FEATURE_STATUS_CUSTOM structure

Description

The NDIS_SWITCH_PORT_FEATURE_STATUS_CUSTOM structure specifies the custom status information for a Hyper-V extensible switch port. This information is known as feature status information. The format of this information is defined by the independent software vendor (ISV).

Members

The type, revision, and size of the NDIS_SWITCH_PORT_FEATURE_STATUS_CUSTOM structure. This member is formatted as an NDIS_OBJECT_HEADER structure.

The Type member of Header must be set to NDIS_OBJECT_TYPE_DEFAULT. To specify the version of the NDIS_SWITCH_PORT_FEATURE_STATUS_CUSTOM structure, the Revision member of Header must be set to the following value:

NDIS_SWITCH_PORT_FEATURE_STATUS_CUSTOM_REVISION_1

Original version for NDIS 6.30 and later.

Set the Size member to NDIS_SWITCH_PORT_FEATURE_STATUS_CUSTOM_REVISION_1.

Flags

A ULONG value that contains a bitwise OR of flags. This member is reserved for NDIS.

FeatureStatusBufferLength

A ULONG value that specifies the size, in bytes, of the feature status buffer.

FeatureStatusBufferOffset

A ULONG value that specifies the offset, in bytes, to the feature status buffer that follows the NDIS_SWITCH_PORT_FEATURE_STATUS_CUSTOM structure. The offset is measured from the start of the NDIS_SWITCH_PORT_FEATURE_STATUS_CUSTOM structure up to the beginning of the feature status buffer.

Remarks

The NDIS_SWITCH_PORT_FEATURE_STATUS_PARAMETERS structure is used in OID method requests of OID_SWITCH_PORT_FEATURE_STATUS_QUERY. This OID request returns the following structures in the information buffer that is associated with the OID request:

The InformationBuffer member of the NDIS_OID_REQUEST structure contains a pointer to this information buffer.

See also

NDIS_OBJECT_HEADER

NDIS_SWITCH_PORT_FEATURE_STATUS_PARAMETERS

OID_SWITCH_PORT_FEATURE_STATUS_QUERY