]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Library/Dxe/Print/Unicode/PrintWidth.h
Add in the 1st version of ECP.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / Dxe / Print / Unicode / PrintWidth.h
CommitLineData
3eb9473e 1/*++\r
2\r
3Copyright (c) 2004, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 PrintWidth.h\r
15\r
16Abstract:\r
17\r
18 Unicde option for generic width.\r
19 CHAR_W is Unicode\r
20 STRING_W is L""\r
21\r
22--*/\r
23\r
24#ifndef _PRINT_WIDTH_H_\r
25#define _PRINT_WIDTH_H_\r
26\r
27typedef CHAR16 CHAR_W;\r
28#define STRING_W(_s) L##_s\r
29\r
30#define USPrint(Buffer, BufferSize, Format) SPrint (Buffer, BufferSize, Format)\r
31#define UvSPrint(Buffer, BufferSize, Format, Marker) VSPrint (Buffer, BufferSize, Format, Marker)\r
32\r
33#include "EfiCommonLib.h"\r
34\r
35#endif\r