]> git.proxmox.com Git - mirror_edk2.git/blame - ShellPkg/Include/Protocol/EfiShellParameters.h
fixed license header / copyright date on all files.
[mirror_edk2.git] / ShellPkg / Include / Protocol / EfiShellParameters.h
CommitLineData
94b17fa1 1/** @file\r
2 EFI Shell protocol as defined in the UEFI Shell 2.0 specification.\r
94b17fa1 3\r
1e6e84c7 4 Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
5 This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
94b17fa1 12\r
13**/\r
14\r
15#ifndef __EFI_SHELL_PARAMETERS_PROTOCOL__\r
16#define __EFI_SHELL_PARAMETERS_PROTOCOL__\r
17\r
18#define EFI_SHELL_PARAMETERS_PROTOCOL_GUID \\r
19 { \\r
20 0x752f3136, 0x4e16, 0x4fdc, { 0xa2, 0x2a, 0xe5, 0xf4, 0x68, 0x12, 0xf4, 0xca } \\r
21 }\r
22\r
23typedef struct _EFI_SHELL_PARAMETERS_PROTOCOL {\r
36a9d672 24 ///\r
1e6e84c7 25 /// Points to an Argc-element array of points to NULL-terminated strings containing\r
36a9d672 26 /// the command-line parameters. The first entry in the array is always the full file\r
27 /// path of the executable. Any quotation marks that were used to preserve\r
28 /// whitespace have been removed.\r
29 ///\r
94b17fa1 30 CHAR16 **Argv;\r
ef34de25 31\r
36a9d672 32 ///\r
33 /// The number of elements in the Argv array.\r
1e6e84c7 34 ///\r
94b17fa1 35 UINTN Argc;\r
ef34de25 36\r
36a9d672 37 ///\r
38 /// The file handle for the standard input for this executable. This may be different\r
39 /// from the ConInHandle in the EFI_SYSTEM_TABLE.\r
40 ///\r
94b17fa1 41 EFI_FILE_HANDLE StdIn;\r
ef34de25 42\r
36a9d672 43 ///\r
44 /// The file handle for the standard output for this executable. This may be different\r
45 /// from the ConOutHandle in the EFI_SYSTEM_TABLE.\r
46 ///\r
94b17fa1 47 EFI_FILE_HANDLE StdOut;\r
ef34de25 48\r
36a9d672 49 ///\r
50 /// The file handle for the standard error output for this executable. This may be\r
51 /// different from the StdErrHandle in the EFI_SYSTEM_TABLE.\r
52 ///\r
94b17fa1 53 EFI_FILE_HANDLE StdErr;\r
54} EFI_SHELL_PARAMETERS_PROTOCOL;\r
55\r
56extern EFI_GUID gEfiShellParametersProtocolGuid;\r
57\r
58#endif\r