Returns a pointer to an allocated buffer that contains the contents of a variable retrieved through the UEFI Runtime Service GetVariable(). This function always uses the EFI_GLOBAL_VARIABLE GUID to retrieve variables. The returned buffer is allocated using AllocatePool(). The caller is responsible for freeing this buffer with FreePool(). If Name is NULL, then ASSERT(). If Val
| 1572 | |
| 1573 | **/ |
| 1574 | EFI_STATUS |
| 1575 | EFIAPI |
| 1576 | GetEfiGlobalVariable2 ( |
| 1577 | IN CONST CHAR16 *Name, |
| 1578 | OUT VOID **Value, |
| 1579 | OUT UINTN *Size OPTIONAL |
| 1580 | ) |
| 1581 | { |
| 1582 | return GetVariable2 (Name, &gEfiGlobalVariableGuid, Value, Size); |
| 1583 | } |
| 1584 | |
| 1585 | /** |
| 1586 | Returns a pointer to an allocated buffer that contains the best matching language |
no test coverage detected