C# Class MediaPortal.Player.Win32

Afficher le fichier Open project: MediaPortal/MediaPortal-1 Class Usage Examples

Méthodes publiques

Méthode Description
CycleRefreshRate ( uint monitorIndex, double refreshRate ) : void
FixDwm ( ) : void
KillFormThread ( ) : void
Win32_SetRefreshRate ( uint monitorIndex, uint refreshRate ) : void

Méthodes protégées

Méthode Description
FindMonitorIndexForScreen ( ) : int

Finds the monitorIndex based on current specified screen on its primary monitor

Private Methods

Méthode Description
ChangeDisplaySettingsEx ( [ lpszDeviceName, [ lpDevMode, [ hwnd, [ dwFlags, [ lParam ) : ChangeDisplaySettings_Result
DwmIsCompositionEnabled ( int &pfEnabled ) : int
EnumDisplayDevices ( [ lpDevice, [ iDevNum, [ lpDisplayDevice, [ dwFlags ) : int
EnumDisplaySettingsEx ( [ lpszDeviceName, [ iModeNum, [ lpDevMode, [ dwFlags ) : int

Method Details

CycleRefreshRate() public static méthode

public static CycleRefreshRate ( uint monitorIndex, double refreshRate ) : void
monitorIndex uint
refreshRate double
Résultat void

FindMonitorIndexForScreen() protected static méthode

Finds the monitorIndex based on current specified screen on its primary monitor
protected static FindMonitorIndexForScreen ( ) : int
Résultat int

FixDwm() public static méthode

public static FixDwm ( ) : void
Résultat void

KillFormThread() public static méthode

public static KillFormThread ( ) : void
Résultat void

Win32_SetRefreshRate() public static méthode

public static Win32_SetRefreshRate ( uint monitorIndex, uint refreshRate ) : void
monitorIndex uint
refreshRate uint
Résultat void