// d3dkmddi.h
DXGKDDI_COMMITVIDPN DxgkddiCommitvidpn;
NTSTATUS DxgkddiCommitvidpn(
IN_CONST_HANDLE hAdapter,
IN_CONST_PDXGKARG_COMMITVIDPN_CONST pCommitVidPn
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The DxgkDdiCommitVidPn function makes a specified video present network (VidPN) active on a display adapter.
hAdapterA 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.
pCommitVidPnA pointer to a DXGKARG_COMMITVIDPN structure that contains function arguments.
DxgkDdiCommitVidPn returns STATUS_SUCCESS upon successful completion; otherwise, it returns an appropriate NTSTATUS code such as STATUS_GRAPHICS_INVALID_VIDPN_TOPOLOGY.
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.
DxgkDdiUpdateActiveVidPnPresentPath