xref: /reactos/sdk/include/ndk/inbvfuncs.h (revision c2c66aff)
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 
28 #ifndef NTOS_MODE_USER
29 //
30 // Ownership Functions
31 //
32 VOID
33 NTAPI
34 InbvAcquireDisplayOwnership(
35     VOID
36 );
37 
38 BOOLEAN
39 NTAPI
40 InbvCheckDisplayOwnership(
41     VOID
42 );
43 
44 VOID
45 NTAPI
46 InbvNotifyDisplayOwnershipLost(
47     _In_ INBV_RESET_DISPLAY_PARAMETERS Callback
48 );
49 
50 //
51 // Installation Functions
52 //
53 VOID
54 NTAPI
55 InbvEnableBootDriver(
56     _In_ BOOLEAN Enable
57 );
58 
59 VOID
60 NTAPI
61 InbvInstallDisplayStringFilter(
62     _In_ INBV_DISPLAY_STRING_FILTER DisplayFilter
63 );
64 
65 BOOLEAN
66 NTAPI
67 InbvIsBootDriverInstalled(
68     VOID
69 );
70 
71 //
72 // Display Functions
73 //
74 BOOLEAN
75 NTAPI
76 InbvDisplayString(
77     _In_ PCHAR String
78 );
79 
80 BOOLEAN
81 NTAPI
82 InbvEnableDisplayString(
83     _In_ BOOLEAN Enable
84 );
85 
86 BOOLEAN
87 NTAPI
88 InbvResetDisplay(
89     VOID
90 );
91 
92 VOID
93 NTAPI
94 InbvSetScrollRegion(
95     _In_ ULONG Left,
96     _In_ ULONG Top,
97     _In_ ULONG Right,
98     _In_ ULONG Bottom
99 );
100 
101 VOID
102 NTAPI
103 InbvSetTextColor(
104     _In_ ULONG Color
105 );
106 
107 VOID
108 NTAPI
109 InbvSolidColorFill(
110     _In_ ULONG Left,
111     _In_ ULONG Top,
112     _In_ ULONG Right,
113     _In_ ULONG Bottom,
114     _In_ ULONG Color
115 );
116 
117 VOID
118 NTAPI
119 InbvSetProgressBarSubset(
120     _In_ ULONG Floor,
121     _In_ ULONG Ceiling
122 );
123 
124 #endif
125 #endif
126