]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/HiiResourcesSampleDxe/HiiResourcesSample.c
MdeModulePkg/UdfDxe: Fix a typo within SetFileInfo()
[mirror_edk2.git] / MdeModulePkg / Universal / HiiResourcesSampleDxe / HiiResourcesSample.c
index c86bb4c7420f47a7f4a4129e419a2d4941635e9c..6f87716408829080f21653b9ff5890593efac0d8 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 - 2018, 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,15 +46,12 @@ 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
     END_ENTIRE_DEVICE_PATH_SUBTYPE,\r
-    { \r
+    {\r
       (UINT8) (END_DEVICE_PATH_LENGTH),\r
       (UINT8) ((END_DEVICE_PATH_LENGTH) >> 8)\r
     }\r
@@ -62,7 +60,7 @@ HII_VENDOR_DEVICE_PATH  mHiiVendorDevicePath = {
 \r
 /**\r
   Main entry for this driver.\r
-  \r
+\r
   @param[in] ImageHandle     Image handle this driver.\r
   @param[in] SystemTable     Pointer to SystemTable.\r
 \r