annotate loader/loader.h @ 4132:84ecfd03c86a

test for preinit errors and correct handling subdevice
author nick
date Sun, 13 Jan 2002 10:30:10 +0000
parents d11e510d0c04
children 174e2a58b4cd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1 /********************************************************
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3 Win32 binary loader interface
128
28091b3caff9 DLL loader updated from avifile-0.60beta4
arpi_esp
parents: 1
diff changeset
4 Copyright 2000 Eugene Kuznetsov (divx@euro.ru)
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 Shamelessly stolen from Wine project
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7 *********************************************************/
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9 #ifndef _LOADER_H
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10 #define _LOADER_H
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11 #include <wine/windef.h>
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12 #include <wine/driver.h>
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13 #include <wine/mmreg.h>
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 #include <wine/vfw.h>
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15 #include <wine/msacm.h>
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 #ifdef __cplusplus
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17 extern "C" {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18 #endif
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19
1494
d11e510d0c04 SetCodecPath -> win32_codec_name
arpi
parents: 1307
diff changeset
20 extern char* win32_codec_name; // must be set before calling DrvOpen() !!!
d11e510d0c04 SetCodecPath -> win32_codec_name
arpi
parents: 1307
diff changeset
21
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22 unsigned int _GetPrivateProfileIntA(const char* appname, const char* keyname, int default_value, const char* filename);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23 int _GetPrivateProfileStringA(const char* appname, const char* keyname,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24 const char* def_val, char* dest, unsigned int len, const char* filename);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
25 int _WritePrivateProfileStringA(const char* appname, const char* keyname,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26 const char* string, const char* filename);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
28
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29 /**********************************************
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
30
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31 MS VFW ( Video For Windows ) interface
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
32
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
33 **********************************************/
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
34
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
35 long VFWAPIV ICCompress(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
36 HIC hic,long dwFlags,LPBITMAPINFOHEADER lpbiOutput,void* lpData,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
37 LPBITMAPINFOHEADER lpbiInput,void* lpBits,long* lpckid,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
38 long* lpdwFlags,long lFrameNum,long dwFrameSize,long dwQuality,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
39 LPBITMAPINFOHEADER lpbiPrev,void* lpPrev
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
40 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
41
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
42 long VFWAPIV ICDecompress(HIC hic,long dwFlags,LPBITMAPINFOHEADER lpbiFormat,void* lpData,LPBITMAPINFOHEADER lpbi,void* lpBits);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
43
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
44 WIN_BOOL VFWAPI ICInfo(long fccType, long fccHandler, ICINFO * lpicinfo);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
45 LRESULT VFWAPI ICGetInfo(HIC hic,ICINFO *picinfo, long cb);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
46 HIC VFWAPI ICOpen(long fccType, long fccHandler, UINT wMode);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
47 HIC VFWAPI ICOpenFunction(long fccType, long fccHandler, unsigned int wMode, void* lpfnHandler);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
48
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
49 LRESULT VFWAPI ICClose(HIC hic);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
50 LRESULT VFWAPI ICSendMessage(HIC hic, unsigned int msg, long dw1, long dw2);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
51 HIC VFWAPI ICLocate(long fccType, long fccHandler, LPBITMAPINFOHEADER lpbiIn, LPBITMAPINFOHEADER lpbiOut, short wFlags);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
52
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
53 int VFWAPI ICDoSomething();
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
54
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
55 #define ICCompressGetFormat(hic, lpbiInput, lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
56 ICSendMessage( \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
57 hic,ICM_COMPRESS_GET_FORMAT,(long)(void*)(lpbiInput), \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
58 (long)(void*)(lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
59 )
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
60
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
61 #define ICCompressGetFormatSize(hic,lpbi) ICCompressGetFormat(hic,lpbi,NULL)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
62
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
63 #define ICGetDefaultKeyFrameRate(hic,lpint) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
64 ICSendMessage( \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
65 hic, ICM_GETDEFAULTKEYFRAMERATE, \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
66 (long)(void*)(lpint), \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
67 0 )
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
68
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
69 #define ICGetDefaultQuality(hic,lpint) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
70 ICSendMessage( \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
71 hic, ICM_GETDEFAULTQUALITY, \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
72 (long)(void*)(lpint), \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
73 0 )
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
74
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
75
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
76 #define ICCompressBegin(hic, lpbiInput, lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
77 ICSendMessage( \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
78 hic, ICM_COMPRESS_BEGIN, (long)(void*)(lpbiInput), \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
79 (long)(void*)(lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
80 )
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
81
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
82 #define ICCompressGetSize(hic, lpbiInput, lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
83 ICSendMessage( \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
84 hic, ICM_COMPRESS_GET_SIZE, (long)(void*)(lpbiInput), \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
85 (long)(void*)(lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
86 )
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
87
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
88 #define ICCompressQuery(hic, lpbiInput, lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
89 ICSendMessage( \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
90 hic, ICM_COMPRESS_QUERY, (long)(void*)(lpbiInput), \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
91 (long)(void*)(lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
92 )
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
93
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
94
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
95 #define ICCompressEnd(hic) ICSendMessage(hic, ICM_COMPRESS_END, 0, 0)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
96
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
97
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
98
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
99 #define ICDecompressBegin(hic, lpbiInput, lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
100 ICSendMessage( \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
101 hic, ICM_DECOMPRESS_BEGIN, (long)(void*)(lpbiInput), \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
102 (long)(void*)(lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
103 )
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
104
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
105 #define ICDecompressQuery(hic, lpbiInput, lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
106 ICSendMessage( \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
107 hic,ICM_DECOMPRESS_QUERY, (long)(void*)(lpbiInput), \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
108 (long) (void*)(lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
109 )
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
110
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
111 #define ICDecompressGetFormat(hic, lpbiInput, lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
112 ((long)ICSendMessage( \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
113 hic,ICM_DECOMPRESS_GET_FORMAT, (long)(void*)(lpbiInput), \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
114 (long)(void*)(lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
115 ))
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
116
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
117 #define ICDecompressGetFormatSize(hic, lpbi) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
118 ICDecompressGetFormat(hic, lpbi, NULL)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
119
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
120 #define ICDecompressGetPalette(hic, lpbiInput, lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
121 ICSendMessage( \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
122 hic, ICM_DECOMPRESS_GET_PALETTE, (long)(void*)(lpbiInput), \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
123 (long)(void*)(lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
124 )
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
125
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
126 #define ICDecompressSetPalette(hic,lpbiPalette) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
127 ICSendMessage( \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
128 hic,ICM_DECOMPRESS_SET_PALETTE, \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
129 (long)(void*)(lpbiPalette),0 \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
130 )
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
131
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
132 #define ICDecompressEnd(hic) ICSendMessage(hic, ICM_DECOMPRESS_END, 0, 0)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
133
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
134
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
135 /*****************************************************
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
136
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
137 MS ACM ( Audio Compression Manager ) interface
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
138
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
139 ******************************************************/
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
140
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
141
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
142 MMRESULT WINAPI acmDriverAddA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
143 PHACMDRIVERID phadid, HINSTANCE hinstModule,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
144 LPARAM lParam, DWORD dwPriority, DWORD fdwAdd
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
145 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
146 MMRESULT WINAPI acmDriverAddW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
147 PHACMDRIVERID phadid, HINSTANCE hinstModule,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
148 LPARAM lParam, DWORD dwPriority, DWORD fdwAdd
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
149 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
150 MMRESULT WINAPI acmDriverClose(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
151 HACMDRIVER had, DWORD fdwClose
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
152 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
153 MMRESULT WINAPI acmDriverDetailsA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
154 HACMDRIVERID hadid, PACMDRIVERDETAILSA padd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
155 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
156 MMRESULT WINAPI acmDriverDetailsW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
157 HACMDRIVERID hadid, PACMDRIVERDETAILSW padd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
158 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
159 MMRESULT WINAPI acmDriverEnum(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
160 ACMDRIVERENUMCB fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
161 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
162 MMRESULT WINAPI acmDriverID(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
163 HACMOBJ hao, PHACMDRIVERID phadid, DWORD fdwDriverID
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
164 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
165 LRESULT WINAPI acmDriverMessage(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
166 HACMDRIVER had, UINT uMsg, LPARAM lParam1, LPARAM lParam2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
167 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
168 MMRESULT WINAPI acmDriverOpen(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
169 PHACMDRIVER phad, HACMDRIVERID hadid, DWORD fdwOpen
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
170 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
171 MMRESULT WINAPI acmDriverPriority(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
172 HACMDRIVERID hadid, DWORD dwPriority, DWORD fdwPriority
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
173 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
174 MMRESULT WINAPI acmDriverRemove(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
175 HACMDRIVERID hadid, DWORD fdwRemove
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
176 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
177 MMRESULT WINAPI acmFilterChooseA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
178 PACMFILTERCHOOSEA pafltrc
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
179 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
180 MMRESULT WINAPI acmFilterChooseW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
181 PACMFILTERCHOOSEW pafltrc
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
182 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
183 MMRESULT WINAPI acmFilterDetailsA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
184 HACMDRIVER had, PACMFILTERDETAILSA pafd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
185 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
186 MMRESULT WINAPI acmFilterDetailsW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
187 HACMDRIVER had, PACMFILTERDETAILSW pafd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
188 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
189 MMRESULT WINAPI acmFilterEnumA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
190 HACMDRIVER had, PACMFILTERDETAILSA pafd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
191 ACMFILTERENUMCBA fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
192 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
193 MMRESULT WINAPI acmFilterEnumW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
194 HACMDRIVER had, PACMFILTERDETAILSW pafd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
195 ACMFILTERENUMCBW fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
196 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
197 MMRESULT WINAPI acmFilterTagDetailsA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
198 HACMDRIVER had, PACMFILTERTAGDETAILSA paftd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
199 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
200 MMRESULT WINAPI acmFilterTagDetailsW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
201 HACMDRIVER had, PACMFILTERTAGDETAILSW paftd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
202 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
203 MMRESULT WINAPI acmFilterTagEnumA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
204 HACMDRIVER had, PACMFILTERTAGDETAILSA paftd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
205 ACMFILTERTAGENUMCBA fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
206 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
207 MMRESULT WINAPI acmFilterTagEnumW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
208 HACMDRIVER had, PACMFILTERTAGDETAILSW paftd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
209 ACMFILTERTAGENUMCBW fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
210 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
211 MMRESULT WINAPI acmFormatChooseA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
212 PACMFORMATCHOOSEA pafmtc
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
213 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
214 MMRESULT WINAPI acmFormatChooseW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
215 PACMFORMATCHOOSEW pafmtc
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
216 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
217 MMRESULT WINAPI acmFormatDetailsA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
218 HACMDRIVER had, PACMFORMATDETAILSA pafd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
219 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
220 MMRESULT WINAPI acmFormatDetailsW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
221 HACMDRIVER had, PACMFORMATDETAILSW pafd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
222 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
223 MMRESULT WINAPI acmFormatEnumA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
224 HACMDRIVER had, PACMFORMATDETAILSA pafd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
225 ACMFORMATENUMCBA fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
226 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
227 MMRESULT WINAPI acmFormatEnumW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
228 HACMDRIVER had, PACMFORMATDETAILSW pafd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
229 ACMFORMATENUMCBW fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
230 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
231 MMRESULT WINAPI acmFormatSuggest(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
232 HACMDRIVER had, PWAVEFORMATEX pwfxSrc, PWAVEFORMATEX pwfxDst,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
233 DWORD cbwfxDst, DWORD fdwSuggest
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
234 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
235 MMRESULT WINAPI acmFormatTagDetailsA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
236 HACMDRIVER had, PACMFORMATTAGDETAILSA paftd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
237 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
238 MMRESULT WINAPI acmFormatTagDetailsW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
239 HACMDRIVER had, PACMFORMATTAGDETAILSW paftd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
240 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
241 MMRESULT WINAPI acmFormatTagEnumA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
242 HACMDRIVER had, PACMFORMATTAGDETAILSA paftd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
243 ACMFORMATTAGENUMCBA fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
244 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
245 MMRESULT WINAPI acmFormatTagEnumW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
246 HACMDRIVER had, PACMFORMATTAGDETAILSW paftd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
247 ACMFORMATTAGENUMCBW fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
248 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
249 DWORD WINAPI acmGetVersion(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
250 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
251 MMRESULT WINAPI acmMetrics(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
252 HACMOBJ hao, UINT uMetric, LPVOID pMetric
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
253 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
254 MMRESULT WINAPI acmStreamClose(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
255 HACMSTREAM has, DWORD fdwClose
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
256 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
257 MMRESULT WINAPI acmStreamConvert(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
258 HACMSTREAM has, PACMSTREAMHEADER pash, DWORD fdwConvert
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
259 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
260 MMRESULT WINAPI acmStreamMessage(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
261 HACMSTREAM has, UINT uMsg, LPARAM lParam1, LPARAM lParam2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
262 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
263 MMRESULT WINAPI acmStreamOpen(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
264 PHACMSTREAM phas, HACMDRIVER had, PWAVEFORMATEX pwfxSrc,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
265 PWAVEFORMATEX pwfxDst, PWAVEFILTER pwfltr, DWORD dwCallback,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
266 DWORD dwInstance, DWORD fdwOpen
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
267 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
268 MMRESULT WINAPI acmStreamPrepareHeader(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
269 HACMSTREAM has, PACMSTREAMHEADER pash, DWORD fdwPrepare
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
270 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
271 MMRESULT WINAPI acmStreamReset(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
272 HACMSTREAM has, DWORD fdwReset
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
273 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
274 MMRESULT WINAPI acmStreamSize(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
275 HACMSTREAM has, DWORD cbInput,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
276 LPDWORD pdwOutputBytes, DWORD fdwSize
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
277 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
278 MMRESULT WINAPI acmStreamUnprepareHeader(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
279 HACMSTREAM has, PACMSTREAMHEADER pash, DWORD fdwUnprepare
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
280 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
281 void MSACM_RegisterAllDrivers(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
282
1307
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 128
diff changeset
283 INT WINAPI LoadStringA( HINSTANCE instance, UINT resource_id,
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 128
diff changeset
284 LPSTR buffer, INT buflen );
128
28091b3caff9 DLL loader updated from avifile-0.60beta4
arpi_esp
parents: 1
diff changeset
285
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
286 #ifdef __cplusplus
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
287 }
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
288 #endif
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
289 #endif /* __LOADER_H */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
290