Bewerken

Delen via


NDIS_SWITCH_PORT_PROPERTY_DELETE_PARAMETERS structure (ntddndis.h)

The NDIS_SWITCH_PORT_PROPERTY_DELETE_PARAMETERS structure specifies the parameters for a Hyper-V extensible switch port policy property that will be deleted.

Syntax

typedef struct _NDIS_SWITCH_PORT_PROPERTY_DELETE_PARAMETERS {
  NDIS_OBJECT_HEADER             Header;
  ULONG                          Flags;
  NDIS_SWITCH_PORT_ID            PortId;
  NDIS_SWITCH_PORT_PROPERTY_TYPE PropertyType;
  NDIS_SWITCH_OBJECT_ID          PropertyId;
  NDIS_SWITCH_OBJECT_INSTANCE_ID PropertyInstanceId;
} NDIS_SWITCH_PORT_PROPERTY_DELETE_PARAMETERS, *PNDIS_SWITCH_PORT_PROPERTY_DELETE_PARAMETERS;

Members

Header

The type, revision, and size of the NDIS_SWITCH_PORT_PROPERTY_DELETE_PARAMETERS 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_PROPERTY_DELETE_PARAMETERS structure, the Revision member of Header must be set to the following value:

NDIS_SWITCH_PORT_PROPERTY_DELETE_PARAMETERS_REVISION_1

Original version for NDIS 6.30 and later.

Set the Size member to NDIS_SIZEOF_NDIS_SWITCH_PORT_PROPERTY_DELETE_PARAMETERS_REVISION_1.

Flags

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

PortId

An NDIS_SWITCH_PORT_ID value that contains the unique identifier of the extensible switch port to which the property is assigned.

PropertyType

An NDIS_SWITCH_PORT_PROPERTY_TYPE enumeration value that specifies the type of port property that will be deleted.

PropertyId

A GUID value that identifies the property for the extensible switch port.

PropertyInstanceId

An NDIS_SWITCH_OBJECT_INSTANCE_ID value that specifies the instance identifier for the extensible switch port property.

Remarks

The NDIS_SWITCH_PORT_PROPERTY_DELETE_PARAMETERS structure is used in OID set requests of OID_SWITCH_PORT_PROPERTY_DELETE.

For more information about extensible switch policies, see Hyper-V Extensible Switch Policies.

Requirements

Requirement Value
Minimum supported client Supported in NDIS 6.30 and later.
Header ntddndis.h (include Ndis.h, Fwpsk.h)

See also

NDIS_OBJECT_HEADER

NDIS_SWITCH_PORT_PROPERTY_TYPE

OID_SWITCH_PORT_PROPERTY_DELETE