1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
use crate::status::Status;
use crate::Handle;

#[repr(C)]
pub struct Shell {
    pub Execute: extern "win64" fn(
        ImageHandle: &Handle,
        CommandLine: *const u16,
        Environment: *const *const u16,
        Status: *mut Status,
    ) -> Status,
    //TODO
}

#[repr(C)]
pub struct ShellParameters {
    pub Argv: *const *const u16,
    pub Argc: usize,
    pub StdIn: Handle,
    pub StdOut: Handle,
    pub StdErr: Handle,
}