1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Copyright © 2015, Peter Atashian
// Licensed under the MIT License <LICENSE.md>
#[repr(C)] #[derive(Clone, Copy, Debug)]
pub struct STARTUPINFOA {
    pub cb: ::DWORD,
    pub lpReserved: ::LPSTR,
    pub lpDesktop: ::LPSTR,
    pub lpTitle: ::LPSTR,
    pub dwX: ::DWORD,
    pub dwY: ::DWORD,
    pub dwXSize: ::DWORD,
    pub dwYSize: ::DWORD,
    pub dwXCountChars: ::DWORD,
    pub dwYCountChars: ::DWORD,
    pub dwFillAttribute: ::DWORD,
    pub dwFlags: ::DWORD,
    pub wShowWindow: ::WORD,
    pub cbReserved2: ::WORD,
    pub lpReserved2: ::LPBYTE,
    pub hStdInput: ::HANDLE,
    pub hStdOutput: ::HANDLE,
    pub hStdError: ::HANDLE,
}
pub type LPSTARTUPINFOA = *mut STARTUPINFOA;
#[repr(C)] #[derive(Clone, Copy, Debug)]
pub struct STARTUPINFOW {
    pub cb: ::DWORD,
    pub lpReserved: ::LPWSTR,
    pub lpDesktop: ::LPWSTR,
    pub lpTitle: ::LPWSTR,
    pub dwX: ::DWORD,
    pub dwY: ::DWORD,
    pub dwXSize: ::DWORD,
    pub dwYSize: ::DWORD,
    pub dwXCountChars: ::DWORD,
    pub dwYCountChars: ::DWORD,
    pub dwFillAttribute: ::DWORD,
    pub dwFlags: ::DWORD,
    pub wShowWindow: ::WORD,
    pub cbReserved2: ::WORD,
    pub lpReserved2: ::LPBYTE,
    pub hStdInput: ::HANDLE,
    pub hStdOutput: ::HANDLE,
    pub hStdError: ::HANDLE,
}
pub type LPSTARTUPINFOW = *mut STARTUPINFOW;