Change headers to <windows.h> in order to prevent a compilation
[wine] / dlls / msrle32 / msrle_private.h
1 /*
2  * Copyright 2002 Michael Günnewig
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18
19 #ifndef __MSRLE32_PRIVATE_H
20 #define __MSRLE32_PRIVATE_H
21
22 #ifndef RC_INVOKED
23 #include <stdarg.h>
24 #endif
25
26 #define COM_NO_WINDOWS_H
27 #include "windef.h"
28 #include "winbase.h"
29 #include "mmsystem.h"
30 #include "wingdi.h"
31 #include "winuser.h"
32 #include "vfw.h"
33
34 #define IDS_NAME        100
35 #define IDS_DESCRIPTION 101
36 #define IDS_ABOUT       102
37
38 #define MSRLE32_VERSION  0x00010000 /* Version 1.0 build 0 */
39 #define MSRLE32_DEFAULTQUALITY (75 * ICQUALITY_HIGH) / 100
40
41 #define FOURCC_RLE   mmioFOURCC('R','L','E',' ')
42 #define FOURCC_RLE4  mmioFOURCC('R','L','E','4')
43 #define FOURCC_RLE8  mmioFOURCC('R','L','E','8')
44 #define FOURCC_MRLE  mmioFOURCC('M','R','L','E')
45
46 #define WIDTHBYTES(i)     ((WORD)((i+31u)&(~31u))/8u) /* ULONG aligned ! */
47 #define DIBWIDTHBYTES(bi) WIDTHBYTES((WORD)(bi).biWidth * (WORD)(bi).biBitCount)
48
49 typedef struct _CodecInfo {
50   FOURCC  fccHandler;
51   DWORD   dwQuality;
52
53   BOOL    bCompress;
54   LONG    nPrevFrame;
55   LPWORD  pPrevFrame;
56   LPWORD  pCurFrame;
57
58   BOOL    bDecompress;
59   LPBYTE  palette_map;
60 } CodecInfo;
61
62 typedef const BITMAPINFOHEADER * LPCBITMAPINFOHEADER;
63
64 #endif