Implemented GdiFreeResources (GDI.609).
[wine/multimedia.git] / include / vga.h
blob4cc3eefc5e8d258a9b733ad6e9e23b93e35e5bba
1 /*
2 * VGA emulation
3 *
4 * Copyright 1998 Ove KÅven
6 */
8 #ifndef __WINE_VGA_H
9 #define __WINE_VGA_H
11 #include "wintypes.h"
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(void);
21 void VGA_ioport_out(WORD port, BYTE val);
22 BYTE VGA_ioport_in(WORD port);
24 #endif /* __WINE_VGA_H */