annotate loader/loader.h @ 1096:bf973bffe240

some possible buffer overflow places fixed
author al3x
date Mon, 11 Jun 2001 12:47:48 +0000
parents 28091b3caff9
children d8c1b0b38edc
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
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 void SetCodecPath(const char* path);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21 unsigned int _GetPrivateProfileIntA(const char* appname, const char* keyname, int default_value, const char* filename);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22 int _GetPrivateProfileStringA(const char* appname, const char* keyname,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23 const char* def_val, char* dest, unsigned int len, const char* filename);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24 int _WritePrivateProfileStringA(const char* appname, const char* keyname,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
25 const char* string, const char* filename);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26
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 MS VFW ( Video For Windows ) interface
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31
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 long VFWAPIV ICCompress(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
35 HIC hic,long dwFlags,LPBITMAPINFOHEADER lpbiOutput,void* lpData,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
36 LPBITMAPINFOHEADER lpbiInput,void* lpBits,long* lpckid,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
37 long* lpdwFlags,long lFrameNum,long dwFrameSize,long dwQuality,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
38 LPBITMAPINFOHEADER lpbiPrev,void* lpPrev
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
39 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
40
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
41 long VFWAPIV ICDecompress(HIC hic,long dwFlags,LPBITMAPINFOHEADER lpbiFormat,void* lpData,LPBITMAPINFOHEADER lpbi,void* lpBits);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
42
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
43 WIN_BOOL VFWAPI ICInfo(long fccType, long fccHandler, ICINFO * lpicinfo);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
44 LRESULT VFWAPI ICGetInfo(HIC hic,ICINFO *picinfo, long cb);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
45 HIC VFWAPI ICOpen(long fccType, long fccHandler, UINT wMode);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
46 HIC VFWAPI ICOpenFunction(long fccType, long fccHandler, unsigned int wMode, void* lpfnHandler);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
47
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
48 LRESULT VFWAPI ICClose(HIC hic);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
49 LRESULT VFWAPI ICSendMessage(HIC hic, unsigned int msg, long dw1, long dw2);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
50 HIC VFWAPI ICLocate(long fccType, long fccHandler, LPBITMAPINFOHEADER lpbiIn, LPBITMAPINFOHEADER lpbiOut, short wFlags);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
51
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
52 int VFWAPI ICDoSomething();
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
53
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
54 #define ICCompressGetFormat(hic, lpbiInput, lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
55 ICSendMessage( \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
56 hic,ICM_COMPRESS_GET_FORMAT,(long)(void*)(lpbiInput), \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
57 (long)(void*)(lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
58 )
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
59
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
60 #define ICCompressGetFormatSize(hic,lpbi) ICCompressGetFormat(hic,lpbi,NULL)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
61
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
62 #define ICGetDefaultKeyFrameRate(hic,lpint) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
63 ICSendMessage( \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
64 hic, ICM_GETDEFAULTKEYFRAMERATE, \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
65 (long)(void*)(lpint), \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
66 0 )
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
67
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
68 #define ICGetDefaultQuality(hic,lpint) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
69 ICSendMessage( \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
70 hic, ICM_GETDEFAULTQUALITY, \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
71 (long)(void*)(lpint), \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
72 0 )
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
73
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
74
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
75 #define ICCompressBegin(hic, lpbiInput, lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
76 ICSendMessage( \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
77 hic, ICM_COMPRESS_BEGIN, (long)(void*)(lpbiInput), \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
78 (long)(void*)(lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
79 )
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
80
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
81 #define ICCompressGetSize(hic, lpbiInput, lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
82 ICSendMessage( \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
83 hic, ICM_COMPRESS_GET_SIZE, (long)(void*)(lpbiInput), \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
84 (long)(void*)(lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
85 )
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
86
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
87 #define ICCompressQuery(hic, lpbiInput, lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
88 ICSendMessage( \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
89 hic, ICM_COMPRESS_QUERY, (long)(void*)(lpbiInput), \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
90 (long)(void*)(lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
91 )
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 #define ICCompressEnd(hic) ICSendMessage(hic, ICM_COMPRESS_END, 0, 0)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
95
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 #define ICDecompressBegin(hic, lpbiInput, lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
99 ICSendMessage( \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
100 hic, ICM_DECOMPRESS_BEGIN, (long)(void*)(lpbiInput), \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
101 (long)(void*)(lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
102 )
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
103
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
104 #define ICDecompressQuery(hic, lpbiInput, lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
105 ICSendMessage( \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
106 hic,ICM_DECOMPRESS_QUERY, (long)(void*)(lpbiInput), \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
107 (long) (void*)(lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
108 )
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
109
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
110 #define ICDecompressGetFormat(hic, lpbiInput, lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
111 ((long)ICSendMessage( \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
112 hic,ICM_DECOMPRESS_GET_FORMAT, (long)(void*)(lpbiInput), \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
113 (long)(void*)(lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
114 ))
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
115
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
116 #define ICDecompressGetFormatSize(hic, lpbi) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
117 ICDecompressGetFormat(hic, lpbi, NULL)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
118
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
119 #define ICDecompressGetPalette(hic, lpbiInput, lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
120 ICSendMessage( \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
121 hic, ICM_DECOMPRESS_GET_PALETTE, (long)(void*)(lpbiInput), \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
122 (long)(void*)(lpbiOutput) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
123 )
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
124
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
125 #define ICDecompressSetPalette(hic,lpbiPalette) \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
126 ICSendMessage( \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
127 hic,ICM_DECOMPRESS_SET_PALETTE, \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
128 (long)(void*)(lpbiPalette),0 \
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
129 )
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
130
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
131 #define ICDecompressEnd(hic) ICSendMessage(hic, ICM_DECOMPRESS_END, 0, 0)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
132
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 MS ACM ( Audio Compression Manager ) interface
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
137
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 MMRESULT WINAPI acmDriverAddA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
142 PHACMDRIVERID phadid, HINSTANCE hinstModule,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
143 LPARAM lParam, DWORD dwPriority, DWORD fdwAdd
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
144 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
145 MMRESULT WINAPI acmDriverAddW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
146 PHACMDRIVERID phadid, HINSTANCE hinstModule,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
147 LPARAM lParam, DWORD dwPriority, DWORD fdwAdd
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
148 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
149 MMRESULT WINAPI acmDriverClose(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
150 HACMDRIVER had, DWORD fdwClose
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
151 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
152 MMRESULT WINAPI acmDriverDetailsA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
153 HACMDRIVERID hadid, PACMDRIVERDETAILSA padd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
154 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
155 MMRESULT WINAPI acmDriverDetailsW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
156 HACMDRIVERID hadid, PACMDRIVERDETAILSW padd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
157 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
158 MMRESULT WINAPI acmDriverEnum(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
159 ACMDRIVERENUMCB fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
160 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
161 MMRESULT WINAPI acmDriverID(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
162 HACMOBJ hao, PHACMDRIVERID phadid, DWORD fdwDriverID
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
163 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
164 LRESULT WINAPI acmDriverMessage(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
165 HACMDRIVER had, UINT uMsg, LPARAM lParam1, LPARAM lParam2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
166 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
167 MMRESULT WINAPI acmDriverOpen(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
168 PHACMDRIVER phad, HACMDRIVERID hadid, DWORD fdwOpen
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
169 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
170 MMRESULT WINAPI acmDriverPriority(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
171 HACMDRIVERID hadid, DWORD dwPriority, DWORD fdwPriority
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
172 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
173 MMRESULT WINAPI acmDriverRemove(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
174 HACMDRIVERID hadid, DWORD fdwRemove
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
175 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
176 MMRESULT WINAPI acmFilterChooseA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
177 PACMFILTERCHOOSEA pafltrc
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
178 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
179 MMRESULT WINAPI acmFilterChooseW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
180 PACMFILTERCHOOSEW pafltrc
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
181 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
182 MMRESULT WINAPI acmFilterDetailsA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
183 HACMDRIVER had, PACMFILTERDETAILSA pafd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
184 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
185 MMRESULT WINAPI acmFilterDetailsW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
186 HACMDRIVER had, PACMFILTERDETAILSW pafd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
187 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
188 MMRESULT WINAPI acmFilterEnumA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
189 HACMDRIVER had, PACMFILTERDETAILSA pafd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
190 ACMFILTERENUMCBA fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
191 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
192 MMRESULT WINAPI acmFilterEnumW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
193 HACMDRIVER had, PACMFILTERDETAILSW pafd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
194 ACMFILTERENUMCBW fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
195 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
196 MMRESULT WINAPI acmFilterTagDetailsA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
197 HACMDRIVER had, PACMFILTERTAGDETAILSA paftd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
198 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
199 MMRESULT WINAPI acmFilterTagDetailsW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
200 HACMDRIVER had, PACMFILTERTAGDETAILSW paftd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
201 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
202 MMRESULT WINAPI acmFilterTagEnumA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
203 HACMDRIVER had, PACMFILTERTAGDETAILSA paftd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
204 ACMFILTERTAGENUMCBA fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
205 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
206 MMRESULT WINAPI acmFilterTagEnumW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
207 HACMDRIVER had, PACMFILTERTAGDETAILSW paftd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
208 ACMFILTERTAGENUMCBW fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
209 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
210 MMRESULT WINAPI acmFormatChooseA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
211 PACMFORMATCHOOSEA pafmtc
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
212 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
213 MMRESULT WINAPI acmFormatChooseW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
214 PACMFORMATCHOOSEW pafmtc
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
215 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
216 MMRESULT WINAPI acmFormatDetailsA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
217 HACMDRIVER had, PACMFORMATDETAILSA pafd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
218 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
219 MMRESULT WINAPI acmFormatDetailsW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
220 HACMDRIVER had, PACMFORMATDETAILSW pafd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
221 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
222 MMRESULT WINAPI acmFormatEnumA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
223 HACMDRIVER had, PACMFORMATDETAILSA pafd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
224 ACMFORMATENUMCBA fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
225 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
226 MMRESULT WINAPI acmFormatEnumW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
227 HACMDRIVER had, PACMFORMATDETAILSW pafd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
228 ACMFORMATENUMCBW fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
229 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
230 MMRESULT WINAPI acmFormatSuggest(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
231 HACMDRIVER had, PWAVEFORMATEX pwfxSrc, PWAVEFORMATEX pwfxDst,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
232 DWORD cbwfxDst, DWORD fdwSuggest
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
233 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
234 MMRESULT WINAPI acmFormatTagDetailsA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
235 HACMDRIVER had, PACMFORMATTAGDETAILSA paftd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
236 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
237 MMRESULT WINAPI acmFormatTagDetailsW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
238 HACMDRIVER had, PACMFORMATTAGDETAILSW paftd, DWORD fdwDetails
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
239 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
240 MMRESULT WINAPI acmFormatTagEnumA(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
241 HACMDRIVER had, PACMFORMATTAGDETAILSA paftd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
242 ACMFORMATTAGENUMCBA fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
243 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
244 MMRESULT WINAPI acmFormatTagEnumW(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
245 HACMDRIVER had, PACMFORMATTAGDETAILSW paftd,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
246 ACMFORMATTAGENUMCBW fnCallback, DWORD dwInstance, DWORD fdwEnum
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
247 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
248 DWORD WINAPI acmGetVersion(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
249 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
250 MMRESULT WINAPI acmMetrics(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
251 HACMOBJ hao, UINT uMetric, LPVOID pMetric
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
252 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
253 MMRESULT WINAPI acmStreamClose(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
254 HACMSTREAM has, DWORD fdwClose
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
255 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
256 MMRESULT WINAPI acmStreamConvert(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
257 HACMSTREAM has, PACMSTREAMHEADER pash, DWORD fdwConvert
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
258 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
259 MMRESULT WINAPI acmStreamMessage(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
260 HACMSTREAM has, UINT uMsg, LPARAM lParam1, LPARAM lParam2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
261 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
262 MMRESULT WINAPI acmStreamOpen(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
263 PHACMSTREAM phas, HACMDRIVER had, PWAVEFORMATEX pwfxSrc,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
264 PWAVEFORMATEX pwfxDst, PWAVEFILTER pwfltr, DWORD dwCallback,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
265 DWORD dwInstance, DWORD fdwOpen
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
266 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
267 MMRESULT WINAPI acmStreamPrepareHeader(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
268 HACMSTREAM has, PACMSTREAMHEADER pash, DWORD fdwPrepare
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
269 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
270 MMRESULT WINAPI acmStreamReset(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
271 HACMSTREAM has, DWORD fdwReset
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
272 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
273 MMRESULT WINAPI acmStreamSize(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
274 HACMSTREAM has, DWORD cbInput,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
275 LPDWORD pdwOutputBytes, DWORD fdwSize
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
276 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
277 MMRESULT WINAPI acmStreamUnprepareHeader(
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
278 HACMSTREAM has, PACMSTREAMHEADER pash, DWORD fdwUnprepare
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
279 );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
280 void MSACM_RegisterAllDrivers(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
281
128
28091b3caff9 DLL loader updated from avifile-0.60beta4
arpi_esp
parents: 1
diff changeset
282 int WINAPI LoadStringA(long instance, long id, void* buf, long size);
28091b3caff9 DLL loader updated from avifile-0.60beta4
arpi_esp
parents: 1
diff changeset
283
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
284 #ifdef __cplusplus
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
285 }
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
286 #endif
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
287 #endif /* __LOADER_H */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
288