]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Guid/FileInfo.h
Grammatical and disclaimer changes (does not follow internal C coding stds.)
[mirror_edk2.git] / MdePkg / Include / Guid / FileInfo.h
index 271005f3098e1734bf5d0f8dfaf205279b83ce9c..5e8ecc848840661412352913ce5ef63f552c4792 100644 (file)
@@ -1,16 +1,16 @@
 /** @file\r
   Provides a GUID and a data structure that can be used with EFI_FILE_PROTOCOL.SetInfo()\r
   and EFI_FILE_PROTOCOL.GetInfo() to set or get generic file information.\r
-  This guid is defined in UEFI specification.\r
+  This GUID is defined in UEFI specification.\r
 \r
-  Copyright (c) 2006 - 2008, Intel Corporation                                                         \r
-  All rights reserved. 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
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+Copyright (c) 2006 - 2010, Intel Corporation.  All rights reserved<BR>\r
+This program and the accompanying materials are licensed and made available under \r
+the terms and conditions of the BSD License that accompanies this distribution.  \r
+The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php.                                          \r
+    \r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
 \r
 **/\r
 \r
@@ -24,7 +24,7 @@
 \r
 typedef struct {\r
   ///\r
-  /// Size of the EFI_FILE_INFO structure, including the Nullterminated Unicode FileName string.\r
+  /// The size of the EFI_FILE_INFO structure, including the Null-terminated FileName string.\r
   ///\r
   UINT64    Size;\r
   ///\r
@@ -52,7 +52,7 @@ typedef struct {
   ///\r
   UINT64    Attribute;\r
   ///\r
-  /// The Null-terminated Unicode name of the file.\r
+  /// The Null-terminated name of the file.\r
   ///\r
   CHAR16    FileName[1];\r
 } EFI_FILE_INFO;\r
@@ -64,7 +64,7 @@ typedef struct {
 /// computes this size correctly no matter how big the FileName array is declared.\r
 /// This is required to make the EFI_FILE_INFO data structure ANSI compilant.\r
 ///\r
-#define SIZE_OF_EFI_FILE_INFO EFI_FIELD_OFFSET (EFI_FILE_INFO, FileName)\r
+#define SIZE_OF_EFI_FILE_INFO OFFSET_OF (EFI_FILE_INFO, FileName)\r
 \r
 extern EFI_GUID gEfiFileInfoGuid;\r
 \r