);\r
\r
/**\r
- This function returns the alias associated with a command.\r
+ This function returns the command associated with a alias or a list of all\r
+ alias'.\r
\r
- @param[in] Command Points to the null-terminated shell command. \r
- If this parameter is NULL, then all commands \r
+ @param[in] Alias Points to the null-terminated shell alias. \r
+ If this parameter is NULL, then all \r
aliases will be returned in ReturnedData.\r
-\r
- @retutn If Command is not NULL, it will return a pointer to \r
- the null-terminated alias for the shell command. \r
- If Command is NULL, ReturnedData points to a \91;\92 \r
- delimited list of command and alias tuples (e.g. \r
- ReturnedData = \93md;mkdir;rd;rm;cp;copy;fs0:\test\r
- app\myfavoriteprogram.efi;mfp\94) that are null-terminated. \r
+ @param[out] Volatile upon return of a single command if TRUE indicates\r
+ this is stored in a volatile fashion. FALSE otherwise.\r
+ @return If Alias is not NULL, it will return a pointer to \r
+ the null-terminated command for that alias. \r
+ If Alias is NULL, ReturnedData points to a \91;\92 \r
+ delimited list of alias (e.g. \r
+ ReturnedData = \93dir;del;copy;mfp\94) that is null-terminated. \r
@retval NULL an error ocurred\r
- @retval NULL no alias was found for Command\r
+ @retval NULL Alias was not a valid Alias\r
**/\r
typedef \r
CONST CHAR16 *\r
(EFIAPI *EFI_SHELL_GET_ALIAS)(\r
- IN CONST CHAR16 *Command\r
+ IN CONST CHAR16 *Alias,\r
+ OUT BOOLEAN *Volatile OPTIONAL\r
);\r
\r
/**\r