3 Copyright (c) 2006 - 2007, 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 This file defines the Print protocol
25 #define EFI_PRINT_PROTOCOL_GUID \
26 { 0x5bcc3dbc, 0x8c57, 0x450a, { 0xbb, 0xc, 0xa1, 0xc0, 0xbd, 0xde, 0x48, 0xc } }
29 // Forward reference for pure ANSI compatability
31 typedef struct _EFI_PRINT_PROTOCOL EFI_PRINT_PROTOCOL
;
36 (EFIAPI
*UNI_VSPRINT
) (
37 OUT CHAR16
*StartOfBuffer
,
39 IN CONST CHAR16
*FormatString
,
45 (EFIAPI
*UNI_VSPRINT_ASCII
) (
46 OUT CHAR16
*StartOfBuffer
,
48 IN CONST CHAR8
*FormatString
,
54 (EFIAPI
*VALUE_TO_UNISTRING
) (
55 IN OUT CHAR16
*Buffer
,
63 (EFIAPI
*ASCII_VSPRINT
) (
64 OUT CHAR8
*StartOfBuffer
,
66 IN CONST CHAR8
*FormatString
,
72 (EFIAPI
*ASCII_VSPRINT_UNI
) (
73 OUT CHAR8
*StartOfBuffer
,
75 IN CONST CHAR16
*FormatString
,
81 (EFIAPI
*VALUE_TO_ASCIISTRING
) (
88 struct _EFI_PRINT_PROTOCOL
{
90 UNI_VSPRINT_ASCII UniVSPrintAscii
;
91 VALUE_TO_UNISTRING UniValueToString
;
92 ASCII_VSPRINT AsciiVSPrint
;
93 ASCII_VSPRINT_UNI AsciiVSPrintUni
;
94 VALUE_TO_ASCIISTRING AsciiValueToString
;
97 extern EFI_GUID gEfiPrintProtocolGuid
;