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