DxgkDdiSetVidPnSourceAddressWithMultiPlaneOverlay routine

Sets the addresses of multiple surfaces, including the Desktop Window Manager (DWM)'s swapchain, that are associated with a particular video present source. This function is used to present multiple surfaces (including the DWM’s swapchain) to the screen.

Syntax


PDXGKDDI_SETVIDPNSOURCEADDRESSWITHMULTIPLANEOVERLAY DxgkDdiSetVidPnSourceAddressWithMultiPlaneOverlay;

_Check_return_ NTSTATUS APIENTRY* DxgkDdiSetVidPnSourceAddressWithMultiPlaneOverlay(
  _In_ const HANDLE                                             hAdapter,
  _In_ const DXGKARG_SETVIDPNSOURCEADDRESSWITHMULTIPLANEOVERLAY *pSetVidPnSourceAddressWithMultiPlaneOverlay
)
{ ... }

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 DirectX graphics kernel subsystem in the MiniportDeviceContext output parameter of the DxgkDdiAddDevice function.

pSetVidPnSourceAddressWithMultiPlaneOverlay [in]

A pointer to a DXGKARG_SETVIDPNSOURCEADDRESSWITHMULTIPLANEOVERLAY structure that defines multiplane overlays that are enabled for display.

Return value

Returns STATUS_SUCCESS if it succeeds; otherwise it returns one of the error codes defined in Ntstatus.h.

Remarks

See requirements on calling this function in Multiplane overlay VidPN presentation.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Target platform

Desktop

Header

D3dkmddi.h (include D3dkmddi.h)

IRQL

PROFILE_LEVEL - 1

See also

DXGKARG_SETVIDPNSOURCEADDRESSWITHMULTIPLANEOVERLAY
DxgkDdiAddDevice

 

 

Send comments about this topic to Microsoft

表示:
© 2015 Microsoft