DXGKDDI_QUERYPROBEDBARS callback function (dispmprt.h)
This routine allows a non-privileged virtual machine to find out what would have been read from a Virtual Function’s Base Address Registers after they had been written with the value (-1).
Syntax
DXGKDDI_QUERYPROBEDBARS DxgkddiQueryprobedbars;
void DxgkddiQueryprobedbars(
[in] HANDLE Context,
[in, out] DXGKARG_QUERYPROBEDBARS *pArgs
)
{...}
Parameters
[in] Context
The miniport context that is returned by the driver in the DXGKDDI_SRIOV_INTERFACE structure.
[in, out] pArgs
Pointer to the DXGKARG_QUERYPROBEDBARS structure.
Return value
None
Remarks
This is part of the normal process of setting up a PCI device, and the result allows the PCI driver to know how much address space would be decoded by the device after it was enabled. Because writing -1 to the physical BARS could be considered a security risk, this step of PCI enumeration is emulated.
Requirements
Requirement | Value |
---|---|
Header | dispmprt.h |