Adapted to CreateSystemTimer interface change.
[wine] / include / vga.h
1 /*
2  * VGA emulation
3  * 
4  * Copyright 1998 Ove KÅven
5  *
6  */
7
8 #ifndef __WINE_VGA_H
9 #define __WINE_VGA_H
10
11 #include "wintypes.h"
12
13 int VGA_SetMode(unsigned Xres,unsigned Yres,unsigned Depth);
14 int VGA_GetMode(unsigned*Height,unsigned*Width,unsigned*Depth);
15 void VGA_Exit(void);
16 void VGA_SetPalette(PALETTEENTRY*pal,int start,int len);
17 void VGA_SetQuadPalette(RGBQUAD*color,int start,int len);
18 LPSTR VGA_Lock(unsigned*Pitch,unsigned*Height,unsigned*Width,unsigned*Depth);
19 void VGA_Unlock(void);
20 void VGA_Poll(WORD timer);
21 void VGA_ioport_out(WORD port, BYTE val);
22 BYTE VGA_ioport_in(WORD port);
23
24 #endif /* __WINE_VGA_H */