DXGKDDI_COMMITVIDPN callback function (d3dkmddi.h)
The DxgkDdiCommitVidPn function makes a specified video present network (VidPN) active on a display adapter.
Syntax
DXGKDDI_COMMITVIDPN DxgkddiCommitvidpn;
NTSTATUS DxgkddiCommitvidpn(
IN_CONST_HANDLE hAdapter,
IN_CONST_PDXGKARG_COMMITVIDPN_CONST pCommitVidPn
)
{...}
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Target Platform | Desktop |
Header | d3dkmddi.h (include D3dkmddi.h) |
IRQL | PASSIVE_LEVEL |