2 * Copyright 1999 Marcus Meissner
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.
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.
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
19 #ifndef __WINE_VFW16_H
20 #define __WINE_VFW16_H
23 #include "wine/windef16.h"
27 #endif /* __cplusplus */
29 typedef HANDLE16 HDRAWDIB16;
41 * under Win16, normal chars are used
44 CHAR szDescription[128];
50 LPBITMAPINFOHEADER lpbiSrc;
52 LPBITMAPINFOHEADER lpbiDst;
55 INT16 xDst; /* destination rectangle */
60 INT16 xSrc; /* source rectangle */
75 LPBITMAPINFOHEADER lpbi;
88 LPBITMAPINFOHEADER lpbiIn;
89 LPBITMAPINFOHEADER lpbiSuggest;
94 HIC16 hicDecompressor;
97 DWORD VFWAPIV ICDraw16(HIC16,DWORD,LPVOID,LPVOID,DWORD,LONG);
98 DWORD VFWAPIV ICDrawBegin16(HIC16,DWORD,HPALETTE16,HWND16,HDC16,INT16,
99 INT16,INT16,INT16,LPBITMAPINFOHEADER,
100 INT16,INT16,INT16,INT16,DWORD,DWORD);
101 LRESULT WINAPI ICClose16(HIC16);
102 DWORD VFWAPIV ICCompress16(HIC16,DWORD,LPBITMAPINFOHEADER,LPVOID,
103 LPBITMAPINFOHEADER,LPVOID,LPDWORD,
104 LPDWORD,LONG,DWORD,DWORD,
105 LPBITMAPINFOHEADER,LPVOID);
106 DWORD VFWAPIV ICDecompress16(HIC16,DWORD,LPBITMAPINFOHEADER,LPVOID,
107 LPBITMAPINFOHEADER,LPVOID);
108 HIC16 VFWAPI ICGetDisplayFormat16(HIC16,LPBITMAPINFOHEADER,
109 LPBITMAPINFOHEADER,INT16,INT16,
111 LRESULT VFWAPI ICGetInfo16(HIC16,ICINFO16 *,DWORD);
112 BOOL16 VFWAPI ICInfo16(DWORD,DWORD,ICINFO16 *);
113 HIC16 VFWAPI ICLocate16(DWORD,DWORD,LPBITMAPINFOHEADER,
114 LPBITMAPINFOHEADER,WORD);
115 LRESULT VFWAPIV ICMessage16(void);
116 HIC16 VFWAPI ICOpen16(DWORD,DWORD,UINT16);
117 HIC16 VFWAPI ICOpenFunction16(DWORD,DWORD,UINT16,FARPROC16);
118 LRESULT VFWAPI ICSendMessage16(HIC16,UINT16,DWORD,DWORD);
120 /* handle <-> handle16 conversions */
121 #define HPALETTE_32(h16) ((HPALETTE)(ULONG_PTR)(h16))
122 #define HPALETTE_16(h32) (LOWORD(h32))
126 #endif /* __cplusplus */
128 #endif /* __WINE_VFW16_H */