// d3dkmddi.h
typedef enum _DXGK_CRTC_VSYNC_STATE {
DXGK_VSYNC_ENABLE = 0,
DXGK_VSYNC_DISABLE_KEEP_PHASE = 1,
DXGK_VSYNC_DISABLE_NO_PHASE = 2
} DXGK_CRTC_VSYNC_STATE;
View the official Windows Driver Kit DDI referenceNo description available.
The DXGK_CRTC_VSYNC_STATE enumeration provides additional information for DxgkDdi_ControlInterrupt2 when VSYNC is being utilized.
DXGK_VSYNC_ENABLE:0Indicates that the VSYNC interrupt is enabled and will call into the interrupt callback whenever a display target enters the VBLANK state.
DXGK_VSYNC_DISABLE_KEEP_PHASE:1Indicates that the VSYNC interrupt is disabled and the display driver will ensure that any request to re-enter the VSYNC enabled state will do so in the phase of interrupts prior to disable.
DXGK_VSYNC_DISABLE_NO_PHASE:2Indicates that the VSYNC interrupt is disabled, but that the display driver will not require re-entering the VSYNC enabled state in phase of prior interrupts.