C# Class NiceHashMiner.PInvoke.PInvokeHelpers

Exibir arquivo Open project: nicehash/NiceHashMiner

Public Methods

Method Description
AllowMonitorPowerdownAndSleep ( ) : void
KeepSystemAwake ( ) : void
PreventMonitorPowerdown ( ) : void
PreventSleep ( ) : void

Private Methods

Method Description
AllocConsole ( ) : bool
GetLastInputInfo ( LASTINPUTINFO &plii ) : bool
InternetGetConnectedState ( int &Description, int ReservedValue ) : bool
IsWow64Process ( [ hProcess, [ wow64Process ) : bool
SetThreadExecutionState ( EXECUTION_STATE esFlags ) : EXECUTION_STATE

Method Details

AllowMonitorPowerdownAndSleep() public static method

public static AllowMonitorPowerdownAndSleep ( ) : void
return void

KeepSystemAwake() public static method

public static KeepSystemAwake ( ) : void
return void

PreventMonitorPowerdown() public static method

public static PreventMonitorPowerdown ( ) : void
return void

PreventSleep() public static method

public static PreventSleep ( ) : void
return void