mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Initial import
This commit is contained in:
commit
c91b3c5006
14915 changed files with 590219 additions and 0 deletions
32
libc/nt/struct/startupinfo.h
Normal file
32
libc/nt/struct/startupinfo.h
Normal file
|
@ -0,0 +1,32 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_STARTUPINFO_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_STRUCT_STARTUPINFO_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
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 /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT_STARTUPINFO_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue