C# Class MediaPortal.Player.Win32

Mostrar archivo Open project: MediaPortal/MediaPortal-1 Class Usage Examples

Public Methods

Method Description
CycleRefreshRate ( uint monitorIndex, double refreshRate ) : void
FixDwm ( ) : void
KillFormThread ( ) : void
Win32_SetRefreshRate ( uint monitorIndex, uint refreshRate ) : void

Protected Methods

Method Description
FindMonitorIndexForScreen ( ) : int

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

Private Methods

Method 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 method

public static CycleRefreshRate ( uint monitorIndex, double refreshRate ) : void
monitorIndex uint
refreshRate double
return void

FindMonitorIndexForScreen() protected static method

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

FixDwm() public static method

public static FixDwm ( ) : void
return void

KillFormThread() public static method

public static KillFormThread ( ) : void
return void

Win32_SetRefreshRate() public static method

public static Win32_SetRefreshRate ( uint monitorIndex, uint refreshRate ) : void
monitorIndex uint
refreshRate uint
return void