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.1.1 EFI_HII_PROTOCOL.NewPack()<br />
Summary<br />
Extracts the various packs from a package list.<br />
Prototype<br />
EFI_STATUS<br />
(EFIAPI *EFI_HII_NEW_PACK) (<br />
IN EFI_HII_PROTOCOL<br />
IN EFI_HII_PACK_LIST<br />
OUT EFI_HII_HANDLE<br />
);<br />
*This,<br />
*Package,<br />
*Handle<br />
Parameters<br />
This<br />
PackageList<br />
Handle<br />
A pointer to the EFI_HII_PROTOCOL instance.<br />
A pointer to an EFI_HII_PACK_LIST package instance.<br />
A pointer to the EFI_HII_HANDLE instance.<br />
Description<br />
With the exception of font and keyboard data, this function adds the contents of the package list to the<br />
database and returns a handle back to the data. Font and keyboard data is kept in a common pool and<br />
will have a NULL handle associated with them. In the case where a PackageList contains both<br />
pooled data and database data, a valid handle will be returned upon the addition of the appropriate data<br />
into the database.<br />
Status Codes Returned<br />
EFI_SUCCESS<br />
EFI_INVALID_PARAMETER<br />
Data was extracted from the Package, Database was updated with<br />
the data, and Handle returned successfully.<br />
The content of the Package was invalid.<br />
52