DXGKDDI_VIDPNTOPOLOGY_UPDATEPATHSUPPORTINFO callback function (d3dkmddi.h)

The pfnUpdatePathSupportInfo function updates the transformation and copy protection support of a particular path in a specified VidPN topology.

Syntax

DXGKDDI_VIDPNTOPOLOGY_UPDATEPATHSUPPORTINFO DxgkddiVidpntopologyUpdatepathsupportinfo;

NTSTATUS DxgkddiVidpntopologyUpdatepathsupportinfo(
  [in] IN_CONST_D3DKMDT_HVIDPNTOPOLOGY i_hVidPnTopology,
  [in] IN_CONST_PD3DKMDT_VIDPN_PRESENT_PATH i_pVidPnPresentPathInfo
)
{...}

Parameters

[in] i_hVidPnTopology

A handle to a VidPN topology object. The display miniport driver previously obtained this handle by calling the pfnGetTopology function of the DXGK_VIDPN_INTERFACE interface.

[in] i_pVidPnPresentPathInfo

A pointer to a D3DKMDT_VIDPN_PRESENT_PATH structure. The VidPnSourceId and VidPnTargetId members (taken as a pair) identify the path that is to have its transformation and copy protection support updated. The ContentTransformation and CopyProtection members supply the updated transformation and copy protection support.

Return value

The pfnUpdatePathSupportInfo function returns one of the following values.

Return code Description
STATUS_SUCCESS The function succeeded.
STATUS_GRAPHICS_INVALID_TOPOLOGY The handle supplied in i_hVidPnTopology was invalid.
STATUS_INVALID_PARAMETER An invalid parameter was supplied.
STATUS_ACCESS_DENIED The path cannot be removed in the context of the current DDI call.

Remarks

The display miniport driver's DxgkDdiEnumVidPnCofuncModality function calls pnfUpdatePathSupportInfo to report rotation, scaling, and copy protection support for each of the paths in a topology.

Requirements

Requirement Value
Minimum supported client Windows Vista
Target Platform Desktop
Header d3dkmddi.h (include D3dkmddi.h)
IRQL PASSIVE_LEVEL