1 2 /* FUNCTIONS ******************************************************************/ 3 4 VOID ScreenEventHandler(PWINDOW_BUFFER_SIZE_RECORD ScreenEvent); 5 BOOLEAN VgaGetDoubleVisionState(PBOOLEAN Horizontal, PBOOLEAN Vertical); 6 BOOL VgaAttachToConsole(VOID); 7 VOID VgaDetachFromConsole(VOID); 8 9 10 VOID 11 VgaConsoleUpdateTextCursor(BOOL CursorVisible, 12 BYTE CursorStart, 13 BYTE CursorEnd, 14 BYTE TextSize, 15 DWORD ScanlineSize, 16 WORD Location); 17 18 BOOL 19 VgaConsoleCreateGraphicsScreen(// OUT PBYTE* GraphicsFramebuffer, 20 IN PCOORD Resolution, 21 IN HANDLE PaletteHandle); 22 23 VOID VgaConsoleDestroyGraphicsScreen(VOID); 24 25 BOOL 26 VgaConsoleCreateTextScreen(// OUT PCHAR_CELL* TextFramebuffer, 27 IN PCOORD Resolution, 28 IN HANDLE PaletteHandle); 29 30 VOID VgaConsoleDestroyTextScreen(VOID); 31 32 VOID VgaConsoleRepaintScreen(PSMALL_RECT Rect); 33 34 BOOLEAN VgaConsoleInitialize(HANDLE TextHandle); 35 VOID VgaConsoleCleanup(VOID); 36