| 1 |
//! Shell Parameters Protocol |
| 2 |
//! |
| 3 |
//! Defined in the UEFI Shell Specification, Section 2.3. |
| 4 |
|
| 5 |
use super::shell; |
| 6 |
|
| 7 |
pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields( |
| 8 |
0x752f3136, |
| 9 |
0x4e16, |
| 10 |
0x4fdc, |
| 11 |
0xa2, |
| 12 |
0x2a, |
| 13 |
&[0xe5, 0xf4, 0x68, 0x12, 0xf4, 0xca], |
| 14 |
); |
| 15 |
|
| 16 |
#[repr(C)] |
| 17 |
pub struct Protocol { |
| 18 |
pub argv: *mut *mut crate::base::Char16, |
| 19 |
pub argc: usize, |
| 20 |
pub std_in: shell::FileHandle, |
| 21 |
pub std_out: shell::FileHandle, |
| 22 |
pub std_err: shell::FileHandle, |
| 23 |
} |