]> git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Foundation/Protocol/Print/Print.h
Add in the 1st version of ECP.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Protocol / Print / Print.h
1 /*++
2
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
8
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.
11
12 Module Name:
13
14 Print.h
15
16 Abstract:
17
18 This file defines the Print protocol
19
20 --*/
21
22 #ifndef _PPRINT_H_
23 #define _PPRINT_H_
24
25 #define EFI_PRINT_PROTOCOL_GUID \
26 { 0xdf2d868e, 0x32fc, 0x4cf0, 0x8e, 0x6b, 0xff, 0xd9, 0x5d, 0x13, 0x43, 0xd0 }
27
28 //
29 // Forward reference for pure ANSI compatability
30 //
31 EFI_FORWARD_DECLARATION (EFI_PRINT_PROTOCOL);
32
33 typedef struct _EFI_PRINT_PROTOCOL EFI_PRINT_PROTOCOL;
34
35 typedef
36 UINTN
37 (EFIAPI *EFI_VSPRINT) (
38 OUT CHAR16 *StartOfBuffer,
39 IN UINTN BufferSize,
40 IN CONST CHAR16 *FormatString,
41 IN VA_LIST Marker
42 );
43
44 typedef struct _EFI_PRINT_PROTOCOL {
45 EFI_VSPRINT VSPrint;
46 } EFI_PRINT_PROTOCOL;
47
48
49 extern EFI_GUID gEfiPrintProtocolGuid;
50
51 #endif