Specifications

Version 2.0
27
EFI_SHELL_PROTOCOL.GetEnv()
Summary
Gets the environment variable.
Prototype
typedef
CONST CHAR16 *
(EFIAPI *EFI_SHELL_GET_ENV) (
IN CONST CHAR16 *Name
);
Parameters
Name
A pointer to the environment variable name.
Description
This function returns the current value of the specified environment variable.
Status Codes Returned
NULL The environment variable’s value. The returned pointer does not need
to be freed by the caller.
NULL The environment variable doesn’t exist.