1 #pragma once 2 3 // Native definitions from BOOTVID (Boot Video Driver). 4 #include "bootvid/bootvid.h" 5 6 // 7 // Driver Initialization 8 // 9 BOOLEAN 10 NTAPI 11 InbvDriverInitialize( 12 IN PLOADER_PARAMETER_BLOCK LoaderBlock, 13 IN ULONG Count 14 ); 15 16 extern BOOLEAN InbvBootDriverInstalled; 17 18 PUCHAR 19 NTAPI 20 InbvGetResourceAddress( 21 IN ULONG ResourceNumber 22 ); 23 24 VOID 25 NTAPI 26 InbvBitBlt( 27 IN PUCHAR Buffer, 28 IN ULONG X, 29 IN ULONG Y 30 ); 31 32 // 33 // Progress-Bar Functions 34 // 35 VOID 36 NTAPI 37 InbvIndicateProgress( 38 VOID 39 ); 40 41 VOID 42 NTAPI 43 InbvSetProgressBarSubset( 44 _In_ ULONG Floor, 45 _In_ ULONG Ceiling 46 ); 47 48 VOID 49 NTAPI 50 InbvUpdateProgressBar( 51 IN ULONG Progress 52 ); 53 54 // 55 // Boot Splash-Screen Functions 56 // 57 VOID 58 NTAPI 59 InbvRotBarInit( 60 VOID 61 ); 62 63 VOID 64 NTAPI 65 DisplayBootBitmap( 66 IN BOOLEAN TextMode 67 ); 68 69 VOID 70 NTAPI 71 DisplayFilter( 72 IN PCHAR *String 73 ); 74 75 VOID 76 NTAPI 77 FinalizeBootLogo( 78 VOID 79 ); 80 81 // 82 // Headless Terminal Support Functions 83 // 84 VOID 85 NTAPI 86 InbvPortEnableFifo( 87 IN ULONG PortId, 88 IN BOOLEAN Enable 89 ); 90 91 BOOLEAN 92 NTAPI 93 InbvPortPollOnly( 94 IN ULONG PortId 95 ); 96 97 BOOLEAN 98 NTAPI 99 InbvPortGetByte( 100 IN ULONG PortId, 101 OUT PUCHAR Byte 102 ); 103 104 VOID 105 NTAPI 106 InbvPortPutByte( 107 IN ULONG PortId, 108 IN UCHAR Byte 109 ); 110 111 VOID 112 NTAPI 113 InbvPortTerminate( 114 IN ULONG PortId 115 ); 116 117 BOOLEAN 118 NTAPI 119 InbvPortInitialize( 120 IN ULONG BaudRate, 121 IN ULONG PortNumber, 122 IN PUCHAR PortAddress, 123 OUT PULONG PortId, 124 IN BOOLEAN IsMMIODevice 125 ); 126