Removed check for union semun; cleaned up a bit.
[wine/multimedia.git] / include / vga.h
blobeea77cce4d7eb6351b4eec9806a0f672528cf4a7
1 /*
2 * VGA emulation
3 *
4 * Copyright 1998 Ove KÅven
6 */
8 #ifndef __WINE_VGA_H
9 #define __WINE_VGA_H
11 #include "wingdi.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(WORD timer);
21 void VGA_ioport_out(WORD port, BYTE val);
22 BYTE VGA_ioport_in(WORD port);
24 #endif /* __WINE_VGA_H */