SetDisplayConfigFlags Enumeration

Definition

Namespace: DevCase.Win32.Enums
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[FlagsAttribute]
public enum SetDisplayConfigFlags

Remarks

Members

TopologyInternal 1 Requests the last internal configuration from the persistence database.
TopologyClone 2 Requests the last clone configuration from the persistence database.
TopologyExtend 4 Requests the last extended configuration from the persistence database.
TopologyExternal 8 Requests the last external configuration from the persistence database.
UseDatabaseCurrent 15 Requests a combination of all four SetDisplayConfigFlags.Topology_XXX configurations.

This value informs the API to set the last known display configuration for the current connected monitors.

TopologySupplied 16 Provides the path data so the function only queries the persistence database to find and use the source and target mode.
UseSuppliedDisplayConfig 32 The topology, source, and target mode information that are supplied in the pathArray and the modeInfoArray parameters of SetDisplayConfig(UInt32, DisplayConfigPathInfo, UInt32, DisplayConfigModeInfo, SetDisplayConfigFlags) are used, rather than looking up the configuration in the database.
Validate 64 The system tests for the requested topology, source, and target mode information to determine whether it can be set.
Apply 128 The resulting topology, source, and target mode is set.
NoOptimization 256 A modifier to the Apply flag.

This causes the change mode to be forced all the way down to the driver for each active display.

SaveToDatabase 512 The resulting topology, source, and target mode are saved to the database.
AllowChanges 1,024 If required, the function can modify the specified source and target mode information in order to create a functional display path set.
PathPersistIfRequired 2,048 When the function processes a SetDisplayConfigFlags.Topology_XXX request, it can force path persistence on a target to satisfy the request if necessary.
ForceModeEnumeration 4,096 Requests that the driver is given an opportunity to update the GDI mode list while SetDisplayConfig(UInt32, DisplayConfigPathInfo, UInt32, DisplayConfigModeInfo, SetDisplayConfigFlags) sets the new display configuration.

This flag value is only valid when the UseSuppliedDisplayConfig and Apply flag values are also specified.

AllowPathOrderChanged 8,192 A modifier to the TopologySupplied flag that indicates that SetDisplayConfig(UInt32, DisplayConfigPathInfo, UInt32, DisplayConfigModeInfo, SetDisplayConfigFlags) should ignore the path order of the supplied topology when searching the database.

When this flag is set, the topology set is the most recent topology that contains all the paths regardless of the path order.

VirtualModeAware 32,768 Undocumented.

See Also