Export (0) Print
Expand All
Expand Minimize

DxgkDdiSetVidPnSourceVisibility routine

The DxgkDdiSetVidPnSourceVisibility function programs the video output codec that is associated with a specified video present source to either start scanning or stop scanning the source's primary surface.

Syntax


PDXGKDDI_SETVIDPNSOURCEVISIBILITY DxgkDdiSetVidPnSourceVisibility;

NTSTATUS APIENTRY DxgkDdiSetVidPnSourceVisibility(
  _In_  const HANDLE hAdapter,
  _In_  const DXGKARG_SETVIDPNSOURCEVISIBILITY *pSetVidPnSourceVisibility
)
{ ... }

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.

pSetVidPnSourceVisibility [in]

A pointer to a DXGKARG_SETVIDPNSOURCEVISIBILITY structure that contains function arguments.

Return value

DxgkDdiSetVidPnSourceVisibility 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 with multiplane overlays in Multiplane overlay VidPN presentation.

DxgkDdiSetVidPnSourceVisibility should be made pageable.

Requirements

Version

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

Header

D3dkmddi.h (include D3dkmddi.h)

IRQL

PASSIVE_LEVEL

See also

DxgkDdiSetVidPnSourceAddress

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft