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.