C# Class Huoyaoyuan.AdmiralRoom.Win32Helper

Exibir arquivo Open project: huoyaoyuan/AdmiralRoom Class Usage Examples

Public Methods

Method Description
GetRestoreWindowPosition ( Window window ) : void
RefreshIESettings ( string strProxy ) : bool
SetGPURendering ( bool enable ) : void
SetIEEmulation ( int mode ) : void
SetMMCSSTask ( ) : void
SetRestoreWindowPosition ( Window window ) : void

Private Methods

Method Description
AvSetMmThreadCharacteristics ( string taskName, uint &taskIndex ) : IntPtr
GetWindowPlacement ( IntPtr hWnd, WINDOWPLACEMENT &lpwndpl ) : bool
InternetSetOption ( IntPtr hInternet, int dwOption, IntPtr lpBuffer, int lpdwBufferLength ) : bool
SetWindowPlacement ( IntPtr hWnd, [ lpwndpl ) : bool

Method Details

GetRestoreWindowPosition() public static method

public static GetRestoreWindowPosition ( Window window ) : void
window System.Windows.Window
return void

RefreshIESettings() public static method

public static RefreshIESettings ( string strProxy ) : bool
strProxy string
return bool

SetGPURendering() public static method

public static SetGPURendering ( bool enable ) : void
enable bool
return void

SetIEEmulation() public static method

public static SetIEEmulation ( int mode ) : void
mode int
return void

SetMMCSSTask() public static method

public static SetMMCSSTask ( ) : void
return void

SetRestoreWindowPosition() public static method

public static SetRestoreWindowPosition ( Window window ) : void
window System.Windows.Window
return void