Ignore:
Timestamp:
Feb 23, 2000, 6:06:19 PM (26 years ago)
Author:
cbratschi
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/animate.h

    r1099 r2874  
    1 /* $Id: animate.h,v 1.2 1999-10-01 15:52:19 cbratschi Exp $ */
     1/* $Id: animate.h,v 1.3 2000-02-23 17:03:00 cbratschi Exp $ */
    22
    33/*
     
    1111#define __WINE_ANIMATE_H
    1212
     13#define CINTERFACE
     14
     15#include "windef.h"
     16#include "vfw.h"
    1317
    1418typedef struct tagANIMATE_INFO
    1519{
    16     LPVOID  lpAvi;   /* pointer to avi data */
    17     HFILE   hFile;   /* handle to avi file */
    18     HGLOBAL hRes;
    19     INT     cSize;
    20     INT     cRepeat;
    21     INT     wFrom;
    22     INT     wTo;
    23     INT     wPos;
    24     INT     cFrames;
    25     BOOL    bPlaying;
    26     POINT   pos;
    27     POINT   size;
    28     INT     msFrame;
    29     BOOL    bThread;
     20   COMCTL32_HEADER      header;
     21
     22   /* pointer to msvideo functions. it's easier to put them here.
     23    * to be correct, they should be defined on a per process basis, but
     24    * this would required a per process storage. We're using a per object
     25    * storage instead, which is not efficient on memory usage, but
     26    * will lead to less bugs in the future
     27    */
     28   HIC          (WINAPI*  fnICOpen)(DWORD, DWORD, UINT);
     29   LRESULT      (WINAPI*  fnICClose)(HIC);
     30   LRESULT      (WINAPI*  fnICSendMessage)(HIC, UINT, DWORD, DWORD);
     31   DWORD        (WINAPIV* fnICDecompress)(HIC,DWORD,LPBITMAPINFOHEADER,LPVOID,LPBITMAPINFOHEADER,LPVOID);
     32
     33   /* reference to input stream (file or resource) */
     34   HGLOBAL              hRes;
     35   HMMIO                hMMio;  /* handle to mmio stream */
     36   HWND                 hWnd;
     37   /* information on the loaded AVI file */
     38   MainAVIHeader        mah;
     39   AVIStreamHeader      ash;
     40   LPBITMAPINFOHEADER   inbih;
     41   LPDWORD              lpIndex;
     42   /* data for the decompressor */
     43   HIC                  hic;
     44   LPBITMAPINFOHEADER   outbih;
     45   LPVOID               indata;
     46   LPVOID               outdata;
     47   /* data for the background mechanism */
     48   CRITICAL_SECTION     cs;
     49   HANDLE               hThread;
     50   UINT                 delay;
     51   BOOL                 stopThread;
     52   UINT                 uTimer;
     53   /* data for playing the file */
     54   int                  nFromFrame;
     55   int                  nToFrame;
     56   int                  nLoop;
     57   int                  currFrame;
    3058} ANIMATE_INFO;
    3159
Note: See TracChangeset for help on using the changeset viewer.