Re: Using NewPackageList vs HiiAddPackages

Liming Gao

HiiAddPackages() is HiiLib API. NewPackageList() is HiiDataBase protocol service.
HiiAddPackages() wraps NewPackageList() service and simplify its usage.


-----Original Message-----
From: [] On Behalf Of
Sent: Monday, October 14, 2019 8:20 PM
Subject: [edk2-discuss] Using NewPackageList vs HiiAddPackages

DriverSample in MdeModulePkg uses the HiiAddPackages function to add the
uni file contents to the driver. The Wizard driver from the HII lab guide uses
the NewPackageList function to do the same.

What are the differences (apart from function parameters) between them
and what are the advantages of using one above the other?

Join to automatically receive all group messages.