// 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 referenceNo description available.
The DXGKARG_SETINTERRUPTTARGETPRESENTID structure contains parameters for the driver's DXGKDDI_SETINTERRUPTTARGETPRESENTID callback function.
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. |
See Specifying Vsync interrupt behavior for more information.
DXGKDDI_SETINTERRUPTTARGETPRESENTID