DISPLAYCONFIG_MODE_INFO_TYPE enumeration (wingdi.h)

The DISPLAYCONFIG_MODE_INFO_TYPE enumeration specifies that the information that is contained within the DISPLAYCONFIG_MODE_INFO structure is either source or target mode.

Syntax

typedef enum  {
  DISPLAYCONFIG_MODE_INFO_TYPE_SOURCE = 1,
  DISPLAYCONFIG_MODE_INFO_TYPE_TARGET = 2,
  DISPLAYCONFIG_MODE_INFO_TYPE_DESKTOP_IMAGE = 3,
  DISPLAYCONFIG_MODE_INFO_TYPE_FORCE_UINT32 = 0xFFFFFFFF
} DISPLAYCONFIG_MODE_INFO_TYPE;

Constants

 
DISPLAYCONFIG_MODE_INFO_TYPE_SOURCE
Value: 1
Indicates that the DISPLAYCONFIG_MODE_INFO structure contains source mode information.
DISPLAYCONFIG_MODE_INFO_TYPE_TARGET
Value: 2
Indicates that the DISPLAYCONFIG_MODE_INFO structure contains target mode information.
DISPLAYCONFIG_MODE_INFO_TYPE_DESKTOP_IMAGE
Value: 3
Indicates that the DISPLAYCONFIG_MODE_INFO structure contains a valid DISPLAYCONFIG_DESKTOP_IMAGE_INFO structure. Supported starting in Windows 10.
DISPLAYCONFIG_MODE_INFO_TYPE_FORCE_UINT32
Value: 0xFFFFFFFF
Forces this enumeration to compile to 32 bits in size. Without this value, some compilers would allow this enumeration to compile to a size other than 32 bits. You should not use this value.

Requirements

   
Minimum supported client Available in Windows 7 Windows Client.
Header wingdi.h (include Windows.h)

See also

DISPLAYCONFIG_MODE_INFO