cosmopolitan/libc/nt/struct/startupinfo.h
Justine Tunney fa20edc44d
Reduce header complexity
- Remove most __ASSEMBLER__ __LINKER__ ifdefs
- Rename libc/intrin/bits.h to libc/serialize.h
- Block pthread cancelation in fchmodat() polyfill
- Remove `clang-format off` statements in third_party
2023-11-28 14:39:42 -08:00

30 lines
808 B
C

#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_STARTUPINFO_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_STARTUPINFO_H_
struct NtStartupInfo {
uint32_t cb /* = sizeof(struct NtStartupInfo) */;
uint16_t *lpReserved;
char16_t *lpDesktop;
char16_t *lpTitle; /* title of *new* console window only */
uint32_t dwX; /* position of window on screen */
uint32_t dwY;
uint32_t dwXSize;
uint32_t dwYSize;
uint32_t dwXCountChars; /* used to dimension the dos terminal */
uint32_t dwYCountChars;
uint32_t dwFillAttribute;
uint32_t dwFlags;
uint16_t wShowWindow;
uint16_t cbReserved2;
uint8_t *lpReserved2;
union {
struct {
int64_t hStdInput;
int64_t hStdOutput;
int64_t hStdError;
};
int64_t stdiofds[3];
};
};
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT_STARTUPINFO_H_ */