summaryrefslogtreecommitdiff
path: root/ShellPkg
diff options
context:
space:
mode:
authorjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>2009-11-11 22:05:04 +0000
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>2009-11-11 22:05:04 +0000
commit369d5f2e9801c9d768422c7b0acab9b12a00ba5b (patch)
tree3c91c38e4237a2d5b0edefd9b7839033a54377e7 /ShellPkg
parentea109f6b71d4e6ff244514712d736a49debfa710 (diff)
downloadedk2-platforms-369d5f2e9801c9d768422c7b0acab9b12a00ba5b.tar.xz
more errata
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9416 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg')
-rw-r--r--ShellPkg/Include/Protocol/EfiShell.h26
1 files changed, 14 insertions, 12 deletions
diff --git a/ShellPkg/Include/Protocol/EfiShell.h b/ShellPkg/Include/Protocol/EfiShell.h
index 2711329b3c..658f892f07 100644
--- a/ShellPkg/Include/Protocol/EfiShell.h
+++ b/ShellPkg/Include/Protocol/EfiShell.h
@@ -778,25 +778,27 @@ EFI_STATUS
);
/**
- This function returns the alias associated with a command.
+ This function returns the command associated with a alias or a list of all
+ alias'.
- @param[in] Command Points to the null-terminated shell command.
- If this parameter is NULL, then all commands
+ @param[in] Alias Points to the null-terminated shell alias.
+ If this parameter is NULL, then all
aliases will be returned in ReturnedData.
-
- @retutn If Command is not NULL, it will return a pointer to
- the null-terminated alias for the shell command.
- If Command is NULL, ReturnedData points to a ‘;’
- delimited list of command and alias tuples (e.g.
- ReturnedData = “md;mkdir;rd;rm;cp;copy;fs0:\test
- app\myfavoriteprogram.efi;mfp”) that are null-terminated.
+ @param[out] Volatile upon return of a single command if TRUE indicates
+ this is stored in a volatile fashion. FALSE otherwise.
+ @return If Alias is not NULL, it will return a pointer to
+ the null-terminated command for that alias.
+ If Alias is NULL, ReturnedData points to a ‘;’
+ delimited list of alias (e.g.
+ ReturnedData = “dir;del;copy;mfp”) that is null-terminated.
@retval NULL an error ocurred
- @retval NULL no alias was found for Command
+ @retval NULL Alias was not a valid Alias
**/
typedef
CONST CHAR16 *
(EFIAPI *EFI_SHELL_GET_ALIAS)(
- IN CONST CHAR16 *Command
+ IN CONST CHAR16 *Alias,
+ OUT BOOLEAN *Volatile OPTIONAL
);
/**