DXGKDDI_QUERYPROBEDBARS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// dispmprt.h

DXGKDDI_QUERYPROBEDBARS DxgkddiQueryprobedbars;

VOID DxgkddiQueryprobedbars(
  [in]      HANDLE Context,
  [in, out] DXGKARG_QUERYPROBEDBARS *pArgs
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-dispmprt-dxgkddi_queryprobedbars)

DXGKDDI_QUERYPROBEDBARS callback function

Description

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).

Parameters

Context [in]

The miniport context that is returned by the driver in the DXGKDDI_SRIOV_INTERFACE structure.

pArgs [in, out]

Pointer to the DXGKARG_QUERYPROBEDBARS structure.

Prototype

//Declaration

DXGKDDI_QUERYPROBEDBARS DxgkddiQueryprobedbars;

// Definition

VOID DxgkddiQueryprobedbars
(
    HANDLE Context
    DXGKARG_QUERYPROBEDBARS * pArgs
)
{...}

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.

See also