DXGK_DIAG_DISPLAY_MODE_SET - NtDoc

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

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;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-dispmprt-dxgk_diag_display_mode_set)

DXGK_DIAG_DISPLAY_MODE_SET enumeration

Description

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.

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.

See also

DXGK_DISPLAYSTATE_NONINTRUSIVE

DXGKARG_GETDISPLAYSTATENONINTRUSIVE

DxgkDdiGetDisplayStateNonIntrusive