Improve isystem includes and magic numbers

This commit is contained in:
Justine Tunney 2021-08-14 17:16:33 -07:00
parent 1e5bd4d23e
commit 228fb7428b
143 changed files with 1183 additions and 266 deletions

39
libc/nt/system.h Normal file
View file

@ -0,0 +1,39 @@
#ifndef COSMOPOLITAN_LIBC_NT_SYSTEM_H_
#define COSMOPOLITAN_LIBC_NT_SYSTEM_H_
/* ░░░░
cosmopolitan § new technology » system control
*/
#if !(__ASSEMBLER__ + __LINKER__ + 0)
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 /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_SYSTEM_H_ */