예제 #1
0
 public void PreventMonitorPowerdown()
 {
     NoCat.SetThreadExecutionState(NoCat.EXECUTION_STATE.ES_DISPLAY_REQUIRED | NoCat.EXECUTION_STATE.ES_CONTINUOUS);
 }
예제 #2
0
 public void AllowMonitorPowerdown()
 {
     NoCat.SetThreadExecutionState(NoCat.EXECUTION_STATE.ES_CONTINUOUS);
 }