DXGKDDI_GETDEVICELOCATION callback function (dispmprt.h)
Returns the location of a Virtual Function on the PCI bus relative to the root partition. If an IHV implementation does not support SR-IOV, the location of the physical function is returned.
Syntax
DXGKDDI_GETDEVICELOCATION DxgkddiGetdevicelocation;
void DxgkddiGetdevicelocation(
HANDLE Context,
DXGKARG_GETDEVICELOCATION *pArgs
)
{...}
Parameters
Context
The miniport context that is returned by the driver in the DXGKDDI_SRIOV_INTERFACE structure.
pArgs
Pointer to the DXGKARG_GETDEVICELOCATION structure.
Return value
None
Remarks
VF indices are incrementing, but the bus location is not directly tied to the index. This function retrieves the actual PCIe bus location of a virtual function.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Header | dispmprt.h |
IRQL | PASSIVE_LEVEL |