Using NewPackageList vs HiiAddPackages


Justin
 

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 discuss@edk2.groups.io to automatically receive all group messages.