2002-03-10 00:29:33 +01:00
|
|
|
/*
|
|
|
|
* Copyright 1999 Marcus Meissner
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
2000-09-27 00:20:14 +02:00
|
|
|
#ifndef __WINE_VFW16_H
|
|
|
|
#define __WINE_VFW16_H
|
|
|
|
|
2003-09-06 01:08:26 +02:00
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
#include "windef.h"
|
|
|
|
#include "winbase.h"
|
|
|
|
#include "wingdi.h"
|
2000-09-27 00:20:14 +02:00
|
|
|
#include "vfw.h"
|
2002-10-17 18:43:42 +02:00
|
|
|
#include "wownt32.h"
|
2000-09-27 00:20:14 +02:00
|
|
|
#include "wine/windef16.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
typedef HANDLE16 HDRAWDIB16;
|
|
|
|
|
|
|
|
#include "pshpack1.h"
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
DWORD dwSize;
|
|
|
|
DWORD fccType;
|
|
|
|
DWORD fccHandler;
|
|
|
|
DWORD dwFlags;
|
|
|
|
DWORD dwVersion;
|
|
|
|
DWORD dwVersionICM;
|
|
|
|
/*
|
|
|
|
* under Win16, normal chars are used
|
|
|
|
*/
|
|
|
|
CHAR szName[16];
|
|
|
|
CHAR szDescription[128];
|
|
|
|
CHAR szDriver[128];
|
|
|
|
} ICINFO16;
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
DWORD dwFlags;
|
|
|
|
LPBITMAPINFOHEADER lpbiSrc;
|
|
|
|
LPVOID lpSrc;
|
|
|
|
LPBITMAPINFOHEADER lpbiDst;
|
|
|
|
LPVOID lpDst;
|
|
|
|
|
|
|
|
INT16 xDst; /* destination rectangle */
|
|
|
|
INT16 yDst;
|
|
|
|
INT16 dxDst;
|
|
|
|
INT16 dyDst;
|
|
|
|
|
|
|
|
INT16 xSrc; /* source rectangle */
|
|
|
|
INT16 ySrc;
|
|
|
|
INT16 dxSrc;
|
|
|
|
INT16 dySrc;
|
|
|
|
} ICDECOMPRESSEX16;
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
DWORD dwFlags;
|
|
|
|
HPALETTE16 hpal;
|
|
|
|
HWND16 hwnd;
|
|
|
|
HDC16 hdc;
|
|
|
|
INT16 xDst;
|
|
|
|
INT16 yDst;
|
|
|
|
INT16 dxDst;
|
|
|
|
INT16 dyDst;
|
|
|
|
LPBITMAPINFOHEADER lpbi;
|
|
|
|
INT16 xSrc;
|
|
|
|
INT16 ySrc;
|
|
|
|
INT16 dxSrc;
|
|
|
|
INT16 dySrc;
|
|
|
|
DWORD dwRate;
|
|
|
|
DWORD dwScale;
|
|
|
|
} ICDRAWBEGIN16;
|
|
|
|
|
|
|
|
#include "poppack.h"
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
DWORD dwFlags;
|
|
|
|
LPBITMAPINFOHEADER lpbiIn;
|
|
|
|
LPBITMAPINFOHEADER lpbiSuggest;
|
|
|
|
INT16 dxSrc;
|
|
|
|
INT16 dySrc;
|
|
|
|
INT16 dxDst;
|
|
|
|
INT16 dyDst;
|
|
|
|
HIC16 hicDecompressor;
|
|
|
|
} ICDRAWSUGGEST16;
|
|
|
|
|
2001-07-20 20:00:00 +02:00
|
|
|
DWORD VFWAPIV ICDraw16(HIC16,DWORD,LPVOID,LPVOID,DWORD,LONG);
|
|
|
|
DWORD VFWAPIV ICDrawBegin16(HIC16,DWORD,HPALETTE16,HWND16,HDC16,INT16,
|
|
|
|
INT16,INT16,INT16,LPBITMAPINFOHEADER,
|
|
|
|
INT16,INT16,INT16,INT16,DWORD,DWORD);
|
|
|
|
LRESULT WINAPI ICClose16(HIC16);
|
|
|
|
DWORD VFWAPIV ICCompress16(HIC16,DWORD,LPBITMAPINFOHEADER,LPVOID,
|
|
|
|
LPBITMAPINFOHEADER,LPVOID,LPDWORD,
|
|
|
|
LPDWORD,LONG,DWORD,DWORD,
|
|
|
|
LPBITMAPINFOHEADER,LPVOID);
|
|
|
|
DWORD VFWAPIV ICDecompress16(HIC16,DWORD,LPBITMAPINFOHEADER,LPVOID,
|
|
|
|
LPBITMAPINFOHEADER,LPVOID);
|
|
|
|
HIC16 VFWAPI ICGetDisplayFormat16(HIC16,LPBITMAPINFOHEADER,
|
|
|
|
LPBITMAPINFOHEADER,INT16,INT16,
|
|
|
|
INT16);
|
|
|
|
LRESULT VFWAPI ICGetInfo16(HIC16,ICINFO16 *,DWORD);
|
|
|
|
BOOL16 VFWAPI ICInfo16(DWORD,DWORD,ICINFO16 *);
|
|
|
|
HIC16 VFWAPI ICLocate16(DWORD,DWORD,LPBITMAPINFOHEADER,
|
|
|
|
LPBITMAPINFOHEADER,WORD);
|
2003-08-27 04:20:44 +02:00
|
|
|
LRESULT VFWAPIV ICMessage16( HIC16 hic, UINT16 msg, UINT16 cb, VA_LIST16 valist );
|
2001-07-20 20:00:00 +02:00
|
|
|
HIC16 VFWAPI ICOpen16(DWORD,DWORD,UINT16);
|
|
|
|
HIC16 VFWAPI ICOpenFunction16(DWORD,DWORD,UINT16,FARPROC16);
|
|
|
|
LRESULT VFWAPI ICSendMessage16(HIC16,UINT16,DWORD,DWORD);
|
2000-09-27 00:20:14 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
#endif /* __WINE_VFW16_H */
|