// ntddndis.h
typedef struct _NDIS_NIC_SWITCH_DELETE_SWITCH_PARAMETERS {
NDIS_OBJECT_HEADER Header;
ULONG Flags;
NDIS_NIC_SWITCH_ID SwitchId;
} NDIS_NIC_SWITCH_DELETE_SWITCH_PARAMETERS, *PNDIS_NIC_SWITCH_DELETE_SWITCH_PARAMETERS;
View the official Windows Driver Kit DDI referenceNo description available.
The NDIS_NIC_SWITCH_DELETE_SWITCH_PARAMETERS structure specifies the information about the network adapter switch that will be deleted from the network adapter.
HeaderThe type, revision, and size of the NDIS_NIC_SWITCH_DELETE_SWITCH_PARAMETERS structure. This member is formatted as an NDIS_OBJECT_HEADER structure.
The miniport driver must set the Type member of Header to NDIS_OBJECT_TYPE_DEFAULT. To specify the version of the NDIS_NIC_SWITCH_DELETE_SWITCH_PARAMETERS structure, the driver must set the Revision member of Header to the following value.
Original version for NDIS 6.30.
Set the Size member to NDIS_SIZEOF_NIC_SWITCH_PARAMETERS_REVISION_1.
FlagsA ULONG value that contains a bitwise OR of flags. This member is reserved for NDIS.
SwitchIdAn NDIS_NIC_SWITCH_ID value that specifies a switch identifier. The switch identifier is an integer between zero and the number of switches that the network adapter supports. An NDIS_DEFAULT_SWITCH_ID value indicates the default network adapter switch.
Note Starting with Windows Server 2012, SR-IOV only supports the default network adapter switch on the network adapter. This member must be set to NDIS_DEFAULT_SWITCH_ID.
The NDIS_NIC_SWITCH_DELETE_SWITCH_PARAMETERS structure is used in OID method requests of OID_NIC_SWITCH_DELETE_SWITCH.