2 Library that provides print services
4 Copyright (c) 2006, Intel Corporation
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 Module Name: PrintLib.h
17 #ifndef __PRINT_LIB_H__
18 #define __PRINT_LIB_H__
23 #define LEFT_JUSTIFY 0x01
24 #define COMMA_TYPE 0x08
25 #define PREFIX_ZERO 0x20
30 OUT CHAR16
*StartOfBuffer
,
32 IN CONST CHAR16
*FormatString
,
39 OUT CHAR16
*StartOfBuffer
,
41 IN CONST CHAR16
*FormatString
,
47 UnicodeVSPrintAsciiFormat (
48 OUT CHAR16
*StartOfBuffer
,
50 IN CONST CHAR8
*FormatString
,
57 UnicodeSPrintAsciiFormat (
58 OUT CHAR16
*StartOfBuffer
,
60 IN CONST CHAR8
*FormatString
,
67 OUT CHAR8
*StartOfBuffer
,
69 IN CONST CHAR8
*FormatString
,
76 OUT CHAR8
*StartOfBuffer
,
78 IN CONST CHAR8
*FormatString
,
84 AsciiVSPrintUnicodeFormat (
85 OUT CHAR8
*StartOfBuffer
,
87 IN CONST CHAR16
*FormatString
,
93 AsciiSPrintUnicodeFormat (
94 OUT CHAR8
*StartOfBuffer
,
96 IN CONST CHAR16
*FormatString
,
101 UnicodeValueToString (
102 IN OUT CHAR16
*Buffer
,
110 IN OUT CHAR8
*Buffer
,