gdiplus/metafile: Fully initialize record header on allocation.
[wine/zf.git] / include / dispdib.h
bloba378daefee804d81d59af95df07440a31a071e4a
1 /*
2 * DISPDIB.dll
4 * Copyright 1998 Ove Kaaven
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.
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.
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
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __WINE_DISPDIB_H
22 #define __WINE_DISPDIB_H
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
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
42 WORD WINAPI DisplayDib( LPBITMAPINFO lpbi, LPSTR lpBits, WORD wFlags );
44 #endif /* __WINE_DISPDIB_H */