88f20127 |
1 | /*++\r |
2 | \r |
3 | Copyright (c) 2006 - 2007, Intel Corporation\r |
4 | All rights reserved. This program and the accompanying materials\r |
5 | are licensed and made available under the terms and conditions of the BSD License\r |
6 | which accompanies this distribution. The full text of the license may be found at\r |
7 | http://opensource.org/licenses/bsd-license.php\r |
8 | \r |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r |
11 | \r |
12 | Module Name:\r |
13 | \r |
14 | Print.h\r |
15 | \r |
16 | Abstract:\r |
17 | \r |
18 | This file defines the Print protocol\r |
19 | \r |
20 | --*/\r |
21 | \r |
22 | #ifndef __PPRINT_H__\r |
23 | #define __PPRINT_H__\r |
24 | \r |
25 | #define EFI_PRINT_PROTOCOL_GUID \\r |
26 | { 0xdf2d868e, 0x32fc, 0x4cf0, {0x8e, 0x6b, 0xff, 0xd9, 0x5d, 0x13, 0x43, 0xd0 } }\r |
27 | \r |
28 | //\r |
29 | // Forward reference for pure ANSI compatability\r |
30 | //\r |
31 | typedef struct _EFI_PRINT_PROTOCOL EFI_PRINT_PROTOCOL;\r |
32 | \r |
33 | \r |
34 | typedef\r |
35 | UINTN\r |
36 | (EFIAPI *EFI_VSPRINT) (\r |
37 | OUT CHAR16 *StartOfBuffer,\r |
38 | IN UINTN BufferSize,\r |
39 | IN CONST CHAR16 *FormatString,\r |
40 | IN VA_LIST Marker\r |
41 | );\r |
42 | \r |
43 | struct _EFI_PRINT_PROTOCOL {\r |
44 | EFI_VSPRINT VSPrint;\r |
45 | };\r |
46 | \r |
47 | \r |
48 | extern EFI_GUID gEfiPrintProtocolGuid;\r |
49 | \r |
50 | #endif\r |