NDIS_SRIOV_VF_VENDOR_DEVICE_ID_INFO - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntddndis-_ndis_sriov_vf_vendor_device_id_info)

_NDIS_SRIOV_VF_VENDOR_DEVICE_ID_INFO structure

Description

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.

Members

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.

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.

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.

See also

NDIS_OBJECT_HEADER

OID_NIC_SWITCH_ALLOCATE_VF

OID_SRIOV_VF_VENDOR_DEVICE_ID