TianoCore EDK2 master
Loading...
Searching...
No Matches
VarCheckHiiLibCommon.h File Reference

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI CheckHiiVariableCommon (IN VAR_CHECK_HII_VARIABLE_HEADER *HiiVariableBin, IN UINTN HiiVariableBinSize, IN CHAR16 *VariableName, IN EFI_GUID *VendorGuid, IN UINT32 Attributes, IN UINTN DataSize, IN VOID *Data)
 

Detailed Description

Var Check Hii Lib Common logic Copyright (c) 2024, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file VarCheckHiiLibCommon.h.

Function Documentation

◆ CheckHiiVariableCommon()

EFI_STATUS EFIAPI CheckHiiVariableCommon ( IN VAR_CHECK_HII_VARIABLE_HEADER HiiVariableBin,
IN UINTN  HiiVariableBinSize,
IN CHAR16 *  VariableName,
IN EFI_GUID VendorGuid,
IN UINT32  Attributes,
IN UINTN  DataSize,
IN VOID *  Data 
)

SetVariable check handler HII.

Parameters
[in]HiiVariableBinVariable BIN.
[in]HiiVariableBinSizeThe size of Variable BIN.
[in]VariableNameName of Variable to set.
[in]VendorGuidVariable vendor GUID.
[in]AttributesAttribute value of the variable.
[in]DataSizeSize of Data to set.
[in]DataData pointer.
Return values
EFI_SUCCESSThe SetVariable check result was success.
EFI_SECURITY_VIOLATIONCheck fail.

Definition at line 271 of file VarCheckHiiLibCommon.c.