Backport the new boot and shutdown screen and slightly modify it for extra awesomenes...
[reactos.git] / reactos / ntoskrnl / include / internal / inbv.h
1 #ifndef NTOSKRNL_INBV_H
2 #define NTOSKRNL_INBV_H
3
4 typedef struct _InbvProgressState
5 {
6 ULONG Floor;
7 ULONG Ceiling;
8 ULONG Bias;
9 } INBV_PROGRESS_STATE;
10
11 typedef struct _BT_PROGRESS_INDICATOR
12 {
13 ULONG Count;
14 ULONG Expected;
15 ULONG Percentage;
16 } BT_PROGRESS_INDICATOR, *PBT_PROGRESS_INDICATOR;
17
18 typedef enum _ROT_BAR_TYPE
19 {
20 RB_UNSPECIFIED,
21 RB_SQUARE_CELLS
22 } ROT_BAR_TYPE;
23
24 VOID
25 NTAPI
26 InbvUpdateProgressBar(
27 IN ULONG Progress
28 );
29
30 BOOLEAN
31 NTAPI
32 InbvDriverInitialize(
33 IN PLOADER_PARAMETER_BLOCK LoaderBlock,
34 IN ULONG Count
35 );
36
37 VOID
38 NTAPI
39 InbvEnableBootDriver(
40 IN BOOLEAN Enable
41 );
42
43 VOID
44 NTAPI
45 DisplayBootBitmap(
46 IN BOOLEAN SosMode
47 );
48
49 VOID
50 NTAPI
51 FinalizeBootLogo(
52 VOID
53 );
54
55 PUCHAR
56 NTAPI
57 InbvGetResourceAddress(
58 IN ULONG ResourceNumber
59 );
60
61 VOID
62 NTAPI
63 InbvBitBlt(
64 IN PUCHAR Buffer,
65 IN ULONG X,
66 IN ULONG Y
67 );
68
69 VOID
70 NTAPI
71 InbvIndicateProgress(
72 VOID
73 );
74
75 extern BOOLEAN InbvBootDriverInstalled;
76
77 #endif /* NTOSKRNL_INBV_H */
78
79