public DisplayConfigModeInfo(LUID adapterId, uint id, DisplayConfigDesktopImageInfo desktopImageInfo) : this() { AdapterId = adapterId; Id = id; DesktopImageInfo = desktopImageInfo; InfoType = DisplayConfigModeInfoType.DesktopImage; }
public DisplayConfigModeInfo(LUID adapterId, uint id, DisplayConfigTargetMode targetMode) : this() { AdapterId = adapterId; Id = id; TargetMode = targetMode; InfoType = DisplayConfigModeInfoType.Target; }
public DisplayConfigModeInfo(LUID adapterId, uint id, DisplayConfigSourceMode sourceMode) : this() { AdapterId = adapterId; Id = id; SourceMode = sourceMode; InfoType = DisplayConfigModeInfoType.Source; }
public DisplayConfigModeInfo(Luid adapterId, uint id, DisplayConfigDesktopImageInfo desktopImageInfo) : this() { this.AdapterId = adapterId; this.Id = id; this.DesktopImageInfo = desktopImageInfo; this.InfoType = DisplayConfigModeInfoType.DesktopImage; }
public DisplayConfigModeInfo(Luid adapterId, uint id, DisplayConfigSourceMode sourceMode) : this() { this.AdapterId = adapterId; this.Id = id; this.SourceMode = sourceMode; this.InfoType = DisplayConfigModeInfoType.Source; }
public DisplayConfigModeInfo(Luid adapterId, uint id, DisplayConfigTargetMode targetMode) : this() { this.AdapterId = adapterId; this.Id = id; this.TargetMode = targetMode; this.InfoType = DisplayConfigModeInfoType.Target; }
public DisplayConfigModeInfo(DisplayConfigModeInfoType infoType, uint id, Luid adapterId, DisplayConfigTargetMode targetMode, DisplayConfigSourceMode sourceMode, DisplayConfigDesktopImageInfo desktopImageInfo) { InfoType = infoType; Id = id; AdapterId = adapterId; TargetMode = targetMode; SourceMode = sourceMode; DesktopImageInfo = desktopImageInfo; }
/// <summary> /// Creates a new MissingModeException /// </summary> /// <param name="missingModeType">The missing mode type</param> /// <param name="message">The human readable message of the exception</param> public MissingModeException(string message, DisplayConfigModeInfoType missingModeType) : base(message) { MissingModeType = missingModeType; }