Ove Kaaven | 99f5110 | 1998-10-24 11:08:27 +0000 | [diff] [blame] | 1 | /* |
| 2 | * DISPDIB.dll |
Vincent BĂ©ron | 9a62491 | 2002-05-31 23:06:46 +0000 | [diff] [blame] | 3 | * |
Mike McCormack | e09aecf | 2006-06-13 18:34:27 +0900 | [diff] [blame] | 4 | * Copyright 1998 Ove Kaaven |
Ove Kaaven | 99f5110 | 1998-10-24 11:08:27 +0000 | [diff] [blame] | 5 | * |
Alexandre Julliard | 0799c1a | 2002-03-09 23:29:33 +0000 | [diff] [blame] | 6 | * This library is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU Lesser General Public |
| 8 | * License as published by the Free Software Foundation; either |
| 9 | * version 2.1 of the License, or (at your option) any later version. |
| 10 | * |
| 11 | * This library is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 | * Lesser General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU Lesser General Public |
| 17 | * License along with this library; if not, write to the Free Software |
Jonathan Ernst | 360a3f9 | 2006-05-18 14:49:52 +0200 | [diff] [blame] | 18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA |
Ove Kaaven | 99f5110 | 1998-10-24 11:08:27 +0000 | [diff] [blame] | 19 | */ |
| 20 | |
| 21 | #ifndef __WINE_DISPDIB_H |
| 22 | #define __WINE_DISPDIB_H |
| 23 | |
Ove Kaaven | 99f5110 | 1998-10-24 11:08:27 +0000 | [diff] [blame] | 24 | /* error codes */ |
| 25 | #define DISPLAYDIB_NOERROR 0x0000 |
| 26 | #define DISPLAYDIB_NOTSUPPORTED 0x0001 |
| 27 | #define DISPLAYDIB_INVALIDDIB 0x0002 |
| 28 | #define DISPLAYDIB_INVALIDFORMAT 0x0003 |
| 29 | #define DISPLAYDIB_INVALIDTASK 0x0004 |
| 30 | |
| 31 | /* flags */ |
| 32 | #define DISPLAYDIB_NOPALETTE 0x0010 |
| 33 | #define DISPLAYDIB_NOCENTER 0x0020 |
| 34 | #define DISPLAYDIB_NOWAIT 0x0040 |
| 35 | #define DISPLAYDIB_BEGIN 0x8000 |
| 36 | #define DISPLAYDIB_END 0x4000 |
| 37 | #define DISPLAYDIB_MODE 0x000F /* mask */ |
| 38 | #define DISPLAYDIB_MODE_DEFAULT 0x0000 |
| 39 | #define DISPLAYDIB_MODE_320x200x8 0x0001 |
| 40 | #define DISPLAYDIB_MODE_320x240x8 0x0005 |
| 41 | |
| 42 | WORD WINAPI DisplayDib( LPBITMAPINFO lpbi, LPSTR lpBits, WORD wFlags ); |
| 43 | |
| 44 | #endif /* __WINE_DISPDIB_H */ |