]> git.proxmox.com Git - mirror_edk2.git/blame - ShellPkg/Include/Protocol/EfiShellParameters.h
udk2010.up2.shell initial release.
[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
a405b86d 15#include <ShellBase.h>\r
16\r
94b17fa1 17#ifndef __EFI_SHELL_PARAMETERS_PROTOCOL__\r
18#define __EFI_SHELL_PARAMETERS_PROTOCOL__\r
19\r
20#define EFI_SHELL_PARAMETERS_PROTOCOL_GUID \\r
21 { \\r
22 0x752f3136, 0x4e16, 0x4fdc, { 0xa2, 0x2a, 0xe5, 0xf4, 0x68, 0x12, 0xf4, 0xca } \\r
23 }\r
24\r
25typedef struct _EFI_SHELL_PARAMETERS_PROTOCOL {\r
36a9d672 26 ///\r
1e6e84c7 27 /// Points to an Argc-element array of points to NULL-terminated strings containing\r
36a9d672 28 /// the command-line parameters. The first entry in the array is always the full file\r
29 /// path of the executable. Any quotation marks that were used to preserve\r
30 /// whitespace have been removed.\r
31 ///\r
94b17fa1 32 CHAR16 **Argv;\r
ef34de25 33\r
36a9d672 34 ///\r
35 /// The number of elements in the Argv array.\r
1e6e84c7 36 ///\r
94b17fa1 37 UINTN Argc;\r
ef34de25 38\r
36a9d672 39 ///\r
40 /// The file handle for the standard input for this executable. This may be different\r
a405b86d 41 /// from the ConInHandle in EFI_SYSTEM_TABLE.\r
36a9d672 42 ///\r
a405b86d 43 SHELL_FILE_HANDLE StdIn;\r
ef34de25 44\r
36a9d672 45 ///\r
46 /// The file handle for the standard output for this executable. This may be different\r
a405b86d 47 /// from the ConOutHandle in EFI_SYSTEM_TABLE.\r
36a9d672 48 ///\r
a405b86d 49 SHELL_FILE_HANDLE StdOut;\r
ef34de25 50\r
36a9d672 51 ///\r
52 /// The file handle for the standard error output for this executable. This may be\r
a405b86d 53 /// different from the StdErrHandle in EFI_SYSTEM_TABLE.\r
36a9d672 54 ///\r
a405b86d 55 SHELL_FILE_HANDLE StdErr;\r
94b17fa1 56} EFI_SHELL_PARAMETERS_PROTOCOL;\r
57\r
58extern EFI_GUID gEfiShellParametersProtocolGuid;\r
59\r
60#endif\r