]>
git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Ascii/PrintWidth.h
65087c1ed1cccc4aeb2e507bccde7a02264ed269
3 Copyright (c) 2004, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 Unicde option for generic width.
24 #ifndef _PRINT_WIDTH_H_
25 #define _PRINT_WIDTH_H_
28 #define STRING_W(_s) _s
30 #define ASPrint(Buffer, BufferSize, Format) SPrint (Buffer, BufferSize, Format)
31 #define AvSPrint(Buffer, BufferSize, Format, Marker) VSPrint (Buffer, BufferSize, Format, Marker)
35 OUT CHAR16
*StartOfBuffer
,
37 IN CONST CHAR16
*Format
,
44 Internal implementation of USPrint.
45 Process format and place the results in Buffer for wide chars.
49 StartOfBuffer - Wide char buffer to print the results of the parsing of Format into.
50 StrLen - Maximum number of characters to put into buffer.
51 Format - Format string
52 Marker - Vararg list consumed by processing Format.
56 Number of characters printed.
65 IN CONST CHAR16
*Format
,
72 Process format and place the results in Buffer for wide chars.
76 Buffer - Wide char buffer to print the results of the parsing of Format into.
77 BufferSize - Maximum number of characters to put into buffer.
78 Format - Format string
79 ... - Vararg list consumed by processing Format.
83 Number of characters printed.