DXGKDDI_GETDPADDRESS callback function (dispmprt.h)
The DXGKDDI_GETDPADDRESS callback queries the DisplayPort (DP) address of a monitor connected through DP.
Syntax
DXGKDDI_GETDPADDRESS DxgkddiGetdpaddress;
NTSTATUS DxgkddiGetdpaddress(
HANDLE Context,
PDXGKARG_GETDPADDRESS pArgs
)
{...}
Parameters
Context
Context pointer provided when querying the interface.
pArgs
Pointer to a DXGKARG_GETDPADDRESS structure.
Return value
DXGKDDI_GETDPADDRESS returns STATUS_SUCCESS if it succeeds; otherwise it returns an error code.
Remarks
DXGKDDI_GETDPADDRESS is both for developmental and validation purposes.
For TargetId of a monitor connected through DP, the driver should return its DP address in the form of RootPortIndex, NumLinks, and DP Relative Address in RelAddress. NumLinks should be 0 if the DP monitor is directly connected to the GPU; otherwise, it should be the number of links between the root port and target device. The format of the Relative Address in RelAddress should follow the DP spec.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 2004 |
Header | dispmprt.h |