+++ /dev/null
-/*++\r
-\r
-Copyright (c) 2004, 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
-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
-Module Name:\r
-\r
- PrintWidth.h\r
-\r
-Abstract:\r
-\r
- Unicde option for generic width.\r
- CHAR_W is Ascii\r
- STRING_W is ""\r
-\r
---*/\r
-\r
-#ifndef _PRINT_WIDTH_H_\r
-#define _PRINT_WIDTH_H_\r
-\r
-typedef CHAR8 CHAR_W;\r
-#define STRING_W(_s) _s\r
-\r
-#define ASPrint(Buffer, BufferSize, Format) SPrint (Buffer, BufferSize, Format)\r
-#define AvSPrint(Buffer, BufferSize, Format, Marker) VSPrint (Buffer, BufferSize, Format, Marker)\r
-\r
-UINTN\r
-UvSPrint (\r
- OUT CHAR16 *StartOfBuffer,\r
- IN UINTN StrLen,\r
- IN CONST CHAR16 *Format,\r
- IN VA_LIST Marker\r
- )\r
-/*++\r
-\r
-Routine Description:\r
-\r
- Internal implementation of USPrint. \r
- Process format and place the results in Buffer for wide chars.\r
-\r
-Arguments:\r
-\r
- StartOfBuffer - Wide char buffer to print the results of the parsing of Format into.\r
- StrLen - Maximum number of characters to put into buffer.\r
- Format - Format string\r
- Marker - Vararg list consumed by processing Format.\r
-\r
-Returns:\r
-\r
- Number of characters printed.\r
-\r
---*/\r
-;\r
-\r
-UINTN\r
-USPrint (\r
- OUT CHAR16 *Buffer,\r
- IN UINTN BufferSize,\r
- IN CONST CHAR16 *Format,\r
- ...\r
- )\r
-/*++\r
-\r
-Routine Description:\r
-\r
- Process format and place the results in Buffer for wide chars.\r
-\r
-Arguments:\r
-\r
- Buffer - Wide char buffer to print the results of the parsing of Format into.\r
- BufferSize - Maximum number of characters to put into buffer.\r
- Format - Format string\r
- ... - Vararg list consumed by processing Format.\r
-\r
-Returns:\r
-\r
- Number of characters printed.\r
-\r
---*/\r
-;\r
-\r
-#endif\r