// ntddndis.h
typedef struct _NDIS_SRIOV_VF_VENDOR_DEVICE_ID_INFO {
NDIS_OBJECT_HEADER Header;
NDIS_SRIOV_FUNCTION_ID VFId;
USHORT VendorId;
USHORT DeviceId;
} NDIS_SRIOV_VF_VENDOR_DEVICE_ID_INFO, *PNDIS_SRIOV_VF_VENDOR_DEVICE_ID_INFO;
View the official Windows Driver Kit DDI referenceNo description available.
The NDIS_SRIOV_VF_VENDOR_DEVICE_ID_INFO structure specifies the PCI Express (PCIe) vendor and device identifiers (IDs) for a PCIe Virtual Function (VF) network adapter. This virtual adapter is exposed within the guest operating system that runs in a Hyper-V child partition.
The NDIS_SRIOV_VF_VENDOR_DEVICE_ID_INFO structure contains information that is used for PnP device enumeration in the guest operating system.
HeaderThe type, revision, and size of the NDIS_SRIOV_VF_VENDOR_DEVICE_ID_INFO structure. This member is formatted as an NDIS_OBJECT_HEADER structure.
The driver must set the Type member of Header to NDIS_OBJECT_TYPE_DEFAULT. To specify the version of the NDIS_SRIOV_VF_VENDOR_DEVICE_ID_INFO structure, the driver must set the Revision member of Header to the following value:
Original version for NDIS 6.30 and later.
Set the Size member to NDIS_SIZEOF_SRIOV_VF_VENDOR_DEVICE_ID_INFO_REVISION_1.
VFIdAn NDIS_SRIOV_FUNCTION_ID value that specifies the unique identifier of the VF network adapter.
Note The VF with the specified NDIS_SRIOV_FUNCTION_ID value must have resources that were previously allocated through an OID set request of OID_NIC_SWITCH_ALLOCATE_VF.
VendorIdA USHORT value that uniquely identifies the vendor of the VF network adapter.
DeviceIdA USHORT value that uniquely identifies the device type of the VF network adapter.
The NDIS_SRIOV_VF_VENDOR_DEVICE_ID_INFO structure is used in the OID method requests of OID_SRIOV_VF_VENDOR_DEVICE_ID.