NDIS_SRIOV_VF_VENDOR_DEVICE_ID_INFO structure (ntddndis.h)
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.
Syntax
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;
Members
Header
The 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:
NDIS_SRIOV_VF_VENDOR_DEVICE_ID_INFO_REVISION_1
Original version for NDIS 6.30 and later.
Set the Size member to NDIS_SIZEOF_SRIOV_VF_VENDOR_DEVICE_ID_INFO_REVISION_1.
VFId
An NDIS_SRIOV_FUNCTION_ID value that specifies the unique identifier of the VF network adapter.
VendorId
A USHORT value that uniquely identifies the vendor of the VF network adapter.
DeviceId
A USHORT value that uniquely identifies the device type of the VF network adapter.
Remarks
The NDIS_SRIOV_VF_VENDOR_DEVICE_ID_INFO structure is used in the OID method requests of OID_SRIOV_VF_VENDOR_DEVICE_ID.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported in NDIS 6.30 and later. |
Header | ntddndis.h (include Ndis.h) |
See also