Synchronize with trunk revision 59781.
[reactos.git] / ntoskrnl / include / internal / inbv.h
1 #pragma once
2
3 typedef struct _InbvProgressState
4 {
5 ULONG Floor;
6 ULONG Ceiling;
7 ULONG Bias;
8 } INBV_PROGRESS_STATE;
9
10 typedef struct _BT_PROGRESS_INDICATOR
11 {
12 ULONG Count;
13 ULONG Expected;
14 ULONG Percentage;
15 } BT_PROGRESS_INDICATOR, *PBT_PROGRESS_INDICATOR;
16
17 typedef enum _ROT_BAR_TYPE
18 {
19 RB_UNSPECIFIED,
20 RB_SQUARE_CELLS
21 } ROT_BAR_TYPE;
22
23 VOID
24 NTAPI
25 InbvUpdateProgressBar(
26 IN ULONG Progress
27 );
28
29 BOOLEAN
30 NTAPI
31 InbvDriverInitialize(
32 IN PLOADER_PARAMETER_BLOCK LoaderBlock,
33 IN ULONG Count
34 );
35
36 VOID
37 NTAPI
38 InbvEnableBootDriver(
39 IN BOOLEAN Enable
40 );
41
42 VOID
43 NTAPI
44 DisplayBootBitmap(
45 IN BOOLEAN TextMode
46 );
47
48 VOID
49 NTAPI
50 DisplayFilter(
51 IN PCHAR *String
52 );
53
54 VOID
55 NTAPI
56 FinalizeBootLogo(
57 VOID
58 );
59
60 PUCHAR
61 NTAPI
62 InbvGetResourceAddress(
63 IN ULONG ResourceNumber
64 );
65
66 VOID
67 NTAPI
68 InbvBitBlt(
69 IN PUCHAR Buffer,
70 IN ULONG X,
71 IN ULONG Y
72 );
73
74 VOID
75 NTAPI
76 InbvIndicateProgress(
77 VOID
78 );
79
80 VOID
81 NTAPI
82 InbvPortEnableFifo(
83 IN ULONG PortId,
84 IN BOOLEAN Enable
85 );
86
87 VOID
88 NTAPI
89 InbvPortPutByte(
90 IN ULONG PortId,
91 IN BOOLEAN Output
92 );
93
94 VOID
95 NTAPI
96 InbvPortTerminate(
97 IN ULONG PortId
98 );
99
100 BOOLEAN
101 NTAPI
102 InbvPortInitialize(
103 IN ULONG BaudRate,
104 IN ULONG PortNumber,
105 IN PUCHAR PortAddress,
106 OUT PULONG PortId,
107 IN BOOLEAN IsMMIODevice
108 );
109
110 BOOLEAN
111 NTAPI
112 InbvPortPollOnly(
113 IN ULONG PortId
114 );
115
116 BOOLEAN
117 NTAPI
118 InbvPortGetByte(
119 IN ULONG PortId,
120 OUT PUCHAR Char
121 );
122
123 extern BOOLEAN InbvBootDriverInstalled;