Ignore:
Timestamp:
Nov 17, 2000, 3:32:50 PM (25 years ago)
Author:
sandervl
Message:

header updates for comctl32

File:
1 edited

Legend:

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

    r2874 r4608  
    1 /* $Id: animate.h,v 1.3 2000-02-23 17:03:00 cbratschi Exp $ */
     1/* $Id: animate.h,v 1.4 2000-11-17 14:32:48 sandervl Exp $ */
    22
    33/*
     
    1111#define __WINE_ANIMATE_H
    1212
    13 #define CINTERFACE
     13#ifdef __cplusplus
     14extern "C" {
     15#endif
    1416
    15 #include "windef.h"
    16 #include "vfw.h"
     17VOID ANIMATE_Register (VOID);
     18VOID ANIMATE_Unregister (VOID);
    1719
    18 typedef struct tagANIMATE_INFO
    19 {
    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;
    58 } ANIMATE_INFO;
    59 
    60 
    61 extern VOID ANIMATE_Register (VOID);
    62 extern VOID ANIMATE_Unregister (VOID);
     20#ifdef __cplusplus
     21}
     22#endif
    6323
    6424#endif  /* __WINE_ANIMATE_H */
Note: See TracChangeset for help on using the changeset viewer.