[if gte mso 9]>
Subject: [edk2] HiiAddPackages
From: Ben Schroeder <email@example.com>
To: "firstname.lastname@example.org" <email@example.com>
Date: 2013-10-23 19:09:35
I am working on a UEFI driver than install 2 HII formsets, 1 for each physical port on the network device.
Let me be clear it is one and the same VFR formset file, that is installed once for each port. Total of two times.
HII ConfigAccessProtocol is installed after installing the necessary packages.
Each Hii package (below) is installed under a different GUID and different handle.
However the Strings and Forms file are the same for both calls of HiiAddPackages.
Is it necessary to use HiiAddPackages to add the Forms and Strings file twice like I have done below? Because I am having some compatibility issues with some of the vendors vendors.
I believe HiiVariableGuid and ControllerHandle are mandatory in my situation for the system to distinguish two different instances of the same formset.
Is this the correct way or am I missing something?