Bewerken

Delen via


DXGKARG_CONTROLINTERRUPT3 structure (d3dkmddi.h)

The DXGKARG_CONTROLINTERRUPT3 structure is used in DxgkDdi_ControlInterrupt3 calls to describe the state of interrupts.

Syntax

typedef struct _DXGKARG_CONTROLINTERRUPT3 {
  DXGK_INTERRUPT_TYPE            InterruptType;
  union {
    DXGK_INTERRUPT_STATE  InterruptState;
    DXGK_CRTC_VSYNC_STATE CrtcVsyncState;
  };
  D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
} DXGKARG_CONTROLINTERRUPT3;

Members

InterruptType

A DXGK_INTERRUPT_TYPE enumeration indicating the type of interrupt.

InterruptState

A DXGK_INTERRUPT_STATE enumeration that indicates whether interrupts are enabled for the driver.

CrtcVsyncState

A DXGK_CRTC_VSYNC_STATE enumeration that indicates whether VSYNCs are enabled if interrupts are also enabled for the driver.

VidPnSourceId

The unique ID of the VidPnSource on which to control the VSync. This member only applies to VSync interrupts. VidPnSourceId can be one of the following values:

Value Meaning
0 to (number of actual VidPnSources-1) Identifies a particular VidPnSource
D3DDDI_ID_ALL VSync is to be controlled on every VidPnSource of the adapter. The OS will set this value in certain scenarios where it cannot determine the particular VidPnSource to control, or in scenarios such as adapter termination where VSync needs to be disabled globally across all VidPnSources.

Remarks

InterruptState and CrtcVsyncState are members of a union.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004
Header d3dkmddi.h

See also

DXGK_INTERRUPT_STATE

DXGK_INTERRUPT_TYPE

DxgkDdi_ControlInterrupt3