This is an example of how a driver retrieve HII data using HII Package List\r
Protocol, and how to publish the HII data.\r
\r
-Copyright (c) 2009, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
http://opensource.org/licenses/bsd-license.php\r
**/\r
\r
#include <Uefi.h>\r
+#include <Guid/HiiResourceSampleHii.h>\r
#include <Protocol/HiiPackageList.h>\r
#include <Library/DevicePathLib.h>\r
#include <Library/UefiDriverEntryPoint.h>\r
(UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8)\r
}\r
},\r
- //\r
- // {D49D2EB0-44D5-4621-9FD6-1A92C9109B99}\r
- //\r
- { 0xD49D2EB0, 0x44D5, 0x4621, { 0x9F, 0xD6, 0x1A, 0x92, 0xC9, 0x10, 0x9B, 0x99 } }\r
+ HII_RESOURCE_SAMPLE_FORM_SET_GUID\r
},\r
{\r
END_DEVICE_PATH_TYPE,\r
}\r
\r
//\r
- // Publish HII package list to HII Database. Here we use ImageHandle as\r
- // the "Driver Handle" for HiiDatabase->NewPackageList(), since there will\r
- // be EFI_LOADED_IMAGE_DEVICE_PATH_PROTOCOL installed on the ImageHandle.\r
+ // Publish HII package list to HII Database.\r
//\r
Status = gHiiDatabase->NewPackageList (\r
gHiiDatabase,\r