Commit 3e18c250 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

First working version.

parent aa67ac90
......@@ -8,11 +8,44 @@
#define __WINE_ANIMATE_H
#include "windef.h"
#include "vfw.h"
typedef struct tagANIMATE_INFO
{
LPVOID lpAvi; /* pointer to avi data */
HFILE hFile; /* handle to avi file */
/* pointer to msvideo functions. it's easier to put them here.
* to be correct, they should be defined on a per process basis, but
* this would required a per process storage. We're using a per object
* storage instead, which is not efficient on memory usage, but
* will lead to less bugs in the future
*/
HIC (WINAPI* fnICOpen)(DWORD, DWORD, UINT);
LRESULT (WINAPI* fnICClose)(HIC);
LRESULT (WINAPI* fnICSendMessage)(HIC, UINT, DWORD, DWORD);
DWORD (WINAPIV* fnICDecompress)(HIC,DWORD,LPBITMAPINFOHEADER,LPVOID,LPBITMAPINFOHEADER,LPVOID);
/* reference to input stream (file or resource) */
HGLOBAL hRes;
HMMIO hMMio; /* handle to mmio stream */
HWND hWnd;
/* information on the loaded AVI file */
MainAVIHeader mah;
AVIStreamHeader ash;
LPBITMAPINFOHEADER inbih;
LPDWORD lpIndex;
/* data for the decompressor */
HIC hic;
LPBITMAPINFOHEADER outbih;
LPVOID indata;
LPVOID outdata;
/* data for the background mechanism */
CRITICAL_SECTION cs;
HANDLE hService;
UINT uTimer;
/* data for playing the file */
int nFromFrame;
int nToFrame;
int nLoop;
int currFrame;
} ANIMATE_INFO;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment