Create GDI stock objects as normal objects instead of using magic
[wine/gsoc_dplay.git] / include / control.h
blob774ba2b1e87b01a17355379410522e565845c7e1
1 #ifndef __WINE_CONTROL_H_
2 #define __WINE_CONTROL_H_
4 #include "ole2.h"
6 /* forward decls. */
8 typedef struct IAMCollection IAMCollection;
9 typedef struct IAMStats IAMStats;
10 typedef struct IBasicAudio IBasicAudio;
11 typedef struct IBasicVideo IBasicVideo;
12 typedef struct IBasicVideo2 IBasicVideo2;
13 typedef struct IDeferredCommand IDeferredCommand;
14 typedef struct IFilterInfo IFilterInfo;
15 typedef struct IMediaControl IMediaControl;
16 typedef struct IMediaEvent IMediaEvent;
17 typedef struct IMediaEventEx IMediaEventEx;
18 typedef struct IMediaPosition IMediaPosition;
19 typedef struct IMediaTypeInfo IMediaTypeInfo;
20 typedef struct IPinInfo IPinInfo;
21 typedef struct IQueueCommand IQueueCommand;
22 typedef struct IRegFilterInfo IRegFilterInfo;
23 typedef struct IVideoWindow IVideoWindow;
26 #ifndef __WINE_REFTIME_DEFINED_
27 #define __WINE_REFTIME_DEFINED_
28 typedef double REFTIME;
29 #endif /* __WINE_REFTIME_DEFINED_ */
31 typedef LONG_PTR OAEVENT;
32 typedef LONG_PTR OAHWND;
33 typedef long OAFilterState;
37 /**************************************************************************
39 * IAMCollection interface
43 #define ICOM_INTERFACE IAMCollection
44 #define IAMCollection_METHODS \
45 ICOM_METHOD1(HRESULT,get_Count,LONG*,a1) \
46 ICOM_METHOD2(HRESULT,Item,long,a1,IUnknown**,a2) \
47 ICOM_METHOD1(HRESULT,get__NewEnum,IUnknown**,a1)
49 #define IAMCollection_IMETHODS \
50 IDispatch_IMETHODS \
51 IAMCollection_METHODS
53 ICOM_DEFINE(IAMCollection,IDispatch)
54 #undef ICOM_INTERFACE
56 /*** IUnknown methods ***/
57 #define IAMCollection_QueryInterface(p,a1,a2) ICOM_CALL2(QueryInterface,p,a1,a2)
58 #define IAMCollection_AddRef(p) ICOM_CALL (AddRef,p)
59 #define IAMCollection_Release(p) ICOM_CALL (Release,p)
60 /*** IDispatch methods ***/
61 #define IAMCollection_GetTypeInfoCount(p,a1) ICOM_CALL1(GetTypeInfoCount,p,a1)
62 #define IAMCollection_GetTypeInfo(p,a1,a2,a3) ICOM_CALL3(GetTypeInfo,p,a1,a2,a3)
63 #define IAMCollection_GetIDsOfNames(p,a1,a2,a3,a4,a5) ICOM_CALL5(GetIDsOfNames,p,a1,a2,a3,a4,a5)
64 #define IAMCollection_Invoke(p,a1,a2,a3,a4,a5,a6,a7,a8) ICOM_CALL8(Invoke,p,a1,a2,a3,a4,a5,a6,a7,a8)
65 /*** IAMCollection methods ***/
66 #define IAMCollection_get_Count(p,a1) ICOM_CALL1(get_Count,p,a1)
67 #define IAMCollection_Item(p,a1,a2) ICOM_CALL2(Item,p,a1,a2)
68 #define IAMCollection_get__NewEnum(p,a1) ICOM_CALL1(get__NewEnum,p,a1)
70 /**************************************************************************
72 * IAMStats interface
76 #define ICOM_INTERFACE IAMStats
77 #define IAMStats_METHODS \
78 ICOM_METHOD (HRESULT,Reset) \
79 ICOM_METHOD1(HRESULT,get_Count,LONG*,a1) \
80 ICOM_METHOD8(HRESULT,GetValueByIndex,long,a1,BSTR*,a2,long*,a3,double*,a4,double*,a5,double*,a6,double*,a7,double*,a8) \
81 ICOM_METHOD8(HRESULT,GetValueByName,BSTR,a1,long*,a2,long*,a3,double*,a4,double*,a5,double*,a6,double*,a7,double*,a8) \
82 ICOM_METHOD3(HRESULT,GetIndex,BSTR,a1,long,a2,long*,a3) \
83 ICOM_METHOD2(HRESULT,AddValue,long,a1,double,a2)
85 #define IAMStats_IMETHODS \
86 IDispatch_IMETHODS \
87 IAMStats_METHODS
89 ICOM_DEFINE(IAMStats,IDispatch)
90 #undef ICOM_INTERFACE
92 /*** IUnknown methods ***/
93 #define IAMStats_QueryInterface(p,a1,a2) ICOM_CALL2(QueryInterface,p,a1,a2)
94 #define IAMStats_AddRef(p) ICOM_CALL (AddRef,p)
95 #define IAMStats_Release(p) ICOM_CALL (Release,p)
96 /*** IDispatch methods ***/
97 #define IAMStats_GetTypeInfoCount(p,a1) ICOM_CALL1(GetTypeInfoCount,p,a1)
98 #define IAMStats_GetTypeInfo(p,a1,a2,a3) ICOM_CALL3(GetTypeInfo,p,a1,a2,a3)
99 #define IAMStats_GetIDsOfNames(p,a1,a2,a3,a4,a5) ICOM_CALL5(GetIDsOfNames,p,a1,a2,a3,a4,a5)
100 #define IAMStats_Invoke(p,a1,a2,a3,a4,a5,a6,a7,a8) ICOM_CALL8(Invoke,p,a1,a2,a3,a4,a5,a6,a7,a8)
101 /*** IAMStats methods ***/
102 #define IAMStats_Reset(p) ICOM_CALL (Reset,p)
103 #define IAMStats_get_Count(p,a1) ICOM_CALL1(get_Count,p,a1)
104 #define IAMStats_GetValueByIndex(p,a1,a2,a3,a4,a5,a6,a7,a8) ICOM_CALL8(GetValueByIndex,p,a1,a2,a3,a4,a5,a6,a7,a8)
105 #define IAMStats_GetValueByName(p,a1,a2,a3,a4,a5,a6,a7,a8) ICOM_CALL8(GetValueByName,p,a1,a2,a3,a4,a5,a6,a7,a8)
106 #define IAMStats_GetIndex(p,a1,a2,a3) ICOM_CALL3(GetIndex,p,a1,a2,a3)
107 #define IAMStats_AddValue(p,a1,a2) ICOM_CALL2(AddValue,p,a1,a2)
109 /**************************************************************************
111 * IBasicAudio interface
115 #define ICOM_INTERFACE IBasicAudio
116 #define IBasicAudio_METHODS \
117 ICOM_METHOD1(HRESULT,put_Volume,long,a1) \
118 ICOM_METHOD1(HRESULT,get_Volume,long*,a1) \
119 ICOM_METHOD1(HRESULT,put_Balance,long,a1) \
120 ICOM_METHOD1(HRESULT,get_Balance,long*,a1)
122 #define IBasicAudio_IMETHODS \
123 IDispatch_IMETHODS \
124 IBasicAudio_METHODS
126 ICOM_DEFINE(IBasicAudio,IDispatch)
127 #undef ICOM_INTERFACE
129 /*** IUnknown methods ***/
130 #define IBasicAudio_QueryInterface(p,a1,a2) ICOM_CALL2(QueryInterface,p,a1,a2)
131 #define IBasicAudio_AddRef(p) ICOM_CALL (AddRef,p)
132 #define IBasicAudio_Release(p) ICOM_CALL (Release,p)
133 /*** IDispatch methods ***/
134 #define IBasicAudio_GetTypeInfoCount(p,a1) ICOM_CALL1(GetTypeInfoCount,p,a1)
135 #define IBasicAudio_GetTypeInfo(p,a1,a2,a3) ICOM_CALL3(GetTypeInfo,p,a1,a2,a3)
136 #define IBasicAudio_GetIDsOfNames(p,a1,a2,a3,a4,a5) ICOM_CALL5(GetIDsOfNames,p,a1,a2,a3,a4,a5)
137 #define IBasicAudio_Invoke(p,a1,a2,a3,a4,a5,a6,a7,a8) ICOM_CALL8(Invoke,p,a1,a2,a3,a4,a5,a6,a7,a8)
138 /*** IBasicAudio methods ***/
139 #define IBasicAudio_put_Volume(p,a1) ICOM_CALL1(put_Volume,p,a1)
140 #define IBasicAudio_get_Volume(p,a1) ICOM_CALL1(get_Volume,p,a1)
141 #define IBasicAudio_put_Balance(p,a1) ICOM_CALL1(put_Balance,p,a1)
142 #define IBasicAudio_get_Balance(p,a1) ICOM_CALL1(get_Balance,p,a1)
144 /**************************************************************************
146 * IBasicVideo interface
150 #define ICOM_INTERFACE IBasicVideo
151 #define IBasicVideo_METHODS \
152 ICOM_METHOD1(HRESULT,get_AvgTimePerFrame,REFTIME*,a1) \
153 ICOM_METHOD1(HRESULT,get_BitRate,long*,a1) \
154 ICOM_METHOD1(HRESULT,get_BitErrorRate,long*,a1) \
155 ICOM_METHOD1(HRESULT,get_VideoWidth,long*,a1) \
156 ICOM_METHOD1(HRESULT,get_VideoHeight,long*,a1) \
157 ICOM_METHOD1(HRESULT,put_SourceLeft,long,a1) \
158 ICOM_METHOD1(HRESULT,get_SourceLeft,long*,a1) \
159 ICOM_METHOD1(HRESULT,put_SourceWidth,long,a1) \
160 ICOM_METHOD1(HRESULT,get_SourceWidth,long*,a1) \
161 ICOM_METHOD1(HRESULT,put_SourceTop,long,a1) \
162 ICOM_METHOD1(HRESULT,get_SourceTop,long*,a1) \
163 ICOM_METHOD1(HRESULT,put_SourceHeight,long,a1) \
164 ICOM_METHOD1(HRESULT,get_SourceHeight,long*,a1) \
165 ICOM_METHOD1(HRESULT,put_DestinationLeft,long,a1) \
166 ICOM_METHOD1(HRESULT,get_DestinationLeft,long*,a1) \
167 ICOM_METHOD1(HRESULT,put_DestinationWidth,long,a1) \
168 ICOM_METHOD1(HRESULT,get_DestinationWidth,long*,a1) \
169 ICOM_METHOD1(HRESULT,put_DestinationTop,long,a1) \
170 ICOM_METHOD1(HRESULT,get_DestinationTop,long*,a1) \
171 ICOM_METHOD1(HRESULT,put_DestinationHeight,long,a1) \
172 ICOM_METHOD1(HRESULT,get_DestinationHeight,long*,a1) \
173 ICOM_METHOD4(HRESULT,SetSourcePosition,long,a1,long,a2,long,a3,long,a4) \
174 ICOM_METHOD4(HRESULT,GetSourcePosition,long*,a1,long*,a2,long*,a3,long*,a4) \
175 ICOM_METHOD (HRESULT,SetDefaultSourcePosition) \
176 ICOM_METHOD4(HRESULT,SetDestinationPosition,long,a1,long,a2,long,a3,long,a4) \
177 ICOM_METHOD4(HRESULT,GetDestinationPosition,long*,a1,long*,a2,long*,a3,long*,a4) \
178 ICOM_METHOD (HRESULT,SetDefaultDestinationPosition) \
179 ICOM_METHOD2(HRESULT,GetVideoSize,long*,a1,long*,a2) \
180 ICOM_METHOD4(HRESULT,GetVideoPaletteEntries,long,a1,long,a2,long*,a3,long*,a4) \
181 ICOM_METHOD2(HRESULT,GetCurrentImage,long*,a1,long*,a2) \
182 ICOM_METHOD (HRESULT,IsUsingDefaultSource) \
183 ICOM_METHOD (HRESULT,IsUsingDefaultDestination)
185 #define IBasicVideo_IMETHODS \
186 IDispatch_IMETHODS \
187 IBasicVideo_METHODS
189 ICOM_DEFINE(IBasicVideo,IDispatch)
190 #undef ICOM_INTERFACE
192 /*** IUnknown methods ***/
193 #define IBasicVideo_QueryInterface(p,a1,a2) ICOM_CALL2(QueryInterface,p,a1,a2)
194 #define IBasicVideo_AddRef(p) ICOM_CALL (AddRef,p)
195 #define IBasicVideo_Release(p) ICOM_CALL (Release,p)
196 /*** IDispatch methods ***/
197 #define IBasicVideo_GetTypeInfoCount(p,a1) ICOM_CALL1(GetTypeInfoCount,p,a1)
198 #define IBasicVideo_GetTypeInfo(p,a1,a2,a3) ICOM_CALL3(GetTypeInfo,p,a1,a2,a3)
199 #define IBasicVideo_GetIDsOfNames(p,a1,a2,a3,a4,a5) ICOM_CALL5(GetIDsOfNames,p,a1,a2,a3,a4,a5)
200 #define IBasicVideo_Invoke(p,a1,a2,a3,a4,a5,a6,a7,a8) ICOM_CALL8(Invoke,p,a1,a2,a3,a4,a5,a6,a7,a8)
201 /*** IBasicVideo methods ***/
202 #define IBasicVideo_get_AvgTimePerFrame(p,a1) ICOM_CALL1(get_AvgTimePerFrame,p,a1)
203 #define IBasicVideo_get_BitRate(p,a1) ICOM_CALL1(get_BitRate,p,a1)
204 #define IBasicVideo_get_BitErrorRate(p,a1) ICOM_CALL1(get_BitErrorRate,p,a1)
205 #define IBasicVideo_get_VideoWidth(p,a1) ICOM_CALL1(get_VideoWidth,p,a1)
206 #define IBasicVideo_get_VideoHeight(p,a1) ICOM_CALL1(get_VideoHeight,p,a1)
207 #define IBasicVideo_put_SourceLeft(p,a1) ICOM_CALL1(put_SourceLeft,p,a1)
208 #define IBasicVideo_get_SourceLeft(p,a1) ICOM_CALL1(get_SourceLeft,p,a1)
209 #define IBasicVideo_put_SourceWidth(p,a1) ICOM_CALL1(put_SourceWidth,p,a1)
210 #define IBasicVideo_get_SourceWidth(p,a1) ICOM_CALL1(get_SourceWidth,p,a1)
211 #define IBasicVideo_put_SourceTop(p,a1) ICOM_CALL1(put_SourceTop,p,a1)
212 #define IBasicVideo_get_SourceTop(p,a1) ICOM_CALL1(get_SourceTop,p,a1)
213 #define IBasicVideo_put_SourceHeight(p,a1) ICOM_CALL1(put_SourceHeight,p,a1)
214 #define IBasicVideo_get_SourceHeight(p,a1) ICOM_CALL1(get_SourceHeight,p,a1)
215 #define IBasicVideo_put_DestinationLeft(p,a1) ICOM_CALL1(put_DestinationLeft,p,a1)
216 #define IBasicVideo_get_DestinationLeft(p,a1) ICOM_CALL1(get_DestinationLeft,p,a1)
217 #define IBasicVideo_put_DestinationWidth(p,a1) ICOM_CALL1(put_DestinationWidth,p,a1)
218 #define IBasicVideo_get_DestinationWidth(p,a1) ICOM_CALL1(get_DestinationWidth,p,a1)
219 #define IBasicVideo_put_DestinationTop(p,a1) ICOM_CALL1(put_DestinationTop,p,a1)
220 #define IBasicVideo_get_DestinationTop(p,a1) ICOM_CALL1(get_DestinationTop,p,a1)
221 #define IBasicVideo_put_DestinationHeight(p,a1) ICOM_CALL1(put_DestinationHeight,p,a1)
222 #define IBasicVideo_get_DestinationHeight(p,a1) ICOM_CALL1(get_DestinationHeight,p,a1)
223 #define IBasicVideo_SetSourcePosition(p,a1,a2,a3,a4) ICOM_CALL4(SetSourcePosition,p,a1,a2,a3,a4)
224 #define IBasicVideo_GetSourcePosition(p,a1,a2,a3,a4) ICOM_CALL4(GetSourcePosition,p,a1,a2,a3,a4)
225 #define IBasicVideo_SetDefaultSourcePosition(p) ICOM_CALL (SetDefaultSourcePosition,p)
226 #define IBasicVideo_SetDestinationPosition(p,a1,a2,a3,a4) ICOM_CALL4(SetDestinationPosition,p,a1,a2,a3,a4)
227 #define IBasicVideo_GetDestinationPosition(p,a1,a2,a3,a4) ICOM_CALL4(GetDestinationPosition,p,a1,a2,a3,a4)
228 #define IBasicVideo_SetDefaultDestinationPosition(p) ICOM_CALL (SetDefaultDestinationPosition,p)
229 #define IBasicVideo_GetVideoSize(p,a1,a2) ICOM_CALL2(GetVideoSize,p,a1,a2)
230 #define IBasicVideo_GetVideoPaletteEntries(p,a1,a2,a3,a4) ICOM_CALL4(GetVideoPaletteEntries,p,a1,a2,a3,a4)
231 #define IBasicVideo_GetCurrentImage(p,a1,a2) ICOM_CALL2(GetCurrentImage,p,a1,a2)
232 #define IBasicVideo_IsUsingDefaultSource(p) ICOM_CALL (IsUsingDefaultSource,p)
233 #define IBasicVideo_IsUsingDefaultDestination(p) ICOM_CALL (IsUsingDefaultDestination,p)
235 /**************************************************************************
237 * IBasicVideo2 interface
241 #define ICOM_INTERFACE IBasicVideo2
242 #define IBasicVideo2_METHODS \
243 ICOM_METHOD2(HRESULT,GetPreferredAspectRatio,long*,a1,long*,a2)
245 #define IBasicVideo2_IMETHODS \
246 IBasicVideo_IMETHODS \
247 IBasicVideo2_METHODS
249 ICOM_DEFINE(IBasicVideo2,IBasicVideo)
250 #undef ICOM_INTERFACE
252 /*** IUnknown methods ***/
253 #define IBasicVideo2_QueryInterface(p,a1,a2) ICOM_CALL2(QueryInterface,p,a1,a2)
254 #define IBasicVideo2_AddRef(p) ICOM_CALL (AddRef,p)
255 #define IBasicVideo2_Release(p) ICOM_CALL (Release,p)
256 /*** IDispatch methods ***/
257 #define IBasicVideo2_GetTypeInfoCount(p,a1) ICOM_CALL1(GetTypeInfoCount,p,a1)
258 #define IBasicVideo2_GetTypeInfo(p,a1,a2,a3) ICOM_CALL3(GetTypeInfo,p,a1,a2,a3)
259 #define IBasicVideo2_GetIDsOfNames(p,a1,a2,a3,a4,a5) ICOM_CALL5(GetIDsOfNames,p,a1,a2,a3,a4,a5)
260 #define IBasicVideo2_Invoke(p,a1,a2,a3,a4,a5,a6,a7,a8) ICOM_CALL8(Invoke,p,a1,a2,a3,a4,a5,a6,a7,a8)
261 /*** IBasicVideo methods ***/
262 #define IBasicVideo2_get_AvgTimePerFrame(p,a1) ICOM_CALL1(get_AvgTimePerFrame,p,a1)
263 #define IBasicVideo2_get_BitRate(p,a1) ICOM_CALL1(get_BitRate,p,a1)
264 #define IBasicVideo2_get_BitErrorRate(p,a1) ICOM_CALL1(get_BitErrorRate,p,a1)
265 #define IBasicVideo2_get_VideoWidth(p,a1) ICOM_CALL1(get_VideoWidth,p,a1)
266 #define IBasicVideo2_get_VideoHeight(p,a1) ICOM_CALL1(get_VideoHeight,p,a1)
267 #define IBasicVideo2_put_SourceLeft(p,a1) ICOM_CALL1(put_SourceLeft,p,a1)
268 #define IBasicVideo2_get_SourceLeft(p,a1) ICOM_CALL1(get_SourceLeft,p,a1)
269 #define IBasicVideo2_put_SourceWidth(p,a1) ICOM_CALL1(put_SourceWidth,p,a1)
270 #define IBasicVideo2_get_SourceWidth(p,a1) ICOM_CALL1(get_SourceWidth,p,a1)
271 #define IBasicVideo2_put_SourceTop(p,a1) ICOM_CALL1(put_SourceTop,p,a1)
272 #define IBasicVideo2_get_SourceTop(p,a1) ICOM_CALL1(get_SourceTop,p,a1)
273 #define IBasicVideo2_put_SourceHeight(p,a1) ICOM_CALL1(put_SourceHeight,p,a1)
274 #define IBasicVideo2_get_SourceHeight(p,a1) ICOM_CALL1(get_SourceHeight,p,a1)
275 #define IBasicVideo2_put_DestinationLeft(p,a1) ICOM_CALL1(put_DestinationLeft,p,a1)
276 #define IBasicVideo2_get_DestinationLeft(p,a1) ICOM_CALL1(get_DestinationLeft,p,a1)
277 #define IBasicVideo2_put_DestinationWidth(p,a1) ICOM_CALL1(put_DestinationWidth,p,a1)
278 #define IBasicVideo2_get_DestinationWidth(p,a1) ICOM_CALL1(get_DestinationWidth,p,a1)
279 #define IBasicVideo2_put_DestinationTop(p,a1) ICOM_CALL1(put_DestinationTop,p,a1)
280 #define IBasicVideo2_get_DestinationTop(p,a1) ICOM_CALL1(get_DestinationTop,p,a1)
281 #define IBasicVideo2_put_DestinationHeight(p,a1) ICOM_CALL1(put_DestinationHeight,p,a1)
282 #define IBasicVideo2_get_DestinationHeight(p,a1) ICOM_CALL1(get_DestinationHeight,p,a1)
283 #define IBasicVideo2_SetSourcePosition(p,a1,a2,a3,a4) ICOM_CALL4(SetSourcePosition,p,a1,a2,a3,a4)
284 #define IBasicVideo2_GetSourcePosition(p,a1,a2,a3,a4) ICOM_CALL4(GetSourcePosition,p,a1,a2,a3,a4)
285 #define IBasicVideo2_SetDefaultSourcePosition(p,a1) ICOM_CALL1(SetDefaultSourcePosition,p,a1)
286 #define IBasicVideo2_SetDestinationPosition(p,a1,a2,a3,a4) ICOM_CALL4(SetDestinationPosition,p,a1,a2,a3,a4)
287 #define IBasicVideo2_GetDestinationPosition(p,a1,a2,a3,a4) ICOM_CALL4(GetDestinationPosition,p,a1,a2,a3,a4)
288 #define IBasicVideo2_SetDefaultDestinationPosition(p,a1) ICOM_CALL1(SetDefaultDestinationPosition,p,a1)
289 #define IBasicVideo2_GetVideoSize(p,a1,a2) ICOM_CALL2(GetVideoSize,p,a1,a2)
290 #define IBasicVideo2_GetVideoPaletteEntries(p,a1,a2,a3,a4) ICOM_CALL4(GetVideoPaletteEntries,p,a1,a2,a3,a4)
291 #define IBasicVideo2_GetCurrentImage(p,a1,a2) ICOM_CALL2(GetCurrentImage,p,a1,a2)
292 #define IBasicVideo2_IsUsingDefaultSource(p,a1) ICOM_CALL1(IsUsingDefaultSource,p,a1)
293 #define IBasicVideo2_IsUsingDefaultDestination(p,a1) ICOM_CALL1(IsUsingDefaultDestination,p,a1)
294 /*** IBasicVideo2 methods ***/
295 #define IBasicVideo2_GetPreferredAspectRatio(p,a1,a2) ICOM_CALL2(GetPreferredAspectRatio,p,a1,a2)
297 /**************************************************************************
299 * IDeferredCommand interface
303 #define ICOM_INTERFACE IDeferredCommand
304 #define IDeferredCommand_METHODS \
305 ICOM_METHOD (HRESULT,Cancel) \
306 ICOM_METHOD1(HRESULT,Confidence,LONG*,a1) \
307 ICOM_METHOD1(HRESULT,Postpone,REFTIME,a1) \
308 ICOM_METHOD1(HRESULT,GetHResult,HRESULT*,a1)
310 #define IDeferredCommand_IMETHODS \
311 IUnknown_IMETHODS \
312 IDeferredCommand_METHODS
314 ICOM_DEFINE(IDeferredCommand,IUnknown)
315 #undef ICOM_INTERFACE
317 /*** IUnknown methods ***/
318 #define IDeferredCommand_QueryInterface(p,a1,a2) ICOM_CALL2(QueryInterface,p,a1,a2)
319 #define IDeferredCommand_AddRef(p) ICOM_CALL (AddRef,p)
320 #define IDeferredCommand_Release(p) ICOM_CALL (Release,p)
321 /*** IDeferredCommand methods ***/
322 #define IDeferredCommand_Cancel(p) ICOM_CALL1(Cancel,p)
323 #define IDeferredCommand_Confidence(p,a1) ICOM_CALL1(Confidence,p,a1)
324 #define IDeferredCommand_Postpone(p,a1) ICOM_CALL1(Postpone,p,a1)
325 #define IDeferredCommand_GetHResult(p,a1) ICOM_CALL1(GetHResult,p,a1)
327 /**************************************************************************
329 * IFilterInfo interface
333 #define ICOM_INTERFACE IFilterInfo
334 #define IFilterInfo_METHODS \
335 ICOM_METHOD2(HRESULT,FindPin,BSTR,a1,IDispatch**,a2) \
336 ICOM_METHOD1(HRESULT,get_Name,BSTR*,a1) \
337 ICOM_METHOD1(HRESULT,get_VendorInfo,BSTR*,a1) \
338 ICOM_METHOD1(HRESULT,get_Filter,IUnknown**,a1) \
339 ICOM_METHOD1(HRESULT,get_Pins,IDispatch**,a1) \
340 ICOM_METHOD1(HRESULT,get_IsFileSource,LONG*,a1) \
341 ICOM_METHOD1(HRESULT,get_Filename,BSTR*,a1) \
342 ICOM_METHOD1(HRESULT,put_Filename,BSTR,a1)
344 #define IFilterInfo_IMETHODS \
345 IDispatch_IMETHODS \
346 IFilterInfo_METHODS
348 ICOM_DEFINE(IFilterInfo,IDispatch)
349 #undef ICOM_INTERFACE
351 /*** IUnknown methods ***/
352 #define IFilterInfo_QueryInterface(p,a1,a2) ICOM_CALL2(QueryInterface,p,a1,a2)
353 #define IFilterInfo_AddRef(p) ICOM_CALL (AddRef,p)
354 #define IFilterInfo_Release(p) ICOM_CALL (Release,p)
355 /*** IDispatch methods ***/
356 #define IFilterInfo_GetTypeInfoCount(p,a1) ICOM_CALL1(GetTypeInfoCount,p,a1)
357 #define IFilterInfo_GetTypeInfo(p,a1,a2,a3) ICOM_CALL3(GetTypeInfo,p,a1,a2,a3)
358 #define IFilterInfo_GetIDsOfNames(p,a1,a2,a3,a4,a5) ICOM_CALL5(GetIDsOfNames,p,a1,a2,a3,a4,a5)
359 #define IFilterInfo_Invoke(p,a1,a2,a3,a4,a5,a6,a7,a8) ICOM_CALL8(Invoke,p,a1,a2,a3,a4,a5,a6,a7,a8)
360 /*** IFilterInfo methods ***/
361 #define IFilterInfo_FindPin(p,a1,a2) ICOM_CALL2(FindPin,p,a1,a2)
362 #define IFilterInfo_get_Name(p,a1) ICOM_CALL1(get_Name,p,a1)
363 #define IFilterInfo_get_VendorInfo(p,a1) ICOM_CALL1(get_VendorInfo,p,a1)
364 #define IFilterInfo_get_Filter(p,a1) ICOM_CALL1(get_Filter,p,a1)
365 #define IFilterInfo_get_Pins(p,a1) ICOM_CALL1(get_Pins,p,a1)
366 #define IFilterInfo_get_IsFileSource(p,a1) ICOM_CALL1(get_IsFileSource,p,a1)
367 #define IFilterInfo_get_Filename(p,a1) ICOM_CALL1(get_Filename,p,a1)
368 #define IFilterInfo_put_Filename(p,a1) ICOM_CALL1(put_Filename,p,a1)
370 /**************************************************************************
372 * IMediaControl interface
376 #define ICOM_INTERFACE IMediaControl
377 #define IMediaControl_METHODS \
378 ICOM_METHOD (HRESULT,Run) \
379 ICOM_METHOD (HRESULT,Pause) \
380 ICOM_METHOD (HRESULT,Stop) \
381 ICOM_METHOD2(HRESULT,GetState,LONG,a1,OAFilterState*,a2) \
382 ICOM_METHOD1(HRESULT,RenderFile,BSTR,a1) \
383 ICOM_METHOD2(HRESULT,AddSourceFilter,BSTR,a1,IDispatch**,a2) \
384 ICOM_METHOD1(HRESULT,get_FilterCollection,IDispatch**,a1) \
385 ICOM_METHOD1(HRESULT,get_RegFilterCollection,IDispatch**,a1) \
386 ICOM_METHOD (HRESULT,StopWhenReady)
388 #define IMediaControl_IMETHODS \
389 IDispatch_IMETHODS \
390 IMediaControl_METHODS
392 ICOM_DEFINE(IMediaControl,IDispatch)
393 #undef ICOM_INTERFACE
395 /*** IUnknown methods ***/
396 #define IMediaControl_QueryInterface(p,a1,a2) ICOM_CALL2(QueryInterface,p,a1,a2)
397 #define IMediaControl_AddRef(p) ICOM_CALL (AddRef,p)
398 #define IMediaControl_Release(p) ICOM_CALL (Release,p)
399 /*** IDispatch methods ***/
400 #define IMediaControl_GetTypeInfoCount(p,a1) ICOM_CALL1(GetTypeInfoCount,p,a1)
401 #define IMediaControl_GetTypeInfo(p,a1,a2,a3) ICOM_CALL3(GetTypeInfo,p,a1,a2,a3)
402 #define IMediaControl_GetIDsOfNames(p,a1,a2,a3,a4,a5) ICOM_CALL5(GetIDsOfNames,p,a1,a2,a3,a4,a5)
403 #define IMediaControl_Invoke(p,a1,a2,a3,a4,a5,a6,a7,a8) ICOM_CALL8(Invoke,p,a1,a2,a3,a4,a5,a6,a7,a8)
404 /*** IMediaControl methods ***/
405 #define IMediaControl_Run(p) ICOM_CALL (Run,p)
406 #define IMediaControl_Pause(p) ICOM_CALL (Pause,p)
407 #define IMediaControl_Stop(p) ICOM_CALL (Stop,p)
408 #define IMediaControl_GetState(p,a1,a2) ICOM_CALL2(GetState,p,a1,a2)
409 #define IMediaControl_RenderFile(p,a1) ICOM_CALL1(RenderFile,p,a1)
410 #define IMediaControl_AddSourceFilter(p,a1,a2) ICOM_CALL2(AddSourceFilter,p,a1,a2)
411 #define IMediaControl_get_FilterCollection(p,a1) ICOM_CALL1(get_FilterCollection,p,a1)
412 #define IMediaControl_get_RegFilterCollection(p,a1) ICOM_CALL1(get_RegFilterCollection,p,a1)
413 #define IMediaControl_StopWhenReady(p) ICOM_CALL (StopWhenReady,p)
415 /**************************************************************************
417 * IMediaEvent interface
421 #define ICOM_INTERFACE IMediaEvent
422 #define IMediaEvent_METHODS \
423 ICOM_METHOD1(HRESULT,GetEventHandle,OAEVENT*,a1) \
424 ICOM_METHOD4(HRESULT,GetEvent,long*,a1,LONG_PTR*,a2,LONG_PTR*,a3,long,a4) \
425 ICOM_METHOD2(HRESULT,WaitForCompletion,long,a1,long*,a2) \
426 ICOM_METHOD1(HRESULT,CancelDefaultHandling,long,a1) \
427 ICOM_METHOD1(HRESULT,RestoreDefaultHandling,long,a1) \
428 ICOM_METHOD3(HRESULT,FreeEventParams,long,a1,LONG_PTR,a2,LONG_PTR,a3)
430 #define IMediaEvent_IMETHODS \
431 IDispatch_IMETHODS \
432 IMediaEvent_METHODS
434 ICOM_DEFINE(IMediaEvent,IDispatch)
435 #undef ICOM_INTERFACE
437 /*** IUnknown methods ***/
438 #define IMediaEvent_QueryInterface(p,a1,a2) ICOM_CALL2(QueryInterface,p,a1,a2)
439 #define IMediaEvent_AddRef(p) ICOM_CALL (AddRef,p)
440 #define IMediaEvent_Release(p) ICOM_CALL (Release,p)
441 /*** IDispatch methods ***/
442 #define IMediaEvent_GetTypeInfoCount(p,a1) ICOM_CALL1(GetTypeInfoCount,p,a1)
443 #define IMediaEvent_GetTypeInfo(p,a1,a2,a3) ICOM_CALL3(GetTypeInfo,p,a1,a2,a3)
444 #define IMediaEvent_GetIDsOfNames(p,a1,a2,a3,a4,a5) ICOM_CALL5(GetIDsOfNames,p,a1,a2,a3,a4,a5)
445 #define IMediaEvent_Invoke(p,a1,a2,a3,a4,a5,a6,a7,a8) ICOM_CALL8(Invoke,p,a1,a2,a3,a4,a5,a6,a7,a8)
446 /*** IMediaEvent methods ***/
447 #define IMediaEvent_GetEventHandle(p,a1) ICOM_CALL1(GetEventHandle,p,a1)
448 #define IMediaEvent_GetEvent(p,a1,a2,a3,a4) ICOM_CALL4(GetEvent,p,a1,a2,a3,a4)
449 #define IMediaEvent_WaitForCompletion(p,a1,a2) ICOM_CALL2(WaitForCompletion,p,a1,a2)
450 #define IMediaEvent_CancelDefaultHandling(p,a1) ICOM_CALL1(CancelDefaultHandling,p,a1)
451 #define IMediaEvent_RestoreDefaultHandling(p,a1) ICOM_CALL1(RestoreDefaultHandling,p,a1)
452 #define IMediaEvent_FreeEventParams(p,a1,a2,a3) ICOM_CALL3(FreeEventParams,p,a1,a2,a3)
454 /**************************************************************************
456 * IMediaEventEx interface
460 #define ICOM_INTERFACE IMediaEventEx
461 #define IMediaEventEx_METHODS \
462 ICOM_METHOD3(HRESULT,SetNotifyWindow,OAHWND,a1,long,a2,LONG_PTR,a3) \
463 ICOM_METHOD1(HRESULT,SetNotifyFlags,long,a1) \
464 ICOM_METHOD1(HRESULT,GetNotifyFlags,long*,a1)
466 #define IMediaEventEx_IMETHODS \
467 IMediaEvent_IMETHODS \
468 IMediaEventEx_METHODS
470 ICOM_DEFINE(IMediaEventEx,IMediaEvent)
471 #undef ICOM_INTERFACE
473 /*** IUnknown methods ***/
474 #define IMediaEventEx_QueryInterface(p,a1,a2) ICOM_CALL2(QueryInterface,p,a1,a2)
475 #define IMediaEventEx_AddRef(p) ICOM_CALL (AddRef,p)
476 #define IMediaEventEx_Release(p) ICOM_CALL (Release,p)
477 /*** IDispatch methods ***/
478 #define IMediaEventEx_GetTypeInfoCount(p,a1) ICOM_CALL1(GetTypeInfoCount,p,a1)
479 #define IMediaEventEx_GetTypeInfo(p,a1,a2,a3) ICOM_CALL3(GetTypeInfo,p,a1,a2,a3)
480 #define IMediaEventEx_GetIDsOfNames(p,a1,a2,a3,a4,a5) ICOM_CALL5(GetIDsOfNames,p,a1,a2,a3,a4,a5)
481 #define IMediaEventEx_Invoke(p,a1,a2,a3,a4,a5,a6,a7,a8) ICOM_CALL8(Invoke,p,a1,a2,a3,a4,a5,a6,a7,a8)
482 /*** IMediaEvent methods ***/
483 #define IMediaEventEx_GetEventHandle(p,a1) ICOM_CALL1(GetEventHandle,p,a1)
484 #define IMediaEventEx_GetEvent(p,a1,a2,a3,a4) ICOM_CALL4(GetEvent,p,a1,a2,a3,a4)
485 #define IMediaEventEx_WaitForCompletion(p,a1,a2) ICOM_CALL2(WaitForCompletion,p,a1,a2)
486 #define IMediaEventEx_CancelDefaultHandling(p,a1) ICOM_CALL1(CancelDefaultHandling,p,a1)
487 #define IMediaEventEx_RestoreDefaultHandling(p,a1) ICOM_CALL1(RestoreDefaultHandling,p,a1)
488 #define IMediaEventEx_FreeEventParams(p,a1,a2,a3) ICOM_CALL3(FreeEventParams,p,a1,a2,a3)
489 /*** IMediaEventEx methods ***/
490 #define IMediaEventEx_SetNotifyWindow(p,a1,a2,a3) ICOM_CALL3(SetNotifyWindow,p,a1,a2,a3)
491 #define IMediaEventEx_SetNotifyFlags(p,a1) ICOM_CALL1(SetNotifyFlags,p,a1)
492 #define IMediaEventEx_GetNotifyFlags(p,a1) ICOM_CALL1(GetNotifyFlags,p,a1)
494 /**************************************************************************
496 * IMediaPosition interface
500 #define ICOM_INTERFACE IMediaPosition
501 #define IMediaPosition_METHODS \
502 ICOM_METHOD1(HRESULT,get_Duration,REFTIME*,a1) \
503 ICOM_METHOD1(HRESULT,put_CurrentPosition,REFTIME,a1) \
504 ICOM_METHOD1(HRESULT,get_CurrentPosition,REFTIME*,a1) \
505 ICOM_METHOD1(HRESULT,get_StopTime,REFTIME*,a1) \
506 ICOM_METHOD1(HRESULT,put_StopTime,REFTIME,a1) \
507 ICOM_METHOD1(HRESULT,get_PrerollTime,REFTIME*,a1) \
508 ICOM_METHOD1(HRESULT,put_PrerollTime,REFTIME,a1) \
509 ICOM_METHOD1(HRESULT,put_Rate,double,a1) \
510 ICOM_METHOD1(HRESULT,get_Rate,double*,a1) \
511 ICOM_METHOD1(HRESULT,CanSeekForward,LONG*,a1) \
512 ICOM_METHOD1(HRESULT,CanSeekBackward,LONG*,a1)
514 #define IMediaPosition_IMETHODS \
515 IDispatch_IMETHODS \
516 IMediaPosition_METHODS
518 ICOM_DEFINE(IMediaPosition,IDispatch)
519 #undef ICOM_INTERFACE
521 /*** IUnknown methods ***/
522 #define IMediaPosition_QueryInterface(p,a1,a2) ICOM_CALL2(QueryInterface,p,a1,a2)
523 #define IMediaPosition_AddRef(p) ICOM_CALL (AddRef,p)
524 #define IMediaPosition_Release(p) ICOM_CALL (Release,p)
525 /*** IDispatch methods ***/
526 #define IMediaPosition_GetTypeInfoCount(p,a1) ICOM_CALL1(GetTypeInfoCount,p,a1)
527 #define IMediaPosition_GetTypeInfo(p,a1,a2,a3) ICOM_CALL3(GetTypeInfo,p,a1,a2,a3)
528 #define IMediaPosition_GetIDsOfNames(p,a1,a2,a3,a4,a5) ICOM_CALL5(GetIDsOfNames,p,a1,a2,a3,a4,a5)
529 #define IMediaPosition_Invoke(p,a1,a2,a3,a4,a5,a6,a7,a8) ICOM_CALL8(Invoke,p,a1,a2,a3,a4,a5,a6,a7,a8)
530 /*** IMediaPosition methods ***/
531 #define IMediaPosition_get_Duration(p,a1) ICOM_CALL1(get_Duration,p,a1)
532 #define IMediaPosition_put_CurrentPosition(p,a1) ICOM_CALL1(put_CurrentPosition,p,a1)
533 #define IMediaPosition_get_CurrentPosition(p,a1) ICOM_CALL1(get_CurrentPosition,p,a1)
534 #define IMediaPosition_get_StopTime(p,a1) ICOM_CALL1(get_StopTime,p,a1)
535 #define IMediaPosition_put_StopTime(p,a1) ICOM_CALL1(put_StopTime,p,a1)
536 #define IMediaPosition_get_PrerollTime(p,a1) ICOM_CALL1(get_PrerollTime,p,a1)
537 #define IMediaPosition_put_PrerollTime(p,a1) ICOM_CALL1(put_PrerollTime,p,a1)
538 #define IMediaPosition_put_Rate(p,a1) ICOM_CALL1(put_Rate,p,a1)
539 #define IMediaPosition_get_Rate(p,a1) ICOM_CALL1(get_Rate,p,a1)
540 #define IMediaPosition_CanSeekForward(p,a1) ICOM_CALL1(CanSeekForward,p,a1)
541 #define IMediaPosition_CanSeekBackward(p,a1) ICOM_CALL1(CanSeekBackward,p,a1)
543 /**************************************************************************
545 * IMediaTypeInfo interface
549 #define ICOM_INTERFACE IMediaTypeInfo
550 #define IMediaTypeInfo_METHODS \
551 ICOM_METHOD1(HRESULT,get_Type,BSTR*,a1) \
552 ICOM_METHOD1(HRESULT,get_Subtype,BSTR*,a1)
554 #define IMediaTypeInfo_IMETHODS \
555 IDispatch_IMETHODS \
556 IMediaTypeInfo_METHODS
558 ICOM_DEFINE(IMediaTypeInfo,IDispatch)
559 #undef ICOM_INTERFACE
561 /*** IUnknown methods ***/
562 #define IMediaTypeInfo_QueryInterface(p,a1,a2) ICOM_CALL2(QueryInterface,p,a1,a2)
563 #define IMediaTypeInfo_AddRef(p) ICOM_CALL (AddRef,p)
564 #define IMediaTypeInfo_Release(p) ICOM_CALL (Release,p)
565 /*** IDispatch methods ***/
566 #define IMediaTypeInfo_GetTypeInfoCount(p,a1) ICOM_CALL1(GetTypeInfoCount,p,a1)
567 #define IMediaTypeInfo_GetTypeInfo(p,a1,a2,a3) ICOM_CALL3(GetTypeInfo,p,a1,a2,a3)
568 #define IMediaTypeInfo_GetIDsOfNames(p,a1,a2,a3,a4,a5) ICOM_CALL5(GetIDsOfNames,p,a1,a2,a3,a4,a5)
569 #define IMediaTypeInfo_Invoke(p,a1,a2,a3,a4,a5,a6,a7,a8) ICOM_CALL8(Invoke,p,a1,a2,a3,a4,a5,a6,a7,a8)
570 /*** IMediaTypeInfo methods ***/
571 #define IMediaTypeInfo_get_Type(p,a1) ICOM_CALL1(get_Type,p,a1)
572 #define IMediaTypeInfo_get_Subtype(p,a1) ICOM_CALL1(get_Subtype,p,a1)
574 /**************************************************************************
576 * IPinInfo interface
580 #define ICOM_INTERFACE IPinInfo
581 #define IPinInfo_METHODS \
582 ICOM_METHOD1(HRESULT,get_Pin,IUnknown**,a1) \
583 ICOM_METHOD1(HRESULT,get_ConnectedTo,IDispatch**,a1) \
584 ICOM_METHOD1(HRESULT,get_ConnectionMediaType,IDispatch**,a1) \
585 ICOM_METHOD1(HRESULT,get_FilterInfo,IDispatch**,a1) \
586 ICOM_METHOD1(HRESULT,get_Name,BSTR*,a1) \
587 ICOM_METHOD1(HRESULT,get_Direction,LONG*,a1) \
588 ICOM_METHOD1(HRESULT,get_PinID,BSTR*,a1) \
589 ICOM_METHOD1(HRESULT,get_MediaTypes,IDispatch**,a1) \
590 ICOM_METHOD1(HRESULT,Connect,IUnknown*,a1) \
591 ICOM_METHOD1(HRESULT,ConnectDirect,IUnknown*,a1) \
592 ICOM_METHOD2(HRESULT,ConnectWithType,IUnknown*,a1,IDispatch*,a2) \
593 ICOM_METHOD (HRESULT,Disconnect) \
594 ICOM_METHOD (HRESULT,Render)
596 #define IPinInfo_IMETHODS \
597 IDispatch_IMETHODS \
598 IPinInfo_METHODS
600 ICOM_DEFINE(IPinInfo,IDispatch)
601 #undef ICOM_INTERFACE
603 /*** IUnknown methods ***/
604 #define IPinInfo_QueryInterface(p,a1,a2) ICOM_CALL2(QueryInterface,p,a1,a2)
605 #define IPinInfo_AddRef(p) ICOM_CALL (AddRef,p)
606 #define IPinInfo_Release(p) ICOM_CALL (Release,p)
607 /*** IDispatch methods ***/
608 #define IPinInfo_GetTypeInfoCount(p,a1) ICOM_CALL1(GetTypeInfoCount,p,a1)
609 #define IPinInfo_GetTypeInfo(p,a1,a2,a3) ICOM_CALL3(GetTypeInfo,p,a1,a2,a3)
610 #define IPinInfo_GetIDsOfNames(p,a1,a2,a3,a4,a5) ICOM_CALL5(GetIDsOfNames,p,a1,a2,a3,a4,a5)
611 #define IPinInfo_Invoke(p,a1,a2,a3,a4,a5,a6,a7,a8) ICOM_CALL8(Invoke,p,a1,a2,a3,a4,a5,a6,a7,a8)
612 /*** IPinInfo methods ***/
613 #define IPinInfo_get_Pin(p,a1) ICOM_CALL1(get_Pin,p,a1)
614 #define IPinInfo_get_ConnectedTo(p,a1) ICOM_CALL1(get_ConnectedTo,p,a1)
615 #define IPinInfo_get_ConnectionMediaType(p,a1) ICOM_CALL1(get_ConnectionMediaType,p,a1)
616 #define IPinInfo_get_FilterInfo(p,a1) ICOM_CALL1(get_FilterInfo,p,a1)
617 #define IPinInfo_get_Name(p,a1) ICOM_CALL1(get_Name,p,a1)
618 #define IPinInfo_get_Direction(p,a1) ICOM_CALL1(get_Direction,p,a1)
619 #define IPinInfo_get_PinID(p,a1) ICOM_CALL1(get_PinID,p,a1)
620 #define IPinInfo_get_MediaTypes(p,a1) ICOM_CALL1(get_MediaTypes,p,a1)
621 #define IPinInfo_Connect(p,a1) ICOM_CALL1(Connect,p,a1)
622 #define IPinInfo_ConnectDirect(p,a1) ICOM_CALL1(ConnectDirect,p,a1)
623 #define IPinInfo_ConnectWithType(p,a1,a2) ICOM_CALL2(ConnectWithType,p,a1,a2)
624 #define IPinInfo_Disconnect(p) ICOM_CALL (Disconnect,p)
625 #define IPinInfo_Render(p) ICOM_CALL (Render,p)
627 /**************************************************************************
629 * IQueueCommand interface
633 #define ICOM_INTERFACE IQueueCommand
634 #define IQueueCommand_METHODS \
635 ICOM_METHOD9(HRESULT,InvokeAtStreamTime,IDeferredCommand**,a1,REFTIME,a2,GUID*,a3,long,a4,short,a5,long,a6,VARIANT*,a7,VARIANT*,a8,short*,a9) \
636 ICOM_METHOD9(HRESULT,InvokeAtPresentationTime,IDeferredCommand**,a1,REFTIME,a2,GUID*,a3,long,a4,short,a5,long,a6,VARIANT*,a7,VARIANT*,a8,short*,a9)
638 #define IQueueCommand_IMETHODS \
639 IUnknown_IMETHODS \
640 IQueueCommand_METHODS
642 ICOM_DEFINE(IQueueCommand,IUnknown)
643 #undef ICOM_INTERFACE
645 /*** IUnknown methods ***/
646 #define IQueueCommand_QueryInterface(p,a1,a2) ICOM_CALL2(QueryInterface,p,a1,a2)
647 #define IQueueCommand_AddRef(p) ICOM_CALL (AddRef,p)
648 #define IQueueCommand_Release(p) ICOM_CALL (Release,p)
649 /*** IQueueCommand methods ***/
650 #define IQueueCommand_InvokeAtStreamTime(p,a1,a2,a3,a4,a5,a6,a7,a8,a9) ICOM_CALL9(InvokeAtStreamTime,p,a1,a2,a3,a4,a5,a6,a7,a8,a9)
651 #define IQueueCommand_InvokeAtPresentationTime(p,a1,a2,a3,a4,a5,a6,a7,a8,a9) ICOM_CALL9(InvokeAtPresentationTime,p,a1,a2,a3,a4,a5,a6,a7,a8,a9)
653 /**************************************************************************
655 * IRegFilterInfo interface
659 #define ICOM_INTERFACE IRegFilterInfo
660 #define IRegFilterInfo_METHODS \
661 ICOM_METHOD1(HRESULT,get_Name,BSTR*,a1) \
662 ICOM_METHOD1(HRESULT,Filter,IDispatch**,a1)
664 #define IRegFilterInfo_IMETHODS \
665 IDispatch_IMETHODS \
666 IRegFilterInfo_METHODS
668 ICOM_DEFINE(IRegFilterInfo,IDispatch)
669 #undef ICOM_INTERFACE
671 /*** IUnknown methods ***/
672 #define IRegFilterInfo_QueryInterface(p,a1,a2) ICOM_CALL2(QueryInterface,p,a1,a2)
673 #define IRegFilterInfo_AddRef(p) ICOM_CALL (AddRef,p)
674 #define IRegFilterInfo_Release(p) ICOM_CALL (Release,p)
675 /*** IDispatch methods ***/
676 #define IRegFilterInfo_GetTypeInfoCount(p,a1) ICOM_CALL1(GetTypeInfoCount,p,a1)
677 #define IRegFilterInfo_GetTypeInfo(p,a1,a2,a3) ICOM_CALL3(GetTypeInfo,p,a1,a2,a3)
678 #define IRegFilterInfo_GetIDsOfNames(p,a1,a2,a3,a4,a5) ICOM_CALL5(GetIDsOfNames,p,a1,a2,a3,a4,a5)
679 #define IRegFilterInfo_Invoke(p,a1,a2,a3,a4,a5,a6,a7,a8) ICOM_CALL8(Invoke,p,a1,a2,a3,a4,a5,a6,a7,a8)
680 /*** IRegFilterInfo methods ***/
681 #define IRegFilterInfo_get_Name(p,a1) ICOM_CALL1(get_Name,p,a1)
682 #define IRegFilterInfo_Filter(p,a1) ICOM_CALL1(Filter,p,a1)
684 /**************************************************************************
686 * IVideoWindow interface
690 #define ICOM_INTERFACE IVideoWindow
691 #define IVideoWindow_METHODS \
692 ICOM_METHOD1(HRESULT,put_Caption,BSTR,a1) \
693 ICOM_METHOD1(HRESULT,get_Caption,BSTR*,a1) \
694 ICOM_METHOD1(HRESULT,put_WindowStyle,long,a1) \
695 ICOM_METHOD1(HRESULT,get_WindowStyle,long*,a1) \
696 ICOM_METHOD1(HRESULT,put_WindowStyleEx,long,a1) \
697 ICOM_METHOD1(HRESULT,get_WindowStyleEx,long*,a1) \
698 ICOM_METHOD1(HRESULT,put_AutoShow,long,a1) \
699 ICOM_METHOD1(HRESULT,get_AutoShow,long*,a1) \
700 ICOM_METHOD1(HRESULT,put_WindowState,long,a1) \
701 ICOM_METHOD1(HRESULT,get_WindowState,long*,a1) \
702 ICOM_METHOD1(HRESULT,put_BackgroundPalette,long,a1) \
703 ICOM_METHOD1(HRESULT,get_BackgroundPalette,long*,a1) \
704 ICOM_METHOD1(HRESULT,put_Visible,long,a1) \
705 ICOM_METHOD1(HRESULT,get_Visible,long*,a1) \
706 ICOM_METHOD1(HRESULT,put_Left,long,a1) \
707 ICOM_METHOD1(HRESULT,get_Left,long*,a1) \
708 ICOM_METHOD1(HRESULT,put_Width,long,a1) \
709 ICOM_METHOD1(HRESULT,get_Width,long*,a1) \
710 ICOM_METHOD1(HRESULT,put_Top,long,a1) \
711 ICOM_METHOD1(HRESULT,get_Top,long*,a1) \
712 ICOM_METHOD1(HRESULT,put_Height,long,a1) \
713 ICOM_METHOD1(HRESULT,get_Height,long*,a1) \
714 ICOM_METHOD1(HRESULT,put_Owner,OAHWND,a1) \
715 ICOM_METHOD1(HRESULT,get_Owner,OAHWND*,a1) \
716 ICOM_METHOD1(HRESULT,put_MessageDrain,OAHWND,a1) \
717 ICOM_METHOD1(HRESULT,get_MessageDrain,OAHWND*,a1) \
718 ICOM_METHOD1(HRESULT,get_BorderColor,long*,a1) \
719 ICOM_METHOD1(HRESULT,put_BorderColor,long,a1) \
720 ICOM_METHOD1(HRESULT,get_FullScreenMode,long*,a1) \
721 ICOM_METHOD1(HRESULT,put_FullScreenMode,long,a1) \
722 ICOM_METHOD1(HRESULT,SetWindowForeground,long,a1) \
723 ICOM_METHOD4(HRESULT,NotifyOwnerMessage,OAHWND,a1,long,a2,LONG_PTR,a3,LONG_PTR,a4) \
724 ICOM_METHOD4(HRESULT,SetWindowPosition,long,a1,long,a2,long,a3,long,a4) \
725 ICOM_METHOD4(HRESULT,GetWindowPosition,long*,a1,long*,a2,long*,a3,long*,a4) \
726 ICOM_METHOD2(HRESULT,GetMinIdealImageSize,long*,a1,long*,a2) \
727 ICOM_METHOD2(HRESULT,GetMaxIdealImageSize,long*,a1,long*,a2) \
728 ICOM_METHOD4(HRESULT,GetRestorePosition,long*,a1,long*,a2,long*,a3,long*,a4) \
729 ICOM_METHOD1(HRESULT,HideCursor,long,a1) \
730 ICOM_METHOD1(HRESULT,IsCursorHidden,long*,a1)
732 #define IVideoWindow_IMETHODS \
733 IDispatch_IMETHODS \
734 IVideoWindow_METHODS
736 ICOM_DEFINE(IVideoWindow,IDispatch)
737 #undef ICOM_INTERFACE
739 /*** IUnknown methods ***/
740 #define IVideoWindow_QueryInterface(p,a1,a2) ICOM_CALL2(QueryInterface,p,a1,a2)
741 #define IVideoWindow_AddRef(p) ICOM_CALL (AddRef,p)
742 #define IVideoWindow_Release(p) ICOM_CALL (Release,p)
743 /*** IDispatch methods ***/
744 #define IVideoWindow_GetTypeInfoCount(p,a1) ICOM_CALL1(GetTypeInfoCount,p,a1)
745 #define IVideoWindow_GetTypeInfo(p,a1,a2,a3) ICOM_CALL3(GetTypeInfo,p,a1,a2,a3)
746 #define IVideoWindow_GetIDsOfNames(p,a1,a2,a3,a4,a5) ICOM_CALL5(GetIDsOfNames,p,a1,a2,a3,a4,a5)
747 #define IVideoWindow_Invoke(p,a1,a2,a3,a4,a5,a6,a7,a8) ICOM_CALL8(Invoke,p,a1,a2,a3,a4,a5,a6,a7,a8)
748 /*** IVideoWindow methods ***/
749 #define IVideoWindow_put_Caption(p,a1) ICOM_CALL1(put_Caption,p,a1)
750 #define IVideoWindow_get_Caption(p,a1) ICOM_CALL1(get_Caption,p,a1)
751 #define IVideoWindow_put_WindowStyle(p,a1) ICOM_CALL1(put_WindowStyle,p,a1)
752 #define IVideoWindow_get_WindowStyle(p,a1) ICOM_CALL1(get_WindowStyle,p,a1)
753 #define IVideoWindow_put_WindowStyleEx(p,a1) ICOM_CALL1(put_WindowStyleEx,p,a1)
754 #define IVideoWindow_get_WindowStyleEx(p,a1) ICOM_CALL1(get_WindowStyleEx,p,a1)
755 #define IVideoWindow_put_AutoShow(p,a1) ICOM_CALL1(put_AutoShow,p,a1)
756 #define IVideoWindow_get_AutoShow(p,a1) ICOM_CALL1(get_AutoShow,p,a1)
757 #define IVideoWindow_put_WindowState(p,a1) ICOM_CALL1(put_WindowState,p,a1)
758 #define IVideoWindow_get_WindowState(p,a1) ICOM_CALL1(get_WindowState,p,a1)
759 #define IVideoWindow_put_BackgroundPalette(p,a1) ICOM_CALL1(put_BackgroundPalette,p,a1)
760 #define IVideoWindow_get_BackgroundPalette(p,a1) ICOM_CALL1(get_BackgroundPalette,p,a1)
761 #define IVideoWindow_put_Visible(p,a1) ICOM_CALL1(put_Visible,p,a1)
762 #define IVideoWindow_get_Visible(p,a1) ICOM_CALL1(get_Visible,p,a1)
763 #define IVideoWindow_put_Left(p,a1) ICOM_CALL1(put_Left,p,a1)
764 #define IVideoWindow_get_Left(p,a1) ICOM_CALL1(get_Left,p,a1)
765 #define IVideoWindow_put_Width(p,a1) ICOM_CALL1(put_Width,p,a1)
766 #define IVideoWindow_get_Width(p,a1) ICOM_CALL1(get_Width,p,a1)
767 #define IVideoWindow_put_Top(p,a1) ICOM_CALL1(put_Top,p,a1)
768 #define IVideoWindow_get_Top(p,a1) ICOM_CALL1(get_Top,p,a1)
769 #define IVideoWindow_put_Height(p,a1) ICOM_CALL1(put_Height,p,a1)
770 #define IVideoWindow_get_Height(p,a1) ICOM_CALL1(get_Height,p,a1)
771 #define IVideoWindow_put_Owner(p,a1) ICOM_CALL1(put_Owner,p,a1)
772 #define IVideoWindow_get_Owner(p,a1) ICOM_CALL1(get_Owner,p,a1)
773 #define IVideoWindow_put_MessageDrain(p,a1) ICOM_CALL1(put_MessageDrain,p,a1)
774 #define IVideoWindow_get_MessageDrain(p,a1) ICOM_CALL1(get_MessageDrain,p,a1)
775 #define IVideoWindow_get_BorderColor(p,a1) ICOM_CALL1(get_BorderColor,p,a1)
776 #define IVideoWindow_put_BorderColor(p,a1) ICOM_CALL1(put_BorderColor,p,a1)
777 #define IVideoWindow_get_FullScreenMode(p,a1) ICOM_CALL1(get_FullScreenMode,p,a1)
778 #define IVideoWindow_put_FullScreenMode(p,a1) ICOM_CALL1(put_FullScreenMode,p,a1)
779 #define IVideoWindow_SetWindowForeground(p,a1) ICOM_CALL1(SetWindowForeground,p,a1)
780 #define IVideoWindow_NotifyOwnerMessage(p,a1,a2,a3,a4) ICOM_CALL4(NotifyOwnerMessage,p,a1,a2,a3,a4)
781 #define IVideoWindow_SetWindowPosition(p,a1,a2,a3,a4) ICOM_CALL4(SetWindowPosition,p,a1,a2,a3,a4)
782 #define IVideoWindow_GetWindowPosition(p,a1,a2,a3,a4) ICOM_CALL4(GetWindowPosition,p,a1,a2,a3,a4)
783 #define IVideoWindow_GetMinIdealImageSize(p,a1,a2) ICOM_CALL2(GetMinIdealImageSize,p,a1,a2)
784 #define IVideoWindow_GetMaxIdealImageSize(p,a1,a2) ICOM_CALL2(GetMaxIdealImageSize,p,a1,a2)
785 #define IVideoWindow_GetRestorePosition(p,a1,a2,a3,a4) ICOM_CALL4(GetRestorePosition,p,a1,a2,a3,a4)
786 #define IVideoWindow_HideCursor(p,a1) ICOM_CALL1(HideCursor,p,a1)
787 #define IVideoWindow_IsCursorHidden(p,a1) ICOM_CALL1(IsCursorHidden,p,a1)
789 #endif /* __WINE_CONTROL_H_ */