ShellPkg: Add Dynamic GUID registration into the current GUID<->String conversion process
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15753 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -17,6 +17,27 @@
|
||||
|
||||
#include <Uefi.h>
|
||||
|
||||
/**
|
||||
Function to add a new GUID/Name mapping.
|
||||
|
||||
This cannot overwrite an existing mapping.
|
||||
|
||||
@param[in] Guid The Guid
|
||||
@param[in] TheName The Guid's name
|
||||
@param[in] Lang RFC4646 language code list or NULL
|
||||
|
||||
@retval EFI_SUCCESS The operation was sucessful
|
||||
@retval EFI_ACCESS_DENIED There was a duplicate
|
||||
@retval EFI_OUT_OF_RESOURCES A memory allocation failed
|
||||
**/
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
AddNewGuidNameMapping(
|
||||
IN CONST EFI_GUID *Guid,
|
||||
IN CONST CHAR16 *TheName,
|
||||
IN CONST CHAR8 *Lang OPTIONAL
|
||||
);
|
||||
|
||||
/**
|
||||
Function to get the name of a protocol or struct from it's GUID.
|
||||
|
||||
|
Reference in New Issue
Block a user