1  use crate::{guid, Char16, Guid};
2  use core::ffi::c_void;
3  
4  pub type ShellFileHandle = *const c_void;
5  
6  #[derive(Debug)]
7  #[repr(C)]
8  pub struct ShellParametersProtocol {
9      /// Pointer to a list of arguments.
10      pub argv: *const *const Char16,
11      /// Number of arguments.
12      pub argc: usize,
13      /// Handle of the standard input.
14      pub std_in: ShellFileHandle,
15      /// Handle of the standard output.
16      pub std_out: ShellFileHandle,
17      /// Handle of the standard error output.
18      pub std_err: ShellFileHandle,
19  }
20  
21  impl ShellParametersProtocol {
22      pub const GUID: Guid = guid!("752f3136-4e16-4fdc-a22a-e5f46812f4ca");
23  }
24