mshtml: Added IHTMLWindow2::clearInterval implementation.
[wine/hacks.git] / dlls / msvfw32 / msvideo_private.h
blob6bd8e9364637747384ac7ab5f67bbc9cab3a6383
1 /*
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_MSVIDEO_PRIVATE_H
20 #define __WINE_MSVIDEO_PRIVATE_H
22 #define ICM_CHOOSE_COMPRESSOR 1
23 #define IDC_COMP_LIST 880
24 #define IDS_FULLFRAMES 901
26 /* HIC struct (same layout as Win95 one) */
27 typedef struct tagWINE_HIC {
28 DWORD magic; /* 00: 'Smag' */
29 HANDLE curthread; /* 04: */
30 DWORD type; /* 08: */
31 DWORD handler; /* 0C: */
32 HDRVR hdrv; /* 10: */
33 DWORD private; /* 14:(handled by SendDriverMessage)*/
34 DRIVERPROC driverproc; /* 18:(handled by SendDriverMessage)*/
35 DWORD x1; /* 1c: name? */
36 WORD x2; /* 20: */
37 DWORD x3; /* 22: */
38 /* 26: */
39 DWORD driverproc16; /* Wine specific flags */
40 HIC hic;
41 DWORD driverId;
42 struct tagWINE_HIC* next;
43 } WINE_HIC;
45 HIC MSVIDEO_OpenFunction(DWORD, DWORD, UINT, DRIVERPROC, DWORD);
46 LRESULT MSVIDEO_SendMessage(WINE_HIC*, UINT, DWORD_PTR, DWORD_PTR);
47 WINE_HIC* MSVIDEO_GetHicPtr(HIC);
49 extern LRESULT (CALLBACK *pFnCallTo16)(HDRVR, HIC, UINT, LPARAM, LPARAM);
51 /* handle16 --> handle conversions */
52 #define HDRAWDIB_32(h16) ((HDRAWDIB)(ULONG_PTR)(h16))
53 #define HIC_32(h16) ((HIC)(ULONG_PTR)(h16))
55 /* handle --> handle16 conversions */
56 #define HDRVR_16(h32) (LOWORD(h32))
57 #define HDRAWDIB_16(h32) (LOWORD(h32))
58 #define HIC_16(h32) (LOWORD(h32))
60 #define IDC_CONFIGURE 882
61 #define IDC_ABOUT 883
63 #define IDC_QUALITY_SCROLL 884
64 #define IDC_QUALITY_TXT 886
66 #define IDC_KEYFRAME_CHECKBOX 887
67 #define IDC_KEYFRAME 888
68 #define IDC_KEYFRAME_FRAMES 889
69 #define IDC_DATARATE_CHECKBOX 894
70 #define IDC_DATARATE 895
71 #define IDC_DATARATE_KB 896
73 #endif /* __WINE_MSVIDEO_PRIVATE_H */