cosmopolitan/libc/nt/system.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
3.7 KiB
C
Raw Permalink Normal View History

#ifndef COSMOPOLITAN_LIBC_NT_SYSTEM_H_
#define COSMOPOLITAN_LIBC_NT_SYSTEM_H_
/* ░░░░
cosmopolitan § new technology » system control
*/
COSMOPOLITAN_C_START_
bool32 SetSuspendState(bool32 bHibernate, bool32 bForce,
bool32 bWakeupEventsDisabled);
uint32_t InitiateShutdown(const char16_t *lpMachineName,
const char16_t *lpMessage, uint32_t dwGracePeriod,
uint32_t dwShutdownFlags, uint32_t dwReason);
COSMOPOLITAN_C_END_
#endif /* COSMOPOLITAN_LIBC_NT_SYSTEM_H_ */