SetupDesignGuide.pdf - Firmware Encoding Index
SetupDesignGuide.pdf - Firmware Encoding Index
SetupDesignGuide.pdf - Firmware Encoding Index
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Setup Design Guide<br />
DRAFT<br />
7.2.1 EFI_FORM_CONFIGURATION_PROTOCOL.SendForm()<br />
Summary<br />
This function provides direction to the configuration driver whether to use the HII database or to use a<br />
passed-in set of data. This also establishes a pointer to the calling driver’s callback interface.<br />
Prototype<br />
EFI_STATUS<br />
(EFIAPI *EFI_SEND_FORM) (<br />
IN EFI_FORM_CONFIGURATION_PROTOCOL *This,<br />
IN BOOLEAN<br />
UseDatabase,<br />
IN EFI_IFR_PACKET<br />
*Packet,<br />
IN EFI_HANDLE<br />
CallbackHandle<br />
);<br />
Parameters<br />
This<br />
UseDatabase<br />
Packet<br />
CallbackHandle<br />
A pointer to the EFI_FORM_CONFIGURATION_PROTOCOL<br />
instance.<br />
Determine whether or not the HII database is to be used to gather<br />
information. If the value is FALSE then the configuration driver<br />
will get the information provided in the passed in Packet or<br />
Message parameters.<br />
A pointer to a set of data containing pointers to IFR, and/or String<br />
data.<br />
The handle to the calling driver’s callback interface.<br />
Related Definitions<br />
#define EFI_HII_FONT 1<br />
#define EFI_HII_STRING 2<br />
#define EFI_HII_IFR 3<br />
#define EFI_HII_KEYBOARD 4<br />
typedef struct _EFI_HII_PACKET {<br />
UINT32<br />
Length;<br />
UINT16<br />
Type;<br />
} EFI_HII_PACKET;<br />
typedef struct {<br />
EFI_HII_PACKET<br />
EFI_HII_PACKET<br />
} EFI_IFR_PACKET;<br />
*IfrData;<br />
*StringData;<br />
68