C# Class Etupirka.DisplaySettings

Afficher le fichier Open project: Aixile/Etupirka Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode 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 méthode

public static AdjustDisplay ( DisplayInfo displayInfo, GameInfo game = null ) : void
displayInfo DisplayInfo
game GameInfo
Résultat void

GetDisplayDevices() public static méthode

public static GetDisplayDevices ( ) : DisplayInfo
Résultat DisplayInfo

RestoreDisplay() public static méthode

public static RestoreDisplay ( GameInfo game = null ) : void
game GameInfo
Résultat void

getComputerID() public static méthode

public static getComputerID ( ) : string
Résultat string