DXGK_DIAG_DISPLAY_MODE_SET enumeration (dispmprt.h)

DXGK_DIAG_DISPLAY_MODE_SET provides a driver's last mode set state to the operating system (OS) when it is gathering nonintrusive display diagnostic information.

Syntax

typedef enum _DXGK_DIAG_DISPLAY_MODE_SET {
  DXGK_DIAG_DISPLAY_MODE_SET_UNINITIALIZED,
  DXGK_DIAG_DISPLAY_MODE_SET_NO,
  DXGK_DIAG_DISPLAY_MODE_SET_YES
} DXGK_DIAG_DISPLAY_MODE_SET;

Constants

 
DXGK_DIAG_DISPLAY_MODE_SET_UNINITIALIZED
Reserved for OS use during diagnostic initialization.
DXGK_DIAG_DISPLAY_MODE_SET_NO
The driver did not complete the last mode set successfully.
DXGK_DIAG_DISPLAY_MODE_SET_YES
The driver completed the last mode set successfully.

Remarks

The DXGK_DIAG_DISPLAY_MODE_SET enumeration is a member of the DXGK_DISPLAYSTATE_NONINTRUSIVE structure. It is used while gathering display diagnostic information via calls to DxgkDdiGetDisplayStateNonIntrusive.

While the OS tracks whether the last Set mode call succeeded, DXGK_DIAG_DISPLAY_MODE_SET provides the driver's state regarding mode set on a given target to compare against the OS state. For the OS, a mode set operation mainly consists of a SetTimings DDI call. However, for drivers, a mode set usually means multiple internal operations to set the hardware timings correctly. The OS can use DXGK_DIAG_DISPLAY_MODE_SET to determine the overall driver state for mode set and if it is considered successful.

Requirements

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

See also

DXGK_DISPLAYSTATE_NONINTRUSIVE

DXGKARG_GETDISPLAYSTATENONINTRUSIVE

DxgkDdiGetDisplayStateNonIntrusive