Use poll() instead of select() for the server main loop.
[wine/multimedia.git] / include / dispdib.h
blobc1e97281d8b20a703db71d95a8313e1dbfae4852
1 /*
2 * DISPDIB.dll
3 *
4 * Copyright 1998 Ove KÅven
6 */
8 #ifndef __WINE_DISPDIB_H
9 #define __WINE_DISPDIB_H
11 #include "wingdi.h" /* for LPBITMAPINFO */
13 /* error codes */
14 #define DISPLAYDIB_NOERROR 0x0000
15 #define DISPLAYDIB_NOTSUPPORTED 0x0001
16 #define DISPLAYDIB_INVALIDDIB 0x0002
17 #define DISPLAYDIB_INVALIDFORMAT 0x0003
18 #define DISPLAYDIB_INVALIDTASK 0x0004
20 /* flags */
21 #define DISPLAYDIB_NOPALETTE 0x0010
22 #define DISPLAYDIB_NOCENTER 0x0020
23 #define DISPLAYDIB_NOWAIT 0x0040
24 #define DISPLAYDIB_BEGIN 0x8000
25 #define DISPLAYDIB_END 0x4000
26 #define DISPLAYDIB_MODE 0x000F /* mask */
27 #define DISPLAYDIB_MODE_DEFAULT 0x0000
28 #define DISPLAYDIB_MODE_320x200x8 0x0001
29 #define DISPLAYDIB_MODE_320x240x8 0x0005
31 WORD WINAPI DisplayDib( LPBITMAPINFO lpbi, LPSTR lpBits, WORD wFlags );
33 #endif /* __WINE_DISPDIB_H */