DisplayConfigPathTargetInfo Structure

Contains target information for a single path.

A target corresponds to the number of possible video outputs on a display adapter.

Definition

Namespace: DevCase.Win32.Structures
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public struct DisplayConfigPathTargetInfo
Inheritance
Object    ValueType    DisplayConfigPathTargetInfo

Remarks

Methods

Equals Indicates whether this instance and a specified object are equal.
(Inherited from ValueType)
GetHashCode Returns the hash code for this instance.
(Inherited from ValueType)
GetType Gets the Type of the current instance.
(Inherited from Object)
ToString Returns the fully qualified type name of this instance.
(Inherited from ValueType)

Fields

AdapterId The identifier of the adapter that the path is on.
Id The target identifier on the specified adapter that this path relates to.
InfoUnion Additional Information.
OutputTechnology The target's connector type.
RefreshRate A DISPLAYCONFIG_RATIONAL structure that specifies the refresh rate of the target.

If the caller specifies target mode information, the operating system will instead use the refresh rate that is stored in the VerticalSyncFreq member. In this case, the caller specifies this value in the VideoSignalInfo member.

A refresh rate with both the numerator and denominator set to zero indicates that the caller does not specify a refresh rate and the operating system should use the most optimal refresh rate available. For this case, in a call to the SetDisplayConfig(UInt32, DisplayConfigPathInfo, UInt32, DisplayConfigModeInfo, SetDisplayConfigFlags) function, the caller must set the ScanLineOrdering member to the Unspecified value; otherwise, SetDisplayConfig(UInt32, DisplayConfigPathInfo, UInt32, DisplayConfigModeInfo, SetDisplayConfigFlags) fails.

Rotation The rotation of the target.
Scaling A value that specifies how the source image is scaled to the target.
ScanLineOrdering A value that specifies the scan-line ordering of the output on the target.

If the caller specifies target mode information, the operating system will instead use the scan-line ordering that is stored in the ScanLineOrdering member. In this case, the caller specifies this value in the VideoSignalInfo member.

StatusFlags One or more flags that indicates the status of the target.

The following values are supported:

DISPLAYCONFIG_TARGET_IN_USE: Target is in use on an active path.

DISPLAYCONFIG_TARGET_FORCIBLE: The output can be forced on this target even if a monitor is not detected.

DISPLAYCONFIG_TARGET_FORCED_AVAILABILITY_BOOT: Output is currently being forced in a boot-persistent manner.

DISPLAYCONFIG_TARGET_FORCED_AVAILABILITY_PATH: Output is currently being forced in a path-persistent manner.

DISPLAYCONFIG_TARGET_FORCED_AVAILABILITY_SYSTEM: Output is currently being forced in a non-persistent manner.

TargetAvailable A value that specifies whether the target is available.

Because the asynchronous nature of display topology changes when a monitor is removed, a path might still be marked as active even though the monitor has been removed.

In such a case, TargetAvailable could be for an active path. This is typically a transient situation that will change after the operating system takes action on the monitor removal.

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also