DXGKDDI_COMMITVIDPN - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmddi.h

DXGKDDI_COMMITVIDPN DxgkddiCommitvidpn;

NTSTATUS DxgkddiCommitvidpn(
  IN_CONST_HANDLE hAdapter,
  IN_CONST_PDXGKARG_COMMITVIDPN_CONST pCommitVidPn
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dkmddi-dxgkddi_commitvidpn)

DXGKDDI_COMMITVIDPN callback function

Description

The DxgkDdiCommitVidPn function makes a specified video present network (VidPN) active on a display adapter.

Parameters

hAdapter

A handle to a context block 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.

pCommitVidPn

A pointer to a DXGKARG_COMMITVIDPN structure that contains function arguments.

Return value

DxgkDdiCommitVidPn returns STATUS_SUCCESS upon successful completion; otherwise, it returns an appropriate NTSTATUS code such as STATUS_GRAPHICS_INVALID_VIDPN_TOPOLOGY.

Remarks

For more information about how the display miniport driver should handle calls to DxgkDdiCommitVidPn, see DXGKARG_COMMITVIDPN.

Beginning with Windows 8, if the display miniport driver sets the SupportSmoothRotation member of the DXGK_DRIVERCAPS structure, it must support updating the path rotation on the adapter using the DxgkDdiUpdateActiveVidPnPresentPath function. The driver must always be able to set the path rotation during a call to the DxgkDdiCommitVidPn function.

See also

DXGKARG_COMMITVIDPN

DXGK_DRIVERCAPS

DxgkDdiAddDevice

DxgkDdiUpdateActiveVidPnPresentPath