1 #pragma once 2 3 typedef struct _INBV_PROGRESS_STATE 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 RB_PROGRESS_BAR 22 } ROT_BAR_TYPE; 23 24 INIT_FUNCTION 25 VOID 26 NTAPI 27 InbvUpdateProgressBar( 28 IN ULONG Progress 29 ); 30 31 INIT_FUNCTION 32 VOID 33 NTAPI 34 InbvRotBarInit( 35 VOID 36 ); 37 38 INIT_FUNCTION 39 BOOLEAN 40 NTAPI 41 InbvDriverInitialize( 42 IN PLOADER_PARAMETER_BLOCK LoaderBlock, 43 IN ULONG Count 44 ); 45 46 INIT_FUNCTION 47 VOID 48 NTAPI 49 InbvEnableBootDriver( 50 IN BOOLEAN Enable 51 ); 52 53 INIT_FUNCTION 54 VOID 55 NTAPI 56 DisplayBootBitmap( 57 IN BOOLEAN TextMode 58 ); 59 60 INIT_FUNCTION 61 VOID 62 NTAPI 63 DisplayFilter( 64 IN PCHAR *String 65 ); 66 67 INIT_FUNCTION 68 VOID 69 NTAPI 70 FinalizeBootLogo( 71 VOID 72 ); 73 74 PUCHAR 75 NTAPI 76 InbvGetResourceAddress( 77 IN ULONG ResourceNumber 78 ); 79 80 VOID 81 NTAPI 82 InbvBitBlt( 83 IN PUCHAR Buffer, 84 IN ULONG X, 85 IN ULONG Y 86 ); 87 88 INIT_FUNCTION 89 VOID 90 NTAPI 91 InbvIndicateProgress( 92 VOID 93 ); 94 95 VOID 96 NTAPI 97 InbvPortEnableFifo( 98 IN ULONG PortId, 99 IN BOOLEAN Enable 100 ); 101 102 BOOLEAN 103 NTAPI 104 InbvPortGetByte( 105 IN ULONG PortId, 106 OUT PUCHAR Byte 107 ); 108 109 VOID 110 NTAPI 111 InbvPortPutByte( 112 IN ULONG PortId, 113 IN UCHAR Byte 114 ); 115 116 VOID 117 NTAPI 118 InbvPortTerminate( 119 IN ULONG PortId 120 ); 121 122 BOOLEAN 123 NTAPI 124 InbvPortInitialize( 125 IN ULONG BaudRate, 126 IN ULONG PortNumber, 127 IN PUCHAR PortAddress, 128 OUT PULONG PortId, 129 IN BOOLEAN IsMMIODevice 130 ); 131 132 BOOLEAN 133 NTAPI 134 InbvPortPollOnly( 135 IN ULONG PortId 136 ); 137 138 extern BOOLEAN InbvBootDriverInstalled; 139