DXGKDDI_SETVIDPNSOURCEADDRESSWITHMULTIPLANEOVERLAY2 callback function (d3dkmddi.h)

DxgkDdiSetVidPnSourceAddressWithMultiPlaneOverlay2 is called to change the overlay configuration being displayed. It must be implemented by Windows Display Driver Model (WDDM) 2.0 or later drivers that support multi-plane overlays.

Syntax

DXGKDDI_SETVIDPNSOURCEADDRESSWITHMULTIPLANEOVERLAY2 DxgkddiSetvidpnsourceaddresswithmultiplaneoverlay2;

NTSTATUS DxgkddiSetvidpnsourceaddresswithmultiplaneoverlay2(
       IN_CONST_HANDLE hAdapter,
  [in] IN_CONST_PDXGKARG_SETVIDPNSOURCEADDRESSWITHMULTIPLANEOVERLAY2 pSetVidPnSourceAddressWithMultiPlaneOverlay
)
{...}

Parameters

hAdapter

Identifies the adapter containing the overlay hardware.

[in] pSetVidPnSourceAddressWithMultiPlaneOverlay

A pointer to a DXGKARG_SETVIDPNSOURCEADDRESSWITHMULTIPLANEOVERLAY2 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.

Requirements

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

See also

DXGKARG_SETVIDPNSOURCEADDRESSWITHMULTIPLANEOVERLAY2