Edit

Share via


DISPLAYCONFIG_PATH_INFO structure (wingdi.h)

The DISPLAYCONFIG_PATH_INFO structure is used to describe a single path from a target to a source.

Syntax

typedef struct DISPLAYCONFIG_PATH_INFO {
  DISPLAYCONFIG_PATH_SOURCE_INFO sourceInfo;
  DISPLAYCONFIG_PATH_TARGET_INFO targetInfo;
  UINT32                         flags;
} DISPLAYCONFIG_PATH_INFO;

Members

sourceInfo

A DISPLAYCONFIG_PATH_SOURCE_INFO structure that contains the source information for the path.

targetInfo

A DISPLAYCONFIG_PATH_TARGET_INFO structure that contains the target information for the path.

flags

A bitwise OR of flag values that indicates the state of the path. The following values are supported:

Value Meaning
DISPLAYCONFIG_PATH_ACTIVE
0x00000001
Set by QueryDisplayConfig to indicate that the path is active and part of the desktop. If this flag value is set, SetDisplayConfig attempts to enable this path.
DISPLAYCONFIG_PATH_SUPPORT_VIRTUAL_MODE
0x00000008

Set by QueryDisplayConfig to indicate that the path supports virtual modes. This flag is for reporting only and cannot be modified.

Supported starting in Windows 10.

DISPLAYCONFIG_PATH_BOOST_REFRESH_RATE
0x00000010

Set by QueryDisplayConfig to indicate that the path is configured to automatically boost the refresh rate between the virtual refresh rate and the physical refresh rate (this is known as "Dynamic refresh rate"). This value can be set or removed for a path by SetDisplayConfig. The virtual refresh rate is set by DISPLAYCONFIG_PATH_TARGET_INFO.refreshRate and the physical refresh rate is selected by DISPLAYCONFIG_TARGET_MODE.targetVideoSignalInfo.

Supported starting in Windows 11.

Requirements

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

See also

DISPLAYCONFIG_PATH_SOURCE_INFO

DISPLAYCONFIG_PATH_TARGET_INFO

QueryDisplayConfig

SetDisplayConfig