xref: /reactos/sdk/include/ndk/inbvfuncs.h (revision 28b77a40)
1 /*++ NDK Version: 0098
2 
3 Copyright (c) Alex Ionescu.  All rights reserved.
4 
5 Header Name:
6 
7     inbvfuncs.h
8 
9 Abstract:
10 
11     Function definitions for the Boot Video Driver.
12 
13 Author:
14 
15     Alex Ionescu (alexi@tinykrnl.org) - Updated - 27-Feb-2006
16 
17 --*/
18 
19 #ifndef _INBVFUNCS_H
20 #define _INBVFUNCS_H
21 
22 //
23 // Dependencies
24 //
25 #include <umtypes.h>
26 #include <inbvtypes.h>
27 #include <section_attribs.h>
28 
29 #ifndef NTOS_MODE_USER
30 //
31 // Ownership Functions
32 //
33 VOID
34 NTAPI
35 InbvAcquireDisplayOwnership(
36     VOID
37 );
38 
39 BOOLEAN
40 NTAPI
41 InbvCheckDisplayOwnership(
42     VOID
43 );
44 
45 VOID
46 NTAPI
47 InbvNotifyDisplayOwnershipLost(
48     _In_ INBV_RESET_DISPLAY_PARAMETERS Callback
49 );
50 
51 //
52 // Installation Functions
53 //
54 VOID
55 NTAPI
56 InbvEnableBootDriver(
57     _In_ BOOLEAN Enable
58 );
59 
60 VOID
61 NTAPI
62 InbvInstallDisplayStringFilter(
63     _In_ INBV_DISPLAY_STRING_FILTER DisplayFilter
64 );
65 
66 BOOLEAN
67 NTAPI
68 InbvIsBootDriverInstalled(
69     VOID
70 );
71 
72 //
73 // Display Functions
74 //
75 BOOLEAN
76 NTAPI
77 InbvDisplayString(
78     _In_ PCHAR String
79 );
80 
81 BOOLEAN
82 NTAPI
83 InbvEnableDisplayString(
84     _In_ BOOLEAN Enable
85 );
86 
87 BOOLEAN
88 NTAPI
89 InbvResetDisplay(
90     VOID
91 );
92 
93 VOID
94 NTAPI
95 InbvSetScrollRegion(
96     _In_ ULONG Left,
97     _In_ ULONG Top,
98     _In_ ULONG Right,
99     _In_ ULONG Bottom
100 );
101 
102 VOID
103 NTAPI
104 InbvSetTextColor(
105     _In_ ULONG Color
106 );
107 
108 VOID
109 NTAPI
110 InbvSolidColorFill(
111     _In_ ULONG Left,
112     _In_ ULONG Top,
113     _In_ ULONG Right,
114     _In_ ULONG Bottom,
115     _In_ ULONG Color
116 );
117 
118 #endif
119 #endif
120