EFI IFR RULE

From PhoenixWiki

Jump to: navigation, search

Create a rule for use in a form and associate it with an identifier.

Prototype

#define EFI_IFR_RULE_OP 0x18
typedef struct _EFI_IFR_RULE {
  EFI_IFR_OP_HEADER Header;
  UINT8             RuleId;
} EFI_IFR_RULE;

Members

Member Description
Header The byte sequence that defines the type of opcode as well as the length of the opcode being defined. Header.OpCode = EFI_IFR_RULE_OP.
RuleId Unique identifier for the rule. There can only one rule within a form with the specified RuleId. If another already exists, then the form is marked as invalid.

Description

This operator creates a rule, which associates an expression with an identifier and attaches it to the currently opened form. These rules allow common sub-expressions to be re-used within a form.


Copyright (C) 2008 Phoenix Technologies Ltd. All Rights Reserved. Portions copyright (C) 2008 UEFI Forum, Inc. Used with permission

Personal tools