NDIS_NIC_SWITCH_DELETE_VPORT_PARAMETERS struttura (ntddndis.h)

La struttura NDIS_NIC_SWITCH_DELETE_VPORT_PARAMETERS specifica le informazioni su una porta virtuale (VPort) che verrà eliminata da un commutatore della scheda di rete nella scheda di rete.

Sintassi

typedef struct _NDIS_NIC_SWITCH_DELETE_VPORT_PARAMETERS {
  NDIS_OBJECT_HEADER       Header;
  ULONG                    Flags;
  NDIS_NIC_SWITCH_VPORT_ID VPortId;
} NDIS_NIC_SWITCH_DELETE_VPORT_PARAMETERS, *PNDIS_NIC_SWITCH_DELETE_VPORT_PARAMETERS;

Members

Header

Tipo, revisione e dimensione della struttura NDIS_NIC_SWITCH_DELETE_VPORT_PARAMETERS . Questo membro viene formattato come struttura NDIS_OBJECT_HEADER .

Il driver miniport deve impostare il membro Type di Intestazione su NDIS_OBJECT_TYPE_DEFAULT. Per specificare la versione della struttura NDIS_NIC_SWITCH_DELETE_VPORT_PARAMETERS , il driver deve impostare il membro Revisionedell'intestazione sul valore seguente:

NDIS_NIC_SWITCH_DELETE_VPORT_PARAMETERS_REVISION_1

Versione originale per NDIS 6.30.

Impostare il membro Size su NDIS_SIZEOF_NIC_SWITCH_DELETE_VPORT_PARAMETERS_REVISION_1.

Flags

Valore ULONG che contiene un OR bit per bit di flag. Questo membro è riservato per NDIS.

VPortId

Valore NDIS_NIC_SWITCH_VPORT_ID che identifica in modo univoco la porta virtuale da eliminare. Il VPort con il valore NDIS_NIC_SWITCH_VPORT_ID specificato deve essere stato creato in precedenza tramite una richiesta di set OID di OID_NIC_SWITCH_CREATE_VPORT.

Nota Impossibile eliminare il VPort predefinito collegato alla funzione fisica PCI Express (PCIe). Il membro VPortId non deve essere impostato su DEFAULT_PORT_NUMBER.
 

Commenti

La struttura NDIS_NIC_SWITCH_DELETE_PORT_PARAMETERS viene usata nelle richieste del set OID di OID_NIC_SWITCH_DELETE_VPORT.

Requisiti

Requisito Valore
Client minimo supportato Supportato in NDIS 6.30 e versioni successive.
Intestazione ntddndis.h (include Ndis.h)

Vedi anche

NDIS_OBJECT_HEADER

OID_NIC_SWITCH_CREATE_VPORT

OID_NIC_SWITCH_DELETE_VPORT