Bewerken

Delen via


DXGKDDI_SETVIDPNSOURCEVISIBILITY callback function (d3dkmddi.h)

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

DXGKDDI_SETVIDPNSOURCEVISIBILITY DxgkddiSetvidpnsourcevisibility;

NTSTATUS DxgkddiSetvidpnsourcevisibility(
  IN_CONST_HANDLE hAdapter,
  IN_CONST_PDXGKARG_SETVIDPNSOURCEVISIBILITY pSetVidPnSourceVisibility
)
{...}

Parameters

hAdapter

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

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

Requirement Value
Minimum supported client Windows Vista
Target Platform Desktop
Header d3dkmddi.h
IRQL PASSIVE_LEVEL

See also

DxgkDdiSetVidPnSourceAddress