C# Class Etupirka.DisplaySettings

Datei anzeigen Open project: Aixile/Etupirka Class Usage Examples

Public Methods

Method Description
AdjustDisplay ( DisplayInfo displayInfo, GameInfo game = null ) : void
GetDisplayDevices ( ) : DisplayInfo
RestoreDisplay ( GameInfo game = null ) : void
getComputerID ( ) : string

Private Methods

Method Description
EnumDisplayDevices ( string lpDevice, uint iDevNum, DISPLAY_DEVICE &lpDisplayDevice, uint dwFlags ) : bool
getDeviceScaling ( string deviceID ) : int
restartDisplayDrivers ( ) : void
setDeviceScaling ( string deviceID, int scaling ) : bool

Method Details

AdjustDisplay() public static method

public static AdjustDisplay ( DisplayInfo displayInfo, GameInfo game = null ) : void
displayInfo DisplayInfo
game GameInfo
return void

GetDisplayDevices() public static method

public static GetDisplayDevices ( ) : DisplayInfo
return DisplayInfo

RestoreDisplay() public static method

public static RestoreDisplay ( GameInfo game = null ) : void
game GameInfo
return void

getComputerID() public static method

public static getComputerID ( ) : string
return string