// d3dkmddi.h
DXGKDDI_SETVIDPNSOURCEVISIBILITY DxgkddiSetvidpnsourcevisibility;
NTSTATUS DxgkddiSetvidpnsourcevisibility(
IN_CONST_HANDLE hAdapter,
IN_CONST_PDXGKARG_SETVIDPNSOURCEVISIBILITY pSetVidPnSourceVisibility
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
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.
hAdapterA 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.
pSetVidPnSourceVisibilityA pointer to a DXGKARG_SETVIDPNSOURCEVISIBILITY structure that contains function arguments.
DxgkDdiSetVidPnSourceVisibility returns STATUS_SUCCESS if it succeeds; otherwise, it returns one of the error codes defined in Ntstatus.h.
See requirements on calling this function with multiplane overlays in Multiplane overlay VidPN presentation.
DxgkDdiSetVidPnSourceVisibility should be made pageable.