X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ShellPkg%2FInclude%2FProtocol%2FEfiShellParameters.h;h=8f6658b6b5139ac77067193318eb414bb94b9e6f;hb=ef34de257bd1956c1f6e6f93ba7dda64b17a41ea;hp=49ad2fdc4332c9f145727eeb93c2969f91d4b094;hpb=125c2cf4f152760920ee4b1e5d73e03daf02d394;p=mirror_edk2.git 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;