SetSuspendState
[DllImport("powrprof.dll", SetLastError = true)]
public static extern bool SetSuspendState(
bool Hibernate,
bool ForceCritical,
bool DisableWakeEvent
);
Microsoft documentation: Link
Last updated
[DllImport("powrprof.dll", SetLastError = true)]
public static extern bool SetSuspendState(
bool Hibernate,
bool ForceCritical,
bool DisableWakeEvent
);
Microsoft documentation: Link
Last updated