Пример #1
0
 public DisplayConfigSupportVirtualResolution(LUID adapter, uint targetId, bool disableMonitorVirtualResolution)
     : this()
 {
     _DisableMonitorVirtualResolution = disableMonitorVirtualResolution ? 1 : 0;
     _Header = new DisplayConfigDeviceInfoHeader(adapter, targetId, GetType(),
                                                 DisplayConfigDeviceInfoType.SetSupportVirtualResolution);
 }
 public DisplayConfigGetSourceDPIScale(LUID adapter, uint sourceId) : this()
 {
     _Header = new DisplayConfigDeviceInfoHeader(adapter, sourceId, GetType());
 }
 public DisplayConfigTargetPreferredMode(LUID adapter, uint targetId) : this()
 {
     _Header = new DisplayConfigDeviceInfoHeader(adapter, targetId, GetType());
 }
Пример #4
0
 public DisplayConfigSupportVirtualResolution(LUID adapter, uint targetId) : this()
 {
     _Header = new DisplayConfigDeviceInfoHeader(adapter, targetId, GetType(),
                                                 DisplayConfigDeviceInfoType.GetSupportVirtualResolution);
 }
 public DisplayConfigSetSourceDPIScale(LUID adapter, uint sourceId, int scaleSteps)
     : this()
 {
     _Header = new DisplayConfigDeviceInfoHeader(adapter, sourceId, GetType());
     ScaleSteps = scaleSteps;
 }
Пример #6
0
 public DisplayConfigAdapterName(LUID adapter) : this()
 {
     _Header = new DisplayConfigDeviceInfoHeader(adapter, GetType());
 }
Пример #7
0
 public DisplayConfigSetTargetPersistence(LUID adapter, uint targetId, bool bootPersistence) : this()
 {
     _Header            = new DisplayConfigDeviceInfoHeader(adapter, targetId, GetType());
     _BootPersistenceOn = bootPersistence ? 1u : 0u;
 }