EFI IFR REF

From PhoenixWiki

Jump to: navigation, search

Creates a cross-reference statement.

Prototype

#define EFI_IFR_REF_OP 0x0F
typedef struct _EFI_IFR_REF {
  EFI_IFR_OP_HEADER        Header;
  EFI_IFR_QUESTION_HEADER  Statement;
  EFI_FORM_ID              FormId;
} EFI_IFR_REF;
typedef struct _EFI_IFR_REF2 {
  EFI_IFR_OP_HEADER        Header;
  EFI_IFR_QUESTION_HEADER  Statement;
  EFI_FORM_ID              FormId;
  EFI_QUESTION_ID          QuestionId;
} EFI_IFR_REF2;
typedef struct _EFI_IFR_REF3 {
  EFI_IFR_OP_HEADER        Header;
  EFI_IFR_QUESTION_HEADER  Statement;
  EFI_FORM_ID              FormId;
  EFI_QUESTION_ID          QuestionId;
  EFI_GUID                 FormsetGuid;
} EFI_IFR_REF3;
typedef struct _EFI_IFR_REF4 {
  EFI_IFR_OP_HEADER        Header;
  EFI_IFR_QUESTION_HEADER  Statement;
  EFI_FORM_ID              FormId;
  EFI_QUESTION_ID          QuestionId;
  EFI_GUID                 FormsetGuid;
  EFI_STRING_ID            DevicePath;
} EFI_IFR_REF4;

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_REF_OP.
Question Standard question header.
FormId The form to which this link is referring. If this is zero, then the link is on the current form.
QuestionId The question on the form to which this link is referring. If this field is not present (determined by the length of the opcode) or the value is zero, then the link refers to the

top of the form.

DevicePath The string form of the device path to which the form set containing the form specified by FormId. If this field is not present (determined by the opcode’s length) or the

value is zero, then the link refers to the current page.

Description

Creates a user-selectable link to a form or a question on a form. There are several forms of this opcode which are distinguished by the length of the opcode.

An image may be associated with the statement using a nested EFI_IFR_IMAGE.


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

Personal tools