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