Ejemplo n.º 1
0
 public bool SetSuspendState(bool bHibernate, bool bWakeupEventsDisabled)
 {
     return(NativePowerStateManagemetInterop.SetSuspendState(bHibernate, false, bWakeupEventsDisabled));
 }
Ejemplo n.º 2
0
 public uint CallNtPowerInformation(int informationLevel, IntPtr lpInputBuffer, int nInputBufferSize, IntPtr lpOutputBuffer,
                                    int nOutputBufferSize)
 {
     return(NativePowerStateManagemetInterop.CallNtPowerInformation(informationLevel, lpInputBuffer,
                                                                    nInputBufferSize, lpOutputBuffer, nOutputBufferSize));
 }