// dispmprt.h
DXGKDDI_QUERYDPCAPS DxgkddiQuerydpcaps;
NTSTATUS DxgkddiQuerydpcaps(
HANDLE Context,
PDXGKARG_QUERYDPCAPS pArgs
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The DXGKDDI_QUERYDPCAPS callback functions queries the DisplayPort (DP) capabilities of the GPU and driver supported.
ContextContext pointer provided when querying the interface.
pArgsPointer to a DXGKARG_QUERYDPCAPS structure in which to return the DP capabilities.
DXGKDDI_QUERYDPCAPS returns STATUS_SUCCESS if it succeeds; otherwise it returns an error code.
The driver should return in NumRootPorts the number of DP capable connectors on the GPU, including the one for eDP internal panel. Subsequent transmission calls will refer to the DP connectors with RootPortIndex ranging from 0 to NumRootPorts - 1.
DPVersionMajor and DPVersionMinor is the highest version of DP protocol supported by the driver and GPU DP root ports of major/minor versions. For example, DPVersionMajor == 1 and DPVersionMinor == 1 is for DP protocol 1.1, and DPVersionMajor == 1 and DPVersionMinor == 2 is for DP protocol 1.2.