From ea109f6b71d4e6ff244514712d736a49debfa710 Mon Sep 17 00:00:00 2001 From: jcarsey Date: Wed, 11 Nov 2009 18:23:31 +0000 Subject: [PATCH] updated for new errata git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9415 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Include/Protocol/EfiShell.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/ShellPkg/Include/Protocol/EfiShell.h b/ShellPkg/Include/Protocol/EfiShell.h index 11dacdf7ba..2711329b3c 100644 --- a/ShellPkg/Include/Protocol/EfiShell.h +++ b/ShellPkg/Include/Protocol/EfiShell.h @@ -783,22 +783,20 @@ EFI_STATUS @param[in] Command Points to the null-terminated shell command. If this parameter is NULL, then all commands aliases will be returned in ReturnedData. - @param[out] ReturnedData If Command is not NULL, ReturnedData points to + + @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. - - @retval EFI_SUCCESS Alias retrieved successfully. - @retval EFI_NOT_FOUND Alias could not be found for the specified Command. - @retval EFI_OUT_OF_RESOURCES Insufficient memory was available to complete the request. + @retval NULL an error ocurred + @retval NULL no alias was found for Command **/ typedef -EFI_STATUS +CONST CHAR16 * (EFIAPI *EFI_SHELL_GET_ALIAS)( - IN CONST CHAR16 *Command, - OUT CONST CHAR16 *ReturnedData + IN CONST CHAR16 *Command ); /**