@param Size Size of the variable/map in bytes\r
**/\r
VOID\r
+EFIAPI\r
EfiLibHiiVariablePackGetMap (\r
IN EFI_HII_VARIABLE_PACK *Pack, \r
OUT CHAR16 **Name, OPTIONAL\r
@return The number of map count.\r
**/\r
UINTN\r
+EFIAPI\r
EfiLibHiiVariablePackListGetMapCnt (\r
IN EFI_HII_VARIABLE_PACK_LIST *List\r
)\r
@param Callback Routine to be called for each iterated variable.\r
**/\r
VOID\r
+EFIAPI\r
EfiLibHiiVariablePackListForEachVar (\r
IN EFI_HII_VARIABLE_PACK_LIST *List,\r
IN EFI_LIB_HII_VARIABLE_PACK_LIST_CALLBACK *Callback\r
@return EFI_NOT_FOUND Variable is not found, OUT parameters are not valid\r
**/\r
EFI_STATUS\r
+EFIAPI\r
EfiLibHiiVariablePackListGetMapByIdx (\r
IN UINTN Idx, \r
IN EFI_HII_VARIABLE_PACK_LIST *List, \r
if (NULL != Id) {\r
*Id = MapId;\r
}\r
- \r
- return EFI_SUCCESS; // Map found\r
+ //\r
+ // Map found\r
+ //\r
+ return EFI_SUCCESS;\r
}\r
List = List->NextVariablePack;\r
}\r
@retval EFI_NOT_FOUND Variable is not found, OUT parameters are not valid\r
**/\r
EFI_STATUS\r
+EFIAPI\r
EfiLibHiiVariablePackListGetMapById (\r
IN UINT16 Id, \r
IN EFI_HII_VARIABLE_PACK_LIST *List,\r
@retval EFI_NOT_FOUND variable is not found, OUT parameters are not valid\r
**/\r
EFI_STATUS\r
+EFIAPI\r
EfiLibHiiVariablePackListGetMap (\r
IN EFI_HII_VARIABLE_PACK_LIST *List,\r
IN CHAR16 *Name,\r
@retval EFI_LOAD_ERROR The variable in the NV was of different size, or NV API returned error.\r
**/\r
EFI_STATUS\r
+EFIAPI\r
EfiLibHiiVariableRetrieveFromNv (\r
IN CHAR16 *Name,\r
IN EFI_GUID *Guid,\r
\r
@param Suffix Suffix the Name should end with.\r
@param Name Name of the variable to retrieve.\r
- @Param Guid Guid of the variable to retrieve.\r
- @Param Size Parameters of the variable to retrieve.\r
+ @param Guid Guid of the variable to retrieve.\r
+ @param Size Parameters of the variable to retrieve.\r
@param Var Variable will be retrieved into this buffer.\r
Caller is responsible for providing storage of exactly Size size in bytes.\r
\r
@retval EFI_LOAD_ERROR The variable in the NV was of different size, or NV API returned error.\r
**/\r
EFI_STATUS\r
+EFIAPI\r
EfiLibHiiVariableOverrideIfSuffix (\r
IN CHAR16 *Suffix,\r
IN CHAR16 *Name,\r
@retval EFI_LOAD_ERROR The variable in the NV was of different size, or NV API returned error.\r
**/\r
EFI_STATUS\r
+EFIAPI\r
EfiLibHiiVariableOverrideBySuffix (\r
IN CHAR16 *Suffix,\r
IN CHAR16 *Name,\r
StrCat (NameSuffixed, Suffix);\r
\r
Status = EfiLibHiiVariableRetrieveFromNv (NameSuffixed, Guid, Size, &Var);\r
- gBS->FreePool (NameSuffixed);\r
+ FreePool (NameSuffixed);\r
\r
return Status;\r
}\r