// dispmprt.h
DXGKDDI_GETVENDORANDDEVICE DxgkddiGetvendoranddevice;
VOID DxgkddiGetvendoranddevice(
[in] HANDLE Context,
[in, out] DXGKARG_GETVENDORANDDEVICE *pArgs
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
This routine supplies the Vendor and Device IDs for a PCI Express SR-IOV Virtual Function (VF) to be used as the basis for the more generic Plug and Play IDs for the VF. These can’t be read directly from the VF’s configuration space.
Context [in]The miniport context that is returned by the driver in the DXGKDDI_SRIOV_INTERFACE structure.
pArgs [in, out]A pointer to the DXGKARG_GETVENDORANDDEVICE structure.
//Declaration
DXGKDDI_GETVENDORANDDEVICE DxgkddiGetvendoranddevice;
// Definition
VOID DxgkddiGetvendoranddevice
(
HANDLE Context
DXGKARG_GETVENDORANDDEVICE * pArgs
)
{...}