summaryrefslogtreecommitdiff
path: root/ShellPkg/Include/Protocol/EfiShellParameters.h
diff options
context:
space:
mode:
Diffstat (limited to 'ShellPkg/Include/Protocol/EfiShellParameters.h')
-rw-r--r--ShellPkg/Include/Protocol/EfiShellParameters.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/ShellPkg/Include/Protocol/EfiShellParameters.h b/ShellPkg/Include/Protocol/EfiShellParameters.h
index 49ad2fdc43..8f6658b6b5 100644
--- a/ShellPkg/Include/Protocol/EfiShellParameters.h
+++ b/ShellPkg/Include/Protocol/EfiShellParameters.h
@@ -21,10 +21,35 @@
}
typedef struct _EFI_SHELL_PARAMETERS_PROTOCOL {
+///
+/// Points to an Argc-element array of points to null-terminated strings containing
+/// the command-line parameters. The first entry in the array is always the full file
+/// path of the executable. Any quotation marks that were used to preserve
+/// whitespace have been removed.
+///
CHAR16 **Argv;
+
+///
+/// The number of elements in the Argv array.
+///
UINTN Argc;
+
+///
+/// The file handle for the standard input for this executable. This may be different
+/// from the ConInHandle in the EFI_SYSTEM_TABLE.
+///
EFI_FILE_HANDLE StdIn;
+
+///
+/// The file handle for the standard output for this executable. This may be different
+/// from the ConOutHandle in the EFI_SYSTEM_TABLE.
+///
EFI_FILE_HANDLE StdOut;
+
+///
+/// The file handle for the standard error output for this executable. This may be
+/// different from the StdErrHandle in the EFI_SYSTEM_TABLE.
+///
EFI_FILE_HANDLE StdErr;
} EFI_SHELL_PARAMETERS_PROTOCOL;