]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Compatibility/Include/Protocol/Print.h
Grammatical and disclaimer changes (does not follow internal C coding stds.)
[mirror_edk2.git] / EdkCompatibilityPkg / Compatibility / Include / Protocol / Print.h
index 5c0426232a5962cbf849acc3ea7fc7de8a7b9622..d6ccc50d3b8044157c808e6d83c8975b0a47eaa2 100644 (file)
@@ -3,11 +3,12 @@
   The lite print protocol defines only one print function to \r
   print the format unicode string.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation\r
+Copyright (c) 2006 - 2010, Intel Corporation.  All rights reserved<BR>\r
+Portions copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>\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
+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
@@ -26,17 +27,17 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 typedef struct _EFI_PRINT_PROTOCOL  EFI_PRINT_PROTOCOL;\r
 \r
 /**\r
-  Produces a Null-terminated Unicode string in an output buffer based on \r
-  a Null-terminated Unicode format string and a VA_LIST argument list\r
+  Produces a Null-terminated Unicode string in an output buffer, based on \r
+  a Null-terminated Unicode format string and a VA_LIST argument list.\r
   \r
   Produces a Null-terminated Unicode string in the output buffer specified by StartOfBuffer\r
   and BufferSize.  \r
   The Unicode string is produced by parsing the format string specified by FormatString.  \r
   Arguments are pulled from the variable argument list specified by Marker based on the \r
   contents of the format string.  \r
-  The number of Unicode characters in the produced output buffer is returned not including\r
+  The number of Unicode characters in the produced output buffer is returned, not including\r
   the Null-terminator.\r
-  If BufferSize is 0 or 1, then no output buffer is produced and 0 is returned.\r
+  If BufferSize is 0 or 1, then no output buffer is produced, and 0 is returned.\r
 \r
   If BufferSize > 1 and StartOfBuffer is NULL, then ASSERT().\r
   If BufferSize > 1 and StartOfBuffer is not aligned on a 16-bit boundary, then ASSERT().\r
@@ -46,13 +47,13 @@ typedef struct _EFI_PRINT_PROTOCOL  EFI_PRINT_PROTOCOL;
   PcdMaximumUnicodeStringLength Unicode characters not including the Null-terminator, then\r
   ASSERT().\r
   If PcdMaximumUnicodeStringLength is not zero, and produced Null-terminated Unicode string\r
-  contains more than PcdMaximumUnicodeStringLength Unicode characters not including the\r
+  contains more than PcdMaximumUnicodeStringLength Unicode characters, not including the\r
   Null-terminator, then ASSERT().\r
 \r
   @param  StartOfBuffer   A pointer to the output buffer for the produced Null-terminated \r
                           Unicode string.\r
   @param  BufferSize      The size, in bytes, of the output buffer specified by StartOfBuffer.\r
-  @param  FormatString    Null-terminated Unicode format string.\r
+  @param  FormatString    Null-terminated Unicode format string.\r
   @param  Marker          VA_LIST marker for the variable argument list.\r
   \r
   @return The number of Unicode characters in the produced output buffer not including the\r
@@ -69,9 +70,9 @@ UINTN
   );\r
 \r
 /**\r
-   The EFI_PRINT_PROTOCOL provides one service to produce a Null-terminated Unicode string\r
-   based on a Null-terminated Unicode format string and a VA_LIST argument list and fill into \r
-   the buffer as output\r
+   EFI_PRINT_PROTOCOL provides one service to produce a Null-terminated Unicode string,\r
+   based on a Null-terminated Unicode format string and a VA_LIST argument list, and fills into \r
+   the buffer as output.\r
 **/\r
 struct _EFI_PRINT_PROTOCOL {\r
   UNI_VSPRINT               VSPrint;\r