DXGKDDI_CHECKMULTIPLANEOVERLAYSUPPORT2 callback function

DxgkDdiCheckMultiPlaneOverlaySupport2 is called to determine whether a specific multi-plane overlay configuration is supported. It must be implemented by Windows Display Driver Model (WDDM) 2.0 or later drivers that support multi-plane overlays.

Syntax

DXGKDDI_CHECKMULTIPLANEOVERLAYSUPPORT2 DxgkddiCheckmultiplaneoverlaysupport2;

NTSTATUS DxgkddiCheckmultiplaneoverlaysupport2(
  IN_CONST_HANDLE hAdapter,
  IN_OUT_PDXGKARG_CHECKMULTIPLANEOVERLAYSUPPORT2 pCheckMultiPlaneOverlaySupport
)
{...}

Parameters

hAdapter

Identifies the adapter containing the overlay hardware.

pCheckMultiPlaneOverlaySupport

A pointer to a DXGKARG_CHECKMULTIPLANEOVERLAYSUPPORT2 structure that describes the surfaces and display options to present.

Return Value

If this routine succeeds, it returns NTSTATUS_SUCCESS. The driver should always return a success code.

Remarks

The kernel mode driver reports whether the specified configuration is supported. The kernel mode driver should not raise or lower the available bandwidth in anticipation to this configuration getting set.

Requirements

   
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Desktop
Header d3dkmddi.h (include D3dkmddi.h)
IRQL PASSIVE_LEVEL

See Also

DXGKARG_CHECKMULTIPLANEOVERLAYSUPPORT2