TianoCore EDK2 master
Loading...
Searching...
No Matches
VariablePolicyApp.c File Reference
#include "VariablePolicy.h"
#include <Library/BaseLib.h>
#include <Library/HiiLib.h>

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI VariablePolicyAppInitialize (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Variables

EFI_HII_HANDLE mVarPolicyShellCommandHiiHandle
 
GLOBAL_REMOVE_IF_UNREFERENCED EFI_STRING_ID mStringHelpTokenId = STRING_TOKEN (STR_GET_HELP_VAR_POLICY)
 

Detailed Description

Functionality specific for standalone UEFI application support.

This application can provide detailed UEFI variable policy configuration information in the UEFI shell.

Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file VariablePolicyApp.c.

Function Documentation

◆ VariablePolicyAppInitialize()

EFI_STATUS EFIAPI VariablePolicyAppInitialize ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

Entry of the UEFI variable policy application.

Parameters
ImageHandleThe image handle of the process.
SystemTableThe EFI System Table pointer.
Return values
EFI_SUCCESSThe application successfully initialized.
EFI_ABORTEDThe application failed to initialize.
OthersA different error occurred.

Definition at line 42 of file VariablePolicyApp.c.

Variable Documentation

◆ mStringHelpTokenId

GLOBAL_REMOVE_IF_UNREFERENCED EFI_STRING_ID mStringHelpTokenId = STRING_TOKEN (STR_GET_HELP_VAR_POLICY)

Definition at line 27 of file VariablePolicyApp.c.

◆ mVarPolicyShellCommandHiiHandle

EFI_HII_HANDLE mVarPolicyShellCommandHiiHandle
extern

Definition at line 34 of file VariablePolicy.c.