]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/HiiResourcesSampleDxe/HiiResourcesSample.c
Clean up the private GUID definition in module Level.
[mirror_edk2.git] / MdeModulePkg / Universal / HiiResourcesSampleDxe / HiiResourcesSample.c
index c3c5725660abc28a8a4e312733a56423cb414b23..adce780e09e443a5b62d9bdddf61f0fce0c6b2ce 100644 (file)
@@ -2,8 +2,8 @@
 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
@@ -14,6 +14,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 **/\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
@@ -45,10 +46,7 @@ HII_VENDOR_DEVICE_PATH  mHiiVendorDevicePath = {
         (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
@@ -108,9 +106,7 @@ HiiResourcesSampleInit (
   }\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