DXGKARG_SETINTERRUPTTARGETPRESENTID - NtDoc

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

typedef struct _DXGKARG_SETINTERRUPTTARGETPRESENTID {
  D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
  UINT                           LayerIndex;
  ULONGLONG                      InterruptTargetPresentId;
} DXGKARG_SETINTERRUPTTARGETPRESENTID;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmddi-dxgkarg_setinterrupttargetpresentid)

Description

The DXGKARG_SETINTERRUPTTARGETPRESENTID structure contains parameters for the driver's DXGKDDI_SETINTERRUPTTARGETPRESENTID callback function.

Members

VidPnSourceId

[in] A D3DDDI_VIDEO_PRESENT_SOURCE_ID value that identifies the VidPn source ID of the hardware flip queue.

LayerIndex

[in] A zero-based index value that identifies the MPO plane index of the flip queue.

InterruptTargetPresentId

[in] Value that identifies the PresentId that is required to raise a corresponding VSync or HSync interrupt when it's completed. InterruptTargetPresentId can be one of the following values:

Value Meaning
UINT64_MAX No VSync interrupt is required going forward until the target present ID is changed again.
0 VSync interrupts are required for every interval regardless of whether any new flips are completed.
Any other value Interrupts are raised if the currently scanned PresentId >= InterruptTargetPresentId.

Remarks

See Specifying Vsync interrupt behavior for more information.

See also

DXGKDDI_SETINTERRUPTTARGETPRESENTID