]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Include/Protocol/EfiShellParameters.h
BaseTools: Add WindowsLike path in front of PATH Env
[mirror_edk2.git] / ShellPkg / Include / Protocol / EfiShellParameters.h
index e52328b3a4ab2238f61242de6dc9a48c98a91979..184b029ffaa54f062a861404fd2e0424f4291284 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   EFI Shell protocol as defined in the UEFI Shell 2.0 specification.\r
 \r
-  Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
 \r
 **/\r
 \r
-#ifndef __EFI_SHELL_PARAMETERS_PROTOCOL__\r
-#define __EFI_SHELL_PARAMETERS_PROTOCOL__\r
+#ifndef __EFI_SHELL_PARAMETERS_PROTOCOL_H__WRAPPER__\r
+#define __EFI_SHELL_PARAMETERS_PROTOCOL_H__WRAPPER__\r
 \r
-#include <ShellBase.h>\r
-\r
-#define EFI_SHELL_PARAMETERS_PROTOCOL_GUID \\r
-  { \\r
-  0x752f3136, 0x4e16, 0x4fdc, { 0xa2, 0x2a, 0xe5, 0xf4, 0x68, 0x12, 0xf4, 0xca } \\r
-  }\r
-\r
-typedef struct _EFI_SHELL_PARAMETERS_PROTOCOL {\r
-  ///\r
-  /// Points to an Argc-element array of points to NULL-terminated strings containing\r
-  /// the command-line parameters. The first entry in the array is always the full file\r
-  /// path of the executable. Any quotation marks that were used to preserve\r
-  /// whitespace have been removed.\r
-  ///\r
-  CHAR16 **Argv;\r
-\r
-  ///\r
-  /// The number of elements in the Argv array.\r
-  ///\r
-  UINTN Argc;\r
-\r
-  ///\r
-  /// The file handle for the standard input for this executable. This may be different\r
-  /// from the ConInHandle in EFI_SYSTEM_TABLE.\r
-  ///\r
-  SHELL_FILE_HANDLE StdIn;\r
-\r
-  ///\r
-  /// The file handle for the standard output for this executable. This may be different\r
-  /// from the ConOutHandle in EFI_SYSTEM_TABLE.\r
-  ///\r
-  SHELL_FILE_HANDLE StdOut;\r
-\r
-  ///\r
-  /// The file handle for the standard error output for this executable. This may be\r
-  /// different from the StdErrHandle in EFI_SYSTEM_TABLE.\r
-  ///\r
-  SHELL_FILE_HANDLE StdErr;\r
-} EFI_SHELL_PARAMETERS_PROTOCOL;\r
-\r
-extern EFI_GUID gEfiShellParametersProtocolGuid;\r
+#include <Protocol/ShellParameters.h>\r
 \r
 #endif\r