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