PDXGKDDI_RECOMMENDVIDPNTOPOLOGY callback function

The DxgkDdiRecommendVidPnTopology function creates the topology of a specified VidPN or augments the topology with a new path to video present targets.

Syntax


PDXGKDDI_RECOMMENDVIDPNTOPOLOGY DxgkDdiRecommendVidPnTopology;

NTSTATUS APIENTRY DxgkDdiRecommendVidPnTopology(
  _In_ const HANDLE                               hAdapter,
  _In_ const DXGKARG_RECOMMENDVIDPNTOPOLOGY CONST *pRecommendVidPnTopologyArg
)
{ ... }

Parameters

hAdapter [in]

A handle to a context block that is associated with a display adapter. The display miniport driver previously provided this handle to the Microsoft DirectX graphics kernel subsystem in the MiniportDeviceContext output parameter of the DxgkDdiAddDevice function.

pRecommendVidPnTopologyArg [in]

A pointer to a DXGKARG_RECOMMENDVIDPNTOPOLOGY structure that contains function arguments.

Return value

DxgkDdiRecommendVidPnTopology returns one of the following values:

Return codeDescription
STATUS_SUCCESS

The function successfully created or augmented the topology.

STATUS_GRAPHICS_NO_RECOMMENDED_VIDPN_TOPOLOGY

The function has no recommendation for the augmentation of the specified VidPN topology.

STATUS_GRAPHICS_CANCEL_VIDPN_TOPOLOGY_AUGMENTATION

The function recommends to cancel the augmentation of the specified VidPN's topology on the specified source. This return code is allowed only in the case of VidPN topology augmentation.

STATUS_NO_MEMORY

The function failed because it was unable to allocate enough memory.

 

The miniport driver should pass through any error code that it gets from the operating system for which it does not have a fallback code path.

Remarks

DxgkDdiRecommendVidPnTopology should be made pageable.

Requirements

Target platform

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dkmddi.h (include D3dkmddi.h)

IRQL

PASSIVE_LEVEL

See also

VidPn Topology Interface

 

 

Send comments about this topic to Microsoft

Show: