Debian Codegraph @

mingw-w64-headers/include/strmif.idl

raw
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6
7 import "unknwn.idl";
8 import "objidl.idl";
9
10 #include "devenum.idl"
11 #include "axcore.idl"
12 #include "axextend.idl"
13 #include "dyngraph.idl"
14
15 cpp_quote("#ifndef __IReferenceClock2_FWD_DEFINED__")
16 cpp_quote("#define __IReferenceClock2_FWD_DEFINED__")
17 cpp_quote("typedef struct IReferenceClock2 IReferenceClock2;")
18 cpp_quote("#endif")
19 cpp_quote("#ifndef __IDistributorNotify_FWD_DEFINED__")
20 cpp_quote("#define __IDistributorNotify_FWD_DEFINED__")
21 cpp_quote("typedef struct IDistributorNotify IDistributorNotify;")
22 cpp_quote("#endif")
23 cpp_quote("")
24 cpp_quote("#ifndef __IAMVfwCompressDialogs_FWD_DEFINED__")
25 cpp_quote("#define __IAMVfwCompressDialogs_FWD_DEFINED__")
26 cpp_quote("typedef struct IAMVfwCompressDialogs IAMVfwCompressDialogs;")
27 cpp_quote("#endif")
28 cpp_quote("")
29 cpp_quote("#ifndef __IAMAudioInputMixer_FWD_DEFINED__")
30 cpp_quote("#define __IAMAudioInputMixer_FWD_DEFINED__")
31 cpp_quote("typedef struct IAMAudioInputMixer IAMAudioInputMixer;")
32 cpp_quote("#endif")
33 cpp_quote("")
34 cpp_quote("#ifndef __IAMAnalogVideoDecoder_FWD_DEFINED__")
35 cpp_quote("#define __IAMAnalogVideoDecoder_FWD_DEFINED__")
36 cpp_quote("typedef struct IAMAnalogVideoDecoder IAMAnalogVideoDecoder;")
37 cpp_quote("#endif")
38 cpp_quote("")
39 cpp_quote("#ifndef __IBPCSatelliteTuner_FWD_DEFINED__")
40 cpp_quote("#define __IBPCSatelliteTuner_FWD_DEFINED__")
41 cpp_quote("typedef struct IBPCSatelliteTuner IBPCSatelliteTuner;")
42 cpp_quote("#endif")
43 cpp_quote("")
44 cpp_quote("#ifndef __IAMTVAudio_FWD_DEFINED__")
45 cpp_quote("#define __IAMTVAudio_FWD_DEFINED__")
46 cpp_quote("typedef struct IAMTVAudio IAMTVAudio;")
47 cpp_quote("#endif")
48 cpp_quote("")
49 cpp_quote("#ifndef __IAMTVAudioNotification_FWD_DEFINED__")
50 cpp_quote("#define __IAMTVAudioNotification_FWD_DEFINED__")
51 cpp_quote("typedef struct IAMTVAudioNotification IAMTVAudioNotification;")
52 cpp_quote("#endif")
53 cpp_quote("")
54 cpp_quote("#ifndef __IAMAnalogVideoEncoder_FWD_DEFINED__")
55 cpp_quote("#define __IAMAnalogVideoEncoder_FWD_DEFINED__")
56 cpp_quote("typedef struct IAMAnalogVideoEncoder IAMAnalogVideoEncoder;")
57 cpp_quote("#endif")
58 cpp_quote("")
59 cpp_quote("#ifndef __IAMPhysicalPinInfo_FWD_DEFINED__")
60 cpp_quote("#define __IAMPhysicalPinInfo_FWD_DEFINED__")
61 cpp_quote("typedef struct IAMPhysicalPinInfo IAMPhysicalPinInfo;")
62 cpp_quote("#endif")
63 cpp_quote("")
64 cpp_quote("#ifndef __IAMExtDevice_FWD_DEFINED__")
65 cpp_quote("#define __IAMExtDevice_FWD_DEFINED__")
66 cpp_quote("typedef struct IAMExtDevice IAMExtDevice;")
67 cpp_quote("#endif")
68 cpp_quote("")
69 cpp_quote("#ifndef __IAMExtTransport_FWD_DEFINED__")
70 cpp_quote("#define __IAMExtTransport_FWD_DEFINED__")
71 cpp_quote("typedef struct IAMExtTransport IAMExtTransport;")
72 cpp_quote("#endif")
73 cpp_quote("")
74 cpp_quote("#ifndef __IAMTimecodeReader_FWD_DEFINED__")
75 cpp_quote("#define __IAMTimecodeReader_FWD_DEFINED__")
76 cpp_quote("typedef struct IAMTimecodeReader IAMTimecodeReader;")
77 cpp_quote("#endif")
78 cpp_quote("")
79 cpp_quote("#ifndef __IAMTimecodeGenerator_FWD_DEFINED__")
80 cpp_quote("#define __IAMTimecodeGenerator_FWD_DEFINED__")
81 cpp_quote("typedef struct IAMTimecodeGenerator IAMTimecodeGenerator;")
82 cpp_quote("#endif")
83 cpp_quote("")
84 cpp_quote("#ifndef __IAMTimecodeDisplay_FWD_DEFINED__")
85 cpp_quote("#define __IAMTimecodeDisplay_FWD_DEFINED__")
86 cpp_quote("typedef struct IAMTimecodeDisplay IAMTimecodeDisplay;")
87 cpp_quote("#endif")
88 cpp_quote("")
89 cpp_quote("#ifndef __IAMDevMemoryAllocator_FWD_DEFINED__")
90 cpp_quote("#define __IAMDevMemoryAllocator_FWD_DEFINED__")
91 cpp_quote("typedef struct IAMDevMemoryAllocator IAMDevMemoryAllocator;")
92 cpp_quote("#endif")
93 cpp_quote("")
94 cpp_quote("#ifndef __IAMDevMemoryControl_FWD_DEFINED__")
95 cpp_quote("#define __IAMDevMemoryControl_FWD_DEFINED__")
96 cpp_quote("typedef struct IAMDevMemoryControl IAMDevMemoryControl;")
97 cpp_quote("#endif")
98 cpp_quote("")
99 cpp_quote("#ifndef __IAMStreamSelect_FWD_DEFINED__")
100 cpp_quote("#define __IAMStreamSelect_FWD_DEFINED__")
101 cpp_quote("typedef struct IAMStreamSelect IAMStreamSelect;")
102 cpp_quote("#endif")
103 cpp_quote("")
104 cpp_quote("#ifndef __IAMResourceControl_FWD_DEFINED__")
105 cpp_quote("#define __IAMResourceControl_FWD_DEFINED__")
106 cpp_quote("typedef struct IAMResourceControl IAMResourceControl;")
107 cpp_quote("#endif")
108 cpp_quote("")
109 cpp_quote("#ifndef __IAMClockAdjust_FWD_DEFINED__")
110 cpp_quote("#define __IAMClockAdjust_FWD_DEFINED__")
111 cpp_quote("typedef struct IAMClockAdjust IAMClockAdjust;")
112 cpp_quote("#endif")
113 cpp_quote("")
114 cpp_quote("#ifndef __IDrawVideoImage_FWD_DEFINED__")
115 cpp_quote("#define __IDrawVideoImage_FWD_DEFINED__")
116 cpp_quote("typedef struct IDrawVideoImage IDrawVideoImage;")
117 cpp_quote("#endif")
118 cpp_quote("")
119 cpp_quote("#ifndef __IDecimateVideoImage_FWD_DEFINED__")
120 cpp_quote("#define __IDecimateVideoImage_FWD_DEFINED__")
121 cpp_quote("typedef struct IDecimateVideoImage IDecimateVideoImage;")
122 cpp_quote("#endif")
123 cpp_quote("")
124 cpp_quote("#ifndef __IAMVideoDecimationProperties_FWD_DEFINED__")
125 cpp_quote("#define __IAMVideoDecimationProperties_FWD_DEFINED__")
126 cpp_quote("typedef struct IAMVideoDecimationProperties IAMVideoDecimationProperties;")
127 cpp_quote("#endif")
128 cpp_quote("")
129 cpp_quote("#ifndef __IAMDeviceRemoval_FWD_DEFINED__")
130 cpp_quote("#define __IAMDeviceRemoval_FWD_DEFINED__")
131 cpp_quote("typedef struct IAMDeviceRemoval IAMDeviceRemoval;")
132 cpp_quote("#endif")
133 cpp_quote("")
134 cpp_quote("#ifndef __IDVEnc_FWD_DEFINED__")
135 cpp_quote("#define __IDVEnc_FWD_DEFINED__")
136 cpp_quote("typedef struct IDVEnc IDVEnc;")
137 cpp_quote("#endif")
138 cpp_quote("")
139 cpp_quote("#ifndef __IIPDVDec_FWD_DEFINED__")
140 cpp_quote("#define __IIPDVDec_FWD_DEFINED__")
141 cpp_quote("typedef struct IIPDVDec IIPDVDec;")
142 cpp_quote("#endif")
143 cpp_quote("")
144 cpp_quote("#ifndef __IDVRGB219_FWD_DEFINED__")
145 cpp_quote("#define __IDVRGB219_FWD_DEFINED__")
146 cpp_quote("typedef struct IDVRGB219 IDVRGB219;")
147 cpp_quote("#endif")
148 cpp_quote("")
149 cpp_quote("#ifndef __IDVSplitter_FWD_DEFINED__")
150 cpp_quote("#define __IDVSplitter_FWD_DEFINED__")
151 cpp_quote("typedef struct IDVSplitter IDVSplitter;")
152 cpp_quote("#endif")
153 cpp_quote("")
154 cpp_quote("#ifndef __IAMAudioRendererStats_FWD_DEFINED__")
155 cpp_quote("#define __IAMAudioRendererStats_FWD_DEFINED__")
156 cpp_quote("typedef struct IAMAudioRendererStats IAMAudioRendererStats;")
157 cpp_quote("#endif")
158 cpp_quote("")
159 cpp_quote("#ifndef __IAMGraphStreams_FWD_DEFINED__")
160 cpp_quote("#define __IAMGraphStreams_FWD_DEFINED__")
161 cpp_quote("typedef struct IAMGraphStreams IAMGraphStreams;")
162 cpp_quote("#endif")
163 cpp_quote("")
164 cpp_quote("#ifndef __IAMOverlayFX_FWD_DEFINED__")
165 cpp_quote("#define __IAMOverlayFX_FWD_DEFINED__")
166 cpp_quote("typedef struct IAMOverlayFX IAMOverlayFX;")
167 cpp_quote("#endif")
168 cpp_quote("")
169 cpp_quote("#ifndef __IAMOpenProgress_FWD_DEFINED__")
170 cpp_quote("#define __IAMOpenProgress_FWD_DEFINED__")
171 cpp_quote("typedef struct IAMOpenProgress IAMOpenProgress;")
172 cpp_quote("#endif")
173 cpp_quote("")
174 cpp_quote("#ifndef __IMpeg2Demultiplexer_FWD_DEFINED__")
175 cpp_quote("#define __IMpeg2Demultiplexer_FWD_DEFINED__")
176 cpp_quote("typedef struct IMpeg2Demultiplexer IMpeg2Demultiplexer;")
177 cpp_quote("#endif")
178 cpp_quote("")
179 cpp_quote("#ifndef __IEnumStreamIdMap_FWD_DEFINED__")
180 cpp_quote("#define __IEnumStreamIdMap_FWD_DEFINED__")
181 cpp_quote("typedef struct IEnumStreamIdMap IEnumStreamIdMap;")
182 cpp_quote("#endif")
183 cpp_quote("")
184 cpp_quote("#ifndef __IMPEG2StreamIdMap_FWD_DEFINED__")
185 cpp_quote("#define __IMPEG2StreamIdMap_FWD_DEFINED__")
186 cpp_quote("typedef struct IMPEG2StreamIdMap IMPEG2StreamIdMap;")
187 cpp_quote("#endif")
188 cpp_quote("")
189 cpp_quote("#ifndef __IRegisterServiceProvider_FWD_DEFINED__")
190 cpp_quote("#define __IRegisterServiceProvider_FWD_DEFINED__")
191 cpp_quote("typedef struct IRegisterServiceProvider IRegisterServiceProvider;")
192 cpp_quote("#endif")
193 cpp_quote("")
194 cpp_quote("#ifndef __ICodecAPI_FWD_DEFINED__")
195 cpp_quote("#define __ICodecAPI_FWD_DEFINED__")
196 cpp_quote("typedef struct ICodecAPI ICodecAPI;")
197 cpp_quote("#endif")
198 cpp_quote("")
199 cpp_quote("#ifndef __IGetCapabilitiesKey_FWD_DEFINED__")
200 cpp_quote("#define __IGetCapabilitiesKey_FWD_DEFINED__")
201 cpp_quote("typedef struct IGetCapabilitiesKey IGetCapabilitiesKey;")
202 cpp_quote("#endif")
203 cpp_quote("")
204 cpp_quote("#ifndef __IEncoderAPI_FWD_DEFINED__")
205 cpp_quote("#define __IEncoderAPI_FWD_DEFINED__")
206 cpp_quote("typedef struct IEncoderAPI IEncoderAPI;")
207 cpp_quote("#endif")
208 cpp_quote("")
209 cpp_quote("#ifndef __IVideoEncoder_FWD_DEFINED__")
210 cpp_quote("#define __IVideoEncoder_FWD_DEFINED__")
211 cpp_quote("typedef struct IVideoEncoder IVideoEncoder;")
212 cpp_quote("#endif")
213 cpp_quote("")
214 cpp_quote("#ifndef __IAMDecoderCaps_FWD_DEFINED__")
215 cpp_quote("#define __IAMDecoderCaps_FWD_DEFINED__")
216 cpp_quote("typedef struct IAMDecoderCaps IAMDecoderCaps;")
217 cpp_quote("#endif")
218 cpp_quote("")
219 cpp_quote("#ifndef __IDvdControl_FWD_DEFINED__")
220 cpp_quote("#define __IDvdControl_FWD_DEFINED__")
221 cpp_quote("typedef struct IDvdControl IDvdControl;")
222 cpp_quote("#endif")
223 cpp_quote("")
224 cpp_quote("#ifndef __IDvdInfo_FWD_DEFINED__")
225 cpp_quote("#define __IDvdInfo_FWD_DEFINED__")
226 cpp_quote("typedef struct IDvdInfo IDvdInfo;")
227 cpp_quote("#endif")
228 cpp_quote("")
229 cpp_quote("#ifndef __IDvdCmd_FWD_DEFINED__")
230 cpp_quote("#define __IDvdCmd_FWD_DEFINED__")
231 cpp_quote("typedef struct IDvdCmd IDvdCmd;")
232 cpp_quote("#endif")
233 cpp_quote("")
234 cpp_quote("#ifndef __IDvdState_FWD_DEFINED__")
235 cpp_quote("#define __IDvdState_FWD_DEFINED__")
236 cpp_quote("typedef struct IDvdState IDvdState;")
237 cpp_quote("#endif")
238 cpp_quote("")
239 cpp_quote("#ifndef __IDvdControl2_FWD_DEFINED__")
240 cpp_quote("#define __IDvdControl2_FWD_DEFINED__")
241 cpp_quote("typedef struct IDvdControl2 IDvdControl2;")
242 cpp_quote("#endif")
243 cpp_quote("")
244 cpp_quote("#ifndef __IDvdInfo2_FWD_DEFINED__")
245 cpp_quote("#define __IDvdInfo2_FWD_DEFINED__")
246 cpp_quote("typedef struct IDvdInfo2 IDvdInfo2;")
247 cpp_quote("#endif")
248 cpp_quote("")
249 cpp_quote("#ifndef __IDvdGraphBuilder_FWD_DEFINED__")
250 cpp_quote("#define __IDvdGraphBuilder_FWD_DEFINED__")
251 cpp_quote("typedef struct IDvdGraphBuilder IDvdGraphBuilder;")
252 cpp_quote("#endif")
253 cpp_quote("")
254 cpp_quote("#ifndef __IDDrawExclModeVideo_FWD_DEFINED__")
255 cpp_quote("#define __IDDrawExclModeVideo_FWD_DEFINED__")
256 cpp_quote("typedef struct IDDrawExclModeVideo IDDrawExclModeVideo;")
257 cpp_quote("#endif")
258 cpp_quote("")
259 cpp_quote("#ifndef __IDDrawExclModeVideoCallback_FWD_DEFINED__")
260 cpp_quote("#define __IDDrawExclModeVideoCallback_FWD_DEFINED__")
261 cpp_quote("typedef struct IDDrawExclModeVideoCallback IDDrawExclModeVideoCallback;")
262 cpp_quote("#endif")
263 cpp_quote("")
264 cpp_quote("#ifndef __IVMRImagePresenter_FWD_DEFINED__")
265 cpp_quote("#define __IVMRImagePresenter_FWD_DEFINED__")
266 cpp_quote("typedef struct IVMRImagePresenter IVMRImagePresenter;")
267 cpp_quote("#endif")
268 cpp_quote("")
269 cpp_quote("#ifndef __IVMRSurfaceAllocator_FWD_DEFINED__")
270 cpp_quote("#define __IVMRSurfaceAllocator_FWD_DEFINED__")
271 cpp_quote("typedef struct IVMRSurfaceAllocator IVMRSurfaceAllocator;")
272 cpp_quote("#endif")
273 cpp_quote("")
274 cpp_quote("#ifndef __IVMRSurfaceAllocatorNotify_FWD_DEFINED__")
275 cpp_quote("#define __IVMRSurfaceAllocatorNotify_FWD_DEFINED__")
276 cpp_quote("typedef struct IVMRSurfaceAllocatorNotify IVMRSurfaceAllocatorNotify;")
277 cpp_quote("#endif")
278 cpp_quote("")
279 cpp_quote("#ifndef __IVMRWindowlessControl_FWD_DEFINED__")
280 cpp_quote("#define __IVMRWindowlessControl_FWD_DEFINED__")
281 cpp_quote("typedef struct IVMRWindowlessControl IVMRWindowlessControl;")
282 cpp_quote("#endif")
283 cpp_quote("")
284 cpp_quote("#ifndef __IVMRMixerControl_FWD_DEFINED__")
285 cpp_quote("#define __IVMRMixerControl_FWD_DEFINED__")
286 cpp_quote("typedef struct IVMRMixerControl IVMRMixerControl;")
287 cpp_quote("#endif")
288 cpp_quote("")
289 cpp_quote("#ifndef __IVMRMonitorConfig_FWD_DEFINED__")
290 cpp_quote("#define __IVMRMonitorConfig_FWD_DEFINED__")
291 cpp_quote("typedef struct IVMRMonitorConfig IVMRMonitorConfig;")
292 cpp_quote("#endif")
293 cpp_quote("")
294 cpp_quote("#ifndef __IVMRFilterConfig_FWD_DEFINED__")
295 cpp_quote("#define __IVMRFilterConfig_FWD_DEFINED__")
296 cpp_quote("typedef struct IVMRFilterConfig IVMRFilterConfig;")
297 cpp_quote("#endif")
298 cpp_quote("")
299 cpp_quote("#ifndef __IVMRAspectRatioControl_FWD_DEFINED__")
300 cpp_quote("#define __IVMRAspectRatioControl_FWD_DEFINED__")
301 cpp_quote("typedef struct IVMRAspectRatioControl IVMRAspectRatioControl;")
302 cpp_quote("#endif")
303 cpp_quote("")
304 cpp_quote("#ifndef __IVMRDeinterlaceControl_FWD_DEFINED__")
305 cpp_quote("#define __IVMRDeinterlaceControl_FWD_DEFINED__")
306 cpp_quote("typedef struct IVMRDeinterlaceControl IVMRDeinterlaceControl;")
307 cpp_quote("#endif")
308 cpp_quote("")
309 cpp_quote("#ifndef __IVMRMixerBitmap_FWD_DEFINED__")
310 cpp_quote("#define __IVMRMixerBitmap_FWD_DEFINED__")
311 cpp_quote("typedef struct IVMRMixerBitmap IVMRMixerBitmap;")
312 cpp_quote("#endif")
313 cpp_quote("")
314 cpp_quote("#ifndef __IVMRImageCompositor_FWD_DEFINED__")
315 cpp_quote("#define __IVMRImageCompositor_FWD_DEFINED__")
316 cpp_quote("typedef struct IVMRImageCompositor IVMRImageCompositor;")
317 cpp_quote("#endif")
318 cpp_quote("")
319 cpp_quote("#ifndef __IVMRVideoStreamControl_FWD_DEFINED__")
320 cpp_quote("#define __IVMRVideoStreamControl_FWD_DEFINED__")
321 cpp_quote("typedef struct IVMRVideoStreamControl IVMRVideoStreamControl;")
322 cpp_quote("#endif")
323 cpp_quote("")
324 cpp_quote("#ifndef __IVMRSurface_FWD_DEFINED__")
325 cpp_quote("#define __IVMRSurface_FWD_DEFINED__")
326 cpp_quote("typedef struct IVMRSurface IVMRSurface;")
327 cpp_quote("#endif")
328 cpp_quote("")
329 cpp_quote("#ifndef __IVMRImagePresenterConfig_FWD_DEFINED__")
330 cpp_quote("#define __IVMRImagePresenterConfig_FWD_DEFINED__")
331 cpp_quote("typedef struct IVMRImagePresenterConfig IVMRImagePresenterConfig;")
332 cpp_quote("#endif")
333 cpp_quote("")
334 cpp_quote("#ifndef __IVMRImagePresenterExclModeConfig_FWD_DEFINED__")
335 cpp_quote("#define __IVMRImagePresenterExclModeConfig_FWD_DEFINED__")
336 cpp_quote("typedef struct IVMRImagePresenterExclModeConfig IVMRImagePresenterExclModeConfig;")
337 cpp_quote("#endif")
338 cpp_quote("")
339 cpp_quote("#ifndef __IVPManager_FWD_DEFINED__")
340 cpp_quote("#define __IVPManager_FWD_DEFINED__")
341 cpp_quote("typedef struct IVPManager IVPManager;")
342 cpp_quote("#endif")
343 cpp_quote("")
344 cpp_quote("#ifndef __IAMAsyncReaderTimestampScaling_FWD_DEFINED__")
345 cpp_quote("#define __IAMAsyncReaderTimestampScaling_FWD_DEFINED__")
346 cpp_quote("typedef struct IAMAsyncReaderTimestampScaling IAMAsyncReaderTimestampScaling;")
347 cpp_quote("#endif")
348 cpp_quote("")
349 cpp_quote("#ifndef __IAMPluginControl_FWD_DEFINED__")
350 cpp_quote("#define __IAMPluginControl_FWD_DEFINED__")
351 cpp_quote("typedef struct IAMPluginControl IAMPluginControl;")
352 cpp_quote("#endif")
353 cpp_quote("")
354 cpp_quote("#include \"ocidl.h\"")
355 cpp_quote("")
356 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0125_v0_0_c_ifspec;")
357 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0125_v0_0_s_ifspec;")
358 cpp_quote("#ifndef __IReferenceClock2_INTERFACE_DEFINED__")
359 cpp_quote("#define __IReferenceClock2_INTERFACE_DEFINED__")
360 cpp_quote(" EXTERN_C const IID IID_IReferenceClock2;")
361 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
362 cpp_quote(" struct IReferenceClock2 : public IReferenceClock {")
363 cpp_quote(" };")
364 cpp_quote("#else")
365 cpp_quote(" typedef struct IReferenceClock2Vtbl {")
366 cpp_quote(" BEGIN_INTERFACE")
367 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IReferenceClock2 *This,REFIID riid,void **ppvObject);")
368 cpp_quote(" ULONG (WINAPI *AddRef)(IReferenceClock2 *This);")
369 cpp_quote(" ULONG (WINAPI *Release)(IReferenceClock2 *This);")
370 cpp_quote(" HRESULT (WINAPI *GetTime)(IReferenceClock2 *This,REFERENCE_TIME *pTime);")
371 cpp_quote(" HRESULT (WINAPI *AdviseTime)(IReferenceClock2 *This,REFERENCE_TIME baseTime,REFERENCE_TIME streamTime,HEVENT hEvent,DWORD_PTR *pdwAdviseCookie);")
372 cpp_quote(" HRESULT (WINAPI *AdvisePeriodic)(IReferenceClock2 *This,REFERENCE_TIME startTime,REFERENCE_TIME periodTime,HSEMAPHORE hSemaphore,DWORD_PTR *pdwAdviseCookie);")
373 cpp_quote(" HRESULT (WINAPI *Unadvise)(IReferenceClock2 *This,DWORD_PTR dwAdviseCookie);")
374 cpp_quote(" END_INTERFACE")
375 cpp_quote(" } IReferenceClock2Vtbl;")
376 cpp_quote(" struct IReferenceClock2 {")
377 cpp_quote(" CONST_VTBL struct IReferenceClock2Vtbl *lpVtbl;")
378 cpp_quote(" };")
379 cpp_quote("#ifdef COBJMACROS")
380 cpp_quote("#define IReferenceClock2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
381 cpp_quote("#define IReferenceClock2_AddRef(This) (This)->lpVtbl->AddRef(This)")
382 cpp_quote("#define IReferenceClock2_Release(This) (This)->lpVtbl->Release(This)")
383 cpp_quote("#define IReferenceClock2_GetTime(This,pTime) (This)->lpVtbl->GetTime(This,pTime)")
384 cpp_quote("#define IReferenceClock2_AdviseTime(This,baseTime,streamTime,hEvent,pdwAdviseCookie) (This)->lpVtbl->AdviseTime(This,baseTime,streamTime,hEvent,pdwAdviseCookie)")
385 cpp_quote("#define IReferenceClock2_AdvisePeriodic(This,startTime,periodTime,hSemaphore,pdwAdviseCookie) (This)->lpVtbl->AdvisePeriodic(This,startTime,periodTime,hSemaphore,pdwAdviseCookie)")
386 cpp_quote("#define IReferenceClock2_Unadvise(This,dwAdviseCookie) (This)->lpVtbl->Unadvise(This,dwAdviseCookie)")
387 cpp_quote("#endif")
388 cpp_quote("#endif")
389 cpp_quote("#endif")
390 cpp_quote("")
391 cpp_quote(" typedef IReferenceClock2 *PREFERENCECLOCK2;")
392 cpp_quote("")
393 cpp_quote("#ifndef __IDistributorNotify_INTERFACE_DEFINED__")
394 cpp_quote("#define __IDistributorNotify_INTERFACE_DEFINED__")
395 cpp_quote(" EXTERN_C const IID IID_IDistributorNotify;")
396 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
397 cpp_quote(" struct IDistributorNotify : public IUnknown {")
398 cpp_quote(" public:")
399 cpp_quote(" virtual HRESULT WINAPI Stop(void) = 0;")
400 cpp_quote(" virtual HRESULT WINAPI Pause(void) = 0;")
401 cpp_quote(" virtual HRESULT WINAPI Run(REFERENCE_TIME tStart) = 0;")
402 cpp_quote(" virtual HRESULT WINAPI SetSyncSource(IReferenceClock *pClock) = 0;")
403 cpp_quote(" virtual HRESULT WINAPI NotifyGraphChange(void) = 0;")
404 cpp_quote(" };")
405 cpp_quote("#else")
406 cpp_quote(" typedef struct IDistributorNotifyVtbl {")
407 cpp_quote(" BEGIN_INTERFACE")
408 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDistributorNotify *This,REFIID riid,void **ppvObject);")
409 cpp_quote(" ULONG (WINAPI *AddRef)(IDistributorNotify *This);")
410 cpp_quote(" ULONG (WINAPI *Release)(IDistributorNotify *This);")
411 cpp_quote(" HRESULT (WINAPI *Stop)(IDistributorNotify *This);")
412 cpp_quote(" HRESULT (WINAPI *Pause)(IDistributorNotify *This);")
413 cpp_quote(" HRESULT (WINAPI *Run)(IDistributorNotify *This,REFERENCE_TIME tStart);")
414 cpp_quote(" HRESULT (WINAPI *SetSyncSource)(IDistributorNotify *This,IReferenceClock *pClock);")
415 cpp_quote(" HRESULT (WINAPI *NotifyGraphChange)(IDistributorNotify *This);")
416 cpp_quote(" END_INTERFACE")
417 cpp_quote(" } IDistributorNotifyVtbl;")
418 cpp_quote(" struct IDistributorNotify {")
419 cpp_quote(" CONST_VTBL struct IDistributorNotifyVtbl *lpVtbl;")
420 cpp_quote(" };")
421 cpp_quote("#ifdef COBJMACROS")
422 cpp_quote("#define IDistributorNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
423 cpp_quote("#define IDistributorNotify_AddRef(This) (This)->lpVtbl->AddRef(This)")
424 cpp_quote("#define IDistributorNotify_Release(This) (This)->lpVtbl->Release(This)")
425 cpp_quote("#define IDistributorNotify_Stop(This) (This)->lpVtbl->Stop(This)")
426 cpp_quote("#define IDistributorNotify_Pause(This) (This)->lpVtbl->Pause(This)")
427 cpp_quote("#define IDistributorNotify_Run(This,tStart) (This)->lpVtbl->Run(This,tStart)")
428 cpp_quote("#define IDistributorNotify_SetSyncSource(This,pClock) (This)->lpVtbl->SetSyncSource(This,pClock)")
429 cpp_quote("#define IDistributorNotify_NotifyGraphChange(This) (This)->lpVtbl->NotifyGraphChange(This)")
430 cpp_quote("#endif")
431 cpp_quote("#endif")
432 cpp_quote(" HRESULT WINAPI IDistributorNotify_Stop_Proxy(IDistributorNotify *This);")
433 cpp_quote(" void __RPC_STUB IDistributorNotify_Stop_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
434 cpp_quote(" HRESULT WINAPI IDistributorNotify_Pause_Proxy(IDistributorNotify *This);")
435 cpp_quote(" void __RPC_STUB IDistributorNotify_Pause_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
436 cpp_quote(" HRESULT WINAPI IDistributorNotify_Run_Proxy(IDistributorNotify *This,REFERENCE_TIME tStart);")
437 cpp_quote(" void __RPC_STUB IDistributorNotify_Run_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
438 cpp_quote(" HRESULT WINAPI IDistributorNotify_SetSyncSource_Proxy(IDistributorNotify *This,IReferenceClock *pClock);")
439 cpp_quote(" void __RPC_STUB IDistributorNotify_SetSyncSource_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
440 cpp_quote(" HRESULT WINAPI IDistributorNotify_NotifyGraphChange_Proxy(IDistributorNotify *This);")
441 cpp_quote(" void __RPC_STUB IDistributorNotify_NotifyGraphChange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
442 cpp_quote("#endif")
443 cpp_quote("")
444 cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0167_0001 {")
445 cpp_quote(" CompressionCaps_CanQuality = 0x1,CompressionCaps_CanCrunch = 0x2,CompressionCaps_CanKeyFrame = 0x4,CompressionCaps_CanBFrame = 0x8,")
446 cpp_quote(" CompressionCaps_CanWindow = 0x10")
447 cpp_quote(" } CompressionCaps;")
448 cpp_quote("")
449 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0167_v0_0_c_ifspec;")
450 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0167_v0_0_s_ifspec;")
451 cpp_quote("")
452 cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0168_0001 {")
453 cpp_quote(" VfwCaptureDialog_Source = 0x1,VfwCaptureDialog_Format = 0x2,VfwCaptureDialog_Display = 0x4")
454 cpp_quote(" } VfwCaptureDialogs;")
455 cpp_quote("")
456 cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0168_0002 {")
457 cpp_quote(" VfwCompressDialog_Config = 0x1,VfwCompressDialog_About = 0x2,VfwCompressDialog_QueryConfig = 0x4,VfwCompressDialog_QueryAbout = 0x8")
458 cpp_quote(" } VfwCompressDialogs;")
459 cpp_quote("")
460 cpp_quote("#ifndef __IAMVfwCompressDialogs_INTERFACE_DEFINED__")
461 cpp_quote("#define __IAMVfwCompressDialogs_INTERFACE_DEFINED__")
462 cpp_quote(" EXTERN_C const IID IID_IAMVfwCompressDialogs;")
463 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
464 cpp_quote(" struct IAMVfwCompressDialogs : public IUnknown {")
465 cpp_quote(" public:")
466 cpp_quote(" virtual HRESULT WINAPI ShowDialog(int iDialog,HWND hwnd) = 0;")
467 cpp_quote(" virtual HRESULT WINAPI GetState(LPVOID pState,int *pcbState) = 0;")
468 cpp_quote(" virtual HRESULT WINAPI SetState(LPVOID pState,int cbState) = 0;")
469 cpp_quote(" virtual HRESULT WINAPI SendDriverMessage(int uMsg,LONG dw1,LONG dw2) = 0;")
470 cpp_quote(" };")
471 cpp_quote("#else")
472 cpp_quote(" typedef struct IAMVfwCompressDialogsVtbl {")
473 cpp_quote(" BEGIN_INTERFACE")
474 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMVfwCompressDialogs *This,REFIID riid,void **ppvObject);")
475 cpp_quote(" ULONG (WINAPI *AddRef)(IAMVfwCompressDialogs *This);")
476 cpp_quote(" ULONG (WINAPI *Release)(IAMVfwCompressDialogs *This);")
477 cpp_quote(" HRESULT (WINAPI *ShowDialog)(IAMVfwCompressDialogs *This,int iDialog,HWND hwnd);")
478 cpp_quote(" HRESULT (WINAPI *GetState)(IAMVfwCompressDialogs *This,LPVOID pState,int *pcbState);")
479 cpp_quote(" HRESULT (WINAPI *SetState)(IAMVfwCompressDialogs *This,LPVOID pState,int cbState);")
480 cpp_quote(" HRESULT (WINAPI *SendDriverMessage)(IAMVfwCompressDialogs *This,int uMsg,LONG dw1,LONG dw2);")
481 cpp_quote(" END_INTERFACE")
482 cpp_quote(" } IAMVfwCompressDialogsVtbl;")
483 cpp_quote(" struct IAMVfwCompressDialogs {")
484 cpp_quote(" CONST_VTBL struct IAMVfwCompressDialogsVtbl *lpVtbl;")
485 cpp_quote(" };")
486 cpp_quote("#ifdef COBJMACROS")
487 cpp_quote("#define IAMVfwCompressDialogs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
488 cpp_quote("#define IAMVfwCompressDialogs_AddRef(This) (This)->lpVtbl->AddRef(This)")
489 cpp_quote("#define IAMVfwCompressDialogs_Release(This) (This)->lpVtbl->Release(This)")
490 cpp_quote("#define IAMVfwCompressDialogs_ShowDialog(This,iDialog,hwnd) (This)->lpVtbl->ShowDialog(This,iDialog,hwnd)")
491 cpp_quote("#define IAMVfwCompressDialogs_GetState(This,pState,pcbState) (This)->lpVtbl->GetState(This,pState,pcbState)")
492 cpp_quote("#define IAMVfwCompressDialogs_SetState(This,pState,cbState) (This)->lpVtbl->SetState(This,pState,cbState)")
493 cpp_quote("#define IAMVfwCompressDialogs_SendDriverMessage(This,uMsg,dw1,dw2) (This)->lpVtbl->SendDriverMessage(This,uMsg,dw1,dw2)")
494 cpp_quote("#endif")
495 cpp_quote("#endif")
496 cpp_quote(" HRESULT WINAPI IAMVfwCompressDialogs_ShowDialog_Proxy(IAMVfwCompressDialogs *This,int iDialog,HWND hwnd);")
497 cpp_quote(" void __RPC_STUB IAMVfwCompressDialogs_ShowDialog_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
498 cpp_quote(" HRESULT WINAPI IAMVfwCompressDialogs_GetState_Proxy(IAMVfwCompressDialogs *This,LPVOID pState,int *pcbState);")
499 cpp_quote(" void __RPC_STUB IAMVfwCompressDialogs_GetState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
500 cpp_quote(" HRESULT WINAPI IAMVfwCompressDialogs_SetState_Proxy(IAMVfwCompressDialogs *This,LPVOID pState,int cbState);")
501 cpp_quote(" void __RPC_STUB IAMVfwCompressDialogs_SetState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
502 cpp_quote(" HRESULT WINAPI IAMVfwCompressDialogs_SendDriverMessage_Proxy(IAMVfwCompressDialogs *This,int uMsg,LONG dw1,LONG dw2);")
503 cpp_quote(" void __RPC_STUB IAMVfwCompressDialogs_SendDriverMessage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
504 cpp_quote("#endif")
505 cpp_quote("")
506 cpp_quote("#define AMF_AUTOMATICGAIN -1.0")
507 cpp_quote("")
508 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0171_v0_0_c_ifspec;")
509 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0171_v0_0_s_ifspec;")
510 cpp_quote("#ifndef __IAMAudioInputMixer_INTERFACE_DEFINED__")
511 cpp_quote("#define __IAMAudioInputMixer_INTERFACE_DEFINED__")
512 cpp_quote(" EXTERN_C const IID IID_IAMAudioInputMixer;")
513 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
514 cpp_quote(" struct IAMAudioInputMixer : public IUnknown {")
515 cpp_quote(" public:")
516 cpp_quote(" virtual HRESULT WINAPI put_Enable(WINBOOL fEnable) = 0;")
517 cpp_quote(" virtual HRESULT WINAPI get_Enable(WINBOOL *pfEnable) = 0;")
518 cpp_quote(" virtual HRESULT WINAPI put_Mono(WINBOOL fMono) = 0;")
519 cpp_quote(" virtual HRESULT WINAPI get_Mono(WINBOOL *pfMono) = 0;")
520 cpp_quote(" virtual HRESULT WINAPI put_MixLevel(double Level) = 0;")
521 cpp_quote(" virtual HRESULT WINAPI get_MixLevel(double *pLevel) = 0;")
522 cpp_quote(" virtual HRESULT WINAPI put_Pan(double Pan) = 0;")
523 cpp_quote(" virtual HRESULT WINAPI get_Pan(double *pPan) = 0;")
524 cpp_quote(" virtual HRESULT WINAPI put_Loudness(WINBOOL fLoudness) = 0;")
525 cpp_quote(" virtual HRESULT WINAPI get_Loudness(WINBOOL *pfLoudness) = 0;")
526 cpp_quote(" virtual HRESULT WINAPI put_Treble(double Treble) = 0;")
527 cpp_quote(" virtual HRESULT WINAPI get_Treble(double *pTreble) = 0;")
528 cpp_quote(" virtual HRESULT WINAPI get_TrebleRange(double *pRange) = 0;")
529 cpp_quote(" virtual HRESULT WINAPI put_Bass(double Bass) = 0;")
530 cpp_quote(" virtual HRESULT WINAPI get_Bass(double *pBass) = 0;")
531 cpp_quote(" virtual HRESULT WINAPI get_BassRange(double *pRange) = 0;")
532 cpp_quote(" };")
533 cpp_quote("#else")
534 cpp_quote(" typedef struct IAMAudioInputMixerVtbl {")
535 cpp_quote(" BEGIN_INTERFACE")
536 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMAudioInputMixer *This,REFIID riid,void **ppvObject);")
537 cpp_quote(" ULONG (WINAPI *AddRef)(IAMAudioInputMixer *This);")
538 cpp_quote(" ULONG (WINAPI *Release)(IAMAudioInputMixer *This);")
539 cpp_quote(" HRESULT (WINAPI *put_Enable)(IAMAudioInputMixer *This,WINBOOL fEnable);")
540 cpp_quote(" HRESULT (WINAPI *get_Enable)(IAMAudioInputMixer *This,WINBOOL *pfEnable);")
541 cpp_quote(" HRESULT (WINAPI *put_Mono)(IAMAudioInputMixer *This,WINBOOL fMono);")
542 cpp_quote(" HRESULT (WINAPI *get_Mono)(IAMAudioInputMixer *This,WINBOOL *pfMono);")
543 cpp_quote(" HRESULT (WINAPI *put_MixLevel)(IAMAudioInputMixer *This,double Level);")
544 cpp_quote(" HRESULT (WINAPI *get_MixLevel)(IAMAudioInputMixer *This,double *pLevel);")
545 cpp_quote(" HRESULT (WINAPI *put_Pan)(IAMAudioInputMixer *This,double Pan);")
546 cpp_quote(" HRESULT (WINAPI *get_Pan)(IAMAudioInputMixer *This,double *pPan);")
547 cpp_quote(" HRESULT (WINAPI *put_Loudness)(IAMAudioInputMixer *This,WINBOOL fLoudness);")
548 cpp_quote(" HRESULT (WINAPI *get_Loudness)(IAMAudioInputMixer *This,WINBOOL *pfLoudness);")
549 cpp_quote(" HRESULT (WINAPI *put_Treble)(IAMAudioInputMixer *This,double Treble);")
550 cpp_quote(" HRESULT (WINAPI *get_Treble)(IAMAudioInputMixer *This,double *pTreble);")
551 cpp_quote(" HRESULT (WINAPI *get_TrebleRange)(IAMAudioInputMixer *This,double *pRange);")
552 cpp_quote(" HRESULT (WINAPI *put_Bass)(IAMAudioInputMixer *This,double Bass);")
553 cpp_quote(" HRESULT (WINAPI *get_Bass)(IAMAudioInputMixer *This,double *pBass);")
554 cpp_quote(" HRESULT (WINAPI *get_BassRange)(IAMAudioInputMixer *This,double *pRange);")
555 cpp_quote(" END_INTERFACE")
556 cpp_quote(" } IAMAudioInputMixerVtbl;")
557 cpp_quote(" struct IAMAudioInputMixer {")
558 cpp_quote(" CONST_VTBL struct IAMAudioInputMixerVtbl *lpVtbl;")
559 cpp_quote(" };")
560 cpp_quote("#ifdef COBJMACROS")
561 cpp_quote("#define IAMAudioInputMixer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
562 cpp_quote("#define IAMAudioInputMixer_AddRef(This) (This)->lpVtbl->AddRef(This)")
563 cpp_quote("#define IAMAudioInputMixer_Release(This) (This)->lpVtbl->Release(This)")
564 cpp_quote("#define IAMAudioInputMixer_put_Enable(This,fEnable) (This)->lpVtbl->put_Enable(This,fEnable)")
565 cpp_quote("#define IAMAudioInputMixer_get_Enable(This,pfEnable) (This)->lpVtbl->get_Enable(This,pfEnable)")
566 cpp_quote("#define IAMAudioInputMixer_put_Mono(This,fMono) (This)->lpVtbl->put_Mono(This,fMono)")
567 cpp_quote("#define IAMAudioInputMixer_get_Mono(This,pfMono) (This)->lpVtbl->get_Mono(This,pfMono)")
568 cpp_quote("#define IAMAudioInputMixer_put_MixLevel(This,Level) (This)->lpVtbl->put_MixLevel(This,Level)")
569 cpp_quote("#define IAMAudioInputMixer_get_MixLevel(This,pLevel) (This)->lpVtbl->get_MixLevel(This,pLevel)")
570 cpp_quote("#define IAMAudioInputMixer_put_Pan(This,Pan) (This)->lpVtbl->put_Pan(This,Pan)")
571 cpp_quote("#define IAMAudioInputMixer_get_Pan(This,pPan) (This)->lpVtbl->get_Pan(This,pPan)")
572 cpp_quote("#define IAMAudioInputMixer_put_Loudness(This,fLoudness) (This)->lpVtbl->put_Loudness(This,fLoudness)")
573 cpp_quote("#define IAMAudioInputMixer_get_Loudness(This,pfLoudness) (This)->lpVtbl->get_Loudness(This,pfLoudness)")
574 cpp_quote("#define IAMAudioInputMixer_put_Treble(This,Treble) (This)->lpVtbl->put_Treble(This,Treble)")
575 cpp_quote("#define IAMAudioInputMixer_get_Treble(This,pTreble) (This)->lpVtbl->get_Treble(This,pTreble)")
576 cpp_quote("#define IAMAudioInputMixer_get_TrebleRange(This,pRange) (This)->lpVtbl->get_TrebleRange(This,pRange)")
577 cpp_quote("#define IAMAudioInputMixer_put_Bass(This,Bass) (This)->lpVtbl->put_Bass(This,Bass)")
578 cpp_quote("#define IAMAudioInputMixer_get_Bass(This,pBass) (This)->lpVtbl->get_Bass(This,pBass)")
579 cpp_quote("#define IAMAudioInputMixer_get_BassRange(This,pRange) (This)->lpVtbl->get_BassRange(This,pRange)")
580 cpp_quote("#endif")
581 cpp_quote("#endif")
582 cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_put_Enable_Proxy(IAMAudioInputMixer *This,WINBOOL fEnable);")
583 cpp_quote(" void __RPC_STUB IAMAudioInputMixer_put_Enable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
584 cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_get_Enable_Proxy(IAMAudioInputMixer *This,WINBOOL *pfEnable);")
585 cpp_quote(" void __RPC_STUB IAMAudioInputMixer_get_Enable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
586 cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_put_Mono_Proxy(IAMAudioInputMixer *This,WINBOOL fMono);")
587 cpp_quote(" void __RPC_STUB IAMAudioInputMixer_put_Mono_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
588 cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_get_Mono_Proxy(IAMAudioInputMixer *This,WINBOOL *pfMono);")
589 cpp_quote(" void __RPC_STUB IAMAudioInputMixer_get_Mono_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
590 cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_put_MixLevel_Proxy(IAMAudioInputMixer *This,double Level);")
591 cpp_quote(" void __RPC_STUB IAMAudioInputMixer_put_MixLevel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
592 cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_get_MixLevel_Proxy(IAMAudioInputMixer *This,double *pLevel);")
593 cpp_quote(" void __RPC_STUB IAMAudioInputMixer_get_MixLevel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
594 cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_put_Pan_Proxy(IAMAudioInputMixer *This,double Pan);")
595 cpp_quote(" void __RPC_STUB IAMAudioInputMixer_put_Pan_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
596 cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_get_Pan_Proxy(IAMAudioInputMixer *This,double *pPan);")
597 cpp_quote(" void __RPC_STUB IAMAudioInputMixer_get_Pan_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
598 cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_put_Loudness_Proxy(IAMAudioInputMixer *This,WINBOOL fLoudness);")
599 cpp_quote(" void __RPC_STUB IAMAudioInputMixer_put_Loudness_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
600 cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_get_Loudness_Proxy(IAMAudioInputMixer *This,WINBOOL *pfLoudness);")
601 cpp_quote(" void __RPC_STUB IAMAudioInputMixer_get_Loudness_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
602 cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_put_Treble_Proxy(IAMAudioInputMixer *This,double Treble);")
603 cpp_quote(" void __RPC_STUB IAMAudioInputMixer_put_Treble_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
604 cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_get_Treble_Proxy(IAMAudioInputMixer *This,double *pTreble);")
605 cpp_quote(" void __RPC_STUB IAMAudioInputMixer_get_Treble_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
606 cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_get_TrebleRange_Proxy(IAMAudioInputMixer *This,double *pRange);")
607 cpp_quote(" void __RPC_STUB IAMAudioInputMixer_get_TrebleRange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
608 cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_put_Bass_Proxy(IAMAudioInputMixer *This,double Bass);")
609 cpp_quote(" void __RPC_STUB IAMAudioInputMixer_put_Bass_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
610 cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_get_Bass_Proxy(IAMAudioInputMixer *This,double *pBass);")
611 cpp_quote(" void __RPC_STUB IAMAudioInputMixer_get_Bass_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
612 cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_get_BassRange_Proxy(IAMAudioInputMixer *This,double *pRange);")
613 cpp_quote(" void __RPC_STUB IAMAudioInputMixer_get_BassRange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
614 cpp_quote("#endif")
615 cpp_quote("")
616 cpp_quote("#define AnalogVideo_NTSC_Mask 0x00000007")
617 cpp_quote("#define AnalogVideo_PAL_Mask 0x00100FF0")
618 cpp_quote("#define AnalogVideo_SECAM_Mask 0x000FF000")
619 cpp_quote("")
620 cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0173_0001 {")
621 cpp_quote(" VideoCopyProtectionMacrovisionBasic = 0,VideoCopyProtectionMacrovisionCBI = VideoCopyProtectionMacrovisionBasic + 1")
622 cpp_quote(" } VideoCopyProtectionType;")
623 cpp_quote("")
624 cpp_quote(" typedef enum tagPhysicalConnectorType {")
625 cpp_quote(" PhysConn_Video_Tuner = 1,")
626 cpp_quote(" PhysConn_Video_Composite,PhysConn_Video_SVideo,PhysConn_Video_RGB,")
627 cpp_quote(" PhysConn_Video_YRYBY,PhysConn_Video_SerialDigital,PhysConn_Video_ParallelDigital,")
628 cpp_quote(" PhysConn_Video_SCSI,PhysConn_Video_AUX,PhysConn_Video_1394,PhysConn_Video_USB,")
629 cpp_quote(" PhysConn_Video_VideoDecoder,PhysConn_Video_VideoEncoder,PhysConn_Video_SCART,PhysConn_Video_Black,")
630 cpp_quote(" PhysConn_Audio_Tuner = 0x1000,PhysConn_Audio_Line = 0x1001,PhysConn_Audio_Mic = 0x1002,")
631 cpp_quote(" PhysConn_Audio_AESDigital = 0x1003,PhysConn_Audio_SPDIFDigital = 0x1004,")
632 cpp_quote(" PhysConn_Audio_SCSI = 0x1005,PhysConn_Audio_AUX = 0x1006,PhysConn_Audio_1394 = 0x1007,")
633 cpp_quote(" PhysConn_Audio_USB = 0x1008,PhysConn_Audio_AudioDecoder = 0x1009")
634 cpp_quote(" } PhysicalConnectorType;")
635 cpp_quote("")
636 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0173_v0_0_c_ifspec;")
637 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0173_v0_0_s_ifspec;")
638 cpp_quote("#ifndef __IAMAnalogVideoDecoder_INTERFACE_DEFINED__")
639 cpp_quote("#define __IAMAnalogVideoDecoder_INTERFACE_DEFINED__")
640 cpp_quote(" EXTERN_C const IID IID_IAMAnalogVideoDecoder;")
641 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
642 cpp_quote(" struct IAMAnalogVideoDecoder : public IUnknown {")
643 cpp_quote(" public:")
644 cpp_quote(" virtual HRESULT WINAPI get_AvailableTVFormats(LONG *lAnalogVideoStandard) = 0;")
645 cpp_quote(" virtual HRESULT WINAPI put_TVFormat(LONG lAnalogVideoStandard) = 0;")
646 cpp_quote(" virtual HRESULT WINAPI get_TVFormat(LONG *plAnalogVideoStandard) = 0;")
647 cpp_quote(" virtual HRESULT WINAPI get_HorizontalLocked(LONG *plLocked) = 0;")
648 cpp_quote(" virtual HRESULT WINAPI put_VCRHorizontalLocking(LONG lVCRHorizontalLocking) = 0;")
649 cpp_quote(" virtual HRESULT WINAPI get_VCRHorizontalLocking(LONG *plVCRHorizontalLocking) = 0;")
650 cpp_quote(" virtual HRESULT WINAPI get_NumberOfLines(LONG *plNumberOfLines) = 0;")
651 cpp_quote(" virtual HRESULT WINAPI put_OutputEnable(LONG lOutputEnable) = 0;")
652 cpp_quote(" virtual HRESULT WINAPI get_OutputEnable(LONG *plOutputEnable) = 0;")
653 cpp_quote(" };")
654 cpp_quote("#else")
655 cpp_quote(" typedef struct IAMAnalogVideoDecoderVtbl {")
656 cpp_quote(" BEGIN_INTERFACE")
657 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMAnalogVideoDecoder *This,REFIID riid,void **ppvObject);")
658 cpp_quote(" ULONG (WINAPI *AddRef)(IAMAnalogVideoDecoder *This);")
659 cpp_quote(" ULONG (WINAPI *Release)(IAMAnalogVideoDecoder *This);")
660 cpp_quote(" HRESULT (WINAPI *get_AvailableTVFormats)(IAMAnalogVideoDecoder *This,LONG *lAnalogVideoStandard);")
661 cpp_quote(" HRESULT (WINAPI *put_TVFormat)(IAMAnalogVideoDecoder *This,LONG lAnalogVideoStandard);")
662 cpp_quote(" HRESULT (WINAPI *get_TVFormat)(IAMAnalogVideoDecoder *This,LONG *plAnalogVideoStandard);")
663 cpp_quote(" HRESULT (WINAPI *get_HorizontalLocked)(IAMAnalogVideoDecoder *This,LONG *plLocked);")
664 cpp_quote(" HRESULT (WINAPI *put_VCRHorizontalLocking)(IAMAnalogVideoDecoder *This,LONG lVCRHorizontalLocking);")
665 cpp_quote(" HRESULT (WINAPI *get_VCRHorizontalLocking)(IAMAnalogVideoDecoder *This,LONG *plVCRHorizontalLocking);")
666 cpp_quote(" HRESULT (WINAPI *get_NumberOfLines)(IAMAnalogVideoDecoder *This,LONG *plNumberOfLines);")
667 cpp_quote(" HRESULT (WINAPI *put_OutputEnable)(IAMAnalogVideoDecoder *This,LONG lOutputEnable);")
668 cpp_quote(" HRESULT (WINAPI *get_OutputEnable)(IAMAnalogVideoDecoder *This,LONG *plOutputEnable);")
669 cpp_quote(" END_INTERFACE")
670 cpp_quote(" } IAMAnalogVideoDecoderVtbl;")
671 cpp_quote(" struct IAMAnalogVideoDecoder {")
672 cpp_quote(" CONST_VTBL struct IAMAnalogVideoDecoderVtbl *lpVtbl;")
673 cpp_quote(" };")
674 cpp_quote("#ifdef COBJMACROS")
675 cpp_quote("#define IAMAnalogVideoDecoder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
676 cpp_quote("#define IAMAnalogVideoDecoder_AddRef(This) (This)->lpVtbl->AddRef(This)")
677 cpp_quote("#define IAMAnalogVideoDecoder_Release(This) (This)->lpVtbl->Release(This)")
678 cpp_quote("#define IAMAnalogVideoDecoder_get_AvailableTVFormats(This,lAnalogVideoStandard) (This)->lpVtbl->get_AvailableTVFormats(This,lAnalogVideoStandard)")
679 cpp_quote("#define IAMAnalogVideoDecoder_put_TVFormat(This,lAnalogVideoStandard) (This)->lpVtbl->put_TVFormat(This,lAnalogVideoStandard)")
680 cpp_quote("#define IAMAnalogVideoDecoder_get_TVFormat(This,plAnalogVideoStandard) (This)->lpVtbl->get_TVFormat(This,plAnalogVideoStandard)")
681 cpp_quote("#define IAMAnalogVideoDecoder_get_HorizontalLocked(This,plLocked) (This)->lpVtbl->get_HorizontalLocked(This,plLocked)")
682 cpp_quote("#define IAMAnalogVideoDecoder_put_VCRHorizontalLocking(This,lVCRHorizontalLocking) (This)->lpVtbl->put_VCRHorizontalLocking(This,lVCRHorizontalLocking)")
683 cpp_quote("#define IAMAnalogVideoDecoder_get_VCRHorizontalLocking(This,plVCRHorizontalLocking) (This)->lpVtbl->get_VCRHorizontalLocking(This,plVCRHorizontalLocking)")
684 cpp_quote("#define IAMAnalogVideoDecoder_get_NumberOfLines(This,plNumberOfLines) (This)->lpVtbl->get_NumberOfLines(This,plNumberOfLines)")
685 cpp_quote("#define IAMAnalogVideoDecoder_put_OutputEnable(This,lOutputEnable) (This)->lpVtbl->put_OutputEnable(This,lOutputEnable)")
686 cpp_quote("#define IAMAnalogVideoDecoder_get_OutputEnable(This,plOutputEnable) (This)->lpVtbl->get_OutputEnable(This,plOutputEnable)")
687 cpp_quote("#endif")
688 cpp_quote("#endif")
689 cpp_quote(" HRESULT WINAPI IAMAnalogVideoDecoder_get_AvailableTVFormats_Proxy(IAMAnalogVideoDecoder *This,LONG *lAnalogVideoStandard);")
690 cpp_quote(" void __RPC_STUB IAMAnalogVideoDecoder_get_AvailableTVFormats_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
691 cpp_quote(" HRESULT WINAPI IAMAnalogVideoDecoder_put_TVFormat_Proxy(IAMAnalogVideoDecoder *This,LONG lAnalogVideoStandard);")
692 cpp_quote(" void __RPC_STUB IAMAnalogVideoDecoder_put_TVFormat_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
693 cpp_quote(" HRESULT WINAPI IAMAnalogVideoDecoder_get_TVFormat_Proxy(IAMAnalogVideoDecoder *This,LONG *plAnalogVideoStandard);")
694 cpp_quote(" void __RPC_STUB IAMAnalogVideoDecoder_get_TVFormat_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
695 cpp_quote(" HRESULT WINAPI IAMAnalogVideoDecoder_get_HorizontalLocked_Proxy(IAMAnalogVideoDecoder *This,LONG *plLocked);")
696 cpp_quote(" void __RPC_STUB IAMAnalogVideoDecoder_get_HorizontalLocked_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
697 cpp_quote(" HRESULT WINAPI IAMAnalogVideoDecoder_put_VCRHorizontalLocking_Proxy(IAMAnalogVideoDecoder *This,LONG lVCRHorizontalLocking);")
698 cpp_quote(" void __RPC_STUB IAMAnalogVideoDecoder_put_VCRHorizontalLocking_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
699 cpp_quote(" HRESULT WINAPI IAMAnalogVideoDecoder_get_VCRHorizontalLocking_Proxy(IAMAnalogVideoDecoder *This,LONG *plVCRHorizontalLocking);")
700 cpp_quote(" void __RPC_STUB IAMAnalogVideoDecoder_get_VCRHorizontalLocking_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
701 cpp_quote(" HRESULT WINAPI IAMAnalogVideoDecoder_get_NumberOfLines_Proxy(IAMAnalogVideoDecoder *This,LONG *plNumberOfLines);")
702 cpp_quote(" void __RPC_STUB IAMAnalogVideoDecoder_get_NumberOfLines_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
703 cpp_quote(" HRESULT WINAPI IAMAnalogVideoDecoder_put_OutputEnable_Proxy(IAMAnalogVideoDecoder *This,LONG lOutputEnable);")
704 cpp_quote(" void __RPC_STUB IAMAnalogVideoDecoder_put_OutputEnable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
705 cpp_quote(" HRESULT WINAPI IAMAnalogVideoDecoder_get_OutputEnable_Proxy(IAMAnalogVideoDecoder *This,LONG *plOutputEnable);")
706 cpp_quote(" void __RPC_STUB IAMAnalogVideoDecoder_get_OutputEnable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
707 cpp_quote("#endif")
708 cpp_quote("")
709 cpp_quote(" typedef enum tagCameraControlProperty {")
710 cpp_quote(" CameraControl_Pan = 0,")
711 cpp_quote(" CameraControl_Tilt,CameraControl_Roll,CameraControl_Zoom,CameraControl_Exposure,")
712 cpp_quote(" CameraControl_Iris,CameraControl_Focus")
713 cpp_quote(" } CameraControlProperty;")
714 cpp_quote("")
715 cpp_quote(" typedef enum tagCameraControlFlags {")
716 cpp_quote(" CameraControl_Flags_Auto = 0x1,CameraControl_Flags_Manual = 0x2")
717 cpp_quote(" } CameraControlFlags;")
718 cpp_quote("")
719 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0175_v0_0_c_ifspec;")
720 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0175_v0_0_s_ifspec;")
721 cpp_quote("")
722 cpp_quote(" typedef enum tagVideoControlFlags {")
723 cpp_quote(" VideoControlFlag_FlipHorizontal = 0x1,VideoControlFlag_FlipVertical = 0x2,VideoControlFlag_ExternalTriggerEnable = 0x4,VideoControlFlag_Trigger = 0x8")
724 cpp_quote(" } VideoControlFlags;")
725 cpp_quote("")
726 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0176_v0_0_c_ifspec;")
727 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0176_v0_0_s_ifspec;")
728 cpp_quote("")
729 cpp_quote(" typedef enum tagAMTunerSubChannel {")
730 cpp_quote(" AMTUNER_SUBCHAN_NO_TUNE = -2,AMTUNER_SUBCHAN_DEFAULT = -1")
731 cpp_quote(" } AMTunerSubChannel;")
732 cpp_quote("")
733 cpp_quote(" typedef enum tagAMTunerSignalStrength {")
734 cpp_quote(" AMTUNER_HASNOSIGNALSTRENGTH = -1,AMTUNER_NOSIGNAL = 0,AMTUNER_SIGNALPRESENT = 1")
735 cpp_quote(" } AMTunerSignalStrength;")
736 cpp_quote("")
737 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0178_v0_0_c_ifspec;")
738 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0178_v0_0_s_ifspec;")
739 cpp_quote("")
740 cpp_quote("#ifndef __IBPCSatelliteTuner_INTERFACE_DEFINED__")
741 cpp_quote("#define __IBPCSatelliteTuner_INTERFACE_DEFINED__")
742 cpp_quote(" EXTERN_C const IID IID_IBPCSatelliteTuner;")
743 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
744 cpp_quote(" struct IBPCSatelliteTuner : public IAMTuner {")
745 cpp_quote(" public:")
746 cpp_quote(" virtual HRESULT WINAPI get_DefaultSubChannelTypes(LONG *plDefaultVideoType,LONG *plDefaultAudioType) = 0;")
747 cpp_quote(" virtual HRESULT WINAPI put_DefaultSubChannelTypes(LONG lDefaultVideoType,LONG lDefaultAudioType) = 0;")
748 cpp_quote(" virtual HRESULT WINAPI IsTapingPermitted(void) = 0;")
749 cpp_quote(" };")
750 cpp_quote("#else")
751 cpp_quote(" typedef struct IBPCSatelliteTunerVtbl {")
752 cpp_quote(" BEGIN_INTERFACE")
753 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IBPCSatelliteTuner *This,REFIID riid,void **ppvObject);")
754 cpp_quote(" ULONG (WINAPI *AddRef)(IBPCSatelliteTuner *This);")
755 cpp_quote(" ULONG (WINAPI *Release)(IBPCSatelliteTuner *This);")
756 cpp_quote(" HRESULT (WINAPI *put_Channel)(IBPCSatelliteTuner *This,LONG lChannel,LONG lVideoSubChannel,LONG lAudioSubChannel);")
757 cpp_quote(" HRESULT (WINAPI *get_Channel)(IBPCSatelliteTuner *This,LONG *plChannel,LONG *plVideoSubChannel,LONG *plAudioSubChannel);")
758 cpp_quote(" HRESULT (WINAPI *ChannelMinMax)(IBPCSatelliteTuner *This,LONG *lChannelMin,LONG *lChannelMax);")
759 cpp_quote(" HRESULT (WINAPI *put_CountryCode)(IBPCSatelliteTuner *This,LONG lCountryCode);")
760 cpp_quote(" HRESULT (WINAPI *get_CountryCode)(IBPCSatelliteTuner *This,LONG *plCountryCode);")
761 cpp_quote(" HRESULT (WINAPI *put_TuningSpace)(IBPCSatelliteTuner *This,LONG lTuningSpace);")
762 cpp_quote(" HRESULT (WINAPI *get_TuningSpace)(IBPCSatelliteTuner *This,LONG *plTuningSpace);")
763 cpp_quote(" HRESULT (WINAPI *Logon)(IBPCSatelliteTuner *This,HANDLE hCurrentUser);")
764 cpp_quote(" HRESULT (WINAPI *Logout)(IBPCSatelliteTuner *This);")
765 cpp_quote(" HRESULT (WINAPI *SignalPresent)(IBPCSatelliteTuner *This,LONG *plSignalStrength);")
766 cpp_quote(" HRESULT (WINAPI *put_Mode)(IBPCSatelliteTuner *This,AMTunerModeType lMode);")
767 cpp_quote(" HRESULT (WINAPI *get_Mode)(IBPCSatelliteTuner *This,AMTunerModeType *plMode);")
768 cpp_quote(" HRESULT (WINAPI *GetAvailableModes)(IBPCSatelliteTuner *This,LONG *plModes);")
769 cpp_quote(" HRESULT (WINAPI *RegisterNotificationCallBack)(IBPCSatelliteTuner *This,IAMTunerNotification *pNotify,LONG lEvents);")
770 cpp_quote(" HRESULT (WINAPI *UnRegisterNotificationCallBack)(IBPCSatelliteTuner *This,IAMTunerNotification *pNotify);")
771 cpp_quote(" HRESULT (WINAPI *get_DefaultSubChannelTypes)(IBPCSatelliteTuner *This,LONG *plDefaultVideoType,LONG *plDefaultAudioType);")
772 cpp_quote(" HRESULT (WINAPI *put_DefaultSubChannelTypes)(IBPCSatelliteTuner *This,LONG lDefaultVideoType,LONG lDefaultAudioType);")
773 cpp_quote(" HRESULT (WINAPI *IsTapingPermitted)(IBPCSatelliteTuner *This);")
774 cpp_quote(" END_INTERFACE")
775 cpp_quote(" } IBPCSatelliteTunerVtbl;")
776 cpp_quote(" struct IBPCSatelliteTuner {")
777 cpp_quote(" CONST_VTBL struct IBPCSatelliteTunerVtbl *lpVtbl;")
778 cpp_quote(" };")
779 cpp_quote("#ifdef COBJMACROS")
780 cpp_quote("#define IBPCSatelliteTuner_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
781 cpp_quote("#define IBPCSatelliteTuner_AddRef(This) (This)->lpVtbl->AddRef(This)")
782 cpp_quote("#define IBPCSatelliteTuner_Release(This) (This)->lpVtbl->Release(This)")
783 cpp_quote("#define IBPCSatelliteTuner_put_Channel(This,lChannel,lVideoSubChannel,lAudioSubChannel) (This)->lpVtbl->put_Channel(This,lChannel,lVideoSubChannel,lAudioSubChannel)")
784 cpp_quote("#define IBPCSatelliteTuner_get_Channel(This,plChannel,plVideoSubChannel,plAudioSubChannel) (This)->lpVtbl->get_Channel(This,plChannel,plVideoSubChannel,plAudioSubChannel)")
785 cpp_quote("#define IBPCSatelliteTuner_ChannelMinMax(This,lChannelMin,lChannelMax) (This)->lpVtbl->ChannelMinMax(This,lChannelMin,lChannelMax)")
786 cpp_quote("#define IBPCSatelliteTuner_put_CountryCode(This,lCountryCode) (This)->lpVtbl->put_CountryCode(This,lCountryCode)")
787 cpp_quote("#define IBPCSatelliteTuner_get_CountryCode(This,plCountryCode) (This)->lpVtbl->get_CountryCode(This,plCountryCode)")
788 cpp_quote("#define IBPCSatelliteTuner_put_TuningSpace(This,lTuningSpace) (This)->lpVtbl->put_TuningSpace(This,lTuningSpace)")
789 cpp_quote("#define IBPCSatelliteTuner_get_TuningSpace(This,plTuningSpace) (This)->lpVtbl->get_TuningSpace(This,plTuningSpace)")
790 cpp_quote("#define IBPCSatelliteTuner_Logon(This,hCurrentUser) (This)->lpVtbl->Logon(This,hCurrentUser)")
791 cpp_quote("#define IBPCSatelliteTuner_Logout(This) (This)->lpVtbl->Logout(This)")
792 cpp_quote("#define IBPCSatelliteTuner_SignalPresent(This,plSignalStrength) (This)->lpVtbl->SignalPresent(This,plSignalStrength)")
793 cpp_quote("#define IBPCSatelliteTuner_put_Mode(This,lMode) (This)->lpVtbl->put_Mode(This,lMode)")
794 cpp_quote("#define IBPCSatelliteTuner_get_Mode(This,plMode) (This)->lpVtbl->get_Mode(This,plMode)")
795 cpp_quote("#define IBPCSatelliteTuner_GetAvailableModes(This,plModes) (This)->lpVtbl->GetAvailableModes(This,plModes)")
796 cpp_quote("#define IBPCSatelliteTuner_RegisterNotificationCallBack(This,pNotify,lEvents) (This)->lpVtbl->RegisterNotificationCallBack(This,pNotify,lEvents)")
797 cpp_quote("#define IBPCSatelliteTuner_UnRegisterNotificationCallBack(This,pNotify) (This)->lpVtbl->UnRegisterNotificationCallBack(This,pNotify)")
798 cpp_quote("#define IBPCSatelliteTuner_get_DefaultSubChannelTypes(This,plDefaultVideoType,plDefaultAudioType) (This)->lpVtbl->get_DefaultSubChannelTypes(This,plDefaultVideoType,plDefaultAudioType)")
799 cpp_quote("#define IBPCSatelliteTuner_put_DefaultSubChannelTypes(This,lDefaultVideoType,lDefaultAudioType) (This)->lpVtbl->put_DefaultSubChannelTypes(This,lDefaultVideoType,lDefaultAudioType)")
800 cpp_quote("#define IBPCSatelliteTuner_IsTapingPermitted(This) (This)->lpVtbl->IsTapingPermitted(This)")
801 cpp_quote("#endif")
802 cpp_quote("#endif")
803 cpp_quote(" HRESULT WINAPI IBPCSatelliteTuner_get_DefaultSubChannelTypes_Proxy(IBPCSatelliteTuner *This,LONG *plDefaultVideoType,LONG *plDefaultAudioType);")
804 cpp_quote(" void __RPC_STUB IBPCSatelliteTuner_get_DefaultSubChannelTypes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
805 cpp_quote(" HRESULT WINAPI IBPCSatelliteTuner_put_DefaultSubChannelTypes_Proxy(IBPCSatelliteTuner *This,LONG lDefaultVideoType,LONG lDefaultAudioType);")
806 cpp_quote(" void __RPC_STUB IBPCSatelliteTuner_put_DefaultSubChannelTypes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
807 cpp_quote(" HRESULT WINAPI IBPCSatelliteTuner_IsTapingPermitted_Proxy(IBPCSatelliteTuner *This);")
808 cpp_quote(" void __RPC_STUB IBPCSatelliteTuner_IsTapingPermitted_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
809 cpp_quote("#endif")
810 cpp_quote("")
811 cpp_quote(" typedef enum tagAMTVAudioEventType {")
812 cpp_quote(" AMTVAUDIO_EVENT_CHANGED = 0x1")
813 cpp_quote(" } AMTVAudioEventType;")
814 cpp_quote("")
815 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0182_v0_0_c_ifspec;")
816 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0182_v0_0_s_ifspec;")
817 cpp_quote("#ifndef __IAMTVAudio_INTERFACE_DEFINED__")
818 cpp_quote("#define __IAMTVAudio_INTERFACE_DEFINED__")
819 cpp_quote(" EXTERN_C const IID IID_IAMTVAudio;")
820 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
821 cpp_quote(" struct IAMTVAudio : public IUnknown {")
822 cpp_quote(" public:")
823 cpp_quote(" virtual HRESULT WINAPI GetHardwareSupportedTVAudioModes(LONG *plModes) = 0;")
824 cpp_quote(" virtual HRESULT WINAPI GetAvailableTVAudioModes(LONG *plModes) = 0;")
825 cpp_quote(" virtual HRESULT WINAPI get_TVAudioMode(LONG *plMode) = 0;")
826 cpp_quote(" virtual HRESULT WINAPI put_TVAudioMode(LONG lMode) = 0;")
827 cpp_quote(" virtual HRESULT WINAPI RegisterNotificationCallBack(IAMTunerNotification *pNotify,LONG lEvents) = 0;")
828 cpp_quote(" virtual HRESULT WINAPI UnRegisterNotificationCallBack(IAMTunerNotification *pNotify) = 0;")
829 cpp_quote(" };")
830 cpp_quote("#else")
831 cpp_quote(" typedef struct IAMTVAudioVtbl {")
832 cpp_quote(" BEGIN_INTERFACE")
833 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMTVAudio *This,REFIID riid,void **ppvObject);")
834 cpp_quote(" ULONG (WINAPI *AddRef)(IAMTVAudio *This);")
835 cpp_quote(" ULONG (WINAPI *Release)(IAMTVAudio *This);")
836 cpp_quote(" HRESULT (WINAPI *GetHardwareSupportedTVAudioModes)(IAMTVAudio *This,LONG *plModes);")
837 cpp_quote(" HRESULT (WINAPI *GetAvailableTVAudioModes)(IAMTVAudio *This,LONG *plModes);")
838 cpp_quote(" HRESULT (WINAPI *get_TVAudioMode)(IAMTVAudio *This,LONG *plMode);")
839 cpp_quote(" HRESULT (WINAPI *put_TVAudioMode)(IAMTVAudio *This,LONG lMode);")
840 cpp_quote(" HRESULT (WINAPI *RegisterNotificationCallBack)(IAMTVAudio *This,IAMTunerNotification *pNotify,LONG lEvents);")
841 cpp_quote(" HRESULT (WINAPI *UnRegisterNotificationCallBack)(IAMTVAudio *This,IAMTunerNotification *pNotify);")
842 cpp_quote(" END_INTERFACE")
843 cpp_quote(" } IAMTVAudioVtbl;")
844 cpp_quote(" struct IAMTVAudio {")
845 cpp_quote(" CONST_VTBL struct IAMTVAudioVtbl *lpVtbl;")
846 cpp_quote(" };")
847 cpp_quote("#ifdef COBJMACROS")
848 cpp_quote("#define IAMTVAudio_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
849 cpp_quote("#define IAMTVAudio_AddRef(This) (This)->lpVtbl->AddRef(This)")
850 cpp_quote("#define IAMTVAudio_Release(This) (This)->lpVtbl->Release(This)")
851 cpp_quote("#define IAMTVAudio_GetHardwareSupportedTVAudioModes(This,plModes) (This)->lpVtbl->GetHardwareSupportedTVAudioModes(This,plModes)")
852 cpp_quote("#define IAMTVAudio_GetAvailableTVAudioModes(This,plModes) (This)->lpVtbl->GetAvailableTVAudioModes(This,plModes)")
853 cpp_quote("#define IAMTVAudio_get_TVAudioMode(This,plMode) (This)->lpVtbl->get_TVAudioMode(This,plMode)")
854 cpp_quote("#define IAMTVAudio_put_TVAudioMode(This,lMode) (This)->lpVtbl->put_TVAudioMode(This,lMode)")
855 cpp_quote("#define IAMTVAudio_RegisterNotificationCallBack(This,pNotify,lEvents) (This)->lpVtbl->RegisterNotificationCallBack(This,pNotify,lEvents)")
856 cpp_quote("#define IAMTVAudio_UnRegisterNotificationCallBack(This,pNotify) (This)->lpVtbl->UnRegisterNotificationCallBack(This,pNotify)")
857 cpp_quote("#endif")
858 cpp_quote("#endif")
859 cpp_quote(" HRESULT WINAPI IAMTVAudio_GetHardwareSupportedTVAudioModes_Proxy(IAMTVAudio *This,LONG *plModes);")
860 cpp_quote(" void __RPC_STUB IAMTVAudio_GetHardwareSupportedTVAudioModes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
861 cpp_quote(" HRESULT WINAPI IAMTVAudio_GetAvailableTVAudioModes_Proxy(IAMTVAudio *This,LONG *plModes);")
862 cpp_quote(" void __RPC_STUB IAMTVAudio_GetAvailableTVAudioModes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
863 cpp_quote(" HRESULT WINAPI IAMTVAudio_get_TVAudioMode_Proxy(IAMTVAudio *This,LONG *plMode);")
864 cpp_quote(" void __RPC_STUB IAMTVAudio_get_TVAudioMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
865 cpp_quote(" HRESULT WINAPI IAMTVAudio_put_TVAudioMode_Proxy(IAMTVAudio *This,LONG lMode);")
866 cpp_quote(" void __RPC_STUB IAMTVAudio_put_TVAudioMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
867 cpp_quote(" HRESULT WINAPI IAMTVAudio_RegisterNotificationCallBack_Proxy(IAMTVAudio *This,IAMTunerNotification *pNotify,LONG lEvents);")
868 cpp_quote(" void __RPC_STUB IAMTVAudio_RegisterNotificationCallBack_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
869 cpp_quote(" HRESULT WINAPI IAMTVAudio_UnRegisterNotificationCallBack_Proxy(IAMTVAudio *This,IAMTunerNotification *pNotify);")
870 cpp_quote(" void __RPC_STUB IAMTVAudio_UnRegisterNotificationCallBack_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
871 cpp_quote("#endif")
872 cpp_quote("")
873 cpp_quote("#ifndef __IAMTVAudioNotification_INTERFACE_DEFINED__")
874 cpp_quote("#define __IAMTVAudioNotification_INTERFACE_DEFINED__")
875 cpp_quote(" EXTERN_C const IID IID_IAMTVAudioNotification;")
876 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
877 cpp_quote(" struct IAMTVAudioNotification : public IUnknown {")
878 cpp_quote(" public:")
879 cpp_quote(" virtual HRESULT WINAPI OnEvent(AMTVAudioEventType Event) = 0;")
880 cpp_quote(" };")
881 cpp_quote("#else")
882 cpp_quote(" typedef struct IAMTVAudioNotificationVtbl {")
883 cpp_quote(" BEGIN_INTERFACE")
884 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMTVAudioNotification *This,REFIID riid,void **ppvObject);")
885 cpp_quote(" ULONG (WINAPI *AddRef)(IAMTVAudioNotification *This);")
886 cpp_quote(" ULONG (WINAPI *Release)(IAMTVAudioNotification *This);")
887 cpp_quote(" HRESULT (WINAPI *OnEvent)(IAMTVAudioNotification *This,AMTVAudioEventType Event);")
888 cpp_quote(" END_INTERFACE")
889 cpp_quote(" } IAMTVAudioNotificationVtbl;")
890 cpp_quote(" struct IAMTVAudioNotification {")
891 cpp_quote(" CONST_VTBL struct IAMTVAudioNotificationVtbl *lpVtbl;")
892 cpp_quote(" };")
893 cpp_quote("#ifdef COBJMACROS")
894 cpp_quote("#define IAMTVAudioNotification_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
895 cpp_quote("#define IAMTVAudioNotification_AddRef(This) (This)->lpVtbl->AddRef(This)")
896 cpp_quote("#define IAMTVAudioNotification_Release(This) (This)->lpVtbl->Release(This)")
897 cpp_quote("#define IAMTVAudioNotification_OnEvent(This,Event) (This)->lpVtbl->OnEvent(This,Event)")
898 cpp_quote("#endif")
899 cpp_quote("#endif")
900 cpp_quote(" HRESULT WINAPI IAMTVAudioNotification_OnEvent_Proxy(IAMTVAudioNotification *This,AMTVAudioEventType Event);")
901 cpp_quote(" void __RPC_STUB IAMTVAudioNotification_OnEvent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
902 cpp_quote("#endif")
903 cpp_quote("")
904 cpp_quote("#ifndef __IAMAnalogVideoEncoder_INTERFACE_DEFINED__")
905 cpp_quote("#define __IAMAnalogVideoEncoder_INTERFACE_DEFINED__")
906 cpp_quote(" EXTERN_C const IID IID_IAMAnalogVideoEncoder;")
907 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
908 cpp_quote(" struct IAMAnalogVideoEncoder : public IUnknown {")
909 cpp_quote(" public:")
910 cpp_quote(" virtual HRESULT WINAPI get_AvailableTVFormats(LONG *lAnalogVideoStandard) = 0;")
911 cpp_quote(" virtual HRESULT WINAPI put_TVFormat(LONG lAnalogVideoStandard) = 0;")
912 cpp_quote(" virtual HRESULT WINAPI get_TVFormat(LONG *plAnalogVideoStandard) = 0;")
913 cpp_quote(" virtual HRESULT WINAPI put_CopyProtection(LONG lVideoCopyProtection) = 0;")
914 cpp_quote(" virtual HRESULT WINAPI get_CopyProtection(LONG *lVideoCopyProtection) = 0;")
915 cpp_quote(" virtual HRESULT WINAPI put_CCEnable(LONG lCCEnable) = 0;")
916 cpp_quote(" virtual HRESULT WINAPI get_CCEnable(LONG *lCCEnable) = 0;")
917 cpp_quote(" };")
918 cpp_quote("#else")
919 cpp_quote(" typedef struct IAMAnalogVideoEncoderVtbl {")
920 cpp_quote(" BEGIN_INTERFACE")
921 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMAnalogVideoEncoder *This,REFIID riid,void **ppvObject);")
922 cpp_quote(" ULONG (WINAPI *AddRef)(IAMAnalogVideoEncoder *This);")
923 cpp_quote(" ULONG (WINAPI *Release)(IAMAnalogVideoEncoder *This);")
924 cpp_quote(" HRESULT (WINAPI *get_AvailableTVFormats)(IAMAnalogVideoEncoder *This,LONG *lAnalogVideoStandard);")
925 cpp_quote(" HRESULT (WINAPI *put_TVFormat)(IAMAnalogVideoEncoder *This,LONG lAnalogVideoStandard);")
926 cpp_quote(" HRESULT (WINAPI *get_TVFormat)(IAMAnalogVideoEncoder *This,LONG *plAnalogVideoStandard);")
927 cpp_quote(" HRESULT (WINAPI *put_CopyProtection)(IAMAnalogVideoEncoder *This,LONG lVideoCopyProtection);")
928 cpp_quote(" HRESULT (WINAPI *get_CopyProtection)(IAMAnalogVideoEncoder *This,LONG *lVideoCopyProtection);")
929 cpp_quote(" HRESULT (WINAPI *put_CCEnable)(IAMAnalogVideoEncoder *This,LONG lCCEnable);")
930 cpp_quote(" HRESULT (WINAPI *get_CCEnable)(IAMAnalogVideoEncoder *This,LONG *lCCEnable);")
931 cpp_quote(" END_INTERFACE")
932 cpp_quote(" } IAMAnalogVideoEncoderVtbl;")
933 cpp_quote(" struct IAMAnalogVideoEncoder {")
934 cpp_quote(" CONST_VTBL struct IAMAnalogVideoEncoderVtbl *lpVtbl;")
935 cpp_quote(" };")
936 cpp_quote("#ifdef COBJMACROS")
937 cpp_quote("#define IAMAnalogVideoEncoder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
938 cpp_quote("#define IAMAnalogVideoEncoder_AddRef(This) (This)->lpVtbl->AddRef(This)")
939 cpp_quote("#define IAMAnalogVideoEncoder_Release(This) (This)->lpVtbl->Release(This)")
940 cpp_quote("#define IAMAnalogVideoEncoder_get_AvailableTVFormats(This,lAnalogVideoStandard) (This)->lpVtbl->get_AvailableTVFormats(This,lAnalogVideoStandard)")
941 cpp_quote("#define IAMAnalogVideoEncoder_put_TVFormat(This,lAnalogVideoStandard) (This)->lpVtbl->put_TVFormat(This,lAnalogVideoStandard)")
942 cpp_quote("#define IAMAnalogVideoEncoder_get_TVFormat(This,plAnalogVideoStandard) (This)->lpVtbl->get_TVFormat(This,plAnalogVideoStandard)")
943 cpp_quote("#define IAMAnalogVideoEncoder_put_CopyProtection(This,lVideoCopyProtection) (This)->lpVtbl->put_CopyProtection(This,lVideoCopyProtection)")
944 cpp_quote("#define IAMAnalogVideoEncoder_get_CopyProtection(This,lVideoCopyProtection) (This)->lpVtbl->get_CopyProtection(This,lVideoCopyProtection)")
945 cpp_quote("#define IAMAnalogVideoEncoder_put_CCEnable(This,lCCEnable) (This)->lpVtbl->put_CCEnable(This,lCCEnable)")
946 cpp_quote("#define IAMAnalogVideoEncoder_get_CCEnable(This,lCCEnable) (This)->lpVtbl->get_CCEnable(This,lCCEnable)")
947 cpp_quote("#endif")
948 cpp_quote("#endif")
949 cpp_quote(" HRESULT WINAPI IAMAnalogVideoEncoder_get_AvailableTVFormats_Proxy(IAMAnalogVideoEncoder *This,LONG *lAnalogVideoStandard);")
950 cpp_quote(" void __RPC_STUB IAMAnalogVideoEncoder_get_AvailableTVFormats_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
951 cpp_quote(" HRESULT WINAPI IAMAnalogVideoEncoder_put_TVFormat_Proxy(IAMAnalogVideoEncoder *This,LONG lAnalogVideoStandard);")
952 cpp_quote(" void __RPC_STUB IAMAnalogVideoEncoder_put_TVFormat_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
953 cpp_quote(" HRESULT WINAPI IAMAnalogVideoEncoder_get_TVFormat_Proxy(IAMAnalogVideoEncoder *This,LONG *plAnalogVideoStandard);")
954 cpp_quote(" void __RPC_STUB IAMAnalogVideoEncoder_get_TVFormat_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
955 cpp_quote(" HRESULT WINAPI IAMAnalogVideoEncoder_put_CopyProtection_Proxy(IAMAnalogVideoEncoder *This,LONG lVideoCopyProtection);")
956 cpp_quote(" void __RPC_STUB IAMAnalogVideoEncoder_put_CopyProtection_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
957 cpp_quote(" HRESULT WINAPI IAMAnalogVideoEncoder_get_CopyProtection_Proxy(IAMAnalogVideoEncoder *This,LONG *lVideoCopyProtection);")
958 cpp_quote(" void __RPC_STUB IAMAnalogVideoEncoder_get_CopyProtection_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
959 cpp_quote(" HRESULT WINAPI IAMAnalogVideoEncoder_put_CCEnable_Proxy(IAMAnalogVideoEncoder *This,LONG lCCEnable);")
960 cpp_quote(" void __RPC_STUB IAMAnalogVideoEncoder_put_CCEnable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
961 cpp_quote(" HRESULT WINAPI IAMAnalogVideoEncoder_get_CCEnable_Proxy(IAMAnalogVideoEncoder *This,LONG *lCCEnable);")
962 cpp_quote(" void __RPC_STUB IAMAnalogVideoEncoder_get_CCEnable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
963 cpp_quote("#endif")
964 cpp_quote("")
965 cpp_quote("#ifndef __IAMPhysicalPinInfo_INTERFACE_DEFINED__")
966 cpp_quote("#define __IAMPhysicalPinInfo_INTERFACE_DEFINED__")
967 cpp_quote(" EXTERN_C const IID IID_IAMPhysicalPinInfo;")
968 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
969 cpp_quote(" struct IAMPhysicalPinInfo : public IUnknown {")
970 cpp_quote(" public:")
971 cpp_quote(" virtual HRESULT WINAPI GetPhysicalType(LONG *pType,LPOLESTR *ppszType) = 0;")
972 cpp_quote(" };")
973 cpp_quote("#else")
974 cpp_quote(" typedef struct IAMPhysicalPinInfoVtbl {")
975 cpp_quote(" BEGIN_INTERFACE")
976 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMPhysicalPinInfo *This,REFIID riid,void **ppvObject);")
977 cpp_quote(" ULONG (WINAPI *AddRef)(IAMPhysicalPinInfo *This);")
978 cpp_quote(" ULONG (WINAPI *Release)(IAMPhysicalPinInfo *This);")
979 cpp_quote(" HRESULT (WINAPI *GetPhysicalType)(IAMPhysicalPinInfo *This,LONG *pType,LPOLESTR *ppszType);")
980 cpp_quote(" END_INTERFACE")
981 cpp_quote(" } IAMPhysicalPinInfoVtbl;")
982 cpp_quote(" struct IAMPhysicalPinInfo {")
983 cpp_quote(" CONST_VTBL struct IAMPhysicalPinInfoVtbl *lpVtbl;")
984 cpp_quote(" };")
985 cpp_quote("#ifdef COBJMACROS")
986 cpp_quote("#define IAMPhysicalPinInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
987 cpp_quote("#define IAMPhysicalPinInfo_AddRef(This) (This)->lpVtbl->AddRef(This)")
988 cpp_quote("#define IAMPhysicalPinInfo_Release(This) (This)->lpVtbl->Release(This)")
989 cpp_quote("#define IAMPhysicalPinInfo_GetPhysicalType(This,pType,ppszType) (This)->lpVtbl->GetPhysicalType(This,pType,ppszType)")
990 cpp_quote("#endif")
991 cpp_quote("#endif")
992 cpp_quote(" HRESULT WINAPI IAMPhysicalPinInfo_GetPhysicalType_Proxy(IAMPhysicalPinInfo *This,LONG *pType,LPOLESTR *ppszType);")
993 cpp_quote(" void __RPC_STUB IAMPhysicalPinInfo_GetPhysicalType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
994 cpp_quote("#endif")
995 cpp_quote("")
996 cpp_quote(" typedef IAMPhysicalPinInfo *PAMPHYSICALPININFO;")
997 cpp_quote("")
998 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0338_v0_0_c_ifspec;")
999 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0338_v0_0_s_ifspec;")
1000 cpp_quote("#ifndef __IAMExtDevice_INTERFACE_DEFINED__")
1001 cpp_quote("#define __IAMExtDevice_INTERFACE_DEFINED__")
1002 cpp_quote(" EXTERN_C const IID IID_IAMExtDevice;")
1003 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1004 cpp_quote(" struct IAMExtDevice : public IUnknown {")
1005 cpp_quote(" public:")
1006 cpp_quote(" virtual HRESULT WINAPI GetCapability(LONG Capability,LONG *pValue,double *pdblValue) = 0;")
1007 cpp_quote(" virtual HRESULT WINAPI get_ExternalDeviceID(LPOLESTR *ppszData) = 0;")
1008 cpp_quote(" virtual HRESULT WINAPI get_ExternalDeviceVersion(LPOLESTR *ppszData) = 0;")
1009 cpp_quote(" virtual HRESULT WINAPI put_DevicePower(LONG PowerMode) = 0;")
1010 cpp_quote(" virtual HRESULT WINAPI get_DevicePower(LONG *pPowerMode) = 0;")
1011 cpp_quote(" virtual HRESULT WINAPI Calibrate(HEVENT hEvent,LONG Mode,LONG *pStatus) = 0;")
1012 cpp_quote(" virtual HRESULT WINAPI put_DevicePort(LONG DevicePort) = 0;")
1013 cpp_quote(" virtual HRESULT WINAPI get_DevicePort(LONG *pDevicePort) = 0;")
1014 cpp_quote(" };")
1015 cpp_quote("#else")
1016 cpp_quote(" typedef struct IAMExtDeviceVtbl {")
1017 cpp_quote(" BEGIN_INTERFACE")
1018 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMExtDevice *This,REFIID riid,void **ppvObject);")
1019 cpp_quote(" ULONG (WINAPI *AddRef)(IAMExtDevice *This);")
1020 cpp_quote(" ULONG (WINAPI *Release)(IAMExtDevice *This);")
1021 cpp_quote(" HRESULT (WINAPI *GetCapability)(IAMExtDevice *This,LONG Capability,LONG *pValue,double *pdblValue);")
1022 cpp_quote(" HRESULT (WINAPI *get_ExternalDeviceID)(IAMExtDevice *This,LPOLESTR *ppszData);")
1023 cpp_quote(" HRESULT (WINAPI *get_ExternalDeviceVersion)(IAMExtDevice *This,LPOLESTR *ppszData);")
1024 cpp_quote(" HRESULT (WINAPI *put_DevicePower)(IAMExtDevice *This,LONG PowerMode);")
1025 cpp_quote(" HRESULT (WINAPI *get_DevicePower)(IAMExtDevice *This,LONG *pPowerMode);")
1026 cpp_quote(" HRESULT (WINAPI *Calibrate)(IAMExtDevice *This,HEVENT hEvent,LONG Mode,LONG *pStatus);")
1027 cpp_quote(" HRESULT (WINAPI *put_DevicePort)(IAMExtDevice *This,LONG DevicePort);")
1028 cpp_quote(" HRESULT (WINAPI *get_DevicePort)(IAMExtDevice *This,LONG *pDevicePort);")
1029 cpp_quote(" END_INTERFACE")
1030 cpp_quote(" } IAMExtDeviceVtbl;")
1031 cpp_quote(" struct IAMExtDevice {")
1032 cpp_quote(" CONST_VTBL struct IAMExtDeviceVtbl *lpVtbl;")
1033 cpp_quote(" };")
1034 cpp_quote("#ifdef COBJMACROS")
1035 cpp_quote("#define IAMExtDevice_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1036 cpp_quote("#define IAMExtDevice_AddRef(This) (This)->lpVtbl->AddRef(This)")
1037 cpp_quote("#define IAMExtDevice_Release(This) (This)->lpVtbl->Release(This)")
1038 cpp_quote("#define IAMExtDevice_GetCapability(This,Capability,pValue,pdblValue) (This)->lpVtbl->GetCapability(This,Capability,pValue,pdblValue)")
1039 cpp_quote("#define IAMExtDevice_get_ExternalDeviceID(This,ppszData) (This)->lpVtbl->get_ExternalDeviceID(This,ppszData)")
1040 cpp_quote("#define IAMExtDevice_get_ExternalDeviceVersion(This,ppszData) (This)->lpVtbl->get_ExternalDeviceVersion(This,ppszData)")
1041 cpp_quote("#define IAMExtDevice_put_DevicePower(This,PowerMode) (This)->lpVtbl->put_DevicePower(This,PowerMode)")
1042 cpp_quote("#define IAMExtDevice_get_DevicePower(This,pPowerMode) (This)->lpVtbl->get_DevicePower(This,pPowerMode)")
1043 cpp_quote("#define IAMExtDevice_Calibrate(This,hEvent,Mode,pStatus) (This)->lpVtbl->Calibrate(This,hEvent,Mode,pStatus)")
1044 cpp_quote("#define IAMExtDevice_put_DevicePort(This,DevicePort) (This)->lpVtbl->put_DevicePort(This,DevicePort)")
1045 cpp_quote("#define IAMExtDevice_get_DevicePort(This,pDevicePort) (This)->lpVtbl->get_DevicePort(This,pDevicePort)")
1046 cpp_quote("#endif")
1047 cpp_quote("#endif")
1048 cpp_quote(" HRESULT WINAPI IAMExtDevice_GetCapability_Proxy(IAMExtDevice *This,LONG Capability,LONG *pValue,double *pdblValue);")
1049 cpp_quote(" void __RPC_STUB IAMExtDevice_GetCapability_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1050 cpp_quote(" HRESULT WINAPI IAMExtDevice_get_ExternalDeviceID_Proxy(IAMExtDevice *This,LPOLESTR *ppszData);")
1051 cpp_quote(" void __RPC_STUB IAMExtDevice_get_ExternalDeviceID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1052 cpp_quote(" HRESULT WINAPI IAMExtDevice_get_ExternalDeviceVersion_Proxy(IAMExtDevice *This,LPOLESTR *ppszData);")
1053 cpp_quote(" void __RPC_STUB IAMExtDevice_get_ExternalDeviceVersion_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1054 cpp_quote(" HRESULT WINAPI IAMExtDevice_put_DevicePower_Proxy(IAMExtDevice *This,LONG PowerMode);")
1055 cpp_quote(" void __RPC_STUB IAMExtDevice_put_DevicePower_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1056 cpp_quote(" HRESULT WINAPI IAMExtDevice_get_DevicePower_Proxy(IAMExtDevice *This,LONG *pPowerMode);")
1057 cpp_quote(" void __RPC_STUB IAMExtDevice_get_DevicePower_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1058 cpp_quote(" HRESULT WINAPI IAMExtDevice_Calibrate_Proxy(IAMExtDevice *This,HEVENT hEvent,LONG Mode,LONG *pStatus);")
1059 cpp_quote(" void __RPC_STUB IAMExtDevice_Calibrate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1060 cpp_quote(" HRESULT WINAPI IAMExtDevice_put_DevicePort_Proxy(IAMExtDevice *This,LONG DevicePort);")
1061 cpp_quote(" void __RPC_STUB IAMExtDevice_put_DevicePort_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1062 cpp_quote(" HRESULT WINAPI IAMExtDevice_get_DevicePort_Proxy(IAMExtDevice *This,LONG *pDevicePort);")
1063 cpp_quote(" void __RPC_STUB IAMExtDevice_get_DevicePort_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1064 cpp_quote("#endif")
1065 cpp_quote("")
1066 cpp_quote(" typedef IAMExtDevice *PEXTDEVICE;")
1067 cpp_quote("")
1068 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0339_v0_0_c_ifspec;")
1069 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0339_v0_0_s_ifspec;")
1070 cpp_quote("#ifndef __IAMExtTransport_INTERFACE_DEFINED__")
1071 cpp_quote("#define __IAMExtTransport_INTERFACE_DEFINED__")
1072 cpp_quote(" EXTERN_C const IID IID_IAMExtTransport;")
1073 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1074 cpp_quote(" struct IAMExtTransport : public IUnknown {")
1075 cpp_quote(" public:")
1076 cpp_quote(" virtual HRESULT WINAPI GetCapability(LONG Capability,LONG *pValue,double *pdblValue) = 0;")
1077 cpp_quote(" virtual HRESULT WINAPI put_MediaState(LONG State) = 0;")
1078 cpp_quote(" virtual HRESULT WINAPI get_MediaState(LONG *pState) = 0;")
1079 cpp_quote(" virtual HRESULT WINAPI put_LocalControl(LONG State) = 0;")
1080 cpp_quote(" virtual HRESULT WINAPI get_LocalControl(LONG *pState) = 0;")
1081 cpp_quote(" virtual HRESULT WINAPI GetStatus(LONG StatusItem,LONG *pValue) = 0;")
1082 cpp_quote(" virtual HRESULT WINAPI GetTransportBasicParameters(LONG Param,LONG *pValue,LPOLESTR *ppszData) = 0;")
1083 cpp_quote(" virtual HRESULT WINAPI SetTransportBasicParameters(LONG Param,LONG Value,LPCOLESTR pszData) = 0;")
1084 cpp_quote(" virtual HRESULT WINAPI GetTransportVideoParameters(LONG Param,LONG *pValue) = 0;")
1085 cpp_quote(" virtual HRESULT WINAPI SetTransportVideoParameters(LONG Param,LONG Value) = 0;")
1086 cpp_quote(" virtual HRESULT WINAPI GetTransportAudioParameters(LONG Param,LONG *pValue) = 0;")
1087 cpp_quote(" virtual HRESULT WINAPI SetTransportAudioParameters(LONG Param,LONG Value) = 0;")
1088 cpp_quote(" virtual HRESULT WINAPI put_Mode(LONG Mode) = 0;")
1089 cpp_quote(" virtual HRESULT WINAPI get_Mode(LONG *pMode) = 0;")
1090 cpp_quote(" virtual HRESULT WINAPI put_Rate(double dblRate) = 0;")
1091 cpp_quote(" virtual HRESULT WINAPI get_Rate(double *pdblRate) = 0;")
1092 cpp_quote(" virtual HRESULT WINAPI GetChase(LONG *pEnabled,LONG *pOffset,HEVENT *phEvent) = 0;")
1093 cpp_quote(" virtual HRESULT WINAPI SetChase(LONG Enable,LONG Offset,HEVENT hEvent) = 0;")
1094 cpp_quote(" virtual HRESULT WINAPI GetBump(LONG *pSpeed,LONG *pDuration) = 0;")
1095 cpp_quote(" virtual HRESULT WINAPI SetBump(LONG Speed,LONG Duration) = 0;")
1096 cpp_quote(" virtual HRESULT WINAPI get_AntiClogControl(LONG *pEnabled) = 0;")
1097 cpp_quote(" virtual HRESULT WINAPI put_AntiClogControl(LONG Enable) = 0;")
1098 cpp_quote(" virtual HRESULT WINAPI GetEditPropertySet(LONG EditID,LONG *pState) = 0;")
1099 cpp_quote(" virtual HRESULT WINAPI SetEditPropertySet(LONG *pEditID,LONG State) = 0;")
1100 cpp_quote(" virtual HRESULT WINAPI GetEditProperty(LONG EditID,LONG Param,LONG *pValue) = 0;")
1101 cpp_quote(" virtual HRESULT WINAPI SetEditProperty(LONG EditID,LONG Param,LONG Value) = 0;")
1102 cpp_quote(" virtual HRESULT WINAPI get_EditStart(LONG *pValue) = 0;")
1103 cpp_quote(" virtual HRESULT WINAPI put_EditStart(LONG Value) = 0;")
1104 cpp_quote(" };")
1105 cpp_quote("#else")
1106 cpp_quote(" typedef struct IAMExtTransportVtbl {")
1107 cpp_quote(" BEGIN_INTERFACE")
1108 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMExtTransport *This,REFIID riid,void **ppvObject);")
1109 cpp_quote(" ULONG (WINAPI *AddRef)(IAMExtTransport *This);")
1110 cpp_quote(" ULONG (WINAPI *Release)(IAMExtTransport *This);")
1111 cpp_quote(" HRESULT (WINAPI *GetCapability)(IAMExtTransport *This,LONG Capability,LONG *pValue,double *pdblValue);")
1112 cpp_quote(" HRESULT (WINAPI *put_MediaState)(IAMExtTransport *This,LONG State);")
1113 cpp_quote(" HRESULT (WINAPI *get_MediaState)(IAMExtTransport *This,LONG *pState);")
1114 cpp_quote(" HRESULT (WINAPI *put_LocalControl)(IAMExtTransport *This,LONG State);")
1115 cpp_quote(" HRESULT (WINAPI *get_LocalControl)(IAMExtTransport *This,LONG *pState);")
1116 cpp_quote(" HRESULT (WINAPI *GetStatus)(IAMExtTransport *This,LONG StatusItem,LONG *pValue);")
1117 cpp_quote(" HRESULT (WINAPI *GetTransportBasicParameters)(IAMExtTransport *This,LONG Param,LONG *pValue,LPOLESTR *ppszData);")
1118 cpp_quote(" HRESULT (WINAPI *SetTransportBasicParameters)(IAMExtTransport *This,LONG Param,LONG Value,LPCOLESTR pszData);")
1119 cpp_quote(" HRESULT (WINAPI *GetTransportVideoParameters)(IAMExtTransport *This,LONG Param,LONG *pValue);")
1120 cpp_quote(" HRESULT (WINAPI *SetTransportVideoParameters)(IAMExtTransport *This,LONG Param,LONG Value);")
1121 cpp_quote(" HRESULT (WINAPI *GetTransportAudioParameters)(IAMExtTransport *This,LONG Param,LONG *pValue);")
1122 cpp_quote(" HRESULT (WINAPI *SetTransportAudioParameters)(IAMExtTransport *This,LONG Param,LONG Value);")
1123 cpp_quote(" HRESULT (WINAPI *put_Mode)(IAMExtTransport *This,LONG Mode);")
1124 cpp_quote(" HRESULT (WINAPI *get_Mode)(IAMExtTransport *This,LONG *pMode);")
1125 cpp_quote(" HRESULT (WINAPI *put_Rate)(IAMExtTransport *This,double dblRate);")
1126 cpp_quote(" HRESULT (WINAPI *get_Rate)(IAMExtTransport *This,double *pdblRate);")
1127 cpp_quote(" HRESULT (WINAPI *GetChase)(IAMExtTransport *This,LONG *pEnabled,LONG *pOffset,HEVENT *phEvent);")
1128 cpp_quote(" HRESULT (WINAPI *SetChase)(IAMExtTransport *This,LONG Enable,LONG Offset,HEVENT hEvent);")
1129 cpp_quote(" HRESULT (WINAPI *GetBump)(IAMExtTransport *This,LONG *pSpeed,LONG *pDuration);")
1130 cpp_quote(" HRESULT (WINAPI *SetBump)(IAMExtTransport *This,LONG Speed,LONG Duration);")
1131 cpp_quote(" HRESULT (WINAPI *get_AntiClogControl)(IAMExtTransport *This,LONG *pEnabled);")
1132 cpp_quote(" HRESULT (WINAPI *put_AntiClogControl)(IAMExtTransport *This,LONG Enable);")
1133 cpp_quote(" HRESULT (WINAPI *GetEditPropertySet)(IAMExtTransport *This,LONG EditID,LONG *pState);")
1134 cpp_quote(" HRESULT (WINAPI *SetEditPropertySet)(IAMExtTransport *This,LONG *pEditID,LONG State);")
1135 cpp_quote(" HRESULT (WINAPI *GetEditProperty)(IAMExtTransport *This,LONG EditID,LONG Param,LONG *pValue);")
1136 cpp_quote(" HRESULT (WINAPI *SetEditProperty)(IAMExtTransport *This,LONG EditID,LONG Param,LONG Value);")
1137 cpp_quote(" HRESULT (WINAPI *get_EditStart)(IAMExtTransport *This,LONG *pValue);")
1138 cpp_quote(" HRESULT (WINAPI *put_EditStart)(IAMExtTransport *This,LONG Value);")
1139 cpp_quote(" END_INTERFACE")
1140 cpp_quote(" } IAMExtTransportVtbl;")
1141 cpp_quote(" struct IAMExtTransport {")
1142 cpp_quote(" CONST_VTBL struct IAMExtTransportVtbl *lpVtbl;")
1143 cpp_quote(" };")
1144 cpp_quote("#ifdef COBJMACROS")
1145 cpp_quote("#define IAMExtTransport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1146 cpp_quote("#define IAMExtTransport_AddRef(This) (This)->lpVtbl->AddRef(This)")
1147 cpp_quote("#define IAMExtTransport_Release(This) (This)->lpVtbl->Release(This)")
1148 cpp_quote("#define IAMExtTransport_GetCapability(This,Capability,pValue,pdblValue) (This)->lpVtbl->GetCapability(This,Capability,pValue,pdblValue)")
1149 cpp_quote("#define IAMExtTransport_put_MediaState(This,State) (This)->lpVtbl->put_MediaState(This,State)")
1150 cpp_quote("#define IAMExtTransport_get_MediaState(This,pState) (This)->lpVtbl->get_MediaState(This,pState)")
1151 cpp_quote("#define IAMExtTransport_put_LocalControl(This,State) (This)->lpVtbl->put_LocalControl(This,State)")
1152 cpp_quote("#define IAMExtTransport_get_LocalControl(This,pState) (This)->lpVtbl->get_LocalControl(This,pState)")
1153 cpp_quote("#define IAMExtTransport_GetStatus(This,StatusItem,pValue) (This)->lpVtbl->GetStatus(This,StatusItem,pValue)")
1154 cpp_quote("#define IAMExtTransport_GetTransportBasicParameters(This,Param,pValue,ppszData) (This)->lpVtbl->GetTransportBasicParameters(This,Param,pValue,ppszData)")
1155 cpp_quote("#define IAMExtTransport_SetTransportBasicParameters(This,Param,Value,pszData) (This)->lpVtbl->SetTransportBasicParameters(This,Param,Value,pszData)")
1156 cpp_quote("#define IAMExtTransport_GetTransportVideoParameters(This,Param,pValue) (This)->lpVtbl->GetTransportVideoParameters(This,Param,pValue)")
1157 cpp_quote("#define IAMExtTransport_SetTransportVideoParameters(This,Param,Value) (This)->lpVtbl->SetTransportVideoParameters(This,Param,Value)")
1158 cpp_quote("#define IAMExtTransport_GetTransportAudioParameters(This,Param,pValue) (This)->lpVtbl->GetTransportAudioParameters(This,Param,pValue)")
1159 cpp_quote("#define IAMExtTransport_SetTransportAudioParameters(This,Param,Value) (This)->lpVtbl->SetTransportAudioParameters(This,Param,Value)")
1160 cpp_quote("#define IAMExtTransport_put_Mode(This,Mode) (This)->lpVtbl->put_Mode(This,Mode)")
1161 cpp_quote("#define IAMExtTransport_get_Mode(This,pMode) (This)->lpVtbl->get_Mode(This,pMode)")
1162 cpp_quote("#define IAMExtTransport_put_Rate(This,dblRate) (This)->lpVtbl->put_Rate(This,dblRate)")
1163 cpp_quote("#define IAMExtTransport_get_Rate(This,pdblRate) (This)->lpVtbl->get_Rate(This,pdblRate)")
1164 cpp_quote("#define IAMExtTransport_GetChase(This,pEnabled,pOffset,phEvent) (This)->lpVtbl->GetChase(This,pEnabled,pOffset,phEvent)")
1165 cpp_quote("#define IAMExtTransport_SetChase(This,Enable,Offset,hEvent) (This)->lpVtbl->SetChase(This,Enable,Offset,hEvent)")
1166 cpp_quote("#define IAMExtTransport_GetBump(This,pSpeed,pDuration) (This)->lpVtbl->GetBump(This,pSpeed,pDuration)")
1167 cpp_quote("#define IAMExtTransport_SetBump(This,Speed,Duration) (This)->lpVtbl->SetBump(This,Speed,Duration)")
1168 cpp_quote("#define IAMExtTransport_get_AntiClogControl(This,pEnabled) (This)->lpVtbl->get_AntiClogControl(This,pEnabled)")
1169 cpp_quote("#define IAMExtTransport_put_AntiClogControl(This,Enable) (This)->lpVtbl->put_AntiClogControl(This,Enable)")
1170 cpp_quote("#define IAMExtTransport_GetEditPropertySet(This,EditID,pState) (This)->lpVtbl->GetEditPropertySet(This,EditID,pState)")
1171 cpp_quote("#define IAMExtTransport_SetEditPropertySet(This,pEditID,State) (This)->lpVtbl->SetEditPropertySet(This,pEditID,State)")
1172 cpp_quote("#define IAMExtTransport_GetEditProperty(This,EditID,Param,pValue) (This)->lpVtbl->GetEditProperty(This,EditID,Param,pValue)")
1173 cpp_quote("#define IAMExtTransport_SetEditProperty(This,EditID,Param,Value) (This)->lpVtbl->SetEditProperty(This,EditID,Param,Value)")
1174 cpp_quote("#define IAMExtTransport_get_EditStart(This,pValue) (This)->lpVtbl->get_EditStart(This,pValue)")
1175 cpp_quote("#define IAMExtTransport_put_EditStart(This,Value) (This)->lpVtbl->put_EditStart(This,Value)")
1176 cpp_quote("#endif")
1177 cpp_quote("#endif")
1178 cpp_quote(" HRESULT WINAPI IAMExtTransport_GetCapability_Proxy(IAMExtTransport *This,LONG Capability,LONG *pValue,double *pdblValue);")
1179 cpp_quote(" void __RPC_STUB IAMExtTransport_GetCapability_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1180 cpp_quote(" HRESULT WINAPI IAMExtTransport_put_MediaState_Proxy(IAMExtTransport *This,LONG State);")
1181 cpp_quote(" void __RPC_STUB IAMExtTransport_put_MediaState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1182 cpp_quote(" HRESULT WINAPI IAMExtTransport_get_MediaState_Proxy(IAMExtTransport *This,LONG *pState);")
1183 cpp_quote(" void __RPC_STUB IAMExtTransport_get_MediaState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1184 cpp_quote(" HRESULT WINAPI IAMExtTransport_put_LocalControl_Proxy(IAMExtTransport *This,LONG State);")
1185 cpp_quote(" void __RPC_STUB IAMExtTransport_put_LocalControl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1186 cpp_quote(" HRESULT WINAPI IAMExtTransport_get_LocalControl_Proxy(IAMExtTransport *This,LONG *pState);")
1187 cpp_quote(" void __RPC_STUB IAMExtTransport_get_LocalControl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1188 cpp_quote(" HRESULT WINAPI IAMExtTransport_GetStatus_Proxy(IAMExtTransport *This,LONG StatusItem,LONG *pValue);")
1189 cpp_quote(" void __RPC_STUB IAMExtTransport_GetStatus_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1190 cpp_quote(" HRESULT WINAPI IAMExtTransport_GetTransportBasicParameters_Proxy(IAMExtTransport *This,LONG Param,LONG *pValue,LPOLESTR *ppszData);")
1191 cpp_quote(" void __RPC_STUB IAMExtTransport_GetTransportBasicParameters_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1192 cpp_quote(" HRESULT WINAPI IAMExtTransport_SetTransportBasicParameters_Proxy(IAMExtTransport *This,LONG Param,LONG Value,LPCOLESTR pszData);")
1193 cpp_quote(" void __RPC_STUB IAMExtTransport_SetTransportBasicParameters_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1194 cpp_quote(" HRESULT WINAPI IAMExtTransport_GetTransportVideoParameters_Proxy(IAMExtTransport *This,LONG Param,LONG *pValue);")
1195 cpp_quote(" void __RPC_STUB IAMExtTransport_GetTransportVideoParameters_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1196 cpp_quote(" HRESULT WINAPI IAMExtTransport_SetTransportVideoParameters_Proxy(IAMExtTransport *This,LONG Param,LONG Value);")
1197 cpp_quote(" void __RPC_STUB IAMExtTransport_SetTransportVideoParameters_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1198 cpp_quote(" HRESULT WINAPI IAMExtTransport_GetTransportAudioParameters_Proxy(IAMExtTransport *This,LONG Param,LONG *pValue);")
1199 cpp_quote(" void __RPC_STUB IAMExtTransport_GetTransportAudioParameters_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1200 cpp_quote(" HRESULT WINAPI IAMExtTransport_SetTransportAudioParameters_Proxy(IAMExtTransport *This,LONG Param,LONG Value);")
1201 cpp_quote(" void __RPC_STUB IAMExtTransport_SetTransportAudioParameters_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1202 cpp_quote(" HRESULT WINAPI IAMExtTransport_put_Mode_Proxy(IAMExtTransport *This,LONG Mode);")
1203 cpp_quote(" void __RPC_STUB IAMExtTransport_put_Mode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1204 cpp_quote(" HRESULT WINAPI IAMExtTransport_get_Mode_Proxy(IAMExtTransport *This,LONG *pMode);")
1205 cpp_quote(" void __RPC_STUB IAMExtTransport_get_Mode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1206 cpp_quote(" HRESULT WINAPI IAMExtTransport_put_Rate_Proxy(IAMExtTransport *This,double dblRate);")
1207 cpp_quote(" void __RPC_STUB IAMExtTransport_put_Rate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1208 cpp_quote(" HRESULT WINAPI IAMExtTransport_get_Rate_Proxy(IAMExtTransport *This,double *pdblRate);")
1209 cpp_quote(" void __RPC_STUB IAMExtTransport_get_Rate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1210 cpp_quote(" HRESULT WINAPI IAMExtTransport_GetChase_Proxy(IAMExtTransport *This,LONG *pEnabled,LONG *pOffset,HEVENT *phEvent);")
1211 cpp_quote(" void __RPC_STUB IAMExtTransport_GetChase_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1212 cpp_quote(" HRESULT WINAPI IAMExtTransport_SetChase_Proxy(IAMExtTransport *This,LONG Enable,LONG Offset,HEVENT hEvent);")
1213 cpp_quote(" void __RPC_STUB IAMExtTransport_SetChase_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1214 cpp_quote(" HRESULT WINAPI IAMExtTransport_GetBump_Proxy(IAMExtTransport *This,LONG *pSpeed,LONG *pDuration);")
1215 cpp_quote(" void __RPC_STUB IAMExtTransport_GetBump_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1216 cpp_quote(" HRESULT WINAPI IAMExtTransport_SetBump_Proxy(IAMExtTransport *This,LONG Speed,LONG Duration);")
1217 cpp_quote(" void __RPC_STUB IAMExtTransport_SetBump_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1218 cpp_quote(" HRESULT WINAPI IAMExtTransport_get_AntiClogControl_Proxy(IAMExtTransport *This,LONG *pEnabled);")
1219 cpp_quote(" void __RPC_STUB IAMExtTransport_get_AntiClogControl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1220 cpp_quote(" HRESULT WINAPI IAMExtTransport_put_AntiClogControl_Proxy(IAMExtTransport *This,LONG Enable);")
1221 cpp_quote(" void __RPC_STUB IAMExtTransport_put_AntiClogControl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1222 cpp_quote(" HRESULT WINAPI IAMExtTransport_GetEditPropertySet_Proxy(IAMExtTransport *This,LONG EditID,LONG *pState);")
1223 cpp_quote(" void __RPC_STUB IAMExtTransport_GetEditPropertySet_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1224 cpp_quote(" HRESULT WINAPI IAMExtTransport_SetEditPropertySet_Proxy(IAMExtTransport *This,LONG *pEditID,LONG State);")
1225 cpp_quote(" void __RPC_STUB IAMExtTransport_SetEditPropertySet_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1226 cpp_quote(" HRESULT WINAPI IAMExtTransport_GetEditProperty_Proxy(IAMExtTransport *This,LONG EditID,LONG Param,LONG *pValue);")
1227 cpp_quote(" void __RPC_STUB IAMExtTransport_GetEditProperty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1228 cpp_quote(" HRESULT WINAPI IAMExtTransport_SetEditProperty_Proxy(IAMExtTransport *This,LONG EditID,LONG Param,LONG Value);")
1229 cpp_quote(" void __RPC_STUB IAMExtTransport_SetEditProperty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1230 cpp_quote(" HRESULT WINAPI IAMExtTransport_get_EditStart_Proxy(IAMExtTransport *This,LONG *pValue);")
1231 cpp_quote(" void __RPC_STUB IAMExtTransport_get_EditStart_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1232 cpp_quote(" HRESULT WINAPI IAMExtTransport_put_EditStart_Proxy(IAMExtTransport *This,LONG Value);")
1233 cpp_quote(" void __RPC_STUB IAMExtTransport_put_EditStart_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1234 cpp_quote("#endif")
1235 cpp_quote("")
1236 cpp_quote(" typedef IAMExtTransport *PIAMEXTTRANSPORT;")
1237 cpp_quote("")
1238 cpp_quote("#ifndef TIMECODE_DEFINED")
1239 cpp_quote("#define TIMECODE_DEFINED")
1240 cpp_quote(" typedef union _timecode {")
1241 cpp_quote(" __C89_NAMELESS struct {")
1242 cpp_quote(" WORD wFrameRate;")
1243 cpp_quote(" WORD wFrameFract;")
1244 cpp_quote(" DWORD dwFrames;")
1245 cpp_quote(" };")
1246 cpp_quote(" DWORDLONG qw;")
1247 cpp_quote(" } TIMECODE;")
1248 cpp_quote("")
1249 cpp_quote(" typedef TIMECODE *PTIMECODE;")
1250 cpp_quote("")
1251 cpp_quote(" typedef struct tagTIMECODE_SAMPLE {")
1252 cpp_quote(" LONGLONG qwTick;")
1253 cpp_quote(" TIMECODE timecode;")
1254 cpp_quote(" DWORD dwUser;")
1255 cpp_quote(" DWORD dwFlags;")
1256 cpp_quote(" } TIMECODE_SAMPLE;")
1257 cpp_quote("")
1258 cpp_quote(" typedef TIMECODE_SAMPLE *PTIMECODE_SAMPLE;")
1259 cpp_quote("#endif /* TIMECODE_DEFINED */")
1260 cpp_quote("")
1261 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0340_v0_0_c_ifspec;")
1262 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0340_v0_0_s_ifspec;")
1263 cpp_quote("#ifndef __IAMTimecodeReader_INTERFACE_DEFINED__")
1264 cpp_quote("#define __IAMTimecodeReader_INTERFACE_DEFINED__")
1265 cpp_quote(" EXTERN_C const IID IID_IAMTimecodeReader;")
1266 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1267 cpp_quote(" struct IAMTimecodeReader : public IUnknown {")
1268 cpp_quote(" public:")
1269 cpp_quote(" virtual HRESULT WINAPI GetTCRMode(LONG Param,LONG *pValue) = 0;")
1270 cpp_quote(" virtual HRESULT WINAPI SetTCRMode(LONG Param,LONG Value) = 0;")
1271 cpp_quote(" virtual HRESULT WINAPI put_VITCLine(LONG Line) = 0;")
1272 cpp_quote(" virtual HRESULT WINAPI get_VITCLine(LONG *pLine) = 0;")
1273 cpp_quote(" virtual HRESULT WINAPI GetTimecode(PTIMECODE_SAMPLE pTimecodeSample) = 0;")
1274 cpp_quote(" };")
1275 cpp_quote("#else")
1276 cpp_quote(" typedef struct IAMTimecodeReaderVtbl {")
1277 cpp_quote(" BEGIN_INTERFACE")
1278 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMTimecodeReader *This,REFIID riid,void **ppvObject);")
1279 cpp_quote(" ULONG (WINAPI *AddRef)(IAMTimecodeReader *This);")
1280 cpp_quote(" ULONG (WINAPI *Release)(IAMTimecodeReader *This);")
1281 cpp_quote(" HRESULT (WINAPI *GetTCRMode)(IAMTimecodeReader *This,LONG Param,LONG *pValue);")
1282 cpp_quote(" HRESULT (WINAPI *SetTCRMode)(IAMTimecodeReader *This,LONG Param,LONG Value);")
1283 cpp_quote(" HRESULT (WINAPI *put_VITCLine)(IAMTimecodeReader *This,LONG Line);")
1284 cpp_quote(" HRESULT (WINAPI *get_VITCLine)(IAMTimecodeReader *This,LONG *pLine);")
1285 cpp_quote(" HRESULT (WINAPI *GetTimecode)(IAMTimecodeReader *This,PTIMECODE_SAMPLE pTimecodeSample);")
1286 cpp_quote(" END_INTERFACE")
1287 cpp_quote(" } IAMTimecodeReaderVtbl;")
1288 cpp_quote(" struct IAMTimecodeReader {")
1289 cpp_quote(" CONST_VTBL struct IAMTimecodeReaderVtbl *lpVtbl;")
1290 cpp_quote(" };")
1291 cpp_quote("#ifdef COBJMACROS")
1292 cpp_quote("#define IAMTimecodeReader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1293 cpp_quote("#define IAMTimecodeReader_AddRef(This) (This)->lpVtbl->AddRef(This)")
1294 cpp_quote("#define IAMTimecodeReader_Release(This) (This)->lpVtbl->Release(This)")
1295 cpp_quote("#define IAMTimecodeReader_GetTCRMode(This,Param,pValue) (This)->lpVtbl->GetTCRMode(This,Param,pValue)")
1296 cpp_quote("#define IAMTimecodeReader_SetTCRMode(This,Param,Value) (This)->lpVtbl->SetTCRMode(This,Param,Value)")
1297 cpp_quote("#define IAMTimecodeReader_put_VITCLine(This,Line) (This)->lpVtbl->put_VITCLine(This,Line)")
1298 cpp_quote("#define IAMTimecodeReader_get_VITCLine(This,pLine) (This)->lpVtbl->get_VITCLine(This,pLine)")
1299 cpp_quote("#define IAMTimecodeReader_GetTimecode(This,pTimecodeSample) (This)->lpVtbl->GetTimecode(This,pTimecodeSample)")
1300 cpp_quote("#endif")
1301 cpp_quote("#endif")
1302 cpp_quote(" HRESULT WINAPI IAMTimecodeReader_GetTCRMode_Proxy(IAMTimecodeReader *This,LONG Param,LONG *pValue);")
1303 cpp_quote(" void __RPC_STUB IAMTimecodeReader_GetTCRMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1304 cpp_quote(" HRESULT WINAPI IAMTimecodeReader_SetTCRMode_Proxy(IAMTimecodeReader *This,LONG Param,LONG Value);")
1305 cpp_quote(" void __RPC_STUB IAMTimecodeReader_SetTCRMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1306 cpp_quote(" HRESULT WINAPI IAMTimecodeReader_put_VITCLine_Proxy(IAMTimecodeReader *This,LONG Line);")
1307 cpp_quote(" void __RPC_STUB IAMTimecodeReader_put_VITCLine_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1308 cpp_quote(" HRESULT WINAPI IAMTimecodeReader_get_VITCLine_Proxy(IAMTimecodeReader *This,LONG *pLine);")
1309 cpp_quote(" void __RPC_STUB IAMTimecodeReader_get_VITCLine_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1310 cpp_quote(" HRESULT WINAPI IAMTimecodeReader_GetTimecode_Proxy(IAMTimecodeReader *This,PTIMECODE_SAMPLE pTimecodeSample);")
1311 cpp_quote(" void __RPC_STUB IAMTimecodeReader_GetTimecode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1312 cpp_quote("#endif")
1313 cpp_quote("")
1314 cpp_quote(" typedef IAMTimecodeReader *PIAMTIMECODEREADER;")
1315 cpp_quote("")
1316 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0341_v0_0_c_ifspec;")
1317 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0341_v0_0_s_ifspec;")
1318 cpp_quote("#ifndef __IAMTimecodeGenerator_INTERFACE_DEFINED__")
1319 cpp_quote("#define __IAMTimecodeGenerator_INTERFACE_DEFINED__")
1320 cpp_quote(" EXTERN_C const IID IID_IAMTimecodeGenerator;")
1321 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1322 cpp_quote(" struct IAMTimecodeGenerator : public IUnknown {")
1323 cpp_quote(" public:")
1324 cpp_quote(" virtual HRESULT WINAPI GetTCGMode(LONG Param,LONG *pValue) = 0;")
1325 cpp_quote(" virtual HRESULT WINAPI SetTCGMode(LONG Param,LONG Value) = 0;")
1326 cpp_quote(" virtual HRESULT WINAPI put_VITCLine(LONG Line) = 0;")
1327 cpp_quote(" virtual HRESULT WINAPI get_VITCLine(LONG *pLine) = 0;")
1328 cpp_quote(" virtual HRESULT WINAPI SetTimecode(PTIMECODE_SAMPLE pTimecodeSample) = 0;")
1329 cpp_quote(" virtual HRESULT WINAPI GetTimecode(PTIMECODE_SAMPLE pTimecodeSample) = 0;")
1330 cpp_quote(" };")
1331 cpp_quote("#else")
1332 cpp_quote(" typedef struct IAMTimecodeGeneratorVtbl {")
1333 cpp_quote(" BEGIN_INTERFACE")
1334 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMTimecodeGenerator *This,REFIID riid,void **ppvObject);")
1335 cpp_quote(" ULONG (WINAPI *AddRef)(IAMTimecodeGenerator *This);")
1336 cpp_quote(" ULONG (WINAPI *Release)(IAMTimecodeGenerator *This);")
1337 cpp_quote(" HRESULT (WINAPI *GetTCGMode)(IAMTimecodeGenerator *This,LONG Param,LONG *pValue);")
1338 cpp_quote(" HRESULT (WINAPI *SetTCGMode)(IAMTimecodeGenerator *This,LONG Param,LONG Value);")
1339 cpp_quote(" HRESULT (WINAPI *put_VITCLine)(IAMTimecodeGenerator *This,LONG Line);")
1340 cpp_quote(" HRESULT (WINAPI *get_VITCLine)(IAMTimecodeGenerator *This,LONG *pLine);")
1341 cpp_quote(" HRESULT (WINAPI *SetTimecode)(IAMTimecodeGenerator *This,PTIMECODE_SAMPLE pTimecodeSample);")
1342 cpp_quote(" HRESULT (WINAPI *GetTimecode)(IAMTimecodeGenerator *This,PTIMECODE_SAMPLE pTimecodeSample);")
1343 cpp_quote(" END_INTERFACE")
1344 cpp_quote(" } IAMTimecodeGeneratorVtbl;")
1345 cpp_quote(" struct IAMTimecodeGenerator {")
1346 cpp_quote(" CONST_VTBL struct IAMTimecodeGeneratorVtbl *lpVtbl;")
1347 cpp_quote(" };")
1348 cpp_quote("#ifdef COBJMACROS")
1349 cpp_quote("#define IAMTimecodeGenerator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1350 cpp_quote("#define IAMTimecodeGenerator_AddRef(This) (This)->lpVtbl->AddRef(This)")
1351 cpp_quote("#define IAMTimecodeGenerator_Release(This) (This)->lpVtbl->Release(This)")
1352 cpp_quote("#define IAMTimecodeGenerator_GetTCGMode(This,Param,pValue) (This)->lpVtbl->GetTCGMode(This,Param,pValue)")
1353 cpp_quote("#define IAMTimecodeGenerator_SetTCGMode(This,Param,Value) (This)->lpVtbl->SetTCGMode(This,Param,Value)")
1354 cpp_quote("#define IAMTimecodeGenerator_put_VITCLine(This,Line) (This)->lpVtbl->put_VITCLine(This,Line)")
1355 cpp_quote("#define IAMTimecodeGenerator_get_VITCLine(This,pLine) (This)->lpVtbl->get_VITCLine(This,pLine)")
1356 cpp_quote("#define IAMTimecodeGenerator_SetTimecode(This,pTimecodeSample) (This)->lpVtbl->SetTimecode(This,pTimecodeSample)")
1357 cpp_quote("#define IAMTimecodeGenerator_GetTimecode(This,pTimecodeSample) (This)->lpVtbl->GetTimecode(This,pTimecodeSample)")
1358 cpp_quote("#endif")
1359 cpp_quote("#endif")
1360 cpp_quote(" HRESULT WINAPI IAMTimecodeGenerator_GetTCGMode_Proxy(IAMTimecodeGenerator *This,LONG Param,LONG *pValue);")
1361 cpp_quote(" void __RPC_STUB IAMTimecodeGenerator_GetTCGMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1362 cpp_quote(" HRESULT WINAPI IAMTimecodeGenerator_SetTCGMode_Proxy(IAMTimecodeGenerator *This,LONG Param,LONG Value);")
1363 cpp_quote(" void __RPC_STUB IAMTimecodeGenerator_SetTCGMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1364 cpp_quote(" HRESULT WINAPI IAMTimecodeGenerator_put_VITCLine_Proxy(IAMTimecodeGenerator *This,LONG Line);")
1365 cpp_quote(" void __RPC_STUB IAMTimecodeGenerator_put_VITCLine_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1366 cpp_quote(" HRESULT WINAPI IAMTimecodeGenerator_get_VITCLine_Proxy(IAMTimecodeGenerator *This,LONG *pLine);")
1367 cpp_quote(" void __RPC_STUB IAMTimecodeGenerator_get_VITCLine_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1368 cpp_quote(" HRESULT WINAPI IAMTimecodeGenerator_SetTimecode_Proxy(IAMTimecodeGenerator *This,PTIMECODE_SAMPLE pTimecodeSample);")
1369 cpp_quote(" void __RPC_STUB IAMTimecodeGenerator_SetTimecode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1370 cpp_quote(" HRESULT WINAPI IAMTimecodeGenerator_GetTimecode_Proxy(IAMTimecodeGenerator *This,PTIMECODE_SAMPLE pTimecodeSample);")
1371 cpp_quote(" void __RPC_STUB IAMTimecodeGenerator_GetTimecode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1372 cpp_quote("#endif")
1373 cpp_quote("")
1374 cpp_quote(" typedef IAMTimecodeGenerator *PIAMTIMECODEGENERATOR;")
1375 cpp_quote("")
1376 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0342_v0_0_c_ifspec;")
1377 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0342_v0_0_s_ifspec;")
1378 cpp_quote("#ifndef __IAMTimecodeDisplay_INTERFACE_DEFINED__")
1379 cpp_quote("#define __IAMTimecodeDisplay_INTERFACE_DEFINED__")
1380 cpp_quote(" EXTERN_C const IID IID_IAMTimecodeDisplay;")
1381 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1382 cpp_quote(" struct IAMTimecodeDisplay : public IUnknown {")
1383 cpp_quote(" public:")
1384 cpp_quote(" virtual HRESULT WINAPI GetTCDisplayEnable(LONG *pState) = 0;")
1385 cpp_quote(" virtual HRESULT WINAPI SetTCDisplayEnable(LONG State) = 0;")
1386 cpp_quote(" virtual HRESULT WINAPI GetTCDisplay(LONG Param,LONG *pValue) = 0;")
1387 cpp_quote(" virtual HRESULT WINAPI SetTCDisplay(LONG Param,LONG Value) = 0;")
1388 cpp_quote(" };")
1389 cpp_quote("#else")
1390 cpp_quote(" typedef struct IAMTimecodeDisplayVtbl {")
1391 cpp_quote(" BEGIN_INTERFACE")
1392 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMTimecodeDisplay *This,REFIID riid,void **ppvObject);")
1393 cpp_quote(" ULONG (WINAPI *AddRef)(IAMTimecodeDisplay *This);")
1394 cpp_quote(" ULONG (WINAPI *Release)(IAMTimecodeDisplay *This);")
1395 cpp_quote(" HRESULT (WINAPI *GetTCDisplayEnable)(IAMTimecodeDisplay *This,LONG *pState);")
1396 cpp_quote(" HRESULT (WINAPI *SetTCDisplayEnable)(IAMTimecodeDisplay *This,LONG State);")
1397 cpp_quote(" HRESULT (WINAPI *GetTCDisplay)(IAMTimecodeDisplay *This,LONG Param,LONG *pValue);")
1398 cpp_quote(" HRESULT (WINAPI *SetTCDisplay)(IAMTimecodeDisplay *This,LONG Param,LONG Value);")
1399 cpp_quote(" END_INTERFACE")
1400 cpp_quote(" } IAMTimecodeDisplayVtbl;")
1401 cpp_quote(" struct IAMTimecodeDisplay {")
1402 cpp_quote(" CONST_VTBL struct IAMTimecodeDisplayVtbl *lpVtbl;")
1403 cpp_quote(" };")
1404 cpp_quote("#ifdef COBJMACROS")
1405 cpp_quote("#define IAMTimecodeDisplay_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1406 cpp_quote("#define IAMTimecodeDisplay_AddRef(This) (This)->lpVtbl->AddRef(This)")
1407 cpp_quote("#define IAMTimecodeDisplay_Release(This) (This)->lpVtbl->Release(This)")
1408 cpp_quote("#define IAMTimecodeDisplay_GetTCDisplayEnable(This,pState) (This)->lpVtbl->GetTCDisplayEnable(This,pState)")
1409 cpp_quote("#define IAMTimecodeDisplay_SetTCDisplayEnable(This,State) (This)->lpVtbl->SetTCDisplayEnable(This,State)")
1410 cpp_quote("#define IAMTimecodeDisplay_GetTCDisplay(This,Param,pValue) (This)->lpVtbl->GetTCDisplay(This,Param,pValue)")
1411 cpp_quote("#define IAMTimecodeDisplay_SetTCDisplay(This,Param,Value) (This)->lpVtbl->SetTCDisplay(This,Param,Value)")
1412 cpp_quote("#endif")
1413 cpp_quote("#endif")
1414 cpp_quote(" HRESULT WINAPI IAMTimecodeDisplay_GetTCDisplayEnable_Proxy(IAMTimecodeDisplay *This,LONG *pState);")
1415 cpp_quote(" void __RPC_STUB IAMTimecodeDisplay_GetTCDisplayEnable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1416 cpp_quote(" HRESULT WINAPI IAMTimecodeDisplay_SetTCDisplayEnable_Proxy(IAMTimecodeDisplay *This,LONG State);")
1417 cpp_quote(" void __RPC_STUB IAMTimecodeDisplay_SetTCDisplayEnable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1418 cpp_quote(" HRESULT WINAPI IAMTimecodeDisplay_GetTCDisplay_Proxy(IAMTimecodeDisplay *This,LONG Param,LONG *pValue);")
1419 cpp_quote(" void __RPC_STUB IAMTimecodeDisplay_GetTCDisplay_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1420 cpp_quote(" HRESULT WINAPI IAMTimecodeDisplay_SetTCDisplay_Proxy(IAMTimecodeDisplay *This,LONG Param,LONG Value);")
1421 cpp_quote(" void __RPC_STUB IAMTimecodeDisplay_SetTCDisplay_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1422 cpp_quote("#endif")
1423 cpp_quote("")
1424 cpp_quote(" typedef IAMTimecodeDisplay *PIAMTIMECODEDISPLAY;")
1425 cpp_quote("")
1426 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0343_v0_0_c_ifspec;")
1427 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0343_v0_0_s_ifspec;")
1428 cpp_quote("#ifndef __IAMDevMemoryAllocator_INTERFACE_DEFINED__")
1429 cpp_quote("#define __IAMDevMemoryAllocator_INTERFACE_DEFINED__")
1430 cpp_quote(" EXTERN_C const IID IID_IAMDevMemoryAllocator;")
1431 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1432 cpp_quote(" struct IAMDevMemoryAllocator : public IUnknown {")
1433 cpp_quote(" public:")
1434 cpp_quote(" virtual HRESULT WINAPI GetInfo(DWORD *pdwcbTotalFree,DWORD *pdwcbLargestFree,DWORD *pdwcbTotalMemory,DWORD *pdwcbMinimumChunk) = 0;")
1435 cpp_quote(" virtual HRESULT WINAPI CheckMemory(const BYTE *pBuffer) = 0;")
1436 cpp_quote(" virtual HRESULT WINAPI Alloc(BYTE **ppBuffer,DWORD *pdwcbBuffer) = 0;")
1437 cpp_quote(" virtual HRESULT WINAPI Free(BYTE *pBuffer) = 0;")
1438 cpp_quote(" virtual HRESULT WINAPI GetDevMemoryObject(IUnknown **ppUnkInnner,IUnknown *pUnkOuter) = 0;")
1439 cpp_quote(" };")
1440 cpp_quote("#else")
1441 cpp_quote(" typedef struct IAMDevMemoryAllocatorVtbl {")
1442 cpp_quote(" BEGIN_INTERFACE")
1443 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMDevMemoryAllocator *This,REFIID riid,void **ppvObject);")
1444 cpp_quote(" ULONG (WINAPI *AddRef)(IAMDevMemoryAllocator *This);")
1445 cpp_quote(" ULONG (WINAPI *Release)(IAMDevMemoryAllocator *This);")
1446 cpp_quote(" HRESULT (WINAPI *GetInfo)(IAMDevMemoryAllocator *This,DWORD *pdwcbTotalFree,DWORD *pdwcbLargestFree,DWORD *pdwcbTotalMemory,DWORD *pdwcbMinimumChunk);")
1447 cpp_quote(" HRESULT (WINAPI *CheckMemory)(IAMDevMemoryAllocator *This,const BYTE *pBuffer);")
1448 cpp_quote(" HRESULT (WINAPI *Alloc)(IAMDevMemoryAllocator *This,BYTE **ppBuffer,DWORD *pdwcbBuffer);")
1449 cpp_quote(" HRESULT (WINAPI *Free)(IAMDevMemoryAllocator *This,BYTE *pBuffer);")
1450 cpp_quote(" HRESULT (WINAPI *GetDevMemoryObject)(IAMDevMemoryAllocator *This,IUnknown **ppUnkInnner,IUnknown *pUnkOuter);")
1451 cpp_quote(" END_INTERFACE")
1452 cpp_quote(" } IAMDevMemoryAllocatorVtbl;")
1453 cpp_quote(" struct IAMDevMemoryAllocator {")
1454 cpp_quote(" CONST_VTBL struct IAMDevMemoryAllocatorVtbl *lpVtbl;")
1455 cpp_quote(" };")
1456 cpp_quote("#ifdef COBJMACROS")
1457 cpp_quote("#define IAMDevMemoryAllocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1458 cpp_quote("#define IAMDevMemoryAllocator_AddRef(This) (This)->lpVtbl->AddRef(This)")
1459 cpp_quote("#define IAMDevMemoryAllocator_Release(This) (This)->lpVtbl->Release(This)")
1460 cpp_quote("#define IAMDevMemoryAllocator_GetInfo(This,pdwcbTotalFree,pdwcbLargestFree,pdwcbTotalMemory,pdwcbMinimumChunk) (This)->lpVtbl->GetInfo(This,pdwcbTotalFree,pdwcbLargestFree,pdwcbTotalMemory,pdwcbMinimumChunk)")
1461 cpp_quote("#define IAMDevMemoryAllocator_CheckMemory(This,pBuffer) (This)->lpVtbl->CheckMemory(This,pBuffer)")
1462 cpp_quote("#define IAMDevMemoryAllocator_Alloc(This,ppBuffer,pdwcbBuffer) (This)->lpVtbl->Alloc(This,ppBuffer,pdwcbBuffer)")
1463 cpp_quote("#define IAMDevMemoryAllocator_Free(This,pBuffer) (This)->lpVtbl->Free(This,pBuffer)")
1464 cpp_quote("#define IAMDevMemoryAllocator_GetDevMemoryObject(This,ppUnkInnner,pUnkOuter) (This)->lpVtbl->GetDevMemoryObject(This,ppUnkInnner,pUnkOuter)")
1465 cpp_quote("#endif")
1466 cpp_quote("#endif")
1467 cpp_quote(" HRESULT WINAPI IAMDevMemoryAllocator_GetInfo_Proxy(IAMDevMemoryAllocator *This,DWORD *pdwcbTotalFree,DWORD *pdwcbLargestFree,DWORD *pdwcbTotalMemory,DWORD *pdwcbMinimumChunk);")
1468 cpp_quote(" void __RPC_STUB IAMDevMemoryAllocator_GetInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1469 cpp_quote(" HRESULT WINAPI IAMDevMemoryAllocator_CheckMemory_Proxy(IAMDevMemoryAllocator *This,const BYTE *pBuffer);")
1470 cpp_quote(" void __RPC_STUB IAMDevMemoryAllocator_CheckMemory_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1471 cpp_quote(" HRESULT WINAPI IAMDevMemoryAllocator_Alloc_Proxy(IAMDevMemoryAllocator *This,BYTE **ppBuffer,DWORD *pdwcbBuffer);")
1472 cpp_quote(" void __RPC_STUB IAMDevMemoryAllocator_Alloc_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1473 cpp_quote(" HRESULT WINAPI IAMDevMemoryAllocator_Free_Proxy(IAMDevMemoryAllocator *This,BYTE *pBuffer);")
1474 cpp_quote(" void __RPC_STUB IAMDevMemoryAllocator_Free_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1475 cpp_quote(" HRESULT WINAPI IAMDevMemoryAllocator_GetDevMemoryObject_Proxy(IAMDevMemoryAllocator *This,IUnknown **ppUnkInnner,IUnknown *pUnkOuter);")
1476 cpp_quote(" void __RPC_STUB IAMDevMemoryAllocator_GetDevMemoryObject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1477 cpp_quote("#endif")
1478 cpp_quote("")
1479 cpp_quote(" typedef IAMDevMemoryAllocator *PAMDEVMEMORYALLOCATOR;")
1480 cpp_quote("")
1481 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0344_v0_0_c_ifspec;")
1482 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0344_v0_0_s_ifspec;")
1483 cpp_quote("#ifndef __IAMDevMemoryControl_INTERFACE_DEFINED__")
1484 cpp_quote("#define __IAMDevMemoryControl_INTERFACE_DEFINED__")
1485 cpp_quote(" EXTERN_C const IID IID_IAMDevMemoryControl;")
1486 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1487 cpp_quote(" struct IAMDevMemoryControl : public IUnknown {")
1488 cpp_quote(" public:")
1489 cpp_quote(" virtual HRESULT WINAPI QueryWriteSync(void) = 0;")
1490 cpp_quote(" virtual HRESULT WINAPI WriteSync(void) = 0;")
1491 cpp_quote(" virtual HRESULT WINAPI GetDevId(DWORD *pdwDevId) = 0;")
1492 cpp_quote(" };")
1493 cpp_quote("#else")
1494 cpp_quote(" typedef struct IAMDevMemoryControlVtbl {")
1495 cpp_quote(" BEGIN_INTERFACE")
1496 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMDevMemoryControl *This,REFIID riid,void **ppvObject);")
1497 cpp_quote(" ULONG (WINAPI *AddRef)(IAMDevMemoryControl *This);")
1498 cpp_quote(" ULONG (WINAPI *Release)(IAMDevMemoryControl *This);")
1499 cpp_quote(" HRESULT (WINAPI *QueryWriteSync)(IAMDevMemoryControl *This);")
1500 cpp_quote(" HRESULT (WINAPI *WriteSync)(IAMDevMemoryControl *This);")
1501 cpp_quote(" HRESULT (WINAPI *GetDevId)(IAMDevMemoryControl *This,DWORD *pdwDevId);")
1502 cpp_quote(" END_INTERFACE")
1503 cpp_quote(" } IAMDevMemoryControlVtbl;")
1504 cpp_quote(" struct IAMDevMemoryControl {")
1505 cpp_quote(" CONST_VTBL struct IAMDevMemoryControlVtbl *lpVtbl;")
1506 cpp_quote(" };")
1507 cpp_quote("#ifdef COBJMACROS")
1508 cpp_quote("#define IAMDevMemoryControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1509 cpp_quote("#define IAMDevMemoryControl_AddRef(This) (This)->lpVtbl->AddRef(This)")
1510 cpp_quote("#define IAMDevMemoryControl_Release(This) (This)->lpVtbl->Release(This)")
1511 cpp_quote("#define IAMDevMemoryControl_QueryWriteSync(This) (This)->lpVtbl->QueryWriteSync(This)")
1512 cpp_quote("#define IAMDevMemoryControl_WriteSync(This) (This)->lpVtbl->WriteSync(This)")
1513 cpp_quote("#define IAMDevMemoryControl_GetDevId(This,pdwDevId) (This)->lpVtbl->GetDevId(This,pdwDevId)")
1514 cpp_quote("#endif")
1515 cpp_quote("#endif")
1516 cpp_quote(" HRESULT WINAPI IAMDevMemoryControl_QueryWriteSync_Proxy(IAMDevMemoryControl *This);")
1517 cpp_quote(" void __RPC_STUB IAMDevMemoryControl_QueryWriteSync_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1518 cpp_quote(" HRESULT WINAPI IAMDevMemoryControl_WriteSync_Proxy(IAMDevMemoryControl *This);")
1519 cpp_quote(" void __RPC_STUB IAMDevMemoryControl_WriteSync_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1520 cpp_quote(" HRESULT WINAPI IAMDevMemoryControl_GetDevId_Proxy(IAMDevMemoryControl *This,DWORD *pdwDevId);")
1521 cpp_quote(" void __RPC_STUB IAMDevMemoryControl_GetDevId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1522 cpp_quote("#endif")
1523 cpp_quote("")
1524 cpp_quote(" typedef IAMDevMemoryControl *PAMDEVMEMORYCONTROL;")
1525 cpp_quote("")
1526 cpp_quote(" enum _AMSTREAMSELECTINFOFLAGS {")
1527 cpp_quote(" AMSTREAMSELECTINFO_ENABLED = 0x1,AMSTREAMSELECTINFO_EXCLUSIVE = 0x2")
1528 cpp_quote(" };")
1529 cpp_quote("")
1530 cpp_quote(" enum _AMSTREAMSELECTENABLEFLAGS {")
1531 cpp_quote(" AMSTREAMSELECTENABLE_ENABLE = 0x1,AMSTREAMSELECTENABLE_ENABLEALL = 0x2")
1532 cpp_quote(" };")
1533 cpp_quote("")
1534 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0345_v0_0_c_ifspec;")
1535 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0345_v0_0_s_ifspec;")
1536 cpp_quote("#ifndef __IAMStreamSelect_INTERFACE_DEFINED__")
1537 cpp_quote("#define __IAMStreamSelect_INTERFACE_DEFINED__")
1538 cpp_quote(" EXTERN_C const IID IID_IAMStreamSelect;")
1539 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1540 cpp_quote(" struct IAMStreamSelect : public IUnknown {")
1541 cpp_quote(" public:")
1542 cpp_quote(" virtual HRESULT WINAPI Count(DWORD *pcStreams) = 0;")
1543 cpp_quote(" virtual HRESULT WINAPI Info(LONG lIndex,AM_MEDIA_TYPE **ppmt,DWORD *pdwFlags,LCID *plcid,DWORD *pdwGroup,WCHAR **ppszName,IUnknown **ppObject,IUnknown **ppUnk) = 0;")
1544 cpp_quote(" virtual HRESULT WINAPI Enable(LONG lIndex,DWORD dwFlags) = 0;")
1545 cpp_quote(" };")
1546 cpp_quote("#else")
1547 cpp_quote(" typedef struct IAMStreamSelectVtbl {")
1548 cpp_quote(" BEGIN_INTERFACE")
1549 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMStreamSelect *This,REFIID riid,void **ppvObject);")
1550 cpp_quote(" ULONG (WINAPI *AddRef)(IAMStreamSelect *This);")
1551 cpp_quote(" ULONG (WINAPI *Release)(IAMStreamSelect *This);")
1552 cpp_quote(" HRESULT (WINAPI *Count)(IAMStreamSelect *This,DWORD *pcStreams);")
1553 cpp_quote(" HRESULT (WINAPI *Info)(IAMStreamSelect *This,LONG lIndex,AM_MEDIA_TYPE **ppmt,DWORD *pdwFlags,LCID *plcid,DWORD *pdwGroup,WCHAR **ppszName,IUnknown **ppObject,IUnknown **ppUnk);")
1554 cpp_quote(" HRESULT (WINAPI *Enable)(IAMStreamSelect *This,LONG lIndex,DWORD dwFlags);")
1555 cpp_quote(" END_INTERFACE")
1556 cpp_quote(" } IAMStreamSelectVtbl;")
1557 cpp_quote(" struct IAMStreamSelect {")
1558 cpp_quote(" CONST_VTBL struct IAMStreamSelectVtbl *lpVtbl;")
1559 cpp_quote(" };")
1560 cpp_quote("#ifdef COBJMACROS")
1561 cpp_quote("#define IAMStreamSelect_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1562 cpp_quote("#define IAMStreamSelect_AddRef(This) (This)->lpVtbl->AddRef(This)")
1563 cpp_quote("#define IAMStreamSelect_Release(This) (This)->lpVtbl->Release(This)")
1564 cpp_quote("#define IAMStreamSelect_Count(This,pcStreams) (This)->lpVtbl->Count(This,pcStreams)")
1565 cpp_quote("#define IAMStreamSelect_Info(This,lIndex,ppmt,pdwFlags,plcid,pdwGroup,ppszName,ppObject,ppUnk) (This)->lpVtbl->Info(This,lIndex,ppmt,pdwFlags,plcid,pdwGroup,ppszName,ppObject,ppUnk)")
1566 cpp_quote("#define IAMStreamSelect_Enable(This,lIndex,dwFlags) (This)->lpVtbl->Enable(This,lIndex,dwFlags)")
1567 cpp_quote("#endif")
1568 cpp_quote("#endif")
1569 cpp_quote(" HRESULT WINAPI IAMStreamSelect_Count_Proxy(IAMStreamSelect *This,DWORD *pcStreams);")
1570 cpp_quote(" void __RPC_STUB IAMStreamSelect_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1571 cpp_quote(" HRESULT WINAPI IAMStreamSelect_Info_Proxy(IAMStreamSelect *This,LONG lIndex,AM_MEDIA_TYPE **ppmt,DWORD *pdwFlags,LCID *plcid,DWORD *pdwGroup,WCHAR **ppszName,IUnknown **ppObject,IUnknown **ppUnk);")
1572 cpp_quote(" void __RPC_STUB IAMStreamSelect_Info_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1573 cpp_quote(" HRESULT WINAPI IAMStreamSelect_Enable_Proxy(IAMStreamSelect *This,LONG lIndex,DWORD dwFlags);")
1574 cpp_quote(" void __RPC_STUB IAMStreamSelect_Enable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1575 cpp_quote("#endif")
1576 cpp_quote("")
1577 cpp_quote(" typedef IAMStreamSelect *PAMSTREAMSELECT;")
1578 cpp_quote("")
1579 cpp_quote(" enum _AMRESCTL_RESERVEFLAGS {")
1580 cpp_quote(" AMRESCTL_RESERVEFLAGS_RESERVE = 0,AMRESCTL_RESERVEFLAGS_UNRESERVE = 0x1")
1581 cpp_quote(" };")
1582 cpp_quote("")
1583 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0346_v0_0_c_ifspec;")
1584 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0346_v0_0_s_ifspec;")
1585 cpp_quote("#ifndef __IAMResourceControl_INTERFACE_DEFINED__")
1586 cpp_quote("#define __IAMResourceControl_INTERFACE_DEFINED__")
1587 cpp_quote(" EXTERN_C const IID IID_IAMResourceControl;")
1588 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1589 cpp_quote(" struct IAMResourceControl : public IUnknown {")
1590 cpp_quote(" public:")
1591 cpp_quote(" virtual HRESULT WINAPI Reserve(DWORD dwFlags,PVOID pvReserved) = 0;")
1592 cpp_quote(" };")
1593 cpp_quote("#else")
1594 cpp_quote(" typedef struct IAMResourceControlVtbl {")
1595 cpp_quote(" BEGIN_INTERFACE")
1596 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMResourceControl *This,REFIID riid,void **ppvObject);")
1597 cpp_quote(" ULONG (WINAPI *AddRef)(IAMResourceControl *This);")
1598 cpp_quote(" ULONG (WINAPI *Release)(IAMResourceControl *This);")
1599 cpp_quote(" HRESULT (WINAPI *Reserve)(IAMResourceControl *This,DWORD dwFlags,PVOID pvReserved);")
1600 cpp_quote(" END_INTERFACE")
1601 cpp_quote(" } IAMResourceControlVtbl;")
1602 cpp_quote(" struct IAMResourceControl {")
1603 cpp_quote(" CONST_VTBL struct IAMResourceControlVtbl *lpVtbl;")
1604 cpp_quote(" };")
1605 cpp_quote("#ifdef COBJMACROS")
1606 cpp_quote("#define IAMResourceControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1607 cpp_quote("#define IAMResourceControl_AddRef(This) (This)->lpVtbl->AddRef(This)")
1608 cpp_quote("#define IAMResourceControl_Release(This) (This)->lpVtbl->Release(This)")
1609 cpp_quote("#define IAMResourceControl_Reserve(This,dwFlags,pvReserved) (This)->lpVtbl->Reserve(This,dwFlags,pvReserved)")
1610 cpp_quote("#endif")
1611 cpp_quote("#endif")
1612 cpp_quote(" HRESULT WINAPI IAMResourceControl_Reserve_Proxy(IAMResourceControl *This,DWORD dwFlags,PVOID pvReserved);")
1613 cpp_quote(" void __RPC_STUB IAMResourceControl_Reserve_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1614 cpp_quote("#endif")
1615 cpp_quote("")
1616 cpp_quote("#ifndef __IAMClockAdjust_INTERFACE_DEFINED__")
1617 cpp_quote("#define __IAMClockAdjust_INTERFACE_DEFINED__")
1618 cpp_quote(" EXTERN_C const IID IID_IAMClockAdjust;")
1619 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1620 cpp_quote(" struct IAMClockAdjust : public IUnknown {")
1621 cpp_quote(" public:")
1622 cpp_quote(" virtual HRESULT WINAPI SetClockDelta(REFERENCE_TIME rtDelta) = 0;")
1623 cpp_quote(" };")
1624 cpp_quote("#else")
1625 cpp_quote(" typedef struct IAMClockAdjustVtbl {")
1626 cpp_quote(" BEGIN_INTERFACE")
1627 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMClockAdjust *This,REFIID riid,void **ppvObject);")
1628 cpp_quote(" ULONG (WINAPI *AddRef)(IAMClockAdjust *This);")
1629 cpp_quote(" ULONG (WINAPI *Release)(IAMClockAdjust *This);")
1630 cpp_quote(" HRESULT (WINAPI *SetClockDelta)(IAMClockAdjust *This,REFERENCE_TIME rtDelta);")
1631 cpp_quote(" END_INTERFACE")
1632 cpp_quote(" } IAMClockAdjustVtbl;")
1633 cpp_quote(" struct IAMClockAdjust {")
1634 cpp_quote(" CONST_VTBL struct IAMClockAdjustVtbl *lpVtbl;")
1635 cpp_quote(" };")
1636 cpp_quote("#ifdef COBJMACROS")
1637 cpp_quote("#define IAMClockAdjust_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1638 cpp_quote("#define IAMClockAdjust_AddRef(This) (This)->lpVtbl->AddRef(This)")
1639 cpp_quote("#define IAMClockAdjust_Release(This) (This)->lpVtbl->Release(This)")
1640 cpp_quote("#define IAMClockAdjust_SetClockDelta(This,rtDelta) (This)->lpVtbl->SetClockDelta(This,rtDelta)")
1641 cpp_quote("#endif")
1642 cpp_quote("#endif")
1643 cpp_quote(" HRESULT WINAPI IAMClockAdjust_SetClockDelta_Proxy(IAMClockAdjust *This,REFERENCE_TIME rtDelta);")
1644 cpp_quote(" void __RPC_STUB IAMClockAdjust_SetClockDelta_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1645 cpp_quote("#endif")
1646 cpp_quote("")
1647 cpp_quote("#ifndef __IDrawVideoImage_INTERFACE_DEFINED__")
1648 cpp_quote("#define __IDrawVideoImage_INTERFACE_DEFINED__")
1649 cpp_quote(" EXTERN_C const IID IID_IDrawVideoImage;")
1650 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1651 cpp_quote(" struct IDrawVideoImage : public IUnknown {")
1652 cpp_quote(" public:")
1653 cpp_quote(" virtual HRESULT WINAPI DrawVideoImageBegin(void) = 0;")
1654 cpp_quote(" virtual HRESULT WINAPI DrawVideoImageEnd(void) = 0;")
1655 cpp_quote(" virtual HRESULT WINAPI DrawVideoImageDraw(HDC hdc,LPRECT lprcSrc,LPRECT lprcDst) = 0;")
1656 cpp_quote(" };")
1657 cpp_quote("#else")
1658 cpp_quote(" typedef struct IDrawVideoImageVtbl {")
1659 cpp_quote(" BEGIN_INTERFACE")
1660 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDrawVideoImage *This,REFIID riid,void **ppvObject);")
1661 cpp_quote(" ULONG (WINAPI *AddRef)(IDrawVideoImage *This);")
1662 cpp_quote(" ULONG (WINAPI *Release)(IDrawVideoImage *This);")
1663 cpp_quote(" HRESULT (WINAPI *DrawVideoImageBegin)(IDrawVideoImage *This);")
1664 cpp_quote(" HRESULT (WINAPI *DrawVideoImageEnd)(IDrawVideoImage *This);")
1665 cpp_quote(" HRESULT (WINAPI *DrawVideoImageDraw)(IDrawVideoImage *This,HDC hdc,LPRECT lprcSrc,LPRECT lprcDst);")
1666 cpp_quote(" END_INTERFACE")
1667 cpp_quote(" } IDrawVideoImageVtbl;")
1668 cpp_quote(" struct IDrawVideoImage {")
1669 cpp_quote(" CONST_VTBL struct IDrawVideoImageVtbl *lpVtbl;")
1670 cpp_quote(" };")
1671 cpp_quote("#ifdef COBJMACROS")
1672 cpp_quote("#define IDrawVideoImage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1673 cpp_quote("#define IDrawVideoImage_AddRef(This) (This)->lpVtbl->AddRef(This)")
1674 cpp_quote("#define IDrawVideoImage_Release(This) (This)->lpVtbl->Release(This)")
1675 cpp_quote("#define IDrawVideoImage_DrawVideoImageBegin(This) (This)->lpVtbl->DrawVideoImageBegin(This)")
1676 cpp_quote("#define IDrawVideoImage_DrawVideoImageEnd(This) (This)->lpVtbl->DrawVideoImageEnd(This)")
1677 cpp_quote("#define IDrawVideoImage_DrawVideoImageDraw(This,hdc,lprcSrc,lprcDst) (This)->lpVtbl->DrawVideoImageDraw(This,hdc,lprcSrc,lprcDst)")
1678 cpp_quote("#endif")
1679 cpp_quote("#endif")
1680 cpp_quote(" HRESULT WINAPI IDrawVideoImage_DrawVideoImageBegin_Proxy(IDrawVideoImage *This);")
1681 cpp_quote(" void __RPC_STUB IDrawVideoImage_DrawVideoImageBegin_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1682 cpp_quote(" HRESULT WINAPI IDrawVideoImage_DrawVideoImageEnd_Proxy(IDrawVideoImage *This);")
1683 cpp_quote(" void __RPC_STUB IDrawVideoImage_DrawVideoImageEnd_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1684 cpp_quote(" HRESULT WINAPI IDrawVideoImage_DrawVideoImageDraw_Proxy(IDrawVideoImage *This,HDC hdc,LPRECT lprcSrc,LPRECT lprcDst);")
1685 cpp_quote(" void __RPC_STUB IDrawVideoImage_DrawVideoImageDraw_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1686 cpp_quote("#endif")
1687 cpp_quote("")
1688 cpp_quote("#ifndef __IDecimateVideoImage_INTERFACE_DEFINED__")
1689 cpp_quote("#define __IDecimateVideoImage_INTERFACE_DEFINED__")
1690 cpp_quote(" EXTERN_C const IID IID_IDecimateVideoImage;")
1691 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1692 cpp_quote(" struct IDecimateVideoImage : public IUnknown {")
1693 cpp_quote(" public:")
1694 cpp_quote(" virtual HRESULT WINAPI SetDecimationImageSize(LONG lWidth,LONG lHeight) = 0;")
1695 cpp_quote(" virtual HRESULT WINAPI ResetDecimationImageSize(void) = 0;")
1696 cpp_quote(" };")
1697 cpp_quote("#else")
1698 cpp_quote(" typedef struct IDecimateVideoImageVtbl {")
1699 cpp_quote(" BEGIN_INTERFACE")
1700 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDecimateVideoImage *This,REFIID riid,void **ppvObject);")
1701 cpp_quote(" ULONG (WINAPI *AddRef)(IDecimateVideoImage *This);")
1702 cpp_quote(" ULONG (WINAPI *Release)(IDecimateVideoImage *This);")
1703 cpp_quote(" HRESULT (WINAPI *SetDecimationImageSize)(IDecimateVideoImage *This,LONG lWidth,LONG lHeight);")
1704 cpp_quote(" HRESULT (WINAPI *ResetDecimationImageSize)(IDecimateVideoImage *This);")
1705 cpp_quote(" END_INTERFACE")
1706 cpp_quote(" } IDecimateVideoImageVtbl;")
1707 cpp_quote(" struct IDecimateVideoImage {")
1708 cpp_quote(" CONST_VTBL struct IDecimateVideoImageVtbl *lpVtbl;")
1709 cpp_quote(" };")
1710 cpp_quote("#ifdef COBJMACROS")
1711 cpp_quote("#define IDecimateVideoImage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1712 cpp_quote("#define IDecimateVideoImage_AddRef(This) (This)->lpVtbl->AddRef(This)")
1713 cpp_quote("#define IDecimateVideoImage_Release(This) (This)->lpVtbl->Release(This)")
1714 cpp_quote("#define IDecimateVideoImage_SetDecimationImageSize(This,lWidth,lHeight) (This)->lpVtbl->SetDecimationImageSize(This,lWidth,lHeight)")
1715 cpp_quote("#define IDecimateVideoImage_ResetDecimationImageSize(This) (This)->lpVtbl->ResetDecimationImageSize(This)")
1716 cpp_quote("#endif")
1717 cpp_quote("#endif")
1718 cpp_quote(" HRESULT WINAPI IDecimateVideoImage_SetDecimationImageSize_Proxy(IDecimateVideoImage *This,LONG lWidth,LONG lHeight);")
1719 cpp_quote(" void __RPC_STUB IDecimateVideoImage_SetDecimationImageSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1720 cpp_quote(" HRESULT WINAPI IDecimateVideoImage_ResetDecimationImageSize_Proxy(IDecimateVideoImage *This);")
1721 cpp_quote(" void __RPC_STUB IDecimateVideoImage_ResetDecimationImageSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1722 cpp_quote("#endif")
1723 cpp_quote("")
1724 cpp_quote(" typedef enum _DECIMATION_USAGE {")
1725 cpp_quote(" DECIMATION_LEGACY = 0,")
1726 cpp_quote(" DECIMATION_USE_DECODER_ONLY,DECIMATION_USE_VIDEOPORT_ONLY,DECIMATION_USE_OVERLAY_ONLY,")
1727 cpp_quote(" DECIMATION_DEFAULT")
1728 cpp_quote(" } DECIMATION_USAGE;")
1729 cpp_quote("")
1730 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0351_v0_0_c_ifspec;")
1731 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0351_v0_0_s_ifspec;")
1732 cpp_quote("#ifndef __IAMVideoDecimationProperties_INTERFACE_DEFINED__")
1733 cpp_quote("#define __IAMVideoDecimationProperties_INTERFACE_DEFINED__")
1734 cpp_quote(" EXTERN_C const IID IID_IAMVideoDecimationProperties;")
1735 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1736 cpp_quote(" struct IAMVideoDecimationProperties : public IUnknown {")
1737 cpp_quote(" public:")
1738 cpp_quote(" virtual HRESULT WINAPI QueryDecimationUsage(DECIMATION_USAGE *lpUsage) = 0;")
1739 cpp_quote(" virtual HRESULT WINAPI SetDecimationUsage(DECIMATION_USAGE Usage) = 0;")
1740 cpp_quote(" };")
1741 cpp_quote("#else")
1742 cpp_quote(" typedef struct IAMVideoDecimationPropertiesVtbl {")
1743 cpp_quote(" BEGIN_INTERFACE")
1744 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMVideoDecimationProperties *This,REFIID riid,void **ppvObject);")
1745 cpp_quote(" ULONG (WINAPI *AddRef)(IAMVideoDecimationProperties *This);")
1746 cpp_quote(" ULONG (WINAPI *Release)(IAMVideoDecimationProperties *This);")
1747 cpp_quote(" HRESULT (WINAPI *QueryDecimationUsage)(IAMVideoDecimationProperties *This,DECIMATION_USAGE *lpUsage);")
1748 cpp_quote(" HRESULT (WINAPI *SetDecimationUsage)(IAMVideoDecimationProperties *This,DECIMATION_USAGE Usage);")
1749 cpp_quote(" END_INTERFACE")
1750 cpp_quote(" } IAMVideoDecimationPropertiesVtbl;")
1751 cpp_quote(" struct IAMVideoDecimationProperties {")
1752 cpp_quote(" CONST_VTBL struct IAMVideoDecimationPropertiesVtbl *lpVtbl;")
1753 cpp_quote(" };")
1754 cpp_quote("#ifdef COBJMACROS")
1755 cpp_quote("#define IAMVideoDecimationProperties_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1756 cpp_quote("#define IAMVideoDecimationProperties_AddRef(This) (This)->lpVtbl->AddRef(This)")
1757 cpp_quote("#define IAMVideoDecimationProperties_Release(This) (This)->lpVtbl->Release(This)")
1758 cpp_quote("#define IAMVideoDecimationProperties_QueryDecimationUsage(This,lpUsage) (This)->lpVtbl->QueryDecimationUsage(This,lpUsage)")
1759 cpp_quote("#define IAMVideoDecimationProperties_SetDecimationUsage(This,Usage) (This)->lpVtbl->SetDecimationUsage(This,Usage)")
1760 cpp_quote("#endif")
1761 cpp_quote("#endif")
1762 cpp_quote(" HRESULT WINAPI IAMVideoDecimationProperties_QueryDecimationUsage_Proxy(IAMVideoDecimationProperties *This,DECIMATION_USAGE *lpUsage);")
1763 cpp_quote(" void __RPC_STUB IAMVideoDecimationProperties_QueryDecimationUsage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1764 cpp_quote(" HRESULT WINAPI IAMVideoDecimationProperties_SetDecimationUsage_Proxy(IAMVideoDecimationProperties *This,DECIMATION_USAGE Usage);")
1765 cpp_quote(" void __RPC_STUB IAMVideoDecimationProperties_SetDecimationUsage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1766 cpp_quote("#endif")
1767 cpp_quote("")
1768 cpp_quote(" enum _AM_PUSHSOURCE_FLAGS {")
1769 cpp_quote(" AM_PUSHSOURCECAPS_INTERNAL_RM = 0x1,AM_PUSHSOURCECAPS_NOT_LIVE = 0x2,AM_PUSHSOURCECAPS_PRIVATE_CLOCK = 0x4,")
1770 cpp_quote(" AM_PUSHSOURCEREQS_USE_STREAM_CLOCK = 0x10000,AM_PUSHSOURCEREQS_USE_CLOCK_CHAIN = 0x20000")
1771 cpp_quote(" };")
1772 cpp_quote("")
1773 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0353_v0_0_c_ifspec;")
1774 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0353_v0_0_s_ifspec;")
1775 cpp_quote("")
1776 cpp_quote("#ifndef __IAMDeviceRemoval_INTERFACE_DEFINED__")
1777 cpp_quote("#define __IAMDeviceRemoval_INTERFACE_DEFINED__")
1778 cpp_quote(" EXTERN_C const IID IID_IAMDeviceRemoval;")
1779 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1780 cpp_quote(" struct IAMDeviceRemoval : public IUnknown {")
1781 cpp_quote(" public:")
1782 cpp_quote(" virtual HRESULT WINAPI DeviceInfo(CLSID *pclsidInterfaceClass,WCHAR **pwszSymbolicLink) = 0;")
1783 cpp_quote(" virtual HRESULT WINAPI Reassociate(void) = 0;")
1784 cpp_quote(" virtual HRESULT WINAPI Disassociate(void) = 0;")
1785 cpp_quote(" };")
1786 cpp_quote("#else")
1787 cpp_quote(" typedef struct IAMDeviceRemovalVtbl {")
1788 cpp_quote(" BEGIN_INTERFACE")
1789 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMDeviceRemoval *This,REFIID riid,void **ppvObject);")
1790 cpp_quote(" ULONG (WINAPI *AddRef)(IAMDeviceRemoval *This);")
1791 cpp_quote(" ULONG (WINAPI *Release)(IAMDeviceRemoval *This);")
1792 cpp_quote(" HRESULT (WINAPI *DeviceInfo)(IAMDeviceRemoval *This,CLSID *pclsidInterfaceClass,WCHAR **pwszSymbolicLink);")
1793 cpp_quote(" HRESULT (WINAPI *Reassociate)(IAMDeviceRemoval *This);")
1794 cpp_quote(" HRESULT (WINAPI *Disassociate)(IAMDeviceRemoval *This);")
1795 cpp_quote(" END_INTERFACE")
1796 cpp_quote(" } IAMDeviceRemovalVtbl;")
1797 cpp_quote(" struct IAMDeviceRemoval {")
1798 cpp_quote(" CONST_VTBL struct IAMDeviceRemovalVtbl *lpVtbl;")
1799 cpp_quote(" };")
1800 cpp_quote("#ifdef COBJMACROS")
1801 cpp_quote("#define IAMDeviceRemoval_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1802 cpp_quote("#define IAMDeviceRemoval_AddRef(This) (This)->lpVtbl->AddRef(This)")
1803 cpp_quote("#define IAMDeviceRemoval_Release(This) (This)->lpVtbl->Release(This)")
1804 cpp_quote("#define IAMDeviceRemoval_DeviceInfo(This,pclsidInterfaceClass,pwszSymbolicLink) (This)->lpVtbl->DeviceInfo(This,pclsidInterfaceClass,pwszSymbolicLink)")
1805 cpp_quote("#define IAMDeviceRemoval_Reassociate(This) (This)->lpVtbl->Reassociate(This)")
1806 cpp_quote("#define IAMDeviceRemoval_Disassociate(This) (This)->lpVtbl->Disassociate(This)")
1807 cpp_quote("#endif")
1808 cpp_quote("#endif")
1809 cpp_quote(" HRESULT WINAPI IAMDeviceRemoval_DeviceInfo_Proxy(IAMDeviceRemoval *This,CLSID *pclsidInterfaceClass,WCHAR **pwszSymbolicLink);")
1810 cpp_quote(" void __RPC_STUB IAMDeviceRemoval_DeviceInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1811 cpp_quote(" HRESULT WINAPI IAMDeviceRemoval_Reassociate_Proxy(IAMDeviceRemoval *This);")
1812 cpp_quote(" void __RPC_STUB IAMDeviceRemoval_Reassociate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1813 cpp_quote(" HRESULT WINAPI IAMDeviceRemoval_Disassociate_Proxy(IAMDeviceRemoval *This);")
1814 cpp_quote(" void __RPC_STUB IAMDeviceRemoval_Disassociate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1815 cpp_quote("#endif")
1816 cpp_quote("")
1817 cpp_quote(" typedef struct __MIDL___MIDL_itf_strmif_0355_0001 {")
1818 cpp_quote(" DWORD dwDVAAuxSrc;")
1819 cpp_quote(" DWORD dwDVAAuxCtl;")
1820 cpp_quote(" DWORD dwDVAAuxSrc1;")
1821 cpp_quote(" DWORD dwDVAAuxCtl1;")
1822 cpp_quote(" DWORD dwDVVAuxSrc;")
1823 cpp_quote(" DWORD dwDVVAuxCtl;")
1824 cpp_quote(" DWORD dwDVReserved[2];")
1825 cpp_quote(" } DVINFO;")
1826 cpp_quote("")
1827 cpp_quote(" typedef struct __MIDL___MIDL_itf_strmif_0355_0001 *PDVINFO;")
1828 cpp_quote("")
1829 cpp_quote(" enum _DVENCODERRESOLUTION {")
1830 cpp_quote(" DVENCODERRESOLUTION_720x480 = 2012,DVENCODERRESOLUTION_360x240 = 2013,DVENCODERRESOLUTION_180x120 = 2014,DVENCODERRESOLUTION_88x60 = 2015")
1831 cpp_quote(" };")
1832 cpp_quote("")
1833 cpp_quote(" enum _DVENCODERVIDEOFORMAT {")
1834 cpp_quote(" DVENCODERVIDEOFORMAT_NTSC = 2000,DVENCODERVIDEOFORMAT_PAL = 2001")
1835 cpp_quote(" };")
1836 cpp_quote("")
1837 cpp_quote(" enum _DVENCODERFORMAT {")
1838 cpp_quote(" DVENCODERFORMAT_DVSD = 2007,DVENCODERFORMAT_DVHD = 2008,DVENCODERFORMAT_DVSL = 2009")
1839 cpp_quote(" };")
1840 cpp_quote("")
1841 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0355_v0_0_c_ifspec;")
1842 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0355_v0_0_s_ifspec;")
1843 cpp_quote("#ifndef __IDVEnc_INTERFACE_DEFINED__")
1844 cpp_quote("#define __IDVEnc_INTERFACE_DEFINED__")
1845 cpp_quote(" EXTERN_C const IID IID_IDVEnc;")
1846 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1847 cpp_quote(" struct IDVEnc : public IUnknown {")
1848 cpp_quote(" public:")
1849 cpp_quote(" virtual HRESULT WINAPI get_IFormatResolution(int *VideoFormat,int *DVFormat,int *Resolution,BYTE fDVInfo,DVINFO *sDVInfo) = 0;")
1850 cpp_quote(" virtual HRESULT WINAPI put_IFormatResolution(int VideoFormat,int DVFormat,int Resolution,BYTE fDVInfo,DVINFO *sDVInfo) = 0;")
1851 cpp_quote(" };")
1852 cpp_quote("#else")
1853 cpp_quote(" typedef struct IDVEncVtbl {")
1854 cpp_quote(" BEGIN_INTERFACE")
1855 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDVEnc *This,REFIID riid,void **ppvObject);")
1856 cpp_quote(" ULONG (WINAPI *AddRef)(IDVEnc *This);")
1857 cpp_quote(" ULONG (WINAPI *Release)(IDVEnc *This);")
1858 cpp_quote(" HRESULT (WINAPI *get_IFormatResolution)(IDVEnc *This,int *VideoFormat,int *DVFormat,int *Resolution,BYTE fDVInfo,DVINFO *sDVInfo);")
1859 cpp_quote(" HRESULT (WINAPI *put_IFormatResolution)(IDVEnc *This,int VideoFormat,int DVFormat,int Resolution,BYTE fDVInfo,DVINFO *sDVInfo);")
1860 cpp_quote(" END_INTERFACE")
1861 cpp_quote(" } IDVEncVtbl;")
1862 cpp_quote(" struct IDVEnc {")
1863 cpp_quote(" CONST_VTBL struct IDVEncVtbl *lpVtbl;")
1864 cpp_quote(" };")
1865 cpp_quote("#ifdef COBJMACROS")
1866 cpp_quote("#define IDVEnc_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1867 cpp_quote("#define IDVEnc_AddRef(This) (This)->lpVtbl->AddRef(This)")
1868 cpp_quote("#define IDVEnc_Release(This) (This)->lpVtbl->Release(This)")
1869 cpp_quote("#define IDVEnc_get_IFormatResolution(This,VideoFormat,DVFormat,Resolution,fDVInfo,sDVInfo) (This)->lpVtbl->get_IFormatResolution(This,VideoFormat,DVFormat,Resolution,fDVInfo,sDVInfo)")
1870 cpp_quote("#define IDVEnc_put_IFormatResolution(This,VideoFormat,DVFormat,Resolution,fDVInfo,sDVInfo) (This)->lpVtbl->put_IFormatResolution(This,VideoFormat,DVFormat,Resolution,fDVInfo,sDVInfo)")
1871 cpp_quote("#endif")
1872 cpp_quote("#endif")
1873 cpp_quote(" HRESULT WINAPI IDVEnc_get_IFormatResolution_Proxy(IDVEnc *This,int *VideoFormat,int *DVFormat,int *Resolution,BYTE fDVInfo,DVINFO *sDVInfo);")
1874 cpp_quote(" void __RPC_STUB IDVEnc_get_IFormatResolution_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1875 cpp_quote(" HRESULT WINAPI IDVEnc_put_IFormatResolution_Proxy(IDVEnc *This,int VideoFormat,int DVFormat,int Resolution,BYTE fDVInfo,DVINFO *sDVInfo);")
1876 cpp_quote(" void __RPC_STUB IDVEnc_put_IFormatResolution_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1877 cpp_quote("#endif")
1878 cpp_quote("")
1879 cpp_quote(" enum _DVDECODERRESOLUTION {")
1880 cpp_quote(" DVDECODERRESOLUTION_720x480 = 1000,DVDECODERRESOLUTION_360x240 = 1001,DVDECODERRESOLUTION_180x120 = 1002,DVDECODERRESOLUTION_88x60 = 1003")
1881 cpp_quote(" };")
1882 cpp_quote("")
1883 cpp_quote(" enum _DVRESOLUTION {")
1884 cpp_quote(" DVRESOLUTION_FULL = 1000,DVRESOLUTION_HALF = 1001,DVRESOLUTION_QUARTER = 1002,DVRESOLUTION_DC = 1003")
1885 cpp_quote(" };")
1886 cpp_quote("")
1887 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0356_v0_0_c_ifspec;")
1888 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0356_v0_0_s_ifspec;")
1889 cpp_quote("#ifndef __IIPDVDec_INTERFACE_DEFINED__")
1890 cpp_quote("#define __IIPDVDec_INTERFACE_DEFINED__")
1891 cpp_quote(" EXTERN_C const IID IID_IIPDVDec;")
1892 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1893 cpp_quote(" struct IIPDVDec : public IUnknown {")
1894 cpp_quote(" public:")
1895 cpp_quote(" virtual HRESULT WINAPI get_IPDisplay(int *displayPix) = 0;")
1896 cpp_quote(" virtual HRESULT WINAPI put_IPDisplay(int displayPix) = 0;")
1897 cpp_quote(" };")
1898 cpp_quote("#else")
1899 cpp_quote(" typedef struct IIPDVDecVtbl {")
1900 cpp_quote(" BEGIN_INTERFACE")
1901 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IIPDVDec *This,REFIID riid,void **ppvObject);")
1902 cpp_quote(" ULONG (WINAPI *AddRef)(IIPDVDec *This);")
1903 cpp_quote(" ULONG (WINAPI *Release)(IIPDVDec *This);")
1904 cpp_quote(" HRESULT (WINAPI *get_IPDisplay)(IIPDVDec *This,int *displayPix);")
1905 cpp_quote(" HRESULT (WINAPI *put_IPDisplay)(IIPDVDec *This,int displayPix);")
1906 cpp_quote(" END_INTERFACE")
1907 cpp_quote(" } IIPDVDecVtbl;")
1908 cpp_quote(" struct IIPDVDec {")
1909 cpp_quote(" CONST_VTBL struct IIPDVDecVtbl *lpVtbl;")
1910 cpp_quote(" };")
1911 cpp_quote("#ifdef COBJMACROS")
1912 cpp_quote("#define IIPDVDec_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1913 cpp_quote("#define IIPDVDec_AddRef(This) (This)->lpVtbl->AddRef(This)")
1914 cpp_quote("#define IIPDVDec_Release(This) (This)->lpVtbl->Release(This)")
1915 cpp_quote("#define IIPDVDec_get_IPDisplay(This,displayPix) (This)->lpVtbl->get_IPDisplay(This,displayPix)")
1916 cpp_quote("#define IIPDVDec_put_IPDisplay(This,displayPix) (This)->lpVtbl->put_IPDisplay(This,displayPix)")
1917 cpp_quote("#endif")
1918 cpp_quote("#endif")
1919 cpp_quote(" HRESULT WINAPI IIPDVDec_get_IPDisplay_Proxy(IIPDVDec *This,int *displayPix);")
1920 cpp_quote(" void __RPC_STUB IIPDVDec_get_IPDisplay_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1921 cpp_quote(" HRESULT WINAPI IIPDVDec_put_IPDisplay_Proxy(IIPDVDec *This,int displayPix);")
1922 cpp_quote(" void __RPC_STUB IIPDVDec_put_IPDisplay_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1923 cpp_quote("#endif")
1924 cpp_quote("")
1925 cpp_quote("#ifndef __IDVRGB219_INTERFACE_DEFINED__")
1926 cpp_quote("#define __IDVRGB219_INTERFACE_DEFINED__")
1927 cpp_quote(" EXTERN_C const IID IID_IDVRGB219;")
1928 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1929 cpp_quote(" struct IDVRGB219 : public IUnknown {")
1930 cpp_quote(" public:")
1931 cpp_quote(" virtual HRESULT WINAPI SetRGB219(WINBOOL bState) = 0;")
1932 cpp_quote(" };")
1933 cpp_quote("#else")
1934 cpp_quote(" typedef struct IDVRGB219Vtbl {")
1935 cpp_quote(" BEGIN_INTERFACE")
1936 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDVRGB219 *This,REFIID riid,void **ppvObject);")
1937 cpp_quote(" ULONG (WINAPI *AddRef)(IDVRGB219 *This);")
1938 cpp_quote(" ULONG (WINAPI *Release)(IDVRGB219 *This);")
1939 cpp_quote(" HRESULT (WINAPI *SetRGB219)(IDVRGB219 *This,WINBOOL bState);")
1940 cpp_quote(" END_INTERFACE")
1941 cpp_quote(" } IDVRGB219Vtbl;")
1942 cpp_quote(" struct IDVRGB219 {")
1943 cpp_quote(" CONST_VTBL struct IDVRGB219Vtbl *lpVtbl;")
1944 cpp_quote(" };")
1945 cpp_quote("#ifdef COBJMACROS")
1946 cpp_quote("#define IDVRGB219_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1947 cpp_quote("#define IDVRGB219_AddRef(This) (This)->lpVtbl->AddRef(This)")
1948 cpp_quote("#define IDVRGB219_Release(This) (This)->lpVtbl->Release(This)")
1949 cpp_quote("#define IDVRGB219_SetRGB219(This,bState) (This)->lpVtbl->SetRGB219(This,bState)")
1950 cpp_quote("#endif")
1951 cpp_quote("#endif")
1952 cpp_quote(" HRESULT WINAPI IDVRGB219_SetRGB219_Proxy(IDVRGB219 *This,WINBOOL bState);")
1953 cpp_quote(" void __RPC_STUB IDVRGB219_SetRGB219_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1954 cpp_quote("#endif")
1955 cpp_quote("")
1956 cpp_quote("#ifndef __IDVSplitter_INTERFACE_DEFINED__")
1957 cpp_quote("#define __IDVSplitter_INTERFACE_DEFINED__")
1958 cpp_quote(" EXTERN_C const IID IID_IDVSplitter;")
1959 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1960 cpp_quote(" struct IDVSplitter : public IUnknown {")
1961 cpp_quote(" public:")
1962 cpp_quote(" virtual HRESULT WINAPI DiscardAlternateVideoFrames(int nDiscard) = 0;")
1963 cpp_quote(" };")
1964 cpp_quote("#else")
1965 cpp_quote(" typedef struct IDVSplitterVtbl {")
1966 cpp_quote(" BEGIN_INTERFACE")
1967 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDVSplitter *This,REFIID riid,void **ppvObject);")
1968 cpp_quote(" ULONG (WINAPI *AddRef)(IDVSplitter *This);")
1969 cpp_quote(" ULONG (WINAPI *Release)(IDVSplitter *This);")
1970 cpp_quote(" HRESULT (WINAPI *DiscardAlternateVideoFrames)(IDVSplitter *This,int nDiscard);")
1971 cpp_quote(" END_INTERFACE")
1972 cpp_quote(" } IDVSplitterVtbl;")
1973 cpp_quote(" struct IDVSplitter {")
1974 cpp_quote(" CONST_VTBL struct IDVSplitterVtbl *lpVtbl;")
1975 cpp_quote(" };")
1976 cpp_quote("#ifdef COBJMACROS")
1977 cpp_quote("#define IDVSplitter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1978 cpp_quote("#define IDVSplitter_AddRef(This) (This)->lpVtbl->AddRef(This)")
1979 cpp_quote("#define IDVSplitter_Release(This) (This)->lpVtbl->Release(This)")
1980 cpp_quote("#define IDVSplitter_DiscardAlternateVideoFrames(This,nDiscard) (This)->lpVtbl->DiscardAlternateVideoFrames(This,nDiscard)")
1981 cpp_quote("#endif")
1982 cpp_quote("#endif")
1983 cpp_quote(" HRESULT WINAPI IDVSplitter_DiscardAlternateVideoFrames_Proxy(IDVSplitter *This,int nDiscard);")
1984 cpp_quote(" void __RPC_STUB IDVSplitter_DiscardAlternateVideoFrames_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1985 cpp_quote("#endif")
1986 cpp_quote("")
1987 cpp_quote(" enum _AM_AUDIO_RENDERER_STAT_PARAM {")
1988 cpp_quote(" AM_AUDREND_STAT_PARAM_BREAK_COUNT = 1,")
1989 cpp_quote(" AM_AUDREND_STAT_PARAM_SLAVE_MODE,AM_AUDREND_STAT_PARAM_SILENCE_DUR,")
1990 cpp_quote(" AM_AUDREND_STAT_PARAM_LAST_BUFFER_DUR,AM_AUDREND_STAT_PARAM_DISCONTINUITIES,")
1991 cpp_quote(" AM_AUDREND_STAT_PARAM_SLAVE_RATE,AM_AUDREND_STAT_PARAM_SLAVE_DROPWRITE_DUR,")
1992 cpp_quote(" AM_AUDREND_STAT_PARAM_SLAVE_HIGHLOWERROR,AM_AUDREND_STAT_PARAM_SLAVE_LASTHIGHLOWERROR,")
1993 cpp_quote(" AM_AUDREND_STAT_PARAM_SLAVE_ACCUMERROR,AM_AUDREND_STAT_PARAM_BUFFERFULLNESS,")
1994 cpp_quote(" AM_AUDREND_STAT_PARAM_JITTER")
1995 cpp_quote(" };")
1996 cpp_quote("")
1997 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0359_v0_0_c_ifspec;")
1998 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0359_v0_0_s_ifspec;")
1999 cpp_quote("#ifndef __IAMAudioRendererStats_INTERFACE_DEFINED__")
2000 cpp_quote("#define __IAMAudioRendererStats_INTERFACE_DEFINED__")
2001 cpp_quote(" EXTERN_C const IID IID_IAMAudioRendererStats;")
2002 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
2003 cpp_quote(" struct IAMAudioRendererStats : public IUnknown {")
2004 cpp_quote(" public:")
2005 cpp_quote(" virtual HRESULT WINAPI GetStatParam(DWORD dwParam,DWORD *pdwParam1,DWORD *pdwParam2) = 0;")
2006 cpp_quote(" };")
2007 cpp_quote("#else")
2008 cpp_quote(" typedef struct IAMAudioRendererStatsVtbl {")
2009 cpp_quote(" BEGIN_INTERFACE")
2010 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMAudioRendererStats *This,REFIID riid,void **ppvObject);")
2011 cpp_quote(" ULONG (WINAPI *AddRef)(IAMAudioRendererStats *This);")
2012 cpp_quote(" ULONG (WINAPI *Release)(IAMAudioRendererStats *This);")
2013 cpp_quote(" HRESULT (WINAPI *GetStatParam)(IAMAudioRendererStats *This,DWORD dwParam,DWORD *pdwParam1,DWORD *pdwParam2);")
2014 cpp_quote(" END_INTERFACE")
2015 cpp_quote(" } IAMAudioRendererStatsVtbl;")
2016 cpp_quote(" struct IAMAudioRendererStats {")
2017 cpp_quote(" CONST_VTBL struct IAMAudioRendererStatsVtbl *lpVtbl;")
2018 cpp_quote(" };")
2019 cpp_quote("#ifdef COBJMACROS")
2020 cpp_quote("#define IAMAudioRendererStats_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
2021 cpp_quote("#define IAMAudioRendererStats_AddRef(This) (This)->lpVtbl->AddRef(This)")
2022 cpp_quote("#define IAMAudioRendererStats_Release(This) (This)->lpVtbl->Release(This)")
2023 cpp_quote("#define IAMAudioRendererStats_GetStatParam(This,dwParam,pdwParam1,pdwParam2) (This)->lpVtbl->GetStatParam(This,dwParam,pdwParam1,pdwParam2)")
2024 cpp_quote("#endif")
2025 cpp_quote("#endif")
2026 cpp_quote(" HRESULT WINAPI IAMAudioRendererStats_GetStatParam_Proxy(IAMAudioRendererStats *This,DWORD dwParam,DWORD *pdwParam1,DWORD *pdwParam2);")
2027 cpp_quote(" void __RPC_STUB IAMAudioRendererStats_GetStatParam_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2028 cpp_quote("#endif")
2029 cpp_quote("")
2030 cpp_quote(" enum _AM_INTF_SEARCH_FLAGS {")
2031 cpp_quote(" AM_INTF_SEARCH_INPUT_PIN = 0x1,AM_INTF_SEARCH_OUTPUT_PIN = 0x2,AM_INTF_SEARCH_FILTER = 0x4")
2032 cpp_quote(" };")
2033 cpp_quote("")
2034 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0361_v0_0_c_ifspec;")
2035 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0361_v0_0_s_ifspec;")
2036 cpp_quote("#ifndef __IAMGraphStreams_INTERFACE_DEFINED__")
2037 cpp_quote("#define __IAMGraphStreams_INTERFACE_DEFINED__")
2038 cpp_quote(" EXTERN_C const IID IID_IAMGraphStreams;")
2039 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
2040 cpp_quote(" struct IAMGraphStreams : public IUnknown {")
2041 cpp_quote(" public:")
2042 cpp_quote(" virtual HRESULT WINAPI FindUpstreamInterface(IPin *pPin,REFIID riid,void **ppvInterface,DWORD dwFlags) = 0;")
2043 cpp_quote(" virtual HRESULT WINAPI SyncUsingStreamOffset(WINBOOL bUseStreamOffset) = 0;")
2044 cpp_quote(" virtual HRESULT WINAPI SetMaxGraphLatency(REFERENCE_TIME rtMaxGraphLatency) = 0;")
2045 cpp_quote(" };")
2046 cpp_quote("#else")
2047 cpp_quote(" typedef struct IAMGraphStreamsVtbl {")
2048 cpp_quote(" BEGIN_INTERFACE")
2049 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMGraphStreams *This,REFIID riid,void **ppvObject);")
2050 cpp_quote(" ULONG (WINAPI *AddRef)(IAMGraphStreams *This);")
2051 cpp_quote(" ULONG (WINAPI *Release)(IAMGraphStreams *This);")
2052 cpp_quote(" HRESULT (WINAPI *FindUpstreamInterface)(IAMGraphStreams *This,IPin *pPin,REFIID riid,void **ppvInterface,DWORD dwFlags);")
2053 cpp_quote(" HRESULT (WINAPI *SyncUsingStreamOffset)(IAMGraphStreams *This,WINBOOL bUseStreamOffset);")
2054 cpp_quote(" HRESULT (WINAPI *SetMaxGraphLatency)(IAMGraphStreams *This,REFERENCE_TIME rtMaxGraphLatency);")
2055 cpp_quote(" END_INTERFACE")
2056 cpp_quote(" } IAMGraphStreamsVtbl;")
2057 cpp_quote(" struct IAMGraphStreams {")
2058 cpp_quote(" CONST_VTBL struct IAMGraphStreamsVtbl *lpVtbl;")
2059 cpp_quote(" };")
2060 cpp_quote("#ifdef COBJMACROS")
2061 cpp_quote("#define IAMGraphStreams_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
2062 cpp_quote("#define IAMGraphStreams_AddRef(This) (This)->lpVtbl->AddRef(This)")
2063 cpp_quote("#define IAMGraphStreams_Release(This) (This)->lpVtbl->Release(This)")
2064 cpp_quote("#define IAMGraphStreams_FindUpstreamInterface(This,pPin,riid,ppvInterface,dwFlags) (This)->lpVtbl->FindUpstreamInterface(This,pPin,riid,ppvInterface,dwFlags)")
2065 cpp_quote("#define IAMGraphStreams_SyncUsingStreamOffset(This,bUseStreamOffset) (This)->lpVtbl->SyncUsingStreamOffset(This,bUseStreamOffset)")
2066 cpp_quote("#define IAMGraphStreams_SetMaxGraphLatency(This,rtMaxGraphLatency) (This)->lpVtbl->SetMaxGraphLatency(This,rtMaxGraphLatency)")
2067 cpp_quote("#endif")
2068 cpp_quote("#endif")
2069 cpp_quote(" HRESULT WINAPI IAMGraphStreams_FindUpstreamInterface_Proxy(IAMGraphStreams *This,IPin *pPin,REFIID riid,void **ppvInterface,DWORD dwFlags);")
2070 cpp_quote(" void __RPC_STUB IAMGraphStreams_FindUpstreamInterface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2071 cpp_quote(" HRESULT WINAPI IAMGraphStreams_SyncUsingStreamOffset_Proxy(IAMGraphStreams *This,WINBOOL bUseStreamOffset);")
2072 cpp_quote(" void __RPC_STUB IAMGraphStreams_SyncUsingStreamOffset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2073 cpp_quote(" HRESULT WINAPI IAMGraphStreams_SetMaxGraphLatency_Proxy(IAMGraphStreams *This,REFERENCE_TIME rtMaxGraphLatency);")
2074 cpp_quote(" void __RPC_STUB IAMGraphStreams_SetMaxGraphLatency_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2075 cpp_quote("#endif")
2076 cpp_quote("")
2077 cpp_quote(" enum AMOVERLAYFX {")
2078 cpp_quote(" AMOVERFX_NOFX = 0,AMOVERFX_MIRRORLEFTRIGHT = 0x2,AMOVERFX_MIRRORUPDOWN = 0x4,AMOVERFX_DEINTERLACE = 0x8")
2079 cpp_quote(" };")
2080 cpp_quote("")
2081 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0362_v0_0_c_ifspec;")
2082 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0362_v0_0_s_ifspec;")
2083 cpp_quote("#ifndef __IAMOverlayFX_INTERFACE_DEFINED__")
2084 cpp_quote("#define __IAMOverlayFX_INTERFACE_DEFINED__")
2085 cpp_quote(" EXTERN_C const IID IID_IAMOverlayFX;")
2086 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
2087 cpp_quote(" struct IAMOverlayFX : public IUnknown {")
2088 cpp_quote(" public:")
2089 cpp_quote(" virtual HRESULT WINAPI QueryOverlayFXCaps(DWORD *lpdwOverlayFXCaps) = 0;")
2090 cpp_quote(" virtual HRESULT WINAPI SetOverlayFX(DWORD dwOverlayFX) = 0;")
2091 cpp_quote(" virtual HRESULT WINAPI GetOverlayFX(DWORD *lpdwOverlayFX) = 0;")
2092 cpp_quote(" };")
2093 cpp_quote("#else")
2094 cpp_quote(" typedef struct IAMOverlayFXVtbl {")
2095 cpp_quote(" BEGIN_INTERFACE")
2096 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMOverlayFX *This,REFIID riid,void **ppvObject);")
2097 cpp_quote(" ULONG (WINAPI *AddRef)(IAMOverlayFX *This);")
2098 cpp_quote(" ULONG (WINAPI *Release)(IAMOverlayFX *This);")
2099 cpp_quote(" HRESULT (WINAPI *QueryOverlayFXCaps)(IAMOverlayFX *This,DWORD *lpdwOverlayFXCaps);")
2100 cpp_quote(" HRESULT (WINAPI *SetOverlayFX)(IAMOverlayFX *This,DWORD dwOverlayFX);")
2101 cpp_quote(" HRESULT (WINAPI *GetOverlayFX)(IAMOverlayFX *This,DWORD *lpdwOverlayFX);")
2102 cpp_quote(" END_INTERFACE")
2103 cpp_quote(" } IAMOverlayFXVtbl;")
2104 cpp_quote(" struct IAMOverlayFX {")
2105 cpp_quote(" CONST_VTBL struct IAMOverlayFXVtbl *lpVtbl;")
2106 cpp_quote(" };")
2107 cpp_quote("#ifdef COBJMACROS")
2108 cpp_quote("#define IAMOverlayFX_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
2109 cpp_quote("#define IAMOverlayFX_AddRef(This) (This)->lpVtbl->AddRef(This)")
2110 cpp_quote("#define IAMOverlayFX_Release(This) (This)->lpVtbl->Release(This)")
2111 cpp_quote("#define IAMOverlayFX_QueryOverlayFXCaps(This,lpdwOverlayFXCaps) (This)->lpVtbl->QueryOverlayFXCaps(This,lpdwOverlayFXCaps)")
2112 cpp_quote("#define IAMOverlayFX_SetOverlayFX(This,dwOverlayFX) (This)->lpVtbl->SetOverlayFX(This,dwOverlayFX)")
2113 cpp_quote("#define IAMOverlayFX_GetOverlayFX(This,lpdwOverlayFX) (This)->lpVtbl->GetOverlayFX(This,lpdwOverlayFX)")
2114 cpp_quote("#endif")
2115 cpp_quote("#endif")
2116 cpp_quote(" HRESULT WINAPI IAMOverlayFX_QueryOverlayFXCaps_Proxy(IAMOverlayFX *This,DWORD *lpdwOverlayFXCaps);")
2117 cpp_quote(" void __RPC_STUB IAMOverlayFX_QueryOverlayFXCaps_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2118 cpp_quote(" HRESULT WINAPI IAMOverlayFX_SetOverlayFX_Proxy(IAMOverlayFX *This,DWORD dwOverlayFX);")
2119 cpp_quote(" void __RPC_STUB IAMOverlayFX_SetOverlayFX_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2120 cpp_quote(" HRESULT WINAPI IAMOverlayFX_GetOverlayFX_Proxy(IAMOverlayFX *This,DWORD *lpdwOverlayFX);")
2121 cpp_quote(" void __RPC_STUB IAMOverlayFX_GetOverlayFX_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2122 cpp_quote("#endif")
2123 cpp_quote("")
2124 cpp_quote("#ifndef __IAMOpenProgress_INTERFACE_DEFINED__")
2125 cpp_quote("#define __IAMOpenProgress_INTERFACE_DEFINED__")
2126 cpp_quote(" EXTERN_C const IID IID_IAMOpenProgress;")
2127 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
2128 cpp_quote(" struct IAMOpenProgress : public IUnknown {")
2129 cpp_quote(" public:")
2130 cpp_quote(" virtual HRESULT WINAPI QueryProgress(LONGLONG *pllTotal,LONGLONG *pllCurrent) = 0;")
2131 cpp_quote(" virtual HRESULT WINAPI AbortOperation(void) = 0;")
2132 cpp_quote(" };")
2133 cpp_quote("#else")
2134 cpp_quote(" typedef struct IAMOpenProgressVtbl {")
2135 cpp_quote(" BEGIN_INTERFACE")
2136 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMOpenProgress *This,REFIID riid,void **ppvObject);")
2137 cpp_quote(" ULONG (WINAPI *AddRef)(IAMOpenProgress *This);")
2138 cpp_quote(" ULONG (WINAPI *Release)(IAMOpenProgress *This);")
2139 cpp_quote(" HRESULT (WINAPI *QueryProgress)(IAMOpenProgress *This,LONGLONG *pllTotal,LONGLONG *pllCurrent);")
2140 cpp_quote(" HRESULT (WINAPI *AbortOperation)(IAMOpenProgress *This);")
2141 cpp_quote(" END_INTERFACE")
2142 cpp_quote(" } IAMOpenProgressVtbl;")
2143 cpp_quote(" struct IAMOpenProgress {")
2144 cpp_quote(" CONST_VTBL struct IAMOpenProgressVtbl *lpVtbl;")
2145 cpp_quote(" };")
2146 cpp_quote("#ifdef COBJMACROS")
2147 cpp_quote("#define IAMOpenProgress_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
2148 cpp_quote("#define IAMOpenProgress_AddRef(This) (This)->lpVtbl->AddRef(This)")
2149 cpp_quote("#define IAMOpenProgress_Release(This) (This)->lpVtbl->Release(This)")
2150 cpp_quote("#define IAMOpenProgress_QueryProgress(This,pllTotal,pllCurrent) (This)->lpVtbl->QueryProgress(This,pllTotal,pllCurrent)")
2151 cpp_quote("#define IAMOpenProgress_AbortOperation(This) (This)->lpVtbl->AbortOperation(This)")
2152 cpp_quote("#endif")
2153 cpp_quote("#endif")
2154 cpp_quote(" HRESULT WINAPI IAMOpenProgress_QueryProgress_Proxy(IAMOpenProgress *This,LONGLONG *pllTotal,LONGLONG *pllCurrent);")
2155 cpp_quote(" void __RPC_STUB IAMOpenProgress_QueryProgress_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2156 cpp_quote(" HRESULT WINAPI IAMOpenProgress_AbortOperation_Proxy(IAMOpenProgress *This);")
2157 cpp_quote(" void __RPC_STUB IAMOpenProgress_AbortOperation_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2158 cpp_quote("#endif")
2159 cpp_quote("")
2160 cpp_quote("#ifdef __CRT_UUID_DECL")
2161 cpp_quote("__CRT_UUID_DECL(IMpeg2Demultiplexer,0x436eee9c,0x264f,0x4242,0x90,0xe1,0x4e,0x33,0x0c,0x10,0x75,0x12);")
2162 cpp_quote("#endif")
2163 cpp_quote("")
2164 cpp_quote("#ifndef __IMpeg2Demultiplexer_INTERFACE_DEFINED__")
2165 cpp_quote("#define __IMpeg2Demultiplexer_INTERFACE_DEFINED__")
2166 cpp_quote(" EXTERN_C const IID IID_IMpeg2Demultiplexer;")
2167 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
2168 cpp_quote(" struct IMpeg2Demultiplexer : public IUnknown {")
2169 cpp_quote(" public:")
2170 cpp_quote(" virtual HRESULT WINAPI CreateOutputPin(AM_MEDIA_TYPE *pMediaType,LPWSTR pszPinName,IPin **ppIPin) = 0;")
2171 cpp_quote(" virtual HRESULT WINAPI SetOutputPinMediaType(LPWSTR pszPinName,AM_MEDIA_TYPE *pMediaType) = 0;")
2172 cpp_quote(" virtual HRESULT WINAPI DeleteOutputPin(LPWSTR pszPinName) = 0;")
2173 cpp_quote(" };")
2174 cpp_quote("#else")
2175 cpp_quote(" typedef struct IMpeg2DemultiplexerVtbl {")
2176 cpp_quote(" BEGIN_INTERFACE")
2177 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IMpeg2Demultiplexer *This,REFIID riid,void **ppvObject);")
2178 cpp_quote(" ULONG (WINAPI *AddRef)(IMpeg2Demultiplexer *This);")
2179 cpp_quote(" ULONG (WINAPI *Release)(IMpeg2Demultiplexer *This);")
2180 cpp_quote(" HRESULT (WINAPI *CreateOutputPin)(IMpeg2Demultiplexer *This,AM_MEDIA_TYPE *pMediaType,LPWSTR pszPinName,IPin **ppIPin);")
2181 cpp_quote(" HRESULT (WINAPI *SetOutputPinMediaType)(IMpeg2Demultiplexer *This,LPWSTR pszPinName,AM_MEDIA_TYPE *pMediaType);")
2182 cpp_quote(" HRESULT (WINAPI *DeleteOutputPin)(IMpeg2Demultiplexer *This,LPWSTR pszPinName);")
2183 cpp_quote(" END_INTERFACE")
2184 cpp_quote(" } IMpeg2DemultiplexerVtbl;")
2185 cpp_quote(" struct IMpeg2Demultiplexer {")
2186 cpp_quote(" CONST_VTBL struct IMpeg2DemultiplexerVtbl *lpVtbl;")
2187 cpp_quote(" };")
2188 cpp_quote("#ifdef COBJMACROS")
2189 cpp_quote("#define IMpeg2Demultiplexer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
2190 cpp_quote("#define IMpeg2Demultiplexer_AddRef(This) (This)->lpVtbl->AddRef(This)")
2191 cpp_quote("#define IMpeg2Demultiplexer_Release(This) (This)->lpVtbl->Release(This)")
2192 cpp_quote("#define IMpeg2Demultiplexer_CreateOutputPin(This,pMediaType,pszPinName,ppIPin) (This)->lpVtbl->CreateOutputPin(This,pMediaType,pszPinName,ppIPin)")
2193 cpp_quote("#define IMpeg2Demultiplexer_SetOutputPinMediaType(This,pszPinName,pMediaType) (This)->lpVtbl->SetOutputPinMediaType(This,pszPinName,pMediaType)")
2194 cpp_quote("#define IMpeg2Demultiplexer_DeleteOutputPin(This,pszPinName) (This)->lpVtbl->DeleteOutputPin(This,pszPinName)")
2195 cpp_quote("#endif")
2196 cpp_quote("#endif")
2197 cpp_quote(" HRESULT WINAPI IMpeg2Demultiplexer_CreateOutputPin_Proxy(IMpeg2Demultiplexer *This,AM_MEDIA_TYPE *pMediaType,LPWSTR pszPinName,IPin **ppIPin);")
2198 cpp_quote(" void __RPC_STUB IMpeg2Demultiplexer_CreateOutputPin_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2199 cpp_quote(" HRESULT WINAPI IMpeg2Demultiplexer_SetOutputPinMediaType_Proxy(IMpeg2Demultiplexer *This,LPWSTR pszPinName,AM_MEDIA_TYPE *pMediaType);")
2200 cpp_quote(" void __RPC_STUB IMpeg2Demultiplexer_SetOutputPinMediaType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2201 cpp_quote(" HRESULT WINAPI IMpeg2Demultiplexer_DeleteOutputPin_Proxy(IMpeg2Demultiplexer *This,LPWSTR pszPinName);")
2202 cpp_quote(" void __RPC_STUB IMpeg2Demultiplexer_DeleteOutputPin_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2203 cpp_quote("#endif")
2204 cpp_quote("")
2205 cpp_quote("#define MPEG2_PROGRAM_STREAM_MAP 0x00000000")
2206 cpp_quote("#define MPEG2_PROGRAM_ELEMENTARY_STREAM 0x00000001")
2207 cpp_quote("#define MPEG2_PROGRAM_DIRECTORY_PES_PACKET 0x00000002")
2208 cpp_quote("#define MPEG2_PROGRAM_PACK_HEADER 0x00000003")
2209 cpp_quote("#define MPEG2_PROGRAM_PES_STREAM 0x00000004")
2210 cpp_quote("#define MPEG2_PROGRAM_SYSTEM_HEADER 0x00000005")
2211 cpp_quote("#define SUBSTREAM_FILTER_VAL_NONE 0x10000000")
2212 cpp_quote("")
2213 cpp_quote(" typedef struct __MIDL___MIDL_itf_strmif_0365_0001 {")
2214 cpp_quote(" ULONG stream_id;")
2215 cpp_quote(" DWORD dwMediaSampleContent;")
2216 cpp_quote(" ULONG ulSubstreamFilterValue;")
2217 cpp_quote(" int iDataOffset;")
2218 cpp_quote(" } STREAM_ID_MAP;")
2219 cpp_quote("")
2220 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0365_v0_0_c_ifspec;")
2221 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0365_v0_0_s_ifspec;")
2222 cpp_quote("#ifndef __IEnumStreamIdMap_INTERFACE_DEFINED__")
2223 cpp_quote("#define __IEnumStreamIdMap_INTERFACE_DEFINED__")
2224 cpp_quote(" EXTERN_C const IID IID_IEnumStreamIdMap;")
2225 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
2226 cpp_quote(" struct IEnumStreamIdMap : public IUnknown {")
2227 cpp_quote(" public:")
2228 cpp_quote(" virtual HRESULT WINAPI Next(ULONG cRequest,STREAM_ID_MAP *pStreamIdMap,ULONG *pcReceived) = 0;")
2229 cpp_quote(" virtual HRESULT WINAPI Skip(ULONG cRecords) = 0;")
2230 cpp_quote(" virtual HRESULT WINAPI Reset(void) = 0;")
2231 cpp_quote(" virtual HRESULT WINAPI Clone(IEnumStreamIdMap **ppIEnumStreamIdMap) = 0;")
2232 cpp_quote(" };")
2233 cpp_quote("#else")
2234 cpp_quote(" typedef struct IEnumStreamIdMapVtbl {")
2235 cpp_quote(" BEGIN_INTERFACE")
2236 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IEnumStreamIdMap *This,REFIID riid,void **ppvObject);")
2237 cpp_quote(" ULONG (WINAPI *AddRef)(IEnumStreamIdMap *This);")
2238 cpp_quote(" ULONG (WINAPI *Release)(IEnumStreamIdMap *This);")
2239 cpp_quote(" HRESULT (WINAPI *Next)(IEnumStreamIdMap *This,ULONG cRequest,STREAM_ID_MAP *pStreamIdMap,ULONG *pcReceived);")
2240 cpp_quote(" HRESULT (WINAPI *Skip)(IEnumStreamIdMap *This,ULONG cRecords);")
2241 cpp_quote(" HRESULT (WINAPI *Reset)(IEnumStreamIdMap *This);")
2242 cpp_quote(" HRESULT (WINAPI *Clone)(IEnumStreamIdMap *This,IEnumStreamIdMap **ppIEnumStreamIdMap);")
2243 cpp_quote(" END_INTERFACE")
2244 cpp_quote(" } IEnumStreamIdMapVtbl;")
2245 cpp_quote(" struct IEnumStreamIdMap {")
2246 cpp_quote(" CONST_VTBL struct IEnumStreamIdMapVtbl *lpVtbl;")
2247 cpp_quote(" };")
2248 cpp_quote("#ifdef COBJMACROS")
2249 cpp_quote("#define IEnumStreamIdMap_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
2250 cpp_quote("#define IEnumStreamIdMap_AddRef(This) (This)->lpVtbl->AddRef(This)")
2251 cpp_quote("#define IEnumStreamIdMap_Release(This) (This)->lpVtbl->Release(This)")
2252 cpp_quote("#define IEnumStreamIdMap_Next(This,cRequest,pStreamIdMap,pcReceived) (This)->lpVtbl->Next(This,cRequest,pStreamIdMap,pcReceived)")
2253 cpp_quote("#define IEnumStreamIdMap_Skip(This,cRecords) (This)->lpVtbl->Skip(This,cRecords)")
2254 cpp_quote("#define IEnumStreamIdMap_Reset(This) (This)->lpVtbl->Reset(This)")
2255 cpp_quote("#define IEnumStreamIdMap_Clone(This,ppIEnumStreamIdMap) (This)->lpVtbl->Clone(This,ppIEnumStreamIdMap)")
2256 cpp_quote("#endif")
2257 cpp_quote("#endif")
2258 cpp_quote(" HRESULT WINAPI IEnumStreamIdMap_Next_Proxy(IEnumStreamIdMap *This,ULONG cRequest,STREAM_ID_MAP *pStreamIdMap,ULONG *pcReceived);")
2259 cpp_quote(" void __RPC_STUB IEnumStreamIdMap_Next_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2260 cpp_quote(" HRESULT WINAPI IEnumStreamIdMap_Skip_Proxy(IEnumStreamIdMap *This,ULONG cRecords);")
2261 cpp_quote(" void __RPC_STUB IEnumStreamIdMap_Skip_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2262 cpp_quote(" HRESULT WINAPI IEnumStreamIdMap_Reset_Proxy(IEnumStreamIdMap *This);")
2263 cpp_quote(" void __RPC_STUB IEnumStreamIdMap_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2264 cpp_quote(" HRESULT WINAPI IEnumStreamIdMap_Clone_Proxy(IEnumStreamIdMap *This,IEnumStreamIdMap **ppIEnumStreamIdMap);")
2265 cpp_quote(" void __RPC_STUB IEnumStreamIdMap_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2266 cpp_quote("#endif")
2267 cpp_quote("")
2268 cpp_quote("#ifndef __IMPEG2StreamIdMap_INTERFACE_DEFINED__")
2269 cpp_quote("#define __IMPEG2StreamIdMap_INTERFACE_DEFINED__")
2270 cpp_quote(" EXTERN_C const IID IID_IMPEG2StreamIdMap;")
2271 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
2272 cpp_quote(" struct IMPEG2StreamIdMap : public IUnknown {")
2273 cpp_quote(" public:")
2274 cpp_quote(" virtual HRESULT WINAPI MapStreamId(ULONG ulStreamId,DWORD MediaSampleContent,ULONG ulSubstreamFilterValue,int iDataOffset) = 0;")
2275 cpp_quote(" virtual HRESULT WINAPI UnmapStreamId(ULONG culStreamId,ULONG *pulStreamId) = 0;")
2276 cpp_quote(" virtual HRESULT WINAPI EnumStreamIdMap(IEnumStreamIdMap **ppIEnumStreamIdMap) = 0;")
2277 cpp_quote(" };")
2278 cpp_quote("#else")
2279 cpp_quote(" typedef struct IMPEG2StreamIdMapVtbl {")
2280 cpp_quote(" BEGIN_INTERFACE")
2281 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IMPEG2StreamIdMap *This,REFIID riid,void **ppvObject);")
2282 cpp_quote(" ULONG (WINAPI *AddRef)(IMPEG2StreamIdMap *This);")
2283 cpp_quote(" ULONG (WINAPI *Release)(IMPEG2StreamIdMap *This);")
2284 cpp_quote(" HRESULT (WINAPI *MapStreamId)(IMPEG2StreamIdMap *This,ULONG ulStreamId,DWORD MediaSampleContent,ULONG ulSubstreamFilterValue,int iDataOffset);")
2285 cpp_quote(" HRESULT (WINAPI *UnmapStreamId)(IMPEG2StreamIdMap *This,ULONG culStreamId,ULONG *pulStreamId);")
2286 cpp_quote(" HRESULT (WINAPI *EnumStreamIdMap)(IMPEG2StreamIdMap *This,IEnumStreamIdMap **ppIEnumStreamIdMap);")
2287 cpp_quote(" END_INTERFACE")
2288 cpp_quote(" } IMPEG2StreamIdMapVtbl;")
2289 cpp_quote(" struct IMPEG2StreamIdMap {")
2290 cpp_quote(" CONST_VTBL struct IMPEG2StreamIdMapVtbl *lpVtbl;")
2291 cpp_quote(" };")
2292 cpp_quote("#ifdef COBJMACROS")
2293 cpp_quote("#define IMPEG2StreamIdMap_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
2294 cpp_quote("#define IMPEG2StreamIdMap_AddRef(This) (This)->lpVtbl->AddRef(This)")
2295 cpp_quote("#define IMPEG2StreamIdMap_Release(This) (This)->lpVtbl->Release(This)")
2296 cpp_quote("#define IMPEG2StreamIdMap_MapStreamId(This,ulStreamId,MediaSampleContent,ulSubstreamFilterValue,iDataOffset) (This)->lpVtbl->MapStreamId(This,ulStreamId,MediaSampleContent,ulSubstreamFilterValue,iDataOffset)")
2297 cpp_quote("#define IMPEG2StreamIdMap_UnmapStreamId(This,culStreamId,pulStreamId) (This)->lpVtbl->UnmapStreamId(This,culStreamId,pulStreamId)")
2298 cpp_quote("#define IMPEG2StreamIdMap_EnumStreamIdMap(This,ppIEnumStreamIdMap) (This)->lpVtbl->EnumStreamIdMap(This,ppIEnumStreamIdMap)")
2299 cpp_quote("#endif")
2300 cpp_quote("#endif")
2301 cpp_quote(" HRESULT WINAPI IMPEG2StreamIdMap_MapStreamId_Proxy(IMPEG2StreamIdMap *This,ULONG ulStreamId,DWORD MediaSampleContent,ULONG ulSubstreamFilterValue,int iDataOffset);")
2302 cpp_quote(" void __RPC_STUB IMPEG2StreamIdMap_MapStreamId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2303 cpp_quote(" HRESULT WINAPI IMPEG2StreamIdMap_UnmapStreamId_Proxy(IMPEG2StreamIdMap *This,ULONG culStreamId,ULONG *pulStreamId);")
2304 cpp_quote(" void __RPC_STUB IMPEG2StreamIdMap_UnmapStreamId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2305 cpp_quote(" HRESULT WINAPI IMPEG2StreamIdMap_EnumStreamIdMap_Proxy(IMPEG2StreamIdMap *This,IEnumStreamIdMap **ppIEnumStreamIdMap);")
2306 cpp_quote(" void __RPC_STUB IMPEG2StreamIdMap_EnumStreamIdMap_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2307 cpp_quote("#endif")
2308 cpp_quote("")
2309 cpp_quote("#ifndef __IRegisterServiceProvider_INTERFACE_DEFINED__")
2310 cpp_quote("#define __IRegisterServiceProvider_INTERFACE_DEFINED__")
2311 cpp_quote(" EXTERN_C const IID IID_IRegisterServiceProvider;")
2312 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
2313 cpp_quote(" struct IRegisterServiceProvider : public IUnknown {")
2314 cpp_quote(" public:")
2315 cpp_quote(" virtual HRESULT WINAPI RegisterService(REFGUID guidService,IUnknown *pUnkObject) = 0;")
2316 cpp_quote(" };")
2317 cpp_quote("#else")
2318 cpp_quote(" typedef struct IRegisterServiceProviderVtbl {")
2319 cpp_quote(" BEGIN_INTERFACE")
2320 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IRegisterServiceProvider *This,REFIID riid,void **ppvObject);")
2321 cpp_quote(" ULONG (WINAPI *AddRef)(IRegisterServiceProvider *This);")
2322 cpp_quote(" ULONG (WINAPI *Release)(IRegisterServiceProvider *This);")
2323 cpp_quote(" HRESULT (WINAPI *RegisterService)(IRegisterServiceProvider *This,REFGUID guidService,IUnknown *pUnkObject);")
2324 cpp_quote(" END_INTERFACE")
2325 cpp_quote(" } IRegisterServiceProviderVtbl;")
2326 cpp_quote(" struct IRegisterServiceProvider {")
2327 cpp_quote(" CONST_VTBL struct IRegisterServiceProviderVtbl *lpVtbl;")
2328 cpp_quote(" };")
2329 cpp_quote("#ifdef COBJMACROS")
2330 cpp_quote("#define IRegisterServiceProvider_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
2331 cpp_quote("#define IRegisterServiceProvider_AddRef(This) (This)->lpVtbl->AddRef(This)")
2332 cpp_quote("#define IRegisterServiceProvider_Release(This) (This)->lpVtbl->Release(This)")
2333 cpp_quote("#define IRegisterServiceProvider_RegisterService(This,guidService,pUnkObject) (This)->lpVtbl->RegisterService(This,guidService,pUnkObject)")
2334 cpp_quote("#endif")
2335 cpp_quote("#endif")
2336 cpp_quote(" HRESULT WINAPI IRegisterServiceProvider_RegisterService_Proxy(IRegisterServiceProvider *This,REFGUID guidService,IUnknown *pUnkObject);")
2337 cpp_quote(" void __RPC_STUB IRegisterServiceProvider_RegisterService_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2338 cpp_quote("#endif")
2339 cpp_quote("")
2340 cpp_quote("#ifdef __cplusplus")
2341 cpp_quote("#ifndef _IAMFilterGraphCallback_")
2342 cpp_quote("#define _IAMFilterGraphCallback_")
2343 cpp_quote(" EXTERN_GUID(IID_IAMFilterGraphCallback,0x56a868fd,0x0ad4,0x11ce,0xb0,0xa3,0x0,0x20,0xaf,0x0b,0xa7,0x70);")
2344 cpp_quote(" struct IAMFilterGraphCallback : public IUnknown {")
2345 cpp_quote(" virtual HRESULT UnableToRender(IPin *pPin) = 0;")
2346 cpp_quote(" };")
2347 cpp_quote("#endif")
2348 cpp_quote("#endif")
2349 cpp_quote(" struct CodecAPIEventData {")
2350 cpp_quote(" GUID guid;")
2351 cpp_quote(" DWORD dataLength;")
2352 cpp_quote(" DWORD reserved[3];")
2353 cpp_quote(" };")
2354 cpp_quote("")
2355 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0370_v0_0_c_ifspec;")
2356 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0370_v0_0_s_ifspec;")
2357 cpp_quote("#ifndef __ICodecAPI_INTERFACE_DEFINED__")
2358 cpp_quote("#define __ICodecAPI_INTERFACE_DEFINED__")
2359 cpp_quote(" EXTERN_C const IID IID_ICodecAPI;")
2360 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
2361 cpp_quote(" struct ICodecAPI : public IUnknown {")
2362 cpp_quote(" public:")
2363 cpp_quote(" virtual HRESULT WINAPI IsSupported(const GUID *Api) = 0;")
2364 cpp_quote(" virtual HRESULT WINAPI IsModifiable(const GUID *Api) = 0;")
2365 cpp_quote(" virtual HRESULT WINAPI GetParameterRange(const GUID *Api,VARIANT *ValueMin,VARIANT *ValueMax,VARIANT *SteppingDelta) = 0;")
2366 cpp_quote(" virtual HRESULT WINAPI GetParameterValues(const GUID *Api,VARIANT **Values,ULONG *ValuesCount) = 0;")
2367 cpp_quote(" virtual HRESULT WINAPI GetDefaultValue(const GUID *Api,VARIANT *Value) = 0;")
2368 cpp_quote(" virtual HRESULT WINAPI GetValue(const GUID *Api,VARIANT *Value) = 0;")
2369 cpp_quote(" virtual HRESULT WINAPI SetValue(const GUID *Api,VARIANT *Value) = 0;")
2370 cpp_quote(" virtual HRESULT WINAPI RegisterForEvent(const GUID *Api,LONG_PTR userData) = 0;")
2371 cpp_quote(" virtual HRESULT WINAPI UnregisterForEvent(const GUID *Api) = 0;")
2372 cpp_quote(" virtual HRESULT WINAPI SetAllDefaults(void) = 0;")
2373 cpp_quote(" virtual HRESULT WINAPI SetValueWithNotify(const GUID *Api,VARIANT *Value,GUID **ChangedParam,ULONG *ChangedParamCount) = 0;")
2374 cpp_quote(" virtual HRESULT WINAPI SetAllDefaultsWithNotify(GUID **ChangedParam,ULONG *ChangedParamCount) = 0;")
2375 cpp_quote(" virtual HRESULT WINAPI GetAllSettings(IStream *__MIDL_0016) = 0;")
2376 cpp_quote(" virtual HRESULT WINAPI SetAllSettings(IStream *__MIDL_0017) = 0;")
2377 cpp_quote(" virtual HRESULT WINAPI SetAllSettingsWithNotify(IStream *__MIDL_0018,GUID **ChangedParam,ULONG *ChangedParamCount) = 0;")
2378 cpp_quote(" };")
2379 cpp_quote("#else")
2380 cpp_quote(" typedef struct ICodecAPIVtbl {")
2381 cpp_quote(" BEGIN_INTERFACE")
2382 cpp_quote(" HRESULT (WINAPI *QueryInterface)(ICodecAPI *This,REFIID riid,void **ppvObject);")
2383 cpp_quote(" ULONG (WINAPI *AddRef)(ICodecAPI *This);")
2384 cpp_quote(" ULONG (WINAPI *Release)(ICodecAPI *This);")
2385 cpp_quote(" HRESULT (WINAPI *IsSupported)(ICodecAPI *This,const GUID *Api);")
2386 cpp_quote(" HRESULT (WINAPI *IsModifiable)(ICodecAPI *This,const GUID *Api);")
2387 cpp_quote(" HRESULT (WINAPI *GetParameterRange)(ICodecAPI *This,const GUID *Api,VARIANT *ValueMin,VARIANT *ValueMax,VARIANT *SteppingDelta);")
2388 cpp_quote(" HRESULT (WINAPI *GetParameterValues)(ICodecAPI *This,const GUID *Api,VARIANT **Values,ULONG *ValuesCount);")
2389 cpp_quote(" HRESULT (WINAPI *GetDefaultValue)(ICodecAPI *This,const GUID *Api,VARIANT *Value);")
2390 cpp_quote(" HRESULT (WINAPI *GetValue)(ICodecAPI *This,const GUID *Api,VARIANT *Value);")
2391 cpp_quote(" HRESULT (WINAPI *SetValue)(ICodecAPI *This,const GUID *Api,VARIANT *Value);")
2392 cpp_quote(" HRESULT (WINAPI *RegisterForEvent)(ICodecAPI *This,const GUID *Api,LONG_PTR userData);")
2393 cpp_quote(" HRESULT (WINAPI *UnregisterForEvent)(ICodecAPI *This,const GUID *Api);")
2394 cpp_quote(" HRESULT (WINAPI *SetAllDefaults)(ICodecAPI *This);")
2395 cpp_quote(" HRESULT (WINAPI *SetValueWithNotify)(ICodecAPI *This,const GUID *Api,VARIANT *Value,GUID **ChangedParam,ULONG *ChangedParamCount);")
2396 cpp_quote(" HRESULT (WINAPI *SetAllDefaultsWithNotify)(ICodecAPI *This,GUID **ChangedParam,ULONG *ChangedParamCount);")
2397 cpp_quote(" HRESULT (WINAPI *GetAllSettings)(ICodecAPI *This,IStream *__MIDL_0016);")
2398 cpp_quote(" HRESULT (WINAPI *SetAllSettings)(ICodecAPI *This,IStream *__MIDL_0017);")
2399 cpp_quote(" HRESULT (WINAPI *SetAllSettingsWithNotify)(ICodecAPI *This,IStream *__MIDL_0018,GUID **ChangedParam,ULONG *ChangedParamCount);")
2400 cpp_quote(" END_INTERFACE")
2401 cpp_quote(" } ICodecAPIVtbl;")
2402 cpp_quote(" struct ICodecAPI {")
2403 cpp_quote(" CONST_VTBL struct ICodecAPIVtbl *lpVtbl;")
2404 cpp_quote(" };")
2405 cpp_quote("#ifdef COBJMACROS")
2406 cpp_quote("#define ICodecAPI_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
2407 cpp_quote("#define ICodecAPI_AddRef(This) (This)->lpVtbl->AddRef(This)")
2408 cpp_quote("#define ICodecAPI_Release(This) (This)->lpVtbl->Release(This)")
2409 cpp_quote("#define ICodecAPI_IsSupported(This,Api) (This)->lpVtbl->IsSupported(This,Api)")
2410 cpp_quote("#define ICodecAPI_IsModifiable(This,Api) (This)->lpVtbl->IsModifiable(This,Api)")
2411 cpp_quote("#define ICodecAPI_GetParameterRange(This,Api,ValueMin,ValueMax,SteppingDelta) (This)->lpVtbl->GetParameterRange(This,Api,ValueMin,ValueMax,SteppingDelta)")
2412 cpp_quote("#define ICodecAPI_GetParameterValues(This,Api,Values,ValuesCount) (This)->lpVtbl->GetParameterValues(This,Api,Values,ValuesCount)")
2413 cpp_quote("#define ICodecAPI_GetDefaultValue(This,Api,Value) (This)->lpVtbl->GetDefaultValue(This,Api,Value)")
2414 cpp_quote("#define ICodecAPI_GetValue(This,Api,Value) (This)->lpVtbl->GetValue(This,Api,Value)")
2415 cpp_quote("#define ICodecAPI_SetValue(This,Api,Value) (This)->lpVtbl->SetValue(This,Api,Value)")
2416 cpp_quote("#define ICodecAPI_RegisterForEvent(This,Api,userData) (This)->lpVtbl->RegisterForEvent(This,Api,userData)")
2417 cpp_quote("#define ICodecAPI_UnregisterForEvent(This,Api) (This)->lpVtbl->UnregisterForEvent(This,Api)")
2418 cpp_quote("#define ICodecAPI_SetAllDefaults(This) (This)->lpVtbl->SetAllDefaults(This)")
2419 cpp_quote("#define ICodecAPI_SetValueWithNotify(This,Api,Value,ChangedParam,ChangedParamCount) (This)->lpVtbl->SetValueWithNotify(This,Api,Value,ChangedParam,ChangedParamCount)")
2420 cpp_quote("#define ICodecAPI_SetAllDefaultsWithNotify(This,ChangedParam,ChangedParamCount) (This)->lpVtbl->SetAllDefaultsWithNotify(This,ChangedParam,ChangedParamCount)")
2421 cpp_quote("#define ICodecAPI_GetAllSettings(This,__MIDL_0016) (This)->lpVtbl->GetAllSettings(This,__MIDL_0016)")
2422 cpp_quote("#define ICodecAPI_SetAllSettings(This,__MIDL_0017) (This)->lpVtbl->SetAllSettings(This,__MIDL_0017)")
2423 cpp_quote("#define ICodecAPI_SetAllSettingsWithNotify(This,__MIDL_0018,ChangedParam,ChangedParamCount) (This)->lpVtbl->SetAllSettingsWithNotify(This,__MIDL_0018,ChangedParam,ChangedParamCount)")
2424 cpp_quote("#endif")
2425 cpp_quote("#endif")
2426 cpp_quote(" HRESULT WINAPI ICodecAPI_IsSupported_Proxy(ICodecAPI *This,const GUID *Api);")
2427 cpp_quote(" void __RPC_STUB ICodecAPI_IsSupported_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2428 cpp_quote(" HRESULT WINAPI ICodecAPI_IsModifiable_Proxy(ICodecAPI *This,const GUID *Api);")
2429 cpp_quote(" void __RPC_STUB ICodecAPI_IsModifiable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2430 cpp_quote(" HRESULT WINAPI ICodecAPI_GetParameterRange_Proxy(ICodecAPI *This,const GUID *Api,VARIANT *ValueMin,VARIANT *ValueMax,VARIANT *SteppingDelta);")
2431 cpp_quote(" void __RPC_STUB ICodecAPI_GetParameterRange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2432 cpp_quote(" HRESULT WINAPI ICodecAPI_GetParameterValues_Proxy(ICodecAPI *This,const GUID *Api,VARIANT **Values,ULONG *ValuesCount);")
2433 cpp_quote(" void __RPC_STUB ICodecAPI_GetParameterValues_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2434 cpp_quote(" HRESULT WINAPI ICodecAPI_GetDefaultValue_Proxy(ICodecAPI *This,const GUID *Api,VARIANT *Value);")
2435 cpp_quote(" void __RPC_STUB ICodecAPI_GetDefaultValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2436 cpp_quote(" HRESULT WINAPI ICodecAPI_GetValue_Proxy(ICodecAPI *This,const GUID *Api,VARIANT *Value);")
2437 cpp_quote(" void __RPC_STUB ICodecAPI_GetValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2438 cpp_quote(" HRESULT WINAPI ICodecAPI_SetValue_Proxy(ICodecAPI *This,const GUID *Api,VARIANT *Value);")
2439 cpp_quote(" void __RPC_STUB ICodecAPI_SetValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2440 cpp_quote(" HRESULT WINAPI ICodecAPI_RegisterForEvent_Proxy(ICodecAPI *This,const GUID *Api,LONG_PTR userData);")
2441 cpp_quote(" void __RPC_STUB ICodecAPI_RegisterForEvent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2442 cpp_quote(" HRESULT WINAPI ICodecAPI_UnregisterForEvent_Proxy(ICodecAPI *This,const GUID *Api);")
2443 cpp_quote(" void __RPC_STUB ICodecAPI_UnregisterForEvent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2444 cpp_quote(" HRESULT WINAPI ICodecAPI_SetAllDefaults_Proxy(ICodecAPI *This);")
2445 cpp_quote(" void __RPC_STUB ICodecAPI_SetAllDefaults_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2446 cpp_quote(" HRESULT WINAPI ICodecAPI_SetValueWithNotify_Proxy(ICodecAPI *This,const GUID *Api,VARIANT *Value,GUID **ChangedParam,ULONG *ChangedParamCount);")
2447 cpp_quote(" void __RPC_STUB ICodecAPI_SetValueWithNotify_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2448 cpp_quote(" HRESULT WINAPI ICodecAPI_SetAllDefaultsWithNotify_Proxy(ICodecAPI *This,GUID **ChangedParam,ULONG *ChangedParamCount);")
2449 cpp_quote(" void __RPC_STUB ICodecAPI_SetAllDefaultsWithNotify_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2450 cpp_quote(" HRESULT WINAPI ICodecAPI_GetAllSettings_Proxy(ICodecAPI *This,IStream *__MIDL_0016);")
2451 cpp_quote(" void __RPC_STUB ICodecAPI_GetAllSettings_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2452 cpp_quote(" HRESULT WINAPI ICodecAPI_SetAllSettings_Proxy(ICodecAPI *This,IStream *__MIDL_0017);")
2453 cpp_quote(" void __RPC_STUB ICodecAPI_SetAllSettings_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2454 cpp_quote(" HRESULT WINAPI ICodecAPI_SetAllSettingsWithNotify_Proxy(ICodecAPI *This,IStream *__MIDL_0018,GUID **ChangedParam,ULONG *ChangedParamCount);")
2455 cpp_quote(" void __RPC_STUB ICodecAPI_SetAllSettingsWithNotify_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2456 cpp_quote("#endif")
2457 cpp_quote("")
2458 cpp_quote("#ifndef __IGetCapabilitiesKey_INTERFACE_DEFINED__")
2459 cpp_quote("#define __IGetCapabilitiesKey_INTERFACE_DEFINED__")
2460 cpp_quote(" EXTERN_C const IID IID_IGetCapabilitiesKey;")
2461 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
2462 cpp_quote(" struct IGetCapabilitiesKey : public IUnknown {")
2463 cpp_quote(" public:")
2464 cpp_quote(" virtual HRESULT WINAPI GetCapabilitiesKey(HKEY *pHKey) = 0;")
2465 cpp_quote(" };")
2466 cpp_quote("#else")
2467 cpp_quote(" typedef struct IGetCapabilitiesKeyVtbl {")
2468 cpp_quote(" BEGIN_INTERFACE")
2469 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IGetCapabilitiesKey *This,REFIID riid,void **ppvObject);")
2470 cpp_quote(" ULONG (WINAPI *AddRef)(IGetCapabilitiesKey *This);")
2471 cpp_quote(" ULONG (WINAPI *Release)(IGetCapabilitiesKey *This);")
2472 cpp_quote(" HRESULT (WINAPI *GetCapabilitiesKey)(IGetCapabilitiesKey *This,HKEY *pHKey);")
2473 cpp_quote(" END_INTERFACE")
2474 cpp_quote(" } IGetCapabilitiesKeyVtbl;")
2475 cpp_quote(" struct IGetCapabilitiesKey {")
2476 cpp_quote(" CONST_VTBL struct IGetCapabilitiesKeyVtbl *lpVtbl;")
2477 cpp_quote(" };")
2478 cpp_quote("#ifdef COBJMACROS")
2479 cpp_quote("#define IGetCapabilitiesKey_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
2480 cpp_quote("#define IGetCapabilitiesKey_AddRef(This) (This)->lpVtbl->AddRef(This)")
2481 cpp_quote("#define IGetCapabilitiesKey_Release(This) (This)->lpVtbl->Release(This)")
2482 cpp_quote("#define IGetCapabilitiesKey_GetCapabilitiesKey(This,pHKey) (This)->lpVtbl->GetCapabilitiesKey(This,pHKey)")
2483 cpp_quote("#endif")
2484 cpp_quote("#endif")
2485 cpp_quote(" HRESULT WINAPI IGetCapabilitiesKey_GetCapabilitiesKey_Proxy(IGetCapabilitiesKey *This,HKEY *pHKey);")
2486 cpp_quote(" void __RPC_STUB IGetCapabilitiesKey_GetCapabilitiesKey_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2487 cpp_quote("#endif")
2488 cpp_quote("")
2489 cpp_quote("#ifndef __IEncoderAPI_INTERFACE_DEFINED__")
2490 cpp_quote("#define __IEncoderAPI_INTERFACE_DEFINED__")
2491 cpp_quote(" EXTERN_C const IID IID_IEncoderAPI;")
2492 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
2493 cpp_quote(" struct IEncoderAPI : public IUnknown {")
2494 cpp_quote(" public:")
2495 cpp_quote(" virtual HRESULT WINAPI IsSupported(const GUID *Api) = 0;")
2496 cpp_quote(" virtual HRESULT WINAPI IsAvailable(const GUID *Api) = 0;")
2497 cpp_quote(" virtual HRESULT WINAPI GetParameterRange(const GUID *Api,VARIANT *ValueMin,VARIANT *ValueMax,VARIANT *SteppingDelta) = 0;")
2498 cpp_quote(" virtual HRESULT WINAPI GetParameterValues(const GUID *Api,VARIANT **Values,ULONG *ValuesCount) = 0;")
2499 cpp_quote(" virtual HRESULT WINAPI GetDefaultValue(const GUID *Api,VARIANT *Value) = 0;")
2500 cpp_quote(" virtual HRESULT WINAPI GetValue(const GUID *Api,VARIANT *Value) = 0;")
2501 cpp_quote(" virtual HRESULT WINAPI SetValue(const GUID *Api,VARIANT *Value) = 0;")
2502 cpp_quote(" };")
2503 cpp_quote("#else")
2504 cpp_quote(" typedef struct IEncoderAPIVtbl {")
2505 cpp_quote(" BEGIN_INTERFACE")
2506 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IEncoderAPI *This,REFIID riid,void **ppvObject);")
2507 cpp_quote(" ULONG (WINAPI *AddRef)(IEncoderAPI *This);")
2508 cpp_quote(" ULONG (WINAPI *Release)(IEncoderAPI *This);")
2509 cpp_quote(" HRESULT (WINAPI *IsSupported)(IEncoderAPI *This,const GUID *Api);")
2510 cpp_quote(" HRESULT (WINAPI *IsAvailable)(IEncoderAPI *This,const GUID *Api);")
2511 cpp_quote(" HRESULT (WINAPI *GetParameterRange)(IEncoderAPI *This,const GUID *Api,VARIANT *ValueMin,VARIANT *ValueMax,VARIANT *SteppingDelta);")
2512 cpp_quote(" HRESULT (WINAPI *GetParameterValues)(IEncoderAPI *This,const GUID *Api,VARIANT **Values,ULONG *ValuesCount);")
2513 cpp_quote(" HRESULT (WINAPI *GetDefaultValue)(IEncoderAPI *This,const GUID *Api,VARIANT *Value);")
2514 cpp_quote(" HRESULT (WINAPI *GetValue)(IEncoderAPI *This,const GUID *Api,VARIANT *Value);")
2515 cpp_quote(" HRESULT (WINAPI *SetValue)(IEncoderAPI *This,const GUID *Api,VARIANT *Value);")
2516 cpp_quote(" END_INTERFACE")
2517 cpp_quote(" } IEncoderAPIVtbl;")
2518 cpp_quote(" struct IEncoderAPI {")
2519 cpp_quote(" CONST_VTBL struct IEncoderAPIVtbl *lpVtbl;")
2520 cpp_quote(" };")
2521 cpp_quote("#ifdef COBJMACROS")
2522 cpp_quote("#define IEncoderAPI_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
2523 cpp_quote("#define IEncoderAPI_AddRef(This) (This)->lpVtbl->AddRef(This)")
2524 cpp_quote("#define IEncoderAPI_Release(This) (This)->lpVtbl->Release(This)")
2525 cpp_quote("#define IEncoderAPI_IsSupported(This,Api) (This)->lpVtbl->IsSupported(This,Api)")
2526 cpp_quote("#define IEncoderAPI_IsAvailable(This,Api) (This)->lpVtbl->IsAvailable(This,Api)")
2527 cpp_quote("#define IEncoderAPI_GetParameterRange(This,Api,ValueMin,ValueMax,SteppingDelta) (This)->lpVtbl->GetParameterRange(This,Api,ValueMin,ValueMax,SteppingDelta)")
2528 cpp_quote("#define IEncoderAPI_GetParameterValues(This,Api,Values,ValuesCount) (This)->lpVtbl->GetParameterValues(This,Api,Values,ValuesCount)")
2529 cpp_quote("#define IEncoderAPI_GetDefaultValue(This,Api,Value) (This)->lpVtbl->GetDefaultValue(This,Api,Value)")
2530 cpp_quote("#define IEncoderAPI_GetValue(This,Api,Value) (This)->lpVtbl->GetValue(This,Api,Value)")
2531 cpp_quote("#define IEncoderAPI_SetValue(This,Api,Value) (This)->lpVtbl->SetValue(This,Api,Value)")
2532 cpp_quote("#endif")
2533 cpp_quote("#endif")
2534 cpp_quote(" HRESULT WINAPI IEncoderAPI_IsSupported_Proxy(IEncoderAPI *This,const GUID *Api);")
2535 cpp_quote(" void __RPC_STUB IEncoderAPI_IsSupported_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2536 cpp_quote(" HRESULT WINAPI IEncoderAPI_IsAvailable_Proxy(IEncoderAPI *This,const GUID *Api);")
2537 cpp_quote(" void __RPC_STUB IEncoderAPI_IsAvailable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2538 cpp_quote(" HRESULT WINAPI IEncoderAPI_GetParameterRange_Proxy(IEncoderAPI *This,const GUID *Api,VARIANT *ValueMin,VARIANT *ValueMax,VARIANT *SteppingDelta);")
2539 cpp_quote(" void __RPC_STUB IEncoderAPI_GetParameterRange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2540 cpp_quote(" HRESULT WINAPI IEncoderAPI_GetParameterValues_Proxy(IEncoderAPI *This,const GUID *Api,VARIANT **Values,ULONG *ValuesCount);")
2541 cpp_quote(" void __RPC_STUB IEncoderAPI_GetParameterValues_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2542 cpp_quote(" HRESULT WINAPI IEncoderAPI_GetDefaultValue_Proxy(IEncoderAPI *This,const GUID *Api,VARIANT *Value);")
2543 cpp_quote(" void __RPC_STUB IEncoderAPI_GetDefaultValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2544 cpp_quote(" HRESULT WINAPI IEncoderAPI_GetValue_Proxy(IEncoderAPI *This,const GUID *Api,VARIANT *Value);")
2545 cpp_quote(" void __RPC_STUB IEncoderAPI_GetValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2546 cpp_quote(" HRESULT WINAPI IEncoderAPI_SetValue_Proxy(IEncoderAPI *This,const GUID *Api,VARIANT *Value);")
2547 cpp_quote(" void __RPC_STUB IEncoderAPI_SetValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2548 cpp_quote("#endif")
2549 cpp_quote("")
2550 cpp_quote("#ifndef __IVideoEncoder_INTERFACE_DEFINED__")
2551 cpp_quote("#define __IVideoEncoder_INTERFACE_DEFINED__")
2552 cpp_quote(" EXTERN_C const IID IID_IVideoEncoder;")
2553 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
2554 cpp_quote(" struct IVideoEncoder : public IEncoderAPI {")
2555 cpp_quote(" public:")
2556 cpp_quote(" };")
2557 cpp_quote("#else")
2558 cpp_quote(" typedef struct IVideoEncoderVtbl {")
2559 cpp_quote(" BEGIN_INTERFACE")
2560 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVideoEncoder *This,REFIID riid,void **ppvObject);")
2561 cpp_quote(" ULONG (WINAPI *AddRef)(IVideoEncoder *This);")
2562 cpp_quote(" ULONG (WINAPI *Release)(IVideoEncoder *This);")
2563 cpp_quote(" HRESULT (WINAPI *IsSupported)(IVideoEncoder *This,const GUID *Api);")
2564 cpp_quote(" HRESULT (WINAPI *IsAvailable)(IVideoEncoder *This,const GUID *Api);")
2565 cpp_quote(" HRESULT (WINAPI *GetParameterRange)(IVideoEncoder *This,const GUID *Api,VARIANT *ValueMin,VARIANT *ValueMax,VARIANT *SteppingDelta);")
2566 cpp_quote(" HRESULT (WINAPI *GetParameterValues)(IVideoEncoder *This,const GUID *Api,VARIANT **Values,ULONG *ValuesCount);")
2567 cpp_quote(" HRESULT (WINAPI *GetDefaultValue)(IVideoEncoder *This,const GUID *Api,VARIANT *Value);")
2568 cpp_quote(" HRESULT (WINAPI *GetValue)(IVideoEncoder *This,const GUID *Api,VARIANT *Value);")
2569 cpp_quote(" HRESULT (WINAPI *SetValue)(IVideoEncoder *This,const GUID *Api,VARIANT *Value);")
2570 cpp_quote(" END_INTERFACE")
2571 cpp_quote(" } IVideoEncoderVtbl;")
2572 cpp_quote(" struct IVideoEncoder {")
2573 cpp_quote(" CONST_VTBL struct IVideoEncoderVtbl *lpVtbl;")
2574 cpp_quote(" };")
2575 cpp_quote("#ifdef COBJMACROS")
2576 cpp_quote("#define IVideoEncoder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
2577 cpp_quote("#define IVideoEncoder_AddRef(This) (This)->lpVtbl->AddRef(This)")
2578 cpp_quote("#define IVideoEncoder_Release(This) (This)->lpVtbl->Release(This)")
2579 cpp_quote("#define IVideoEncoder_IsSupported(This,Api) (This)->lpVtbl->IsSupported(This,Api)")
2580 cpp_quote("#define IVideoEncoder_IsAvailable(This,Api) (This)->lpVtbl->IsAvailable(This,Api)")
2581 cpp_quote("#define IVideoEncoder_GetParameterRange(This,Api,ValueMin,ValueMax,SteppingDelta) (This)->lpVtbl->GetParameterRange(This,Api,ValueMin,ValueMax,SteppingDelta)")
2582 cpp_quote("#define IVideoEncoder_GetParameterValues(This,Api,Values,ValuesCount) (This)->lpVtbl->GetParameterValues(This,Api,Values,ValuesCount)")
2583 cpp_quote("#define IVideoEncoder_GetDefaultValue(This,Api,Value) (This)->lpVtbl->GetDefaultValue(This,Api,Value)")
2584 cpp_quote("#define IVideoEncoder_GetValue(This,Api,Value) (This)->lpVtbl->GetValue(This,Api,Value)")
2585 cpp_quote("#define IVideoEncoder_SetValue(This,Api,Value) (This)->lpVtbl->SetValue(This,Api,Value)")
2586 cpp_quote("#endif")
2587 cpp_quote("#endif")
2588 cpp_quote("#endif")
2589 cpp_quote("")
2590 cpp_quote("#ifndef __ENCODER_API_DEFINES__")
2591 cpp_quote("#define __ENCODER_API_DEFINES__")
2592 cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0374_0001 {")
2593 cpp_quote(" ConstantBitRate = 0,")
2594 cpp_quote(" VariableBitRateAverage,VariableBitRatePeak")
2595 cpp_quote(" } VIDEOENCODER_BITRATE_MODE;")
2596 cpp_quote("#endif")
2597 cpp_quote("#define AM_GETDECODERCAP_QUERY_VMR_SUPPORT 0x00000001")
2598 cpp_quote("#define VMR_NOTSUPPORTED 0x00000000")
2599 cpp_quote("#define VMR_SUPPORTED 0x00000001")
2600 cpp_quote("#define AM_QUERY_DECODER_VMR_SUPPORT 0x00000001")
2601 cpp_quote("#define AM_QUERY_DECODER_DXVA_1_SUPPORT 0x00000002")
2602 cpp_quote("#define AM_QUERY_DECODER_DVD_SUPPORT 0x00000003")
2603 cpp_quote("#define AM_QUERY_DECODER_ATSC_SD_SUPPORT 0x00000004")
2604 cpp_quote("#define AM_QUERY_DECODER_ATSC_HD_SUPPORT 0x00000005")
2605 cpp_quote("#define AM_GETDECODERCAP_QUERY_VMR9_SUPPORT 0x00000006")
2606 cpp_quote("#define DECODER_CAP_NOTSUPPORTED 0x00000000")
2607 cpp_quote("#define DECODER_CAP_SUPPORTED 0x00000001")
2608 cpp_quote("")
2609 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0374_v0_0_c_ifspec;")
2610 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0374_v0_0_s_ifspec;")
2611 cpp_quote("#ifndef __IAMDecoderCaps_INTERFACE_DEFINED__")
2612 cpp_quote("#define __IAMDecoderCaps_INTERFACE_DEFINED__")
2613 cpp_quote(" EXTERN_C const IID IID_IAMDecoderCaps;")
2614 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
2615 cpp_quote(" struct IAMDecoderCaps : public IUnknown {")
2616 cpp_quote(" public:")
2617 cpp_quote(" virtual HRESULT WINAPI GetDecoderCaps(DWORD dwCapIndex,DWORD *lpdwCap) = 0;")
2618 cpp_quote(" };")
2619 cpp_quote("#else")
2620 cpp_quote(" typedef struct IAMDecoderCapsVtbl {")
2621 cpp_quote(" BEGIN_INTERFACE")
2622 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMDecoderCaps *This,REFIID riid,void **ppvObject);")
2623 cpp_quote(" ULONG (WINAPI *AddRef)(IAMDecoderCaps *This);")
2624 cpp_quote(" ULONG (WINAPI *Release)(IAMDecoderCaps *This);")
2625 cpp_quote(" HRESULT (WINAPI *GetDecoderCaps)(IAMDecoderCaps *This,DWORD dwCapIndex,DWORD *lpdwCap);")
2626 cpp_quote(" END_INTERFACE")
2627 cpp_quote(" } IAMDecoderCapsVtbl;")
2628 cpp_quote(" struct IAMDecoderCaps {")
2629 cpp_quote(" CONST_VTBL struct IAMDecoderCapsVtbl *lpVtbl;")
2630 cpp_quote(" };")
2631 cpp_quote("#ifdef COBJMACROS")
2632 cpp_quote("#define IAMDecoderCaps_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
2633 cpp_quote("#define IAMDecoderCaps_AddRef(This) (This)->lpVtbl->AddRef(This)")
2634 cpp_quote("#define IAMDecoderCaps_Release(This) (This)->lpVtbl->Release(This)")
2635 cpp_quote("#define IAMDecoderCaps_GetDecoderCaps(This,dwCapIndex,lpdwCap) (This)->lpVtbl->GetDecoderCaps(This,dwCapIndex,lpdwCap)")
2636 cpp_quote("#endif")
2637 cpp_quote("#endif")
2638 cpp_quote(" HRESULT WINAPI IAMDecoderCaps_GetDecoderCaps_Proxy(IAMDecoderCaps *This,DWORD dwCapIndex,DWORD *lpdwCap);")
2639 cpp_quote(" void __RPC_STUB IAMDecoderCaps_GetDecoderCaps_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
2640 cpp_quote("#endif")
2641 cpp_quote("")
2642 cpp_quote("#include <ddraw.h>")
2643 cpp_quote("")
2644 cpp_quote(" typedef enum tagDVD_DOMAIN {")
2645 cpp_quote(" DVD_DOMAIN_FirstPlay = 1,")
2646 cpp_quote(" DVD_DOMAIN_VideoManagerMenu,DVD_DOMAIN_VideoTitleSetMenu,DVD_DOMAIN_Title,")
2647 cpp_quote(" DVD_DOMAIN_Stop")
2648 cpp_quote(" } DVD_DOMAIN;")
2649 cpp_quote("")
2650 cpp_quote(" typedef enum tagDVD_MENU_ID {")
2651 cpp_quote(" DVD_MENU_Title = 2,DVD_MENU_Root = 3,DVD_MENU_Subpicture = 4,DVD_MENU_Audio = 5,")
2652 cpp_quote(" DVD_MENU_Angle = 6,DVD_MENU_Chapter = 7")
2653 cpp_quote(" } DVD_MENU_ID;")
2654 cpp_quote("")
2655 cpp_quote(" typedef enum tagDVD_DISC_SIDE {")
2656 cpp_quote(" DVD_SIDE_A = 1,DVD_SIDE_B = 2")
2657 cpp_quote(" } DVD_DISC_SIDE;")
2658 cpp_quote("")
2659 cpp_quote(" typedef enum tagDVD_PREFERRED_DISPLAY_MODE {")
2660 cpp_quote(" DISPLAY_CONTENT_DEFAULT = 0,DISPLAY_16x9 = 1,DISPLAY_4x3_PANSCAN_PREFERRED = 2,DISPLAY_4x3_LETTERBOX_PREFERRED = 3")
2661 cpp_quote(" } DVD_PREFERRED_DISPLAY_MODE;")
2662 cpp_quote("")
2663 cpp_quote(" typedef WORD DVD_REGISTER;")
2664 cpp_quote(" typedef DVD_REGISTER GPRMARRAY[16];")
2665 cpp_quote(" typedef DVD_REGISTER SPRMARRAY[24];")
2666 cpp_quote("")
2667 cpp_quote(" typedef struct tagDVD_ATR {")
2668 cpp_quote(" ULONG ulCAT;")
2669 cpp_quote(" BYTE pbATRI[768];")
2670 cpp_quote(" } DVD_ATR;")
2671 cpp_quote("")
2672 cpp_quote(" typedef BYTE DVD_VideoATR[2];")
2673 cpp_quote(" typedef BYTE DVD_AudioATR[8];")
2674 cpp_quote(" typedef BYTE DVD_SubpictureATR[6];")
2675 cpp_quote("")
2676 cpp_quote(" typedef enum tagDVD_FRAMERATE {")
2677 cpp_quote(" DVD_FPS_25 = 1,DVD_FPS_30NonDrop = 3")
2678 cpp_quote(" } DVD_FRAMERATE;")
2679 cpp_quote("")
2680 cpp_quote(" typedef struct tagDVD_TIMECODE {")
2681 cpp_quote(" ULONG Hours1 :4;")
2682 cpp_quote(" ULONG Hours10 :4;")
2683 cpp_quote(" ULONG Minutes1 :4;")
2684 cpp_quote(" ULONG Minutes10:4;")
2685 cpp_quote(" ULONG Seconds1 :4;")
2686 cpp_quote(" ULONG Seconds10:4;")
2687 cpp_quote(" ULONG Frames1 :4;")
2688 cpp_quote(" ULONG Frames10 :2;")
2689 cpp_quote(" ULONG FrameRateCode: 2;")
2690 cpp_quote(" } DVD_TIMECODE;")
2691 cpp_quote("")
2692 cpp_quote(" typedef enum tagDVD_TIMECODE_FLAGS {")
2693 cpp_quote(" DVD_TC_FLAG_25fps = 0x1,DVD_TC_FLAG_30fps = 0x2,DVD_TC_FLAG_DropFrame = 0x4,DVD_TC_FLAG_Interpolated = 0x8")
2694 cpp_quote(" } DVD_TIMECODE_FLAGS;")
2695 cpp_quote("")
2696 cpp_quote(" typedef struct tagDVD_HMSF_TIMECODE {")
2697 cpp_quote(" BYTE bHours;")
2698 cpp_quote(" BYTE bMinutes;")
2699 cpp_quote(" BYTE bSeconds;")
2700 cpp_quote(" BYTE bFrames;")
2701 cpp_quote(" } DVD_HMSF_TIMECODE;")
2702 cpp_quote("")
2703 cpp_quote(" typedef struct tagDVD_PLAYBACK_LOCATION2 {")
2704 cpp_quote(" ULONG TitleNum;")
2705 cpp_quote(" ULONG ChapterNum;")
2706 cpp_quote(" DVD_HMSF_TIMECODE TimeCode;")
2707 cpp_quote(" ULONG TimeCodeFlags;")
2708 cpp_quote(" } DVD_PLAYBACK_LOCATION2;")
2709 cpp_quote("")
2710 cpp_quote(" typedef struct tagDVD_PLAYBACK_LOCATION {")
2711 cpp_quote(" ULONG TitleNum;")
2712 cpp_quote(" ULONG ChapterNum;")
2713 cpp_quote(" ULONG TimeCode;")
2714 cpp_quote(" } DVD_PLAYBACK_LOCATION;")
2715 cpp_quote("")
2716 cpp_quote(" typedef DWORD VALID_UOP_SOMTHING_OR_OTHER;")
2717 cpp_quote("")
2718 cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0376_0001 {")
2719 cpp_quote(" UOP_FLAG_Play_Title_Or_AtTime = 0x1,UOP_FLAG_Play_Chapter = 0x2,UOP_FLAG_Play_Title = 0x4,UOP_FLAG_Stop = 0x8,UOP_FLAG_ReturnFromSubMenu = 0x10,")
2720 cpp_quote(" UOP_FLAG_Play_Chapter_Or_AtTime = 0x20,UOP_FLAG_PlayPrev_Or_Replay_Chapter = 0x40,UOP_FLAG_PlayNext_Chapter = 0x80,UOP_FLAG_Play_Forwards = 0x100,")
2721 cpp_quote(" UOP_FLAG_Play_Backwards = 0x200,UOP_FLAG_ShowMenu_Title = 0x400,UOP_FLAG_ShowMenu_Root = 0x800,UOP_FLAG_ShowMenu_SubPic = 0x1000,")
2722 cpp_quote(" UOP_FLAG_ShowMenu_Audio = 0x2000,UOP_FLAG_ShowMenu_Angle = 0x4000,UOP_FLAG_ShowMenu_Chapter = 0x8000,UOP_FLAG_Resume = 0x10000,")
2723 cpp_quote(" UOP_FLAG_Select_Or_Activate_Button = 0x20000,UOP_FLAG_Still_Off = 0x40000,UOP_FLAG_Pause_On = 0x80000,UOP_FLAG_Select_Audio_Stream = 0x100000,")
2724 cpp_quote(" UOP_FLAG_Select_SubPic_Stream = 0x200000,UOP_FLAG_Select_Angle = 0x400000,UOP_FLAG_Select_Karaoke_Audio_Presentation_Mode = 0x800000,")
2725 cpp_quote(" UOP_FLAG_Select_Video_Mode_Preference = 0x1000000")
2726 cpp_quote(" } VALID_UOP_FLAG;")
2727 cpp_quote("")
2728 cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0376_0002 {")
2729 cpp_quote(" DVD_CMD_FLAG_None = 0,DVD_CMD_FLAG_Flush = 0x1,DVD_CMD_FLAG_SendEvents = 0x2,DVD_CMD_FLAG_Block = 0x4,DVD_CMD_FLAG_StartWhenRendered = 0x8,")
2730 cpp_quote(" DVD_CMD_FLAG_EndAfterRendered = 0x10")
2731 cpp_quote(" } DVD_CMD_FLAGS;")
2732 cpp_quote("")
2733 cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0376_0003 {")
2734 cpp_quote(" DVD_ResetOnStop = 1,DVD_NotifyParentalLevelChange = 2,DVD_HMSF_TimeCodeEvents = 3,DVD_AudioDuringFFwdRew = 4")
2735 cpp_quote(" } DVD_OPTION_FLAG;")
2736 cpp_quote("")
2737 cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0376_0004 {")
2738 cpp_quote(" DVD_Relative_Upper = 1,DVD_Relative_Lower = 2,DVD_Relative_Left = 3,DVD_Relative_Right = 4")
2739 cpp_quote(" } DVD_RELATIVE_BUTTON;")
2740 cpp_quote("")
2741 cpp_quote(" typedef enum tagDVD_PARENTAL_LEVEL {")
2742 cpp_quote(" DVD_PARENTAL_LEVEL_8 = 0x8000,DVD_PARENTAL_LEVEL_7 = 0x4000,DVD_PARENTAL_LEVEL_6 = 0x2000,DVD_PARENTAL_LEVEL_5 = 0x1000,")
2743 cpp_quote(" DVD_PARENTAL_LEVEL_4 = 0x800,DVD_PARENTAL_LEVEL_3 = 0x400,DVD_PARENTAL_LEVEL_2 = 0x200,DVD_PARENTAL_LEVEL_1 = 0x100")
2744 cpp_quote(" } DVD_PARENTAL_LEVEL;")
2745 cpp_quote("")
2746 cpp_quote(" typedef enum tagDVD_AUDIO_LANG_EXT {")
2747 cpp_quote(" DVD_AUD_EXT_NotSpecified = 0,DVD_AUD_EXT_Captions = 1,DVD_AUD_EXT_VisuallyImpaired = 2,DVD_AUD_EXT_DirectorComments1 = 3,")
2748 cpp_quote(" DVD_AUD_EXT_DirectorComments2 = 4")
2749 cpp_quote(" } DVD_AUDIO_LANG_EXT;")
2750 cpp_quote("")
2751 cpp_quote(" typedef enum tagDVD_SUBPICTURE_LANG_EXT {")
2752 cpp_quote(" DVD_SP_EXT_NotSpecified = 0,DVD_SP_EXT_Caption_Normal = 1,DVD_SP_EXT_Caption_Big = 2,DVD_SP_EXT_Caption_Children = 3,DVD_SP_EXT_CC_Normal = 5,")
2753 cpp_quote(" DVD_SP_EXT_CC_Big = 6,DVD_SP_EXT_CC_Children = 7,DVD_SP_EXT_Forced = 9,DVD_SP_EXT_DirectorComments_Normal = 13,DVD_SP_EXT_DirectorComments_Big = 14,")
2754 cpp_quote(" DVD_SP_EXT_DirectorComments_Children = 15")
2755 cpp_quote(" } DVD_SUBPICTURE_LANG_EXT;")
2756 cpp_quote("")
2757 cpp_quote(" typedef enum tagDVD_AUDIO_APPMODE {")
2758 cpp_quote(" DVD_AudioMode_None = 0,DVD_AudioMode_Karaoke = 1,DVD_AudioMode_Surround = 2,DVD_AudioMode_Other = 3")
2759 cpp_quote(" } DVD_AUDIO_APPMODE;")
2760 cpp_quote("")
2761 cpp_quote(" typedef enum tagDVD_AUDIO_FORMAT {")
2762 cpp_quote(" DVD_AudioFormat_AC3 = 0,DVD_AudioFormat_MPEG1 = 1,DVD_AudioFormat_MPEG1_DRC = 2,DVD_AudioFormat_MPEG2 = 3,DVD_AudioFormat_MPEG2_DRC = 4,")
2763 cpp_quote(" DVD_AudioFormat_LPCM = 5,DVD_AudioFormat_DTS = 6,DVD_AudioFormat_SDDS = 7,DVD_AudioFormat_Other = 8")
2764 cpp_quote(" } DVD_AUDIO_FORMAT;")
2765 cpp_quote("")
2766 cpp_quote(" typedef enum tagDVD_KARAOKE_DOWNMIX {")
2767 cpp_quote(" DVD_Mix_0to0 = 0x1,DVD_Mix_1to0 = 0x2,DVD_Mix_2to0 = 0x4,DVD_Mix_3to0 = 0x8,DVD_Mix_4to0 = 0x10,DVD_Mix_Lto0 = 0x20,DVD_Mix_Rto0 = 0x40,")
2768 cpp_quote(" DVD_Mix_0to1 = 0x100,DVD_Mix_1to1 = 0x200,DVD_Mix_2to1 = 0x400,DVD_Mix_3to1 = 0x800,DVD_Mix_4to1 = 0x1000,DVD_Mix_Lto1 = 0x2000,")
2769 cpp_quote(" DVD_Mix_Rto1 = 0x4000")
2770 cpp_quote(" } DVD_KARAOKE_DOWNMIX;")
2771 cpp_quote("")
2772 cpp_quote(" typedef struct tagDVD_AudioAttributes {")
2773 cpp_quote(" DVD_AUDIO_APPMODE AppMode;")
2774 cpp_quote(" BYTE AppModeData;")
2775 cpp_quote(" DVD_AUDIO_FORMAT AudioFormat;")
2776 cpp_quote(" LCID Language;")
2777 cpp_quote(" DVD_AUDIO_LANG_EXT LanguageExtension;")
2778 cpp_quote(" WINBOOL fHasMultichannelInfo;")
2779 cpp_quote(" DWORD dwFrequency;")
2780 cpp_quote(" BYTE bQuantization;")
2781 cpp_quote(" BYTE bNumberOfChannels;")
2782 cpp_quote(" DWORD dwReserved[2];")
2783 cpp_quote(" } DVD_AudioAttributes;")
2784 cpp_quote("")
2785 cpp_quote(" typedef struct tagDVD_MUA_MixingInfo {")
2786 cpp_quote(" WINBOOL fMixTo0;")
2787 cpp_quote(" WINBOOL fMixTo1;")
2788 cpp_quote(" WINBOOL fMix0InPhase;")
2789 cpp_quote(" WINBOOL fMix1InPhase;")
2790 cpp_quote(" DWORD dwSpeakerPosition;")
2791 cpp_quote(" } DVD_MUA_MixingInfo;")
2792 cpp_quote("")
2793 cpp_quote(" typedef struct tagDVD_MUA_Coeff {")
2794 cpp_quote(" double log2_alpha;")
2795 cpp_quote(" double log2_beta;")
2796 cpp_quote(" } DVD_MUA_Coeff;")
2797 cpp_quote("")
2798 cpp_quote(" typedef struct tagDVD_MultichannelAudioAttributes {")
2799 cpp_quote(" DVD_MUA_MixingInfo Info[8];")
2800 cpp_quote(" DVD_MUA_Coeff Coeff[8];")
2801 cpp_quote(" } DVD_MultichannelAudioAttributes;")
2802 cpp_quote("")
2803 cpp_quote(" typedef enum tagDVD_KARAOKE_CONTENTS {")
2804 cpp_quote(" DVD_Karaoke_GuideVocal1 = 0x1,DVD_Karaoke_GuideVocal2 = 0x2,DVD_Karaoke_GuideMelody1 = 0x4,DVD_Karaoke_GuideMelody2 = 0x8,")
2805 cpp_quote(" DVD_Karaoke_GuideMelodyA = 0x10,DVD_Karaoke_GuideMelodyB = 0x20,DVD_Karaoke_SoundEffectA = 0x40,DVD_Karaoke_SoundEffectB = 0x80")
2806 cpp_quote(" } DVD_KARAOKE_CONTENTS;")
2807 cpp_quote("")
2808 cpp_quote(" typedef enum tagDVD_KARAOKE_ASSIGNMENT {")
2809 cpp_quote(" DVD_Assignment_reserved0 = 0,DVD_Assignment_reserved1 = 1,DVD_Assignment_LR = 2,DVD_Assignment_LRM = 3,DVD_Assignment_LR1 = 4,")
2810 cpp_quote(" DVD_Assignment_LRM1 = 5,DVD_Assignment_LR12 = 6,DVD_Assignment_LRM12 = 7")
2811 cpp_quote(" } DVD_KARAOKE_ASSIGNMENT;")
2812 cpp_quote("")
2813 cpp_quote(" typedef struct tagDVD_KaraokeAttributes {")
2814 cpp_quote(" BYTE bVersion;")
2815 cpp_quote(" WINBOOL fMasterOfCeremoniesInGuideVocal1;")
2816 cpp_quote(" WINBOOL fDuet;")
2817 cpp_quote(" DVD_KARAOKE_ASSIGNMENT ChannelAssignment;")
2818 cpp_quote(" WORD wChannelContents[8];")
2819 cpp_quote(" } DVD_KaraokeAttributes;")
2820 cpp_quote("")
2821 cpp_quote(" typedef enum tagDVD_VIDEO_COMPRESSION {")
2822 cpp_quote(" DVD_VideoCompression_Other = 0,DVD_VideoCompression_MPEG1 = 1,DVD_VideoCompression_MPEG2 = 2")
2823 cpp_quote(" } DVD_VIDEO_COMPRESSION;")
2824 cpp_quote("")
2825 cpp_quote(" typedef struct tagDVD_VideoAttributes {")
2826 cpp_quote(" WINBOOL fPanscanPermitted;")
2827 cpp_quote(" WINBOOL fLetterboxPermitted;")
2828 cpp_quote(" ULONG ulAspectX;")
2829 cpp_quote(" ULONG ulAspectY;")
2830 cpp_quote(" ULONG ulFrameRate;")
2831 cpp_quote(" ULONG ulFrameHeight;")
2832 cpp_quote(" DVD_VIDEO_COMPRESSION Compression;")
2833 cpp_quote(" WINBOOL fLine21Field1InGOP;")
2834 cpp_quote(" WINBOOL fLine21Field2InGOP;")
2835 cpp_quote(" ULONG ulSourceResolutionX;")
2836 cpp_quote(" ULONG ulSourceResolutionY;")
2837 cpp_quote(" WINBOOL fIsSourceLetterboxed;")
2838 cpp_quote(" WINBOOL fIsFilmMode;")
2839 cpp_quote(" } DVD_VideoAttributes;")
2840 cpp_quote("")
2841 cpp_quote(" typedef enum tagDVD_SUBPICTURE_TYPE {")
2842 cpp_quote(" DVD_SPType_NotSpecified = 0,DVD_SPType_Language = 1,DVD_SPType_Other = 2")
2843 cpp_quote(" } DVD_SUBPICTURE_TYPE;")
2844 cpp_quote("")
2845 cpp_quote(" typedef enum tagDVD_SUBPICTURE_CODING {")
2846 cpp_quote(" DVD_SPCoding_RunLength = 0,DVD_SPCoding_Extended = 1,DVD_SPCoding_Other = 2")
2847 cpp_quote(" } DVD_SUBPICTURE_CODING;")
2848 cpp_quote("")
2849 cpp_quote(" typedef struct tagDVD_SubpictureAttributes {")
2850 cpp_quote(" DVD_SUBPICTURE_TYPE Type;")
2851 cpp_quote(" DVD_SUBPICTURE_CODING CodingMode;")
2852 cpp_quote(" LCID Language;")
2853 cpp_quote(" DVD_SUBPICTURE_LANG_EXT LanguageExtension;")
2854 cpp_quote(" } DVD_SubpictureAttributes;")
2855 cpp_quote("")
2856 cpp_quote(" typedef enum tagDVD_TITLE_APPMODE {")
2857 cpp_quote(" DVD_AppMode_Not_Specified = 0,DVD_AppMode_Karaoke = 1,DVD_AppMode_Other = 3")
2858 cpp_quote(" } DVD_TITLE_APPMODE;")
2859 cpp_quote("")
2860 cpp_quote(" typedef struct tagDVD_TitleMainAttributes {")
2861 cpp_quote(" DVD_TITLE_APPMODE AppMode;")
2862 cpp_quote(" DVD_VideoAttributes VideoAttributes;")
2863 cpp_quote(" ULONG ulNumberOfAudioStreams;")
2864 cpp_quote(" DVD_AudioAttributes AudioAttributes[8];")
2865 cpp_quote(" DVD_MultichannelAudioAttributes MultichannelAudioAttributes[8];")
2866 cpp_quote(" ULONG ulNumberOfSubpictureStreams;")
2867 cpp_quote(" DVD_SubpictureAttributes SubpictureAttributes[32];")
2868 cpp_quote(" } DVD_TitleAttributes;")
2869 cpp_quote("")
2870 cpp_quote(" typedef struct tagDVD_MenuAttributes {")
2871 cpp_quote(" WINBOOL fCompatibleRegion[8];")
2872 cpp_quote(" DVD_VideoAttributes VideoAttributes;")
2873 cpp_quote(" WINBOOL fAudioPresent;")
2874 cpp_quote(" DVD_AudioAttributes AudioAttributes;")
2875 cpp_quote(" WINBOOL fSubpicturePresent;")
2876 cpp_quote(" DVD_SubpictureAttributes SubpictureAttributes;")
2877 cpp_quote(" } DVD_MenuAttributes;")
2878 cpp_quote("")
2879 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0376_v0_0_c_ifspec;")
2880 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0376_v0_0_s_ifspec;")
2881 cpp_quote("#ifndef __IDvdControl_INTERFACE_DEFINED__")
2882 cpp_quote("#define __IDvdControl_INTERFACE_DEFINED__")
2883 cpp_quote(" EXTERN_C const IID IID_IDvdControl;")
2884 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
2885 cpp_quote(" struct IDvdControl : public IUnknown {")
2886 cpp_quote(" public:")
2887 cpp_quote(" virtual HRESULT WINAPI TitlePlay(ULONG ulTitle) = 0;")
2888 cpp_quote(" virtual HRESULT WINAPI ChapterPlay(ULONG ulTitle,ULONG ulChapter) = 0;")
2889 cpp_quote(" virtual HRESULT WINAPI TimePlay(ULONG ulTitle,ULONG bcdTime) = 0;")
2890 cpp_quote(" virtual HRESULT WINAPI StopForResume(void) = 0;")
2891 cpp_quote(" virtual HRESULT WINAPI GoUp(void) = 0;")
2892 cpp_quote(" virtual HRESULT WINAPI TimeSearch(ULONG bcdTime) = 0;")
2893 cpp_quote(" virtual HRESULT WINAPI ChapterSearch(ULONG ulChapter) = 0;")
2894 cpp_quote(" virtual HRESULT WINAPI PrevPGSearch(void) = 0;")
2895 cpp_quote(" virtual HRESULT WINAPI TopPGSearch(void) = 0;")
2896 cpp_quote(" virtual HRESULT WINAPI NextPGSearch(void) = 0;")
2897 cpp_quote(" virtual HRESULT WINAPI ForwardScan(double dwSpeed) = 0;")
2898 cpp_quote(" virtual HRESULT WINAPI BackwardScan(double dwSpeed) = 0;")
2899 cpp_quote(" virtual HRESULT WINAPI MenuCall(DVD_MENU_ID MenuID) = 0;")
2900 cpp_quote(" virtual HRESULT WINAPI Resume(void) = 0;")
2901 cpp_quote(" virtual HRESULT WINAPI UpperButtonSelect(void) = 0;")
2902 cpp_quote(" virtual HRESULT WINAPI LowerButtonSelect(void) = 0;")
2903 cpp_quote(" virtual HRESULT WINAPI LeftButtonSelect(void) = 0;")
2904 cpp_quote(" virtual HRESULT WINAPI RightButtonSelect(void) = 0;")
2905 cpp_quote(" virtual HRESULT WINAPI ButtonActivate(void) = 0;")
2906 cpp_quote(" virtual HRESULT WINAPI ButtonSelectAndActivate(ULONG ulButton) = 0;")
2907 cpp_quote(" virtual HRESULT WINAPI StillOff(void) = 0;")
2908 cpp_quote(" virtual HRESULT WINAPI PauseOn(void) = 0;")
2909 cpp_quote(" virtual HRESULT WINAPI PauseOff(void) = 0;")
2910 cpp_quote(" virtual HRESULT WINAPI MenuLanguageSelect(LCID Language) = 0;")
2911 cpp_quote(" virtual HRESULT WINAPI AudioStreamChange(ULONG ulAudio) = 0;")
2912 cpp_quote(" virtual HRESULT WINAPI SubpictureStreamChange(ULONG ulSubPicture,WINBOOL bDisplay) = 0;")
2913 cpp_quote(" virtual HRESULT WINAPI AngleChange(ULONG ulAngle) = 0;")
2914 cpp_quote(" virtual HRESULT WINAPI ParentalLevelSelect(ULONG ulParentalLevel) = 0;")
2915 cpp_quote(" virtual HRESULT WINAPI ParentalCountrySelect(WORD wCountry) = 0;")
2916 cpp_quote(" virtual HRESULT WINAPI KaraokeAudioPresentationModeChange(ULONG ulMode) = 0;")
2917 cpp_quote(" virtual HRESULT WINAPI VideoModePreferrence(ULONG ulPreferredDisplayMode) = 0;")
2918 cpp_quote(" virtual HRESULT WINAPI SetRoot(LPCWSTR pszPath) = 0;")
2919 cpp_quote(" virtual HRESULT WINAPI MouseActivate(POINT point) = 0;")
2920 cpp_quote(" virtual HRESULT WINAPI MouseSelect(POINT point) = 0;")
2921 cpp_quote(" virtual HRESULT WINAPI ChapterPlayAutoStop(ULONG ulTitle,ULONG ulChapter,ULONG ulChaptersToPlay) = 0;")
2922 cpp_quote(" };")
2923 cpp_quote("#else")
2924 cpp_quote(" typedef struct IDvdControlVtbl {")
2925 cpp_quote(" BEGIN_INTERFACE")
2926 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDvdControl *This,REFIID riid,void **ppvObject);")
2927 cpp_quote(" ULONG (WINAPI *AddRef)(IDvdControl *This);")
2928 cpp_quote(" ULONG (WINAPI *Release)(IDvdControl *This);")
2929 cpp_quote(" HRESULT (WINAPI *TitlePlay)(IDvdControl *This,ULONG ulTitle);")
2930 cpp_quote(" HRESULT (WINAPI *ChapterPlay)(IDvdControl *This,ULONG ulTitle,ULONG ulChapter);")
2931 cpp_quote(" HRESULT (WINAPI *TimePlay)(IDvdControl *This,ULONG ulTitle,ULONG bcdTime);")
2932 cpp_quote(" HRESULT (WINAPI *StopForResume)(IDvdControl *This);")
2933 cpp_quote(" HRESULT (WINAPI *GoUp)(IDvdControl *This);")
2934 cpp_quote(" HRESULT (WINAPI *TimeSearch)(IDvdControl *This,ULONG bcdTime);")
2935 cpp_quote(" HRESULT (WINAPI *ChapterSearch)(IDvdControl *This,ULONG ulChapter);")
2936 cpp_quote(" HRESULT (WINAPI *PrevPGSearch)(IDvdControl *This);")
2937 cpp_quote(" HRESULT (WINAPI *TopPGSearch)(IDvdControl *This);")
2938 cpp_quote(" HRESULT (WINAPI *NextPGSearch)(IDvdControl *This);")
2939 cpp_quote(" HRESULT (WINAPI *ForwardScan)(IDvdControl *This,double dwSpeed);")
2940 cpp_quote(" HRESULT (WINAPI *BackwardScan)(IDvdControl *This,double dwSpeed);")
2941 cpp_quote(" HRESULT (WINAPI *MenuCall)(IDvdControl *This,DVD_MENU_ID MenuID);")
2942 cpp_quote(" HRESULT (WINAPI *Resume)(IDvdControl *This);")
2943 cpp_quote(" HRESULT (WINAPI *UpperButtonSelect)(IDvdControl *This);")
2944 cpp_quote(" HRESULT (WINAPI *LowerButtonSelect)(IDvdControl *This);")
2945 cpp_quote(" HRESULT (WINAPI *LeftButtonSelect)(IDvdControl *This);")
2946 cpp_quote(" HRESULT (WINAPI *RightButtonSelect)(IDvdControl *This);")
2947 cpp_quote(" HRESULT (WINAPI *ButtonActivate)(IDvdControl *This);")
2948 cpp_quote(" HRESULT (WINAPI *ButtonSelectAndActivate)(IDvdControl *This,ULONG ulButton);")
2949 cpp_quote(" HRESULT (WINAPI *StillOff)(IDvdControl *This);")
2950 cpp_quote(" HRESULT (WINAPI *PauseOn)(IDvdControl *This);")
2951 cpp_quote(" HRESULT (WINAPI *PauseOff)(IDvdControl *This);")
2952 cpp_quote(" HRESULT (WINAPI *MenuLanguageSelect)(IDvdControl *This,LCID Language);")
2953 cpp_quote(" HRESULT (WINAPI *AudioStreamChange)(IDvdControl *This,ULONG ulAudio);")
2954 cpp_quote(" HRESULT (WINAPI *SubpictureStreamChange)(IDvdControl *This,ULONG ulSubPicture,WINBOOL bDisplay);")
2955 cpp_quote(" HRESULT (WINAPI *AngleChange)(IDvdControl *This,ULONG ulAngle);")
2956 cpp_quote(" HRESULT (WINAPI *ParentalLevelSelect)(IDvdControl *This,ULONG ulParentalLevel);")
2957 cpp_quote(" HRESULT (WINAPI *ParentalCountrySelect)(IDvdControl *This,WORD wCountry);")
2958 cpp_quote(" HRESULT (WINAPI *KaraokeAudioPresentationModeChange)(IDvdControl *This,ULONG ulMode);")
2959 cpp_quote(" HRESULT (WINAPI *VideoModePreferrence)(IDvdControl *This,ULONG ulPreferredDisplayMode);")
2960 cpp_quote(" HRESULT (WINAPI *SetRoot)(IDvdControl *This,LPCWSTR pszPath);")
2961 cpp_quote(" HRESULT (WINAPI *MouseActivate)(IDvdControl *This,POINT point);")
2962 cpp_quote(" HRESULT (WINAPI *MouseSelect)(IDvdControl *This,POINT point);")
2963 cpp_quote(" HRESULT (WINAPI *ChapterPlayAutoStop)(IDvdControl *This,ULONG ulTitle,ULONG ulChapter,ULONG ulChaptersToPlay);")
2964 cpp_quote(" END_INTERFACE")
2965 cpp_quote(" } IDvdControlVtbl;")
2966 cpp_quote(" struct IDvdControl {")
2967 cpp_quote(" CONST_VTBL struct IDvdControlVtbl *lpVtbl;")
2968 cpp_quote(" };")
2969 cpp_quote("#ifdef COBJMACROS")
2970 cpp_quote("#define IDvdControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
2971 cpp_quote("#define IDvdControl_AddRef(This) (This)->lpVtbl->AddRef(This)")
2972 cpp_quote("#define IDvdControl_Release(This) (This)->lpVtbl->Release(This)")
2973 cpp_quote("#define IDvdControl_TitlePlay(This,ulTitle) (This)->lpVtbl->TitlePlay(This,ulTitle)")
2974 cpp_quote("#define IDvdControl_ChapterPlay(This,ulTitle,ulChapter) (This)->lpVtbl->ChapterPlay(This,ulTitle,ulChapter)")
2975 cpp_quote("#define IDvdControl_TimePlay(This,ulTitle,bcdTime) (This)->lpVtbl->TimePlay(This,ulTitle,bcdTime)")
2976 cpp_quote("#define IDvdControl_StopForResume(This) (This)->lpVtbl->StopForResume(This)")
2977 cpp_quote("#define IDvdControl_GoUp(This) (This)->lpVtbl->GoUp(This)")
2978 cpp_quote("#define IDvdControl_TimeSearch(This,bcdTime) (This)->lpVtbl->TimeSearch(This,bcdTime)")
2979 cpp_quote("#define IDvdControl_ChapterSearch(This,ulChapter) (This)->lpVtbl->ChapterSearch(This,ulChapter)")
2980 cpp_quote("#define IDvdControl_PrevPGSearch(This) (This)->lpVtbl->PrevPGSearch(This)")
2981 cpp_quote("#define IDvdControl_TopPGSearch(This) (This)->lpVtbl->TopPGSearch(This)")
2982 cpp_quote("#define IDvdControl_NextPGSearch(This) (This)->lpVtbl->NextPGSearch(This)")
2983 cpp_quote("#define IDvdControl_ForwardScan(This,dwSpeed) (This)->lpVtbl->ForwardScan(This,dwSpeed)")
2984 cpp_quote("#define IDvdControl_BackwardScan(This,dwSpeed) (This)->lpVtbl->BackwardScan(This,dwSpeed)")
2985 cpp_quote("#define IDvdControl_MenuCall(This,MenuID) (This)->lpVtbl->MenuCall(This,MenuID)")
2986 cpp_quote("#define IDvdControl_Resume(This) (This)->lpVtbl->Resume(This)")
2987 cpp_quote("#define IDvdControl_UpperButtonSelect(This) (This)->lpVtbl->UpperButtonSelect(This)")
2988 cpp_quote("#define IDvdControl_LowerButtonSelect(This) (This)->lpVtbl->LowerButtonSelect(This)")
2989 cpp_quote("#define IDvdControl_LeftButtonSelect(This) (This)->lpVtbl->LeftButtonSelect(This)")
2990 cpp_quote("#define IDvdControl_RightButtonSelect(This) (This)->lpVtbl->RightButtonSelect(This)")
2991 cpp_quote("#define IDvdControl_ButtonActivate(This) (This)->lpVtbl->ButtonActivate(This)")
2992 cpp_quote("#define IDvdControl_ButtonSelectAndActivate(This,ulButton) (This)->lpVtbl->ButtonSelectAndActivate(This,ulButton)")
2993 cpp_quote("#define IDvdControl_StillOff(This) (This)->lpVtbl->StillOff(This)")
2994 cpp_quote("#define IDvdControl_PauseOn(This) (This)->lpVtbl->PauseOn(This)")
2995 cpp_quote("#define IDvdControl_PauseOff(This) (This)->lpVtbl->PauseOff(This)")
2996 cpp_quote("#define IDvdControl_MenuLanguageSelect(This,Language) (This)->lpVtbl->MenuLanguageSelect(This,Language)")
2997 cpp_quote("#define IDvdControl_AudioStreamChange(This,ulAudio) (This)->lpVtbl->AudioStreamChange(This,ulAudio)")
2998 cpp_quote("#define IDvdControl_SubpictureStreamChange(This,ulSubPicture,bDisplay) (This)->lpVtbl->SubpictureStreamChange(This,ulSubPicture,bDisplay)")
2999 cpp_quote("#define IDvdControl_AngleChange(This,ulAngle) (This)->lpVtbl->AngleChange(This,ulAngle)")
3000 cpp_quote("#define IDvdControl_ParentalLevelSelect(This,ulParentalLevel) (This)->lpVtbl->ParentalLevelSelect(This,ulParentalLevel)")
3001 cpp_quote("#define IDvdControl_ParentalCountrySelect(This,wCountry) (This)->lpVtbl->ParentalCountrySelect(This,wCountry)")
3002 cpp_quote("#define IDvdControl_KaraokeAudioPresentationModeChange(This,ulMode) (This)->lpVtbl->KaraokeAudioPresentationModeChange(This,ulMode)")
3003 cpp_quote("#define IDvdControl_VideoModePreferrence(This,ulPreferredDisplayMode) (This)->lpVtbl->VideoModePreferrence(This,ulPreferredDisplayMode)")
3004 cpp_quote("#define IDvdControl_SetRoot(This,pszPath) (This)->lpVtbl->SetRoot(This,pszPath)")
3005 cpp_quote("#define IDvdControl_MouseActivate(This,point) (This)->lpVtbl->MouseActivate(This,point)")
3006 cpp_quote("#define IDvdControl_MouseSelect(This,point) (This)->lpVtbl->MouseSelect(This,point)")
3007 cpp_quote("#define IDvdControl_ChapterPlayAutoStop(This,ulTitle,ulChapter,ulChaptersToPlay) (This)->lpVtbl->ChapterPlayAutoStop(This,ulTitle,ulChapter,ulChaptersToPlay)")
3008 cpp_quote("#endif")
3009 cpp_quote("#endif")
3010 cpp_quote(" HRESULT WINAPI IDvdControl_TitlePlay_Proxy(IDvdControl *This,ULONG ulTitle);")
3011 cpp_quote(" void __RPC_STUB IDvdControl_TitlePlay_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3012 cpp_quote(" HRESULT WINAPI IDvdControl_ChapterPlay_Proxy(IDvdControl *This,ULONG ulTitle,ULONG ulChapter);")
3013 cpp_quote(" void __RPC_STUB IDvdControl_ChapterPlay_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3014 cpp_quote(" HRESULT WINAPI IDvdControl_TimePlay_Proxy(IDvdControl *This,ULONG ulTitle,ULONG bcdTime);")
3015 cpp_quote(" void __RPC_STUB IDvdControl_TimePlay_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3016 cpp_quote(" HRESULT WINAPI IDvdControl_StopForResume_Proxy(IDvdControl *This);")
3017 cpp_quote(" void __RPC_STUB IDvdControl_StopForResume_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3018 cpp_quote(" HRESULT WINAPI IDvdControl_GoUp_Proxy(IDvdControl *This);")
3019 cpp_quote(" void __RPC_STUB IDvdControl_GoUp_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3020 cpp_quote(" HRESULT WINAPI IDvdControl_TimeSearch_Proxy(IDvdControl *This,ULONG bcdTime);")
3021 cpp_quote(" void __RPC_STUB IDvdControl_TimeSearch_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3022 cpp_quote(" HRESULT WINAPI IDvdControl_ChapterSearch_Proxy(IDvdControl *This,ULONG ulChapter);")
3023 cpp_quote(" void __RPC_STUB IDvdControl_ChapterSearch_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3024 cpp_quote(" HRESULT WINAPI IDvdControl_PrevPGSearch_Proxy(IDvdControl *This);")
3025 cpp_quote(" void __RPC_STUB IDvdControl_PrevPGSearch_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3026 cpp_quote(" HRESULT WINAPI IDvdControl_TopPGSearch_Proxy(IDvdControl *This);")
3027 cpp_quote(" void __RPC_STUB IDvdControl_TopPGSearch_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3028 cpp_quote(" HRESULT WINAPI IDvdControl_NextPGSearch_Proxy(IDvdControl *This);")
3029 cpp_quote(" void __RPC_STUB IDvdControl_NextPGSearch_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3030 cpp_quote(" HRESULT WINAPI IDvdControl_ForwardScan_Proxy(IDvdControl *This,double dwSpeed);")
3031 cpp_quote(" void __RPC_STUB IDvdControl_ForwardScan_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3032 cpp_quote(" HRESULT WINAPI IDvdControl_BackwardScan_Proxy(IDvdControl *This,double dwSpeed);")
3033 cpp_quote(" void __RPC_STUB IDvdControl_BackwardScan_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3034 cpp_quote(" HRESULT WINAPI IDvdControl_MenuCall_Proxy(IDvdControl *This,DVD_MENU_ID MenuID);")
3035 cpp_quote(" void __RPC_STUB IDvdControl_MenuCall_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3036 cpp_quote(" HRESULT WINAPI IDvdControl_Resume_Proxy(IDvdControl *This);")
3037 cpp_quote(" void __RPC_STUB IDvdControl_Resume_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3038 cpp_quote(" HRESULT WINAPI IDvdControl_UpperButtonSelect_Proxy(IDvdControl *This);")
3039 cpp_quote(" void __RPC_STUB IDvdControl_UpperButtonSelect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3040 cpp_quote(" HRESULT WINAPI IDvdControl_LowerButtonSelect_Proxy(IDvdControl *This);")
3041 cpp_quote(" void __RPC_STUB IDvdControl_LowerButtonSelect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3042 cpp_quote(" HRESULT WINAPI IDvdControl_LeftButtonSelect_Proxy(IDvdControl *This);")
3043 cpp_quote(" void __RPC_STUB IDvdControl_LeftButtonSelect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3044 cpp_quote(" HRESULT WINAPI IDvdControl_RightButtonSelect_Proxy(IDvdControl *This);")
3045 cpp_quote(" void __RPC_STUB IDvdControl_RightButtonSelect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3046 cpp_quote(" HRESULT WINAPI IDvdControl_ButtonActivate_Proxy(IDvdControl *This);")
3047 cpp_quote(" void __RPC_STUB IDvdControl_ButtonActivate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3048 cpp_quote(" HRESULT WINAPI IDvdControl_ButtonSelectAndActivate_Proxy(IDvdControl *This,ULONG ulButton);")
3049 cpp_quote(" void __RPC_STUB IDvdControl_ButtonSelectAndActivate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3050 cpp_quote(" HRESULT WINAPI IDvdControl_StillOff_Proxy(IDvdControl *This);")
3051 cpp_quote(" void __RPC_STUB IDvdControl_StillOff_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3052 cpp_quote(" HRESULT WINAPI IDvdControl_PauseOn_Proxy(IDvdControl *This);")
3053 cpp_quote(" void __RPC_STUB IDvdControl_PauseOn_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3054 cpp_quote(" HRESULT WINAPI IDvdControl_PauseOff_Proxy(IDvdControl *This);")
3055 cpp_quote(" void __RPC_STUB IDvdControl_PauseOff_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3056 cpp_quote(" HRESULT WINAPI IDvdControl_MenuLanguageSelect_Proxy(IDvdControl *This,LCID Language);")
3057 cpp_quote(" void __RPC_STUB IDvdControl_MenuLanguageSelect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3058 cpp_quote(" HRESULT WINAPI IDvdControl_AudioStreamChange_Proxy(IDvdControl *This,ULONG ulAudio);")
3059 cpp_quote(" void __RPC_STUB IDvdControl_AudioStreamChange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3060 cpp_quote(" HRESULT WINAPI IDvdControl_SubpictureStreamChange_Proxy(IDvdControl *This,ULONG ulSubPicture,WINBOOL bDisplay);")
3061 cpp_quote(" void __RPC_STUB IDvdControl_SubpictureStreamChange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3062 cpp_quote(" HRESULT WINAPI IDvdControl_AngleChange_Proxy(IDvdControl *This,ULONG ulAngle);")
3063 cpp_quote(" void __RPC_STUB IDvdControl_AngleChange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3064 cpp_quote(" HRESULT WINAPI IDvdControl_ParentalLevelSelect_Proxy(IDvdControl *This,ULONG ulParentalLevel);")
3065 cpp_quote(" void __RPC_STUB IDvdControl_ParentalLevelSelect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3066 cpp_quote(" HRESULT WINAPI IDvdControl_ParentalCountrySelect_Proxy(IDvdControl *This,WORD wCountry);")
3067 cpp_quote(" void __RPC_STUB IDvdControl_ParentalCountrySelect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3068 cpp_quote(" HRESULT WINAPI IDvdControl_KaraokeAudioPresentationModeChange_Proxy(IDvdControl *This,ULONG ulMode);")
3069 cpp_quote(" void __RPC_STUB IDvdControl_KaraokeAudioPresentationModeChange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3070 cpp_quote(" HRESULT WINAPI IDvdControl_VideoModePreferrence_Proxy(IDvdControl *This,ULONG ulPreferredDisplayMode);")
3071 cpp_quote(" void __RPC_STUB IDvdControl_VideoModePreferrence_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3072 cpp_quote(" HRESULT WINAPI IDvdControl_SetRoot_Proxy(IDvdControl *This,LPCWSTR pszPath);")
3073 cpp_quote(" void __RPC_STUB IDvdControl_SetRoot_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3074 cpp_quote(" HRESULT WINAPI IDvdControl_MouseActivate_Proxy(IDvdControl *This,POINT point);")
3075 cpp_quote(" void __RPC_STUB IDvdControl_MouseActivate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3076 cpp_quote(" HRESULT WINAPI IDvdControl_MouseSelect_Proxy(IDvdControl *This,POINT point);")
3077 cpp_quote(" void __RPC_STUB IDvdControl_MouseSelect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3078 cpp_quote(" HRESULT WINAPI IDvdControl_ChapterPlayAutoStop_Proxy(IDvdControl *This,ULONG ulTitle,ULONG ulChapter,ULONG ulChaptersToPlay);")
3079 cpp_quote(" void __RPC_STUB IDvdControl_ChapterPlayAutoStop_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3080 cpp_quote("#endif")
3081 cpp_quote("")
3082 cpp_quote("#ifndef __IDvdInfo_INTERFACE_DEFINED__")
3083 cpp_quote("#define __IDvdInfo_INTERFACE_DEFINED__")
3084 cpp_quote(" EXTERN_C const IID IID_IDvdInfo;")
3085 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
3086 cpp_quote(" struct IDvdInfo : public IUnknown {")
3087 cpp_quote(" public:")
3088 cpp_quote(" virtual HRESULT WINAPI GetCurrentDomain(DVD_DOMAIN *pDomain) = 0;")
3089 cpp_quote(" virtual HRESULT WINAPI GetCurrentLocation(DVD_PLAYBACK_LOCATION *pLocation) = 0;")
3090 cpp_quote(" virtual HRESULT WINAPI GetTotalTitleTime(ULONG *pulTotalTime) = 0;")
3091 cpp_quote(" virtual HRESULT WINAPI GetCurrentButton(ULONG *pulButtonsAvailable,ULONG *pulCurrentButton) = 0;")
3092 cpp_quote(" virtual HRESULT WINAPI GetCurrentAngle(ULONG *pulAnglesAvailable,ULONG *pulCurrentAngle) = 0;")
3093 cpp_quote(" virtual HRESULT WINAPI GetCurrentAudio(ULONG *pulStreamsAvailable,ULONG *pulCurrentStream) = 0;")
3094 cpp_quote(" virtual HRESULT WINAPI GetCurrentSubpicture(ULONG *pulStreamsAvailable,ULONG *pulCurrentStream,WINBOOL *pIsDisabled) = 0;")
3095 cpp_quote(" virtual HRESULT WINAPI GetCurrentUOPS(VALID_UOP_SOMTHING_OR_OTHER *pUOP) = 0;")
3096 cpp_quote(" virtual HRESULT WINAPI GetAllSPRMs(SPRMARRAY *pRegisterArray) = 0;")
3097 cpp_quote(" virtual HRESULT WINAPI GetAllGPRMs(GPRMARRAY *pRegisterArray) = 0;")
3098 cpp_quote(" virtual HRESULT WINAPI GetAudioLanguage(ULONG ulStream,LCID *pLanguage) = 0;")
3099 cpp_quote(" virtual HRESULT WINAPI GetSubpictureLanguage(ULONG ulStream,LCID *pLanguage) = 0;")
3100 cpp_quote(" virtual HRESULT WINAPI GetTitleAttributes(ULONG ulTitle,DVD_ATR *pATR) = 0;")
3101 cpp_quote(" virtual HRESULT WINAPI GetVMGAttributes(DVD_ATR *pATR) = 0;")
3102 cpp_quote(" virtual HRESULT WINAPI GetCurrentVideoAttributes(DVD_VideoATR *pATR) = 0;")
3103 cpp_quote(" virtual HRESULT WINAPI GetCurrentAudioAttributes(DVD_AudioATR *pATR) = 0;")
3104 cpp_quote(" virtual HRESULT WINAPI GetCurrentSubpictureAttributes(DVD_SubpictureATR *pATR) = 0;")
3105 cpp_quote(" virtual HRESULT WINAPI GetCurrentVolumeInfo(ULONG *pulNumOfVol,ULONG *pulThisVolNum,DVD_DISC_SIDE *pSide,ULONG *pulNumOfTitles) = 0;")
3106 cpp_quote(" virtual HRESULT WINAPI GetDVDTextInfo(BYTE *pTextManager,ULONG ulBufSize,ULONG *pulActualSize) = 0;")
3107 cpp_quote(" virtual HRESULT WINAPI GetPlayerParentalLevel(ULONG *pulParentalLevel,ULONG *pulCountryCode) = 0;")
3108 cpp_quote(" virtual HRESULT WINAPI GetNumberOfChapters(ULONG ulTitle,ULONG *pulNumberOfChapters) = 0;")
3109 cpp_quote(" virtual HRESULT WINAPI GetTitleParentalLevels(ULONG ulTitle,ULONG *pulParentalLevels) = 0;")
3110 cpp_quote(" virtual HRESULT WINAPI GetRoot(LPSTR pRoot,ULONG ulBufSize,ULONG *pulActualSize) = 0;")
3111 cpp_quote(" };")
3112 cpp_quote("#else")
3113 cpp_quote(" typedef struct IDvdInfoVtbl {")
3114 cpp_quote(" BEGIN_INTERFACE")
3115 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDvdInfo *This,REFIID riid,void **ppvObject);")
3116 cpp_quote(" ULONG (WINAPI *AddRef)(IDvdInfo *This);")
3117 cpp_quote(" ULONG (WINAPI *Release)(IDvdInfo *This);")
3118 cpp_quote(" HRESULT (WINAPI *GetCurrentDomain)(IDvdInfo *This,DVD_DOMAIN *pDomain);")
3119 cpp_quote(" HRESULT (WINAPI *GetCurrentLocation)(IDvdInfo *This,DVD_PLAYBACK_LOCATION *pLocation);")
3120 cpp_quote(" HRESULT (WINAPI *GetTotalTitleTime)(IDvdInfo *This,ULONG *pulTotalTime);")
3121 cpp_quote(" HRESULT (WINAPI *GetCurrentButton)(IDvdInfo *This,ULONG *pulButtonsAvailable,ULONG *pulCurrentButton);")
3122 cpp_quote(" HRESULT (WINAPI *GetCurrentAngle)(IDvdInfo *This,ULONG *pulAnglesAvailable,ULONG *pulCurrentAngle);")
3123 cpp_quote(" HRESULT (WINAPI *GetCurrentAudio)(IDvdInfo *This,ULONG *pulStreamsAvailable,ULONG *pulCurrentStream);")
3124 cpp_quote(" HRESULT (WINAPI *GetCurrentSubpicture)(IDvdInfo *This,ULONG *pulStreamsAvailable,ULONG *pulCurrentStream,WINBOOL *pIsDisabled);")
3125 cpp_quote(" HRESULT (WINAPI *GetCurrentUOPS)(IDvdInfo *This,VALID_UOP_SOMTHING_OR_OTHER *pUOP);")
3126 cpp_quote(" HRESULT (WINAPI *GetAllSPRMs)(IDvdInfo *This,SPRMARRAY *pRegisterArray);")
3127 cpp_quote(" HRESULT (WINAPI *GetAllGPRMs)(IDvdInfo *This,GPRMARRAY *pRegisterArray);")
3128 cpp_quote(" HRESULT (WINAPI *GetAudioLanguage)(IDvdInfo *This,ULONG ulStream,LCID *pLanguage);")
3129 cpp_quote(" HRESULT (WINAPI *GetSubpictureLanguage)(IDvdInfo *This,ULONG ulStream,LCID *pLanguage);")
3130 cpp_quote(" HRESULT (WINAPI *GetTitleAttributes)(IDvdInfo *This,ULONG ulTitle,DVD_ATR *pATR);")
3131 cpp_quote(" HRESULT (WINAPI *GetVMGAttributes)(IDvdInfo *This,DVD_ATR *pATR);")
3132 cpp_quote(" HRESULT (WINAPI *GetCurrentVideoAttributes)(IDvdInfo *This,DVD_VideoATR *pATR);")
3133 cpp_quote(" HRESULT (WINAPI *GetCurrentAudioAttributes)(IDvdInfo *This,DVD_AudioATR *pATR);")
3134 cpp_quote(" HRESULT (WINAPI *GetCurrentSubpictureAttributes)(IDvdInfo *This,DVD_SubpictureATR *pATR);")
3135 cpp_quote(" HRESULT (WINAPI *GetCurrentVolumeInfo)(IDvdInfo *This,ULONG *pulNumOfVol,ULONG *pulThisVolNum,DVD_DISC_SIDE *pSide,ULONG *pulNumOfTitles);")
3136 cpp_quote(" HRESULT (WINAPI *GetDVDTextInfo)(IDvdInfo *This,BYTE *pTextManager,ULONG ulBufSize,ULONG *pulActualSize);")
3137 cpp_quote(" HRESULT (WINAPI *GetPlayerParentalLevel)(IDvdInfo *This,ULONG *pulParentalLevel,ULONG *pulCountryCode);")
3138 cpp_quote(" HRESULT (WINAPI *GetNumberOfChapters)(IDvdInfo *This,ULONG ulTitle,ULONG *pulNumberOfChapters);")
3139 cpp_quote(" HRESULT (WINAPI *GetTitleParentalLevels)(IDvdInfo *This,ULONG ulTitle,ULONG *pulParentalLevels);")
3140 cpp_quote(" HRESULT (WINAPI *GetRoot)(IDvdInfo *This,LPSTR pRoot,ULONG ulBufSize,ULONG *pulActualSize);")
3141 cpp_quote(" END_INTERFACE")
3142 cpp_quote(" } IDvdInfoVtbl;")
3143 cpp_quote(" struct IDvdInfo {")
3144 cpp_quote(" CONST_VTBL struct IDvdInfoVtbl *lpVtbl;")
3145 cpp_quote(" };")
3146 cpp_quote("#ifdef COBJMACROS")
3147 cpp_quote("#define IDvdInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
3148 cpp_quote("#define IDvdInfo_AddRef(This) (This)->lpVtbl->AddRef(This)")
3149 cpp_quote("#define IDvdInfo_Release(This) (This)->lpVtbl->Release(This)")
3150 cpp_quote("#define IDvdInfo_GetCurrentDomain(This,pDomain) (This)->lpVtbl->GetCurrentDomain(This,pDomain)")
3151 cpp_quote("#define IDvdInfo_GetCurrentLocation(This,pLocation) (This)->lpVtbl->GetCurrentLocation(This,pLocation)")
3152 cpp_quote("#define IDvdInfo_GetTotalTitleTime(This,pulTotalTime) (This)->lpVtbl->GetTotalTitleTime(This,pulTotalTime)")
3153 cpp_quote("#define IDvdInfo_GetCurrentButton(This,pulButtonsAvailable,pulCurrentButton) (This)->lpVtbl->GetCurrentButton(This,pulButtonsAvailable,pulCurrentButton)")
3154 cpp_quote("#define IDvdInfo_GetCurrentAngle(This,pulAnglesAvailable,pulCurrentAngle) (This)->lpVtbl->GetCurrentAngle(This,pulAnglesAvailable,pulCurrentAngle)")
3155 cpp_quote("#define IDvdInfo_GetCurrentAudio(This,pulStreamsAvailable,pulCurrentStream) (This)->lpVtbl->GetCurrentAudio(This,pulStreamsAvailable,pulCurrentStream)")
3156 cpp_quote("#define IDvdInfo_GetCurrentSubpicture(This,pulStreamsAvailable,pulCurrentStream,pIsDisabled) (This)->lpVtbl->GetCurrentSubpicture(This,pulStreamsAvailable,pulCurrentStream,pIsDisabled)")
3157 cpp_quote("#define IDvdInfo_GetCurrentUOPS(This,pUOP) (This)->lpVtbl->GetCurrentUOPS(This,pUOP)")
3158 cpp_quote("#define IDvdInfo_GetAllSPRMs(This,pRegisterArray) (This)->lpVtbl->GetAllSPRMs(This,pRegisterArray)")
3159 cpp_quote("#define IDvdInfo_GetAllGPRMs(This,pRegisterArray) (This)->lpVtbl->GetAllGPRMs(This,pRegisterArray)")
3160 cpp_quote("#define IDvdInfo_GetAudioLanguage(This,ulStream,pLanguage) (This)->lpVtbl->GetAudioLanguage(This,ulStream,pLanguage)")
3161 cpp_quote("#define IDvdInfo_GetSubpictureLanguage(This,ulStream,pLanguage) (This)->lpVtbl->GetSubpictureLanguage(This,ulStream,pLanguage)")
3162 cpp_quote("#define IDvdInfo_GetTitleAttributes(This,ulTitle,pATR) (This)->lpVtbl->GetTitleAttributes(This,ulTitle,pATR)")
3163 cpp_quote("#define IDvdInfo_GetVMGAttributes(This,pATR) (This)->lpVtbl->GetVMGAttributes(This,pATR)")
3164 cpp_quote("#define IDvdInfo_GetCurrentVideoAttributes(This,pATR) (This)->lpVtbl->GetCurrentVideoAttributes(This,pATR)")
3165 cpp_quote("#define IDvdInfo_GetCurrentAudioAttributes(This,pATR) (This)->lpVtbl->GetCurrentAudioAttributes(This,pATR)")
3166 cpp_quote("#define IDvdInfo_GetCurrentSubpictureAttributes(This,pATR) (This)->lpVtbl->GetCurrentSubpictureAttributes(This,pATR)")
3167 cpp_quote("#define IDvdInfo_GetCurrentVolumeInfo(This,pulNumOfVol,pulThisVolNum,pSide,pulNumOfTitles) (This)->lpVtbl->GetCurrentVolumeInfo(This,pulNumOfVol,pulThisVolNum,pSide,pulNumOfTitles)")
3168 cpp_quote("#define IDvdInfo_GetDVDTextInfo(This,pTextManager,ulBufSize,pulActualSize) (This)->lpVtbl->GetDVDTextInfo(This,pTextManager,ulBufSize,pulActualSize)")
3169 cpp_quote("#define IDvdInfo_GetPlayerParentalLevel(This,pulParentalLevel,pulCountryCode) (This)->lpVtbl->GetPlayerParentalLevel(This,pulParentalLevel,pulCountryCode)")
3170 cpp_quote("#define IDvdInfo_GetNumberOfChapters(This,ulTitle,pulNumberOfChapters) (This)->lpVtbl->GetNumberOfChapters(This,ulTitle,pulNumberOfChapters)")
3171 cpp_quote("#define IDvdInfo_GetTitleParentalLevels(This,ulTitle,pulParentalLevels) (This)->lpVtbl->GetTitleParentalLevels(This,ulTitle,pulParentalLevels)")
3172 cpp_quote("#define IDvdInfo_GetRoot(This,pRoot,ulBufSize,pulActualSize) (This)->lpVtbl->GetRoot(This,pRoot,ulBufSize,pulActualSize)")
3173 cpp_quote("#endif")
3174 cpp_quote("#endif")
3175 cpp_quote(" HRESULT WINAPI IDvdInfo_GetCurrentDomain_Proxy(IDvdInfo *This,DVD_DOMAIN *pDomain);")
3176 cpp_quote(" void __RPC_STUB IDvdInfo_GetCurrentDomain_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3177 cpp_quote(" HRESULT WINAPI IDvdInfo_GetCurrentLocation_Proxy(IDvdInfo *This,DVD_PLAYBACK_LOCATION *pLocation);")
3178 cpp_quote(" void __RPC_STUB IDvdInfo_GetCurrentLocation_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3179 cpp_quote(" HRESULT WINAPI IDvdInfo_GetTotalTitleTime_Proxy(IDvdInfo *This,ULONG *pulTotalTime);")
3180 cpp_quote(" void __RPC_STUB IDvdInfo_GetTotalTitleTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3181 cpp_quote(" HRESULT WINAPI IDvdInfo_GetCurrentButton_Proxy(IDvdInfo *This,ULONG *pulButtonsAvailable,ULONG *pulCurrentButton);")
3182 cpp_quote(" void __RPC_STUB IDvdInfo_GetCurrentButton_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3183 cpp_quote(" HRESULT WINAPI IDvdInfo_GetCurrentAngle_Proxy(IDvdInfo *This,ULONG *pulAnglesAvailable,ULONG *pulCurrentAngle);")
3184 cpp_quote(" void __RPC_STUB IDvdInfo_GetCurrentAngle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3185 cpp_quote(" HRESULT WINAPI IDvdInfo_GetCurrentAudio_Proxy(IDvdInfo *This,ULONG *pulStreamsAvailable,ULONG *pulCurrentStream);")
3186 cpp_quote(" void __RPC_STUB IDvdInfo_GetCurrentAudio_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3187 cpp_quote(" HRESULT WINAPI IDvdInfo_GetCurrentSubpicture_Proxy(IDvdInfo *This,ULONG *pulStreamsAvailable,ULONG *pulCurrentStream,WINBOOL *pIsDisabled);")
3188 cpp_quote(" void __RPC_STUB IDvdInfo_GetCurrentSubpicture_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3189 cpp_quote(" HRESULT WINAPI IDvdInfo_GetCurrentUOPS_Proxy(IDvdInfo *This,VALID_UOP_SOMTHING_OR_OTHER *pUOP);")
3190 cpp_quote(" void __RPC_STUB IDvdInfo_GetCurrentUOPS_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3191 cpp_quote(" HRESULT WINAPI IDvdInfo_GetAllSPRMs_Proxy(IDvdInfo *This,SPRMARRAY *pRegisterArray);")
3192 cpp_quote(" void __RPC_STUB IDvdInfo_GetAllSPRMs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3193 cpp_quote(" HRESULT WINAPI IDvdInfo_GetAllGPRMs_Proxy(IDvdInfo *This,GPRMARRAY *pRegisterArray);")
3194 cpp_quote(" void __RPC_STUB IDvdInfo_GetAllGPRMs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3195 cpp_quote(" HRESULT WINAPI IDvdInfo_GetAudioLanguage_Proxy(IDvdInfo *This,ULONG ulStream,LCID *pLanguage);")
3196 cpp_quote(" void __RPC_STUB IDvdInfo_GetAudioLanguage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3197 cpp_quote(" HRESULT WINAPI IDvdInfo_GetSubpictureLanguage_Proxy(IDvdInfo *This,ULONG ulStream,LCID *pLanguage);")
3198 cpp_quote(" void __RPC_STUB IDvdInfo_GetSubpictureLanguage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3199 cpp_quote(" HRESULT WINAPI IDvdInfo_GetTitleAttributes_Proxy(IDvdInfo *This,ULONG ulTitle,DVD_ATR *pATR);")
3200 cpp_quote(" void __RPC_STUB IDvdInfo_GetTitleAttributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3201 cpp_quote(" HRESULT WINAPI IDvdInfo_GetVMGAttributes_Proxy(IDvdInfo *This,DVD_ATR *pATR);")
3202 cpp_quote(" void __RPC_STUB IDvdInfo_GetVMGAttributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3203 cpp_quote(" HRESULT WINAPI IDvdInfo_GetCurrentVideoAttributes_Proxy(IDvdInfo *This,DVD_VideoATR *pATR);")
3204 cpp_quote(" void __RPC_STUB IDvdInfo_GetCurrentVideoAttributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3205 cpp_quote(" HRESULT WINAPI IDvdInfo_GetCurrentAudioAttributes_Proxy(IDvdInfo *This,DVD_AudioATR *pATR);")
3206 cpp_quote(" void __RPC_STUB IDvdInfo_GetCurrentAudioAttributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3207 cpp_quote(" HRESULT WINAPI IDvdInfo_GetCurrentSubpictureAttributes_Proxy(IDvdInfo *This,DVD_SubpictureATR *pATR);")
3208 cpp_quote(" void __RPC_STUB IDvdInfo_GetCurrentSubpictureAttributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3209 cpp_quote(" HRESULT WINAPI IDvdInfo_GetCurrentVolumeInfo_Proxy(IDvdInfo *This,ULONG *pulNumOfVol,ULONG *pulThisVolNum,DVD_DISC_SIDE *pSide,ULONG *pulNumOfTitles);")
3210 cpp_quote(" void __RPC_STUB IDvdInfo_GetCurrentVolumeInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3211 cpp_quote(" HRESULT WINAPI IDvdInfo_GetDVDTextInfo_Proxy(IDvdInfo *This,BYTE *pTextManager,ULONG ulBufSize,ULONG *pulActualSize);")
3212 cpp_quote(" void __RPC_STUB IDvdInfo_GetDVDTextInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3213 cpp_quote(" HRESULT WINAPI IDvdInfo_GetPlayerParentalLevel_Proxy(IDvdInfo *This,ULONG *pulParentalLevel,ULONG *pulCountryCode);")
3214 cpp_quote(" void __RPC_STUB IDvdInfo_GetPlayerParentalLevel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3215 cpp_quote(" HRESULT WINAPI IDvdInfo_GetNumberOfChapters_Proxy(IDvdInfo *This,ULONG ulTitle,ULONG *pulNumberOfChapters);")
3216 cpp_quote(" void __RPC_STUB IDvdInfo_GetNumberOfChapters_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3217 cpp_quote(" HRESULT WINAPI IDvdInfo_GetTitleParentalLevels_Proxy(IDvdInfo *This,ULONG ulTitle,ULONG *pulParentalLevels);")
3218 cpp_quote(" void __RPC_STUB IDvdInfo_GetTitleParentalLevels_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3219 cpp_quote(" HRESULT WINAPI IDvdInfo_GetRoot_Proxy(IDvdInfo *This,LPSTR pRoot,ULONG ulBufSize,ULONG *pulActualSize);")
3220 cpp_quote(" void __RPC_STUB IDvdInfo_GetRoot_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3221 cpp_quote("#endif")
3222 cpp_quote("")
3223 cpp_quote("#ifndef __IDvdCmd_INTERFACE_DEFINED__")
3224 cpp_quote("#define __IDvdCmd_INTERFACE_DEFINED__")
3225 cpp_quote(" EXTERN_C const IID IID_IDvdCmd;")
3226 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
3227 cpp_quote(" struct IDvdCmd : public IUnknown {")
3228 cpp_quote(" public:")
3229 cpp_quote(" virtual HRESULT WINAPI WaitForStart(void) = 0;")
3230 cpp_quote(" virtual HRESULT WINAPI WaitForEnd(void) = 0;")
3231 cpp_quote(" };")
3232 cpp_quote("#else")
3233 cpp_quote(" typedef struct IDvdCmdVtbl {")
3234 cpp_quote(" BEGIN_INTERFACE")
3235 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDvdCmd *This,REFIID riid,void **ppvObject);")
3236 cpp_quote(" ULONG (WINAPI *AddRef)(IDvdCmd *This);")
3237 cpp_quote(" ULONG (WINAPI *Release)(IDvdCmd *This);")
3238 cpp_quote(" HRESULT (WINAPI *WaitForStart)(IDvdCmd *This);")
3239 cpp_quote(" HRESULT (WINAPI *WaitForEnd)(IDvdCmd *This);")
3240 cpp_quote(" END_INTERFACE")
3241 cpp_quote(" } IDvdCmdVtbl;")
3242 cpp_quote(" struct IDvdCmd {")
3243 cpp_quote(" CONST_VTBL struct IDvdCmdVtbl *lpVtbl;")
3244 cpp_quote(" };")
3245 cpp_quote("#ifdef COBJMACROS")
3246 cpp_quote("#define IDvdCmd_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
3247 cpp_quote("#define IDvdCmd_AddRef(This) (This)->lpVtbl->AddRef(This)")
3248 cpp_quote("#define IDvdCmd_Release(This) (This)->lpVtbl->Release(This)")
3249 cpp_quote("#define IDvdCmd_WaitForStart(This) (This)->lpVtbl->WaitForStart(This)")
3250 cpp_quote("#define IDvdCmd_WaitForEnd(This) (This)->lpVtbl->WaitForEnd(This)")
3251 cpp_quote("#endif")
3252 cpp_quote("#endif")
3253 cpp_quote(" HRESULT WINAPI IDvdCmd_WaitForStart_Proxy(IDvdCmd *This);")
3254 cpp_quote(" void __RPC_STUB IDvdCmd_WaitForStart_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3255 cpp_quote(" HRESULT WINAPI IDvdCmd_WaitForEnd_Proxy(IDvdCmd *This);")
3256 cpp_quote(" void __RPC_STUB IDvdCmd_WaitForEnd_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3257 cpp_quote("#endif")
3258 cpp_quote("")
3259 cpp_quote("#ifndef __IDvdState_INTERFACE_DEFINED__")
3260 cpp_quote("#define __IDvdState_INTERFACE_DEFINED__")
3261 cpp_quote(" EXTERN_C const IID IID_IDvdState;")
3262 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
3263 cpp_quote(" struct IDvdState : public IUnknown {")
3264 cpp_quote(" public:")
3265 cpp_quote(" virtual HRESULT WINAPI GetDiscID(ULONGLONG *pullUniqueID) = 0;")
3266 cpp_quote(" virtual HRESULT WINAPI GetParentalLevel(ULONG *pulParentalLevel) = 0;")
3267 cpp_quote(" };")
3268 cpp_quote("#else")
3269 cpp_quote(" typedef struct IDvdStateVtbl {")
3270 cpp_quote(" BEGIN_INTERFACE")
3271 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDvdState *This,REFIID riid,void **ppvObject);")
3272 cpp_quote(" ULONG (WINAPI *AddRef)(IDvdState *This);")
3273 cpp_quote(" ULONG (WINAPI *Release)(IDvdState *This);")
3274 cpp_quote(" HRESULT (WINAPI *GetDiscID)(IDvdState *This,ULONGLONG *pullUniqueID);")
3275 cpp_quote(" HRESULT (WINAPI *GetParentalLevel)(IDvdState *This,ULONG *pulParentalLevel);")
3276 cpp_quote(" END_INTERFACE")
3277 cpp_quote(" } IDvdStateVtbl;")
3278 cpp_quote(" struct IDvdState {")
3279 cpp_quote(" CONST_VTBL struct IDvdStateVtbl *lpVtbl;")
3280 cpp_quote(" };")
3281 cpp_quote("#ifdef COBJMACROS")
3282 cpp_quote("#define IDvdState_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
3283 cpp_quote("#define IDvdState_AddRef(This) (This)->lpVtbl->AddRef(This)")
3284 cpp_quote("#define IDvdState_Release(This) (This)->lpVtbl->Release(This)")
3285 cpp_quote("#define IDvdState_GetDiscID(This,pullUniqueID) (This)->lpVtbl->GetDiscID(This,pullUniqueID)")
3286 cpp_quote("#define IDvdState_GetParentalLevel(This,pulParentalLevel) (This)->lpVtbl->GetParentalLevel(This,pulParentalLevel)")
3287 cpp_quote("#endif")
3288 cpp_quote("#endif")
3289 cpp_quote(" HRESULT WINAPI IDvdState_GetDiscID_Proxy(IDvdState *This,ULONGLONG *pullUniqueID);")
3290 cpp_quote(" void __RPC_STUB IDvdState_GetDiscID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3291 cpp_quote(" HRESULT WINAPI IDvdState_GetParentalLevel_Proxy(IDvdState *This,ULONG *pulParentalLevel);")
3292 cpp_quote(" void __RPC_STUB IDvdState_GetParentalLevel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3293 cpp_quote("#endif")
3294 cpp_quote("")
3295 cpp_quote("#ifndef __IDvdControl2_INTERFACE_DEFINED__")
3296 cpp_quote("#define __IDvdControl2_INTERFACE_DEFINED__")
3297 cpp_quote(" EXTERN_C const IID IID_IDvdControl2;")
3298 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
3299 cpp_quote(" struct IDvdControl2 : public IUnknown {")
3300 cpp_quote(" public:")
3301 cpp_quote(" virtual HRESULT WINAPI PlayTitle(ULONG ulTitle,DWORD dwFlags,IDvdCmd **ppCmd) = 0;")
3302 cpp_quote(" virtual HRESULT WINAPI PlayChapterInTitle(ULONG ulTitle,ULONG ulChapter,DWORD dwFlags,IDvdCmd **ppCmd) = 0;")
3303 cpp_quote(" virtual HRESULT WINAPI PlayAtTimeInTitle(ULONG ulTitle,DVD_HMSF_TIMECODE *pStartTime,DWORD dwFlags,IDvdCmd **ppCmd) = 0;")
3304 cpp_quote(" virtual HRESULT WINAPI Stop(void) = 0;")
3305 cpp_quote(" virtual HRESULT WINAPI ReturnFromSubmenu(DWORD dwFlags,IDvdCmd **ppCmd) = 0;")
3306 cpp_quote(" virtual HRESULT WINAPI PlayAtTime(DVD_HMSF_TIMECODE *pTime,DWORD dwFlags,IDvdCmd **ppCmd) = 0;")
3307 cpp_quote(" virtual HRESULT WINAPI PlayChapter(ULONG ulChapter,DWORD dwFlags,IDvdCmd **ppCmd) = 0;")
3308 cpp_quote(" virtual HRESULT WINAPI PlayPrevChapter(DWORD dwFlags,IDvdCmd **ppCmd) = 0;")
3309 cpp_quote(" virtual HRESULT WINAPI ReplayChapter(DWORD dwFlags,IDvdCmd **ppCmd) = 0;")
3310 cpp_quote(" virtual HRESULT WINAPI PlayNextChapter(DWORD dwFlags,IDvdCmd **ppCmd) = 0;")
3311 cpp_quote(" virtual HRESULT WINAPI PlayForwards(double dSpeed,DWORD dwFlags,IDvdCmd **ppCmd) = 0;")
3312 cpp_quote(" virtual HRESULT WINAPI PlayBackwards(double dSpeed,DWORD dwFlags,IDvdCmd **ppCmd) = 0;")
3313 cpp_quote(" virtual HRESULT WINAPI ShowMenu(DVD_MENU_ID MenuID,DWORD dwFlags,IDvdCmd **ppCmd) = 0;")
3314 cpp_quote(" virtual HRESULT WINAPI Resume(DWORD dwFlags,IDvdCmd **ppCmd) = 0;")
3315 cpp_quote(" virtual HRESULT WINAPI SelectRelativeButton(DVD_RELATIVE_BUTTON buttonDir) = 0;")
3316 cpp_quote(" virtual HRESULT WINAPI ActivateButton(void) = 0;")
3317 cpp_quote(" virtual HRESULT WINAPI SelectButton(ULONG ulButton) = 0;")
3318 cpp_quote(" virtual HRESULT WINAPI SelectAndActivateButton(ULONG ulButton) = 0;")
3319 cpp_quote(" virtual HRESULT WINAPI StillOff(void) = 0;")
3320 cpp_quote(" virtual HRESULT WINAPI Pause(WINBOOL bState) = 0;")
3321 cpp_quote(" virtual HRESULT WINAPI SelectAudioStream(ULONG ulAudio,DWORD dwFlags,IDvdCmd **ppCmd) = 0;")
3322 cpp_quote(" virtual HRESULT WINAPI SelectSubpictureStream(ULONG ulSubPicture,DWORD dwFlags,IDvdCmd **ppCmd) = 0;")
3323 cpp_quote(" virtual HRESULT WINAPI SetSubpictureState(WINBOOL bState,DWORD dwFlags,IDvdCmd **ppCmd) = 0;")
3324 cpp_quote(" virtual HRESULT WINAPI SelectAngle(ULONG ulAngle,DWORD dwFlags,IDvdCmd **ppCmd) = 0;")
3325 cpp_quote(" virtual HRESULT WINAPI SelectParentalLevel(ULONG ulParentalLevel) = 0;")
3326 cpp_quote(" virtual HRESULT WINAPI SelectParentalCountry(BYTE bCountry[2]) = 0;")
3327 cpp_quote(" virtual HRESULT WINAPI SelectKaraokeAudioPresentationMode(ULONG ulMode) = 0;")
3328 cpp_quote(" virtual HRESULT WINAPI SelectVideoModePreference(ULONG ulPreferredDisplayMode) = 0;")
3329 cpp_quote(" virtual HRESULT WINAPI SetDVDDirectory(LPCWSTR pszwPath) = 0;")
3330 cpp_quote(" virtual HRESULT WINAPI ActivateAtPosition(POINT point) = 0;")
3331 cpp_quote(" virtual HRESULT WINAPI SelectAtPosition(POINT point) = 0;")
3332 cpp_quote(" virtual HRESULT WINAPI PlayChaptersAutoStop(ULONG ulTitle,ULONG ulChapter,ULONG ulChaptersToPlay,DWORD dwFlags,IDvdCmd **ppCmd) = 0;")
3333 cpp_quote(" virtual HRESULT WINAPI AcceptParentalLevelChange(WINBOOL bAccept) = 0;")
3334 cpp_quote(" virtual HRESULT WINAPI SetOption(DVD_OPTION_FLAG flag,WINBOOL fState) = 0;")
3335 cpp_quote(" virtual HRESULT WINAPI SetState(IDvdState *pState,DWORD dwFlags,IDvdCmd **ppCmd) = 0;")
3336 cpp_quote(" virtual HRESULT WINAPI PlayPeriodInTitleAutoStop(ULONG ulTitle,DVD_HMSF_TIMECODE *pStartTime,DVD_HMSF_TIMECODE *pEndTime,DWORD dwFlags,IDvdCmd **ppCmd) = 0;")
3337 cpp_quote(" virtual HRESULT WINAPI SetGPRM(ULONG ulIndex,WORD wValue,DWORD dwFlags,IDvdCmd **ppCmd) = 0;")
3338 cpp_quote(" virtual HRESULT WINAPI SelectDefaultMenuLanguage(LCID Language) = 0;")
3339 cpp_quote(" virtual HRESULT WINAPI SelectDefaultAudioLanguage(LCID Language,DVD_AUDIO_LANG_EXT audioExtension) = 0;")
3340 cpp_quote(" virtual HRESULT WINAPI SelectDefaultSubpictureLanguage(LCID Language,DVD_SUBPICTURE_LANG_EXT subpictureExtension) = 0;")
3341 cpp_quote(" };")
3342 cpp_quote("#else")
3343 cpp_quote(" typedef struct IDvdControl2Vtbl {")
3344 cpp_quote(" BEGIN_INTERFACE")
3345 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDvdControl2 *This,REFIID riid,void **ppvObject);")
3346 cpp_quote(" ULONG (WINAPI *AddRef)(IDvdControl2 *This);")
3347 cpp_quote(" ULONG (WINAPI *Release)(IDvdControl2 *This);")
3348 cpp_quote(" HRESULT (WINAPI *PlayTitle)(IDvdControl2 *This,ULONG ulTitle,DWORD dwFlags,IDvdCmd **ppCmd);")
3349 cpp_quote(" HRESULT (WINAPI *PlayChapterInTitle)(IDvdControl2 *This,ULONG ulTitle,ULONG ulChapter,DWORD dwFlags,IDvdCmd **ppCmd);")
3350 cpp_quote(" HRESULT (WINAPI *PlayAtTimeInTitle)(IDvdControl2 *This,ULONG ulTitle,DVD_HMSF_TIMECODE *pStartTime,DWORD dwFlags,IDvdCmd **ppCmd);")
3351 cpp_quote(" HRESULT (WINAPI *Stop)(IDvdControl2 *This);")
3352 cpp_quote(" HRESULT (WINAPI *ReturnFromSubmenu)(IDvdControl2 *This,DWORD dwFlags,IDvdCmd **ppCmd);")
3353 cpp_quote(" HRESULT (WINAPI *PlayAtTime)(IDvdControl2 *This,DVD_HMSF_TIMECODE *pTime,DWORD dwFlags,IDvdCmd **ppCmd);")
3354 cpp_quote(" HRESULT (WINAPI *PlayChapter)(IDvdControl2 *This,ULONG ulChapter,DWORD dwFlags,IDvdCmd **ppCmd);")
3355 cpp_quote(" HRESULT (WINAPI *PlayPrevChapter)(IDvdControl2 *This,DWORD dwFlags,IDvdCmd **ppCmd);")
3356 cpp_quote(" HRESULT (WINAPI *ReplayChapter)(IDvdControl2 *This,DWORD dwFlags,IDvdCmd **ppCmd);")
3357 cpp_quote(" HRESULT (WINAPI *PlayNextChapter)(IDvdControl2 *This,DWORD dwFlags,IDvdCmd **ppCmd);")
3358 cpp_quote(" HRESULT (WINAPI *PlayForwards)(IDvdControl2 *This,double dSpeed,DWORD dwFlags,IDvdCmd **ppCmd);")
3359 cpp_quote(" HRESULT (WINAPI *PlayBackwards)(IDvdControl2 *This,double dSpeed,DWORD dwFlags,IDvdCmd **ppCmd);")
3360 cpp_quote(" HRESULT (WINAPI *ShowMenu)(IDvdControl2 *This,DVD_MENU_ID MenuID,DWORD dwFlags,IDvdCmd **ppCmd);")
3361 cpp_quote(" HRESULT (WINAPI *Resume)(IDvdControl2 *This,DWORD dwFlags,IDvdCmd **ppCmd);")
3362 cpp_quote(" HRESULT (WINAPI *SelectRelativeButton)(IDvdControl2 *This,DVD_RELATIVE_BUTTON buttonDir);")
3363 cpp_quote(" HRESULT (WINAPI *ActivateButton)(IDvdControl2 *This);")
3364 cpp_quote(" HRESULT (WINAPI *SelectButton)(IDvdControl2 *This,ULONG ulButton);")
3365 cpp_quote(" HRESULT (WINAPI *SelectAndActivateButton)(IDvdControl2 *This,ULONG ulButton);")
3366 cpp_quote(" HRESULT (WINAPI *StillOff)(IDvdControl2 *This);")
3367 cpp_quote(" HRESULT (WINAPI *Pause)(IDvdControl2 *This,WINBOOL bState);")
3368 cpp_quote(" HRESULT (WINAPI *SelectAudioStream)(IDvdControl2 *This,ULONG ulAudio,DWORD dwFlags,IDvdCmd **ppCmd);")
3369 cpp_quote(" HRESULT (WINAPI *SelectSubpictureStream)(IDvdControl2 *This,ULONG ulSubPicture,DWORD dwFlags,IDvdCmd **ppCmd);")
3370 cpp_quote(" HRESULT (WINAPI *SetSubpictureState)(IDvdControl2 *This,WINBOOL bState,DWORD dwFlags,IDvdCmd **ppCmd);")
3371 cpp_quote(" HRESULT (WINAPI *SelectAngle)(IDvdControl2 *This,ULONG ulAngle,DWORD dwFlags,IDvdCmd **ppCmd);")
3372 cpp_quote(" HRESULT (WINAPI *SelectParentalLevel)(IDvdControl2 *This,ULONG ulParentalLevel);")
3373 cpp_quote(" HRESULT (WINAPI *SelectParentalCountry)(IDvdControl2 *This,BYTE bCountry[2]);")
3374 cpp_quote(" HRESULT (WINAPI *SelectKaraokeAudioPresentationMode)(IDvdControl2 *This,ULONG ulMode);")
3375 cpp_quote(" HRESULT (WINAPI *SelectVideoModePreference)(IDvdControl2 *This,ULONG ulPreferredDisplayMode);")
3376 cpp_quote(" HRESULT (WINAPI *SetDVDDirectory)(IDvdControl2 *This,LPCWSTR pszwPath);")
3377 cpp_quote(" HRESULT (WINAPI *ActivateAtPosition)(IDvdControl2 *This,POINT point);")
3378 cpp_quote(" HRESULT (WINAPI *SelectAtPosition)(IDvdControl2 *This,POINT point);")
3379 cpp_quote(" HRESULT (WINAPI *PlayChaptersAutoStop)(IDvdControl2 *This,ULONG ulTitle,ULONG ulChapter,ULONG ulChaptersToPlay,DWORD dwFlags,IDvdCmd **ppCmd);")
3380 cpp_quote(" HRESULT (WINAPI *AcceptParentalLevelChange)(IDvdControl2 *This,WINBOOL bAccept);")
3381 cpp_quote(" HRESULT (WINAPI *SetOption)(IDvdControl2 *This,DVD_OPTION_FLAG flag,WINBOOL fState);")
3382 cpp_quote(" HRESULT (WINAPI *SetState)(IDvdControl2 *This,IDvdState *pState,DWORD dwFlags,IDvdCmd **ppCmd);")
3383 cpp_quote(" HRESULT (WINAPI *PlayPeriodInTitleAutoStop)(IDvdControl2 *This,ULONG ulTitle,DVD_HMSF_TIMECODE *pStartTime,DVD_HMSF_TIMECODE *pEndTime,DWORD dwFlags,IDvdCmd **ppCmd);")
3384 cpp_quote(" HRESULT (WINAPI *SetGPRM)(IDvdControl2 *This,ULONG ulIndex,WORD wValue,DWORD dwFlags,IDvdCmd **ppCmd);")
3385 cpp_quote(" HRESULT (WINAPI *SelectDefaultMenuLanguage)(IDvdControl2 *This,LCID Language);")
3386 cpp_quote(" HRESULT (WINAPI *SelectDefaultAudioLanguage)(IDvdControl2 *This,LCID Language,DVD_AUDIO_LANG_EXT audioExtension);")
3387 cpp_quote(" HRESULT (WINAPI *SelectDefaultSubpictureLanguage)(IDvdControl2 *This,LCID Language,DVD_SUBPICTURE_LANG_EXT subpictureExtension);")
3388 cpp_quote(" END_INTERFACE")
3389 cpp_quote(" } IDvdControl2Vtbl;")
3390 cpp_quote(" struct IDvdControl2 {")
3391 cpp_quote(" CONST_VTBL struct IDvdControl2Vtbl *lpVtbl;")
3392 cpp_quote(" };")
3393 cpp_quote("#ifdef COBJMACROS")
3394 cpp_quote("#define IDvdControl2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
3395 cpp_quote("#define IDvdControl2_AddRef(This) (This)->lpVtbl->AddRef(This)")
3396 cpp_quote("#define IDvdControl2_Release(This) (This)->lpVtbl->Release(This)")
3397 cpp_quote("#define IDvdControl2_PlayTitle(This,ulTitle,dwFlags,ppCmd) (This)->lpVtbl->PlayTitle(This,ulTitle,dwFlags,ppCmd)")
3398 cpp_quote("#define IDvdControl2_PlayChapterInTitle(This,ulTitle,ulChapter,dwFlags,ppCmd) (This)->lpVtbl->PlayChapterInTitle(This,ulTitle,ulChapter,dwFlags,ppCmd)")
3399 cpp_quote("#define IDvdControl2_PlayAtTimeInTitle(This,ulTitle,pStartTime,dwFlags,ppCmd) (This)->lpVtbl->PlayAtTimeInTitle(This,ulTitle,pStartTime,dwFlags,ppCmd)")
3400 cpp_quote("#define IDvdControl2_Stop(This) (This)->lpVtbl->Stop(This)")
3401 cpp_quote("#define IDvdControl2_ReturnFromSubmenu(This,dwFlags,ppCmd) (This)->lpVtbl->ReturnFromSubmenu(This,dwFlags,ppCmd)")
3402 cpp_quote("#define IDvdControl2_PlayAtTime(This,pTime,dwFlags,ppCmd) (This)->lpVtbl->PlayAtTime(This,pTime,dwFlags,ppCmd)")
3403 cpp_quote("#define IDvdControl2_PlayChapter(This,ulChapter,dwFlags,ppCmd) (This)->lpVtbl->PlayChapter(This,ulChapter,dwFlags,ppCmd)")
3404 cpp_quote("#define IDvdControl2_PlayPrevChapter(This,dwFlags,ppCmd) (This)->lpVtbl->PlayPrevChapter(This,dwFlags,ppCmd)")
3405 cpp_quote("#define IDvdControl2_ReplayChapter(This,dwFlags,ppCmd) (This)->lpVtbl->ReplayChapter(This,dwFlags,ppCmd)")
3406 cpp_quote("#define IDvdControl2_PlayNextChapter(This,dwFlags,ppCmd) (This)->lpVtbl->PlayNextChapter(This,dwFlags,ppCmd)")
3407 cpp_quote("#define IDvdControl2_PlayForwards(This,dSpeed,dwFlags,ppCmd) (This)->lpVtbl->PlayForwards(This,dSpeed,dwFlags,ppCmd)")
3408 cpp_quote("#define IDvdControl2_PlayBackwards(This,dSpeed,dwFlags,ppCmd) (This)->lpVtbl->PlayBackwards(This,dSpeed,dwFlags,ppCmd)")
3409 cpp_quote("#define IDvdControl2_ShowMenu(This,MenuID,dwFlags,ppCmd) (This)->lpVtbl->ShowMenu(This,MenuID,dwFlags,ppCmd)")
3410 cpp_quote("#define IDvdControl2_Resume(This,dwFlags,ppCmd) (This)->lpVtbl->Resume(This,dwFlags,ppCmd)")
3411 cpp_quote("#define IDvdControl2_SelectRelativeButton(This,buttonDir) (This)->lpVtbl->SelectRelativeButton(This,buttonDir)")
3412 cpp_quote("#define IDvdControl2_ActivateButton(This) (This)->lpVtbl->ActivateButton(This)")
3413 cpp_quote("#define IDvdControl2_SelectButton(This,ulButton) (This)->lpVtbl->SelectButton(This,ulButton)")
3414 cpp_quote("#define IDvdControl2_SelectAndActivateButton(This,ulButton) (This)->lpVtbl->SelectAndActivateButton(This,ulButton)")
3415 cpp_quote("#define IDvdControl2_StillOff(This) (This)->lpVtbl->StillOff(This)")
3416 cpp_quote("#define IDvdControl2_Pause(This,bState) (This)->lpVtbl->Pause(This,bState)")
3417 cpp_quote("#define IDvdControl2_SelectAudioStream(This,ulAudio,dwFlags,ppCmd) (This)->lpVtbl->SelectAudioStream(This,ulAudio,dwFlags,ppCmd)")
3418 cpp_quote("#define IDvdControl2_SelectSubpictureStream(This,ulSubPicture,dwFlags,ppCmd) (This)->lpVtbl->SelectSubpictureStream(This,ulSubPicture,dwFlags,ppCmd)")
3419 cpp_quote("#define IDvdControl2_SetSubpictureState(This,bState,dwFlags,ppCmd) (This)->lpVtbl->SetSubpictureState(This,bState,dwFlags,ppCmd)")
3420 cpp_quote("#define IDvdControl2_SelectAngle(This,ulAngle,dwFlags,ppCmd) (This)->lpVtbl->SelectAngle(This,ulAngle,dwFlags,ppCmd)")
3421 cpp_quote("#define IDvdControl2_SelectParentalLevel(This,ulParentalLevel) (This)->lpVtbl->SelectParentalLevel(This,ulParentalLevel)")
3422 cpp_quote("#define IDvdControl2_SelectParentalCountry(This,bCountry) (This)->lpVtbl->SelectParentalCountry(This,bCountry)")
3423 cpp_quote("#define IDvdControl2_SelectKaraokeAudioPresentationMode(This,ulMode) (This)->lpVtbl->SelectKaraokeAudioPresentationMode(This,ulMode)")
3424 cpp_quote("#define IDvdControl2_SelectVideoModePreference(This,ulPreferredDisplayMode) (This)->lpVtbl->SelectVideoModePreference(This,ulPreferredDisplayMode)")
3425 cpp_quote("#define IDvdControl2_SetDVDDirectory(This,pszwPath) (This)->lpVtbl->SetDVDDirectory(This,pszwPath)")
3426 cpp_quote("#define IDvdControl2_ActivateAtPosition(This,point) (This)->lpVtbl->ActivateAtPosition(This,point)")
3427 cpp_quote("#define IDvdControl2_SelectAtPosition(This,point) (This)->lpVtbl->SelectAtPosition(This,point)")
3428 cpp_quote("#define IDvdControl2_PlayChaptersAutoStop(This,ulTitle,ulChapter,ulChaptersToPlay,dwFlags,ppCmd) (This)->lpVtbl->PlayChaptersAutoStop(This,ulTitle,ulChapter,ulChaptersToPlay,dwFlags,ppCmd)")
3429 cpp_quote("#define IDvdControl2_AcceptParentalLevelChange(This,bAccept) (This)->lpVtbl->AcceptParentalLevelChange(This,bAccept)")
3430 cpp_quote("#define IDvdControl2_SetOption(This,flag,fState) (This)->lpVtbl->SetOption(This,flag,fState)")
3431 cpp_quote("#define IDvdControl2_SetState(This,pState,dwFlags,ppCmd) (This)->lpVtbl->SetState(This,pState,dwFlags,ppCmd)")
3432 cpp_quote("#define IDvdControl2_PlayPeriodInTitleAutoStop(This,ulTitle,pStartTime,pEndTime,dwFlags,ppCmd) (This)->lpVtbl->PlayPeriodInTitleAutoStop(This,ulTitle,pStartTime,pEndTime,dwFlags,ppCmd)")
3433 cpp_quote("#define IDvdControl2_SetGPRM(This,ulIndex,wValue,dwFlags,ppCmd) (This)->lpVtbl->SetGPRM(This,ulIndex,wValue,dwFlags,ppCmd)")
3434 cpp_quote("#define IDvdControl2_SelectDefaultMenuLanguage(This,Language) (This)->lpVtbl->SelectDefaultMenuLanguage(This,Language)")
3435 cpp_quote("#define IDvdControl2_SelectDefaultAudioLanguage(This,Language,audioExtension) (This)->lpVtbl->SelectDefaultAudioLanguage(This,Language,audioExtension)")
3436 cpp_quote("#define IDvdControl2_SelectDefaultSubpictureLanguage(This,Language,subpictureExtension) (This)->lpVtbl->SelectDefaultSubpictureLanguage(This,Language,subpictureExtension)")
3437 cpp_quote("#endif")
3438 cpp_quote("#endif")
3439 cpp_quote(" HRESULT WINAPI IDvdControl2_PlayTitle_Proxy(IDvdControl2 *This,ULONG ulTitle,DWORD dwFlags,IDvdCmd **ppCmd);")
3440 cpp_quote(" void __RPC_STUB IDvdControl2_PlayTitle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3441 cpp_quote(" HRESULT WINAPI IDvdControl2_PlayChapterInTitle_Proxy(IDvdControl2 *This,ULONG ulTitle,ULONG ulChapter,DWORD dwFlags,IDvdCmd **ppCmd);")
3442 cpp_quote(" void __RPC_STUB IDvdControl2_PlayChapterInTitle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3443 cpp_quote(" HRESULT WINAPI IDvdControl2_PlayAtTimeInTitle_Proxy(IDvdControl2 *This,ULONG ulTitle,DVD_HMSF_TIMECODE *pStartTime,DWORD dwFlags,IDvdCmd **ppCmd);")
3444 cpp_quote(" void __RPC_STUB IDvdControl2_PlayAtTimeInTitle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3445 cpp_quote(" HRESULT WINAPI IDvdControl2_Stop_Proxy(IDvdControl2 *This);")
3446 cpp_quote(" void __RPC_STUB IDvdControl2_Stop_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3447 cpp_quote(" HRESULT WINAPI IDvdControl2_ReturnFromSubmenu_Proxy(IDvdControl2 *This,DWORD dwFlags,IDvdCmd **ppCmd);")
3448 cpp_quote(" void __RPC_STUB IDvdControl2_ReturnFromSubmenu_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3449 cpp_quote(" HRESULT WINAPI IDvdControl2_PlayAtTime_Proxy(IDvdControl2 *This,DVD_HMSF_TIMECODE *pTime,DWORD dwFlags,IDvdCmd **ppCmd);")
3450 cpp_quote(" void __RPC_STUB IDvdControl2_PlayAtTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3451 cpp_quote(" HRESULT WINAPI IDvdControl2_PlayChapter_Proxy(IDvdControl2 *This,ULONG ulChapter,DWORD dwFlags,IDvdCmd **ppCmd);")
3452 cpp_quote(" void __RPC_STUB IDvdControl2_PlayChapter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3453 cpp_quote(" HRESULT WINAPI IDvdControl2_PlayPrevChapter_Proxy(IDvdControl2 *This,DWORD dwFlags,IDvdCmd **ppCmd);")
3454 cpp_quote(" void __RPC_STUB IDvdControl2_PlayPrevChapter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3455 cpp_quote(" HRESULT WINAPI IDvdControl2_ReplayChapter_Proxy(IDvdControl2 *This,DWORD dwFlags,IDvdCmd **ppCmd);")
3456 cpp_quote(" void __RPC_STUB IDvdControl2_ReplayChapter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3457 cpp_quote(" HRESULT WINAPI IDvdControl2_PlayNextChapter_Proxy(IDvdControl2 *This,DWORD dwFlags,IDvdCmd **ppCmd);")
3458 cpp_quote(" void __RPC_STUB IDvdControl2_PlayNextChapter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3459 cpp_quote(" HRESULT WINAPI IDvdControl2_PlayForwards_Proxy(IDvdControl2 *This,double dSpeed,DWORD dwFlags,IDvdCmd **ppCmd);")
3460 cpp_quote(" void __RPC_STUB IDvdControl2_PlayForwards_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3461 cpp_quote(" HRESULT WINAPI IDvdControl2_PlayBackwards_Proxy(IDvdControl2 *This,double dSpeed,DWORD dwFlags,IDvdCmd **ppCmd);")
3462 cpp_quote(" void __RPC_STUB IDvdControl2_PlayBackwards_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3463 cpp_quote(" HRESULT WINAPI IDvdControl2_ShowMenu_Proxy(IDvdControl2 *This,DVD_MENU_ID MenuID,DWORD dwFlags,IDvdCmd **ppCmd);")
3464 cpp_quote(" void __RPC_STUB IDvdControl2_ShowMenu_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3465 cpp_quote(" HRESULT WINAPI IDvdControl2_Resume_Proxy(IDvdControl2 *This,DWORD dwFlags,IDvdCmd **ppCmd);")
3466 cpp_quote(" void __RPC_STUB IDvdControl2_Resume_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3467 cpp_quote(" HRESULT WINAPI IDvdControl2_SelectRelativeButton_Proxy(IDvdControl2 *This,DVD_RELATIVE_BUTTON buttonDir);")
3468 cpp_quote(" void __RPC_STUB IDvdControl2_SelectRelativeButton_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3469 cpp_quote(" HRESULT WINAPI IDvdControl2_ActivateButton_Proxy(IDvdControl2 *This);")
3470 cpp_quote(" void __RPC_STUB IDvdControl2_ActivateButton_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3471 cpp_quote(" HRESULT WINAPI IDvdControl2_SelectButton_Proxy(IDvdControl2 *This,ULONG ulButton);")
3472 cpp_quote(" void __RPC_STUB IDvdControl2_SelectButton_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3473 cpp_quote(" HRESULT WINAPI IDvdControl2_SelectAndActivateButton_Proxy(IDvdControl2 *This,ULONG ulButton);")
3474 cpp_quote(" void __RPC_STUB IDvdControl2_SelectAndActivateButton_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3475 cpp_quote(" HRESULT WINAPI IDvdControl2_StillOff_Proxy(IDvdControl2 *This);")
3476 cpp_quote(" void __RPC_STUB IDvdControl2_StillOff_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3477 cpp_quote(" HRESULT WINAPI IDvdControl2_Pause_Proxy(IDvdControl2 *This,WINBOOL bState);")
3478 cpp_quote(" void __RPC_STUB IDvdControl2_Pause_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3479 cpp_quote(" HRESULT WINAPI IDvdControl2_SelectAudioStream_Proxy(IDvdControl2 *This,ULONG ulAudio,DWORD dwFlags,IDvdCmd **ppCmd);")
3480 cpp_quote(" void __RPC_STUB IDvdControl2_SelectAudioStream_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3481 cpp_quote(" HRESULT WINAPI IDvdControl2_SelectSubpictureStream_Proxy(IDvdControl2 *This,ULONG ulSubPicture,DWORD dwFlags,IDvdCmd **ppCmd);")
3482 cpp_quote(" void __RPC_STUB IDvdControl2_SelectSubpictureStream_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3483 cpp_quote(" HRESULT WINAPI IDvdControl2_SetSubpictureState_Proxy(IDvdControl2 *This,WINBOOL bState,DWORD dwFlags,IDvdCmd **ppCmd);")
3484 cpp_quote(" void __RPC_STUB IDvdControl2_SetSubpictureState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3485 cpp_quote(" HRESULT WINAPI IDvdControl2_SelectAngle_Proxy(IDvdControl2 *This,ULONG ulAngle,DWORD dwFlags,IDvdCmd **ppCmd);")
3486 cpp_quote(" void __RPC_STUB IDvdControl2_SelectAngle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3487 cpp_quote(" HRESULT WINAPI IDvdControl2_SelectParentalLevel_Proxy(IDvdControl2 *This,ULONG ulParentalLevel);")
3488 cpp_quote(" void __RPC_STUB IDvdControl2_SelectParentalLevel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3489 cpp_quote(" HRESULT WINAPI IDvdControl2_SelectParentalCountry_Proxy(IDvdControl2 *This,BYTE bCountry[2]);")
3490 cpp_quote(" void __RPC_STUB IDvdControl2_SelectParentalCountry_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3491 cpp_quote(" HRESULT WINAPI IDvdControl2_SelectKaraokeAudioPresentationMode_Proxy(IDvdControl2 *This,ULONG ulMode);")
3492 cpp_quote(" void __RPC_STUB IDvdControl2_SelectKaraokeAudioPresentationMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3493 cpp_quote(" HRESULT WINAPI IDvdControl2_SelectVideoModePreference_Proxy(IDvdControl2 *This,ULONG ulPreferredDisplayMode);")
3494 cpp_quote(" void __RPC_STUB IDvdControl2_SelectVideoModePreference_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3495 cpp_quote(" HRESULT WINAPI IDvdControl2_SetDVDDirectory_Proxy(IDvdControl2 *This,LPCWSTR pszwPath);")
3496 cpp_quote(" void __RPC_STUB IDvdControl2_SetDVDDirectory_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3497 cpp_quote(" HRESULT WINAPI IDvdControl2_ActivateAtPosition_Proxy(IDvdControl2 *This,POINT point);")
3498 cpp_quote(" void __RPC_STUB IDvdControl2_ActivateAtPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3499 cpp_quote(" HRESULT WINAPI IDvdControl2_SelectAtPosition_Proxy(IDvdControl2 *This,POINT point);")
3500 cpp_quote(" void __RPC_STUB IDvdControl2_SelectAtPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3501 cpp_quote(" HRESULT WINAPI IDvdControl2_PlayChaptersAutoStop_Proxy(IDvdControl2 *This,ULONG ulTitle,ULONG ulChapter,ULONG ulChaptersToPlay,DWORD dwFlags,IDvdCmd **ppCmd);")
3502 cpp_quote(" void __RPC_STUB IDvdControl2_PlayChaptersAutoStop_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3503 cpp_quote(" HRESULT WINAPI IDvdControl2_AcceptParentalLevelChange_Proxy(IDvdControl2 *This,WINBOOL bAccept);")
3504 cpp_quote(" void __RPC_STUB IDvdControl2_AcceptParentalLevelChange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3505 cpp_quote(" HRESULT WINAPI IDvdControl2_SetOption_Proxy(IDvdControl2 *This,DVD_OPTION_FLAG flag,WINBOOL fState);")
3506 cpp_quote(" void __RPC_STUB IDvdControl2_SetOption_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3507 cpp_quote(" HRESULT WINAPI IDvdControl2_SetState_Proxy(IDvdControl2 *This,IDvdState *pState,DWORD dwFlags,IDvdCmd **ppCmd);")
3508 cpp_quote(" void __RPC_STUB IDvdControl2_SetState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3509 cpp_quote(" HRESULT WINAPI IDvdControl2_PlayPeriodInTitleAutoStop_Proxy(IDvdControl2 *This,ULONG ulTitle,DVD_HMSF_TIMECODE *pStartTime,DVD_HMSF_TIMECODE *pEndTime,DWORD dwFlags,IDvdCmd **ppCmd);")
3510 cpp_quote(" void __RPC_STUB IDvdControl2_PlayPeriodInTitleAutoStop_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3511 cpp_quote(" HRESULT WINAPI IDvdControl2_SetGPRM_Proxy(IDvdControl2 *This,ULONG ulIndex,WORD wValue,DWORD dwFlags,IDvdCmd **ppCmd);")
3512 cpp_quote(" void __RPC_STUB IDvdControl2_SetGPRM_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3513 cpp_quote(" HRESULT WINAPI IDvdControl2_SelectDefaultMenuLanguage_Proxy(IDvdControl2 *This,LCID Language);")
3514 cpp_quote(" void __RPC_STUB IDvdControl2_SelectDefaultMenuLanguage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3515 cpp_quote(" HRESULT WINAPI IDvdControl2_SelectDefaultAudioLanguage_Proxy(IDvdControl2 *This,LCID Language,DVD_AUDIO_LANG_EXT audioExtension);")
3516 cpp_quote(" void __RPC_STUB IDvdControl2_SelectDefaultAudioLanguage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3517 cpp_quote(" HRESULT WINAPI IDvdControl2_SelectDefaultSubpictureLanguage_Proxy(IDvdControl2 *This,LCID Language,DVD_SUBPICTURE_LANG_EXT subpictureExtension);")
3518 cpp_quote(" void __RPC_STUB IDvdControl2_SelectDefaultSubpictureLanguage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3519 cpp_quote("#endif")
3520 cpp_quote("")
3521 cpp_quote(" enum DVD_TextStringType {")
3522 cpp_quote(" DVD_Struct_Volume = 0x1,DVD_Struct_Title = 0x2,DVD_Struct_ParentalID = 0x3,DVD_Struct_PartOfTitle = 0x4,DVD_Struct_Cell = 0x5,")
3523 cpp_quote(" DVD_Stream_Audio = 0x10,DVD_Stream_Subpicture = 0x11,DVD_Stream_Angle = 0x12,DVD_Channel_Audio = 0x20,DVD_General_Name = 0x30,")
3524 cpp_quote(" DVD_General_Comments = 0x31,DVD_Title_Series = 0x38,DVD_Title_Movie = 0x39,DVD_Title_Video = 0x3a,DVD_Title_Album = 0x3b,DVD_Title_Song = 0x3c,")
3525 cpp_quote(" DVD_Title_Other = 0x3f,DVD_Title_Sub_Series = 0x40,DVD_Title_Sub_Movie = 0x41,DVD_Title_Sub_Video = 0x42,DVD_Title_Sub_Album = 0x43,")
3526 cpp_quote(" DVD_Title_Sub_Song = 0x44,DVD_Title_Sub_Other = 0x47,DVD_Title_Orig_Series = 0x48,DVD_Title_Orig_Movie = 0x49,DVD_Title_Orig_Video = 0x4a,")
3527 cpp_quote(" DVD_Title_Orig_Album = 0x4b,DVD_Title_Orig_Song = 0x4c,DVD_Title_Orig_Other = 0x4f,DVD_Other_Scene = 0x50,DVD_Other_Cut = 0x51,DVD_Other_Take = 0x52")
3528 cpp_quote(" };")
3529 cpp_quote("")
3530 cpp_quote(" enum DVD_TextCharSet {")
3531 cpp_quote(" DVD_CharSet_Unicode = 0,DVD_CharSet_ISO646 = 1,DVD_CharSet_JIS_Roman_Kanji = 2,DVD_CharSet_ISO8859_1 = 3,")
3532 cpp_quote(" DVD_CharSet_ShiftJIS_Kanji_Roman_Katakana = 4")
3533 cpp_quote(" };")
3534 cpp_quote("#define DVD_TITLE_MENU 0x000")
3535 cpp_quote("#define DVD_STREAM_DATA_CURRENT 0x800")
3536 cpp_quote("#define DVD_STREAM_DATA_VMGM 0x400")
3537 cpp_quote("#define DVD_STREAM_DATA_VTSM 0x401")
3538 cpp_quote("#define DVD_DEFAULT_AUDIO_STREAM 0x0f")
3539 cpp_quote("")
3540 cpp_quote(" typedef struct tagDVD_DECODER_CAPS {")
3541 cpp_quote(" DWORD dwSize;")
3542 cpp_quote(" DWORD dwAudioCaps;")
3543 cpp_quote(" double dFwdMaxRateVideo;")
3544 cpp_quote(" double dFwdMaxRateAudio;")
3545 cpp_quote(" double dFwdMaxRateSP;")
3546 cpp_quote(" double dBwdMaxRateVideo;")
3547 cpp_quote(" double dBwdMaxRateAudio;")
3548 cpp_quote(" double dBwdMaxRateSP;")
3549 cpp_quote(" DWORD dwRes1;")
3550 cpp_quote(" DWORD dwRes2;")
3551 cpp_quote(" DWORD dwRes3;")
3552 cpp_quote(" DWORD dwRes4;")
3553 cpp_quote(" } DVD_DECODER_CAPS;")
3554 cpp_quote("")
3555 cpp_quote("#define DVD_AUDIO_CAPS_AC3 0x00000001")
3556 cpp_quote("#define DVD_AUDIO_CAPS_MPEG2 0x00000002")
3557 cpp_quote("#define DVD_AUDIO_CAPS_LPCM 0x00000004")
3558 cpp_quote("#define DVD_AUDIO_CAPS_DTS 0x00000008")
3559 cpp_quote("#define DVD_AUDIO_CAPS_SDDS 0x00000010")
3560 cpp_quote("")
3561 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0387_v0_0_c_ifspec;")
3562 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0387_v0_0_s_ifspec;")
3563 cpp_quote("#ifndef __IDvdInfo2_INTERFACE_DEFINED__")
3564 cpp_quote("#define __IDvdInfo2_INTERFACE_DEFINED__")
3565 cpp_quote(" EXTERN_C const IID IID_IDvdInfo2;")
3566 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
3567 cpp_quote(" struct IDvdInfo2 : public IUnknown {")
3568 cpp_quote(" public:")
3569 cpp_quote(" virtual HRESULT WINAPI GetCurrentDomain(DVD_DOMAIN *pDomain) = 0;")
3570 cpp_quote(" virtual HRESULT WINAPI GetCurrentLocation(DVD_PLAYBACK_LOCATION2 *pLocation) = 0;")
3571 cpp_quote(" virtual HRESULT WINAPI GetTotalTitleTime(DVD_HMSF_TIMECODE *pTotalTime,ULONG *ulTimeCodeFlags) = 0;")
3572 cpp_quote(" virtual HRESULT WINAPI GetCurrentButton(ULONG *pulButtonsAvailable,ULONG *pulCurrentButton) = 0;")
3573 cpp_quote(" virtual HRESULT WINAPI GetCurrentAngle(ULONG *pulAnglesAvailable,ULONG *pulCurrentAngle) = 0;")
3574 cpp_quote(" virtual HRESULT WINAPI GetCurrentAudio(ULONG *pulStreamsAvailable,ULONG *pulCurrentStream) = 0;")
3575 cpp_quote(" virtual HRESULT WINAPI GetCurrentSubpicture(ULONG *pulStreamsAvailable,ULONG *pulCurrentStream,WINBOOL *pbIsDisabled) = 0;")
3576 cpp_quote(" virtual HRESULT WINAPI GetCurrentUOPS(ULONG *pulUOPs) = 0;")
3577 cpp_quote(" virtual HRESULT WINAPI GetAllSPRMs(SPRMARRAY *pRegisterArray) = 0;")
3578 cpp_quote(" virtual HRESULT WINAPI GetAllGPRMs(GPRMARRAY *pRegisterArray) = 0;")
3579 cpp_quote(" virtual HRESULT WINAPI GetAudioLanguage(ULONG ulStream,LCID *pLanguage) = 0;")
3580 cpp_quote(" virtual HRESULT WINAPI GetSubpictureLanguage(ULONG ulStream,LCID *pLanguage) = 0;")
3581 cpp_quote(" virtual HRESULT WINAPI GetTitleAttributes(ULONG ulTitle,DVD_MenuAttributes *pMenu,DVD_TitleAttributes *pTitle) = 0;")
3582 cpp_quote(" virtual HRESULT WINAPI GetVMGAttributes(DVD_MenuAttributes *pATR) = 0;")
3583 cpp_quote(" virtual HRESULT WINAPI GetCurrentVideoAttributes(DVD_VideoAttributes *pATR) = 0;")
3584 cpp_quote(" virtual HRESULT WINAPI GetAudioAttributes(ULONG ulStream,DVD_AudioAttributes *pATR) = 0;")
3585 cpp_quote(" virtual HRESULT WINAPI GetKaraokeAttributes(ULONG ulStream,DVD_KaraokeAttributes *pAttributes) = 0;")
3586 cpp_quote(" virtual HRESULT WINAPI GetSubpictureAttributes(ULONG ulStream,DVD_SubpictureAttributes *pATR) = 0;")
3587 cpp_quote(" virtual HRESULT WINAPI GetDVDVolumeInfo(ULONG *pulNumOfVolumes,ULONG *pulVolume,DVD_DISC_SIDE *pSide,ULONG *pulNumOfTitles) = 0;")
3588 cpp_quote(" virtual HRESULT WINAPI GetDVDTextNumberOfLanguages(ULONG *pulNumOfLangs) = 0;")
3589 cpp_quote(" virtual HRESULT WINAPI GetDVDTextLanguageInfo(ULONG ulLangIndex,ULONG *pulNumOfStrings,LCID *pLangCode,enum DVD_TextCharSet *pbCharacterSet) = 0;")
3590 cpp_quote(" virtual HRESULT WINAPI GetDVDTextStringAsNative(ULONG ulLangIndex,ULONG ulStringIndex,BYTE *pbBuffer,ULONG ulMaxBufferSize,ULONG *pulActualSize,enum DVD_TextStringType *pType) = 0;")
3591 cpp_quote(" virtual HRESULT WINAPI GetDVDTextStringAsUnicode(ULONG ulLangIndex,ULONG ulStringIndex,WCHAR *pchwBuffer,ULONG ulMaxBufferSize,ULONG *pulActualSize,enum DVD_TextStringType *pType) = 0;")
3592 cpp_quote(" virtual HRESULT WINAPI GetPlayerParentalLevel(ULONG *pulParentalLevel,BYTE pbCountryCode[2]) = 0;")
3593 cpp_quote(" virtual HRESULT WINAPI GetNumberOfChapters(ULONG ulTitle,ULONG *pulNumOfChapters) = 0;")
3594 cpp_quote(" virtual HRESULT WINAPI GetTitleParentalLevels(ULONG ulTitle,ULONG *pulParentalLevels) = 0;")
3595 cpp_quote(" virtual HRESULT WINAPI GetDVDDirectory(LPWSTR pszwPath,ULONG ulMaxSize,ULONG *pulActualSize) = 0;")
3596 cpp_quote(" virtual HRESULT WINAPI IsAudioStreamEnabled(ULONG ulStreamNum,WINBOOL *pbEnabled) = 0;")
3597 cpp_quote(" virtual HRESULT WINAPI GetDiscID(LPCWSTR pszwPath,ULONGLONG *pullDiscID) = 0;")
3598 cpp_quote(" virtual HRESULT WINAPI GetState(IDvdState **pStateData) = 0;")
3599 cpp_quote(" virtual HRESULT WINAPI GetMenuLanguages(LCID *pLanguages,ULONG ulMaxLanguages,ULONG *pulActualLanguages) = 0;")
3600 cpp_quote(" virtual HRESULT WINAPI GetButtonAtPosition(POINT point,ULONG *pulButtonIndex) = 0;")
3601 cpp_quote(" virtual HRESULT WINAPI GetCmdFromEvent(LONG_PTR lParam1,IDvdCmd **pCmdObj) = 0;")
3602 cpp_quote(" virtual HRESULT WINAPI GetDefaultMenuLanguage(LCID *pLanguage) = 0;")
3603 cpp_quote(" virtual HRESULT WINAPI GetDefaultAudioLanguage(LCID *pLanguage,DVD_AUDIO_LANG_EXT *pAudioExtension) = 0;")
3604 cpp_quote(" virtual HRESULT WINAPI GetDefaultSubpictureLanguage(LCID *pLanguage,DVD_SUBPICTURE_LANG_EXT *pSubpictureExtension) = 0;")
3605 cpp_quote(" virtual HRESULT WINAPI GetDecoderCaps(DVD_DECODER_CAPS *pCaps) = 0;")
3606 cpp_quote(" virtual HRESULT WINAPI GetButtonRect(ULONG ulButton,RECT *pRect) = 0;")
3607 cpp_quote(" virtual HRESULT WINAPI IsSubpictureStreamEnabled(ULONG ulStreamNum,WINBOOL *pbEnabled) = 0;")
3608 cpp_quote(" };")
3609 cpp_quote("#else")
3610 cpp_quote(" typedef struct IDvdInfo2Vtbl {")
3611 cpp_quote(" BEGIN_INTERFACE")
3612 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDvdInfo2 *This,REFIID riid,void **ppvObject);")
3613 cpp_quote(" ULONG (WINAPI *AddRef)(IDvdInfo2 *This);")
3614 cpp_quote(" ULONG (WINAPI *Release)(IDvdInfo2 *This);")
3615 cpp_quote(" HRESULT (WINAPI *GetCurrentDomain)(IDvdInfo2 *This,DVD_DOMAIN *pDomain);")
3616 cpp_quote(" HRESULT (WINAPI *GetCurrentLocation)(IDvdInfo2 *This,DVD_PLAYBACK_LOCATION2 *pLocation);")
3617 cpp_quote(" HRESULT (WINAPI *GetTotalTitleTime)(IDvdInfo2 *This,DVD_HMSF_TIMECODE *pTotalTime,ULONG *ulTimeCodeFlags);")
3618 cpp_quote(" HRESULT (WINAPI *GetCurrentButton)(IDvdInfo2 *This,ULONG *pulButtonsAvailable,ULONG *pulCurrentButton);")
3619 cpp_quote(" HRESULT (WINAPI *GetCurrentAngle)(IDvdInfo2 *This,ULONG *pulAnglesAvailable,ULONG *pulCurrentAngle);")
3620 cpp_quote(" HRESULT (WINAPI *GetCurrentAudio)(IDvdInfo2 *This,ULONG *pulStreamsAvailable,ULONG *pulCurrentStream);")
3621 cpp_quote(" HRESULT (WINAPI *GetCurrentSubpicture)(IDvdInfo2 *This,ULONG *pulStreamsAvailable,ULONG *pulCurrentStream,WINBOOL *pbIsDisabled);")
3622 cpp_quote(" HRESULT (WINAPI *GetCurrentUOPS)(IDvdInfo2 *This,ULONG *pulUOPs);")
3623 cpp_quote(" HRESULT (WINAPI *GetAllSPRMs)(IDvdInfo2 *This,SPRMARRAY *pRegisterArray);")
3624 cpp_quote(" HRESULT (WINAPI *GetAllGPRMs)(IDvdInfo2 *This,GPRMARRAY *pRegisterArray);")
3625 cpp_quote(" HRESULT (WINAPI *GetAudioLanguage)(IDvdInfo2 *This,ULONG ulStream,LCID *pLanguage);")
3626 cpp_quote(" HRESULT (WINAPI *GetSubpictureLanguage)(IDvdInfo2 *This,ULONG ulStream,LCID *pLanguage);")
3627 cpp_quote(" HRESULT (WINAPI *GetTitleAttributes)(IDvdInfo2 *This,ULONG ulTitle,DVD_MenuAttributes *pMenu,DVD_TitleAttributes *pTitle);")
3628 cpp_quote(" HRESULT (WINAPI *GetVMGAttributes)(IDvdInfo2 *This,DVD_MenuAttributes *pATR);")
3629 cpp_quote(" HRESULT (WINAPI *GetCurrentVideoAttributes)(IDvdInfo2 *This,DVD_VideoAttributes *pATR);")
3630 cpp_quote(" HRESULT (WINAPI *GetAudioAttributes)(IDvdInfo2 *This,ULONG ulStream,DVD_AudioAttributes *pATR);")
3631 cpp_quote(" HRESULT (WINAPI *GetKaraokeAttributes)(IDvdInfo2 *This,ULONG ulStream,DVD_KaraokeAttributes *pAttributes);")
3632 cpp_quote(" HRESULT (WINAPI *GetSubpictureAttributes)(IDvdInfo2 *This,ULONG ulStream,DVD_SubpictureAttributes *pATR);")
3633 cpp_quote(" HRESULT (WINAPI *GetDVDVolumeInfo)(IDvdInfo2 *This,ULONG *pulNumOfVolumes,ULONG *pulVolume,DVD_DISC_SIDE *pSide,ULONG *pulNumOfTitles);")
3634 cpp_quote(" HRESULT (WINAPI *GetDVDTextNumberOfLanguages)(IDvdInfo2 *This,ULONG *pulNumOfLangs);")
3635 cpp_quote(" HRESULT (WINAPI *GetDVDTextLanguageInfo)(IDvdInfo2 *This,ULONG ulLangIndex,ULONG *pulNumOfStrings,LCID *pLangCode,enum DVD_TextCharSet *pbCharacterSet);")
3636 cpp_quote(" HRESULT (WINAPI *GetDVDTextStringAsNative)(IDvdInfo2 *This,ULONG ulLangIndex,ULONG ulStringIndex,BYTE *pbBuffer,ULONG ulMaxBufferSize,ULONG *pulActualSize,enum DVD_TextStringType *pType);")
3637 cpp_quote(" HRESULT (WINAPI *GetDVDTextStringAsUnicode)(IDvdInfo2 *This,ULONG ulLangIndex,ULONG ulStringIndex,WCHAR *pchwBuffer,ULONG ulMaxBufferSize,ULONG *pulActualSize,enum DVD_TextStringType *pType);")
3638 cpp_quote(" HRESULT (WINAPI *GetPlayerParentalLevel)(IDvdInfo2 *This,ULONG *pulParentalLevel,BYTE pbCountryCode[2]);")
3639 cpp_quote(" HRESULT (WINAPI *GetNumberOfChapters)(IDvdInfo2 *This,ULONG ulTitle,ULONG *pulNumOfChapters);")
3640 cpp_quote(" HRESULT (WINAPI *GetTitleParentalLevels)(IDvdInfo2 *This,ULONG ulTitle,ULONG *pulParentalLevels);")
3641 cpp_quote(" HRESULT (WINAPI *GetDVDDirectory)(IDvdInfo2 *This,LPWSTR pszwPath,ULONG ulMaxSize,ULONG *pulActualSize);")
3642 cpp_quote(" HRESULT (WINAPI *IsAudioStreamEnabled)(IDvdInfo2 *This,ULONG ulStreamNum,WINBOOL *pbEnabled);")
3643 cpp_quote(" HRESULT (WINAPI *GetDiscID)(IDvdInfo2 *This,LPCWSTR pszwPath,ULONGLONG *pullDiscID);")
3644 cpp_quote(" HRESULT (WINAPI *GetState)(IDvdInfo2 *This,IDvdState **pStateData);")
3645 cpp_quote(" HRESULT (WINAPI *GetMenuLanguages)(IDvdInfo2 *This,LCID *pLanguages,ULONG ulMaxLanguages,ULONG *pulActualLanguages);")
3646 cpp_quote(" HRESULT (WINAPI *GetButtonAtPosition)(IDvdInfo2 *This,POINT point,ULONG *pulButtonIndex);")
3647 cpp_quote(" HRESULT (WINAPI *GetCmdFromEvent)(IDvdInfo2 *This,LONG_PTR lParam1,IDvdCmd **pCmdObj);")
3648 cpp_quote(" HRESULT (WINAPI *GetDefaultMenuLanguage)(IDvdInfo2 *This,LCID *pLanguage);")
3649 cpp_quote(" HRESULT (WINAPI *GetDefaultAudioLanguage)(IDvdInfo2 *This,LCID *pLanguage,DVD_AUDIO_LANG_EXT *pAudioExtension);")
3650 cpp_quote(" HRESULT (WINAPI *GetDefaultSubpictureLanguage)(IDvdInfo2 *This,LCID *pLanguage,DVD_SUBPICTURE_LANG_EXT *pSubpictureExtension);")
3651 cpp_quote(" HRESULT (WINAPI *GetDecoderCaps)(IDvdInfo2 *This,DVD_DECODER_CAPS *pCaps);")
3652 cpp_quote(" HRESULT (WINAPI *GetButtonRect)(IDvdInfo2 *This,ULONG ulButton,RECT *pRect);")
3653 cpp_quote(" HRESULT (WINAPI *IsSubpictureStreamEnabled)(IDvdInfo2 *This,ULONG ulStreamNum,WINBOOL *pbEnabled);")
3654 cpp_quote(" END_INTERFACE")
3655 cpp_quote(" } IDvdInfo2Vtbl;")
3656 cpp_quote(" struct IDvdInfo2 {")
3657 cpp_quote(" CONST_VTBL struct IDvdInfo2Vtbl *lpVtbl;")
3658 cpp_quote(" };")
3659 cpp_quote("#ifdef COBJMACROS")
3660 cpp_quote("#define IDvdInfo2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
3661 cpp_quote("#define IDvdInfo2_AddRef(This) (This)->lpVtbl->AddRef(This)")
3662 cpp_quote("#define IDvdInfo2_Release(This) (This)->lpVtbl->Release(This)")
3663 cpp_quote("#define IDvdInfo2_GetCurrentDomain(This,pDomain) (This)->lpVtbl->GetCurrentDomain(This,pDomain)")
3664 cpp_quote("#define IDvdInfo2_GetCurrentLocation(This,pLocation) (This)->lpVtbl->GetCurrentLocation(This,pLocation)")
3665 cpp_quote("#define IDvdInfo2_GetTotalTitleTime(This,pTotalTime,ulTimeCodeFlags) (This)->lpVtbl->GetTotalTitleTime(This,pTotalTime,ulTimeCodeFlags)")
3666 cpp_quote("#define IDvdInfo2_GetCurrentButton(This,pulButtonsAvailable,pulCurrentButton) (This)->lpVtbl->GetCurrentButton(This,pulButtonsAvailable,pulCurrentButton)")
3667 cpp_quote("#define IDvdInfo2_GetCurrentAngle(This,pulAnglesAvailable,pulCurrentAngle) (This)->lpVtbl->GetCurrentAngle(This,pulAnglesAvailable,pulCurrentAngle)")
3668 cpp_quote("#define IDvdInfo2_GetCurrentAudio(This,pulStreamsAvailable,pulCurrentStream) (This)->lpVtbl->GetCurrentAudio(This,pulStreamsAvailable,pulCurrentStream)")
3669 cpp_quote("#define IDvdInfo2_GetCurrentSubpicture(This,pulStreamsAvailable,pulCurrentStream,pbIsDisabled) (This)->lpVtbl->GetCurrentSubpicture(This,pulStreamsAvailable,pulCurrentStream,pbIsDisabled)")
3670 cpp_quote("#define IDvdInfo2_GetCurrentUOPS(This,pulUOPs) (This)->lpVtbl->GetCurrentUOPS(This,pulUOPs)")
3671 cpp_quote("#define IDvdInfo2_GetAllSPRMs(This,pRegisterArray) (This)->lpVtbl->GetAllSPRMs(This,pRegisterArray)")
3672 cpp_quote("#define IDvdInfo2_GetAllGPRMs(This,pRegisterArray) (This)->lpVtbl->GetAllGPRMs(This,pRegisterArray)")
3673 cpp_quote("#define IDvdInfo2_GetAudioLanguage(This,ulStream,pLanguage) (This)->lpVtbl->GetAudioLanguage(This,ulStream,pLanguage)")
3674 cpp_quote("#define IDvdInfo2_GetSubpictureLanguage(This,ulStream,pLanguage) (This)->lpVtbl->GetSubpictureLanguage(This,ulStream,pLanguage)")
3675 cpp_quote("#define IDvdInfo2_GetTitleAttributes(This,ulTitle,pMenu,pTitle) (This)->lpVtbl->GetTitleAttributes(This,ulTitle,pMenu,pTitle)")
3676 cpp_quote("#define IDvdInfo2_GetVMGAttributes(This,pATR) (This)->lpVtbl->GetVMGAttributes(This,pATR)")
3677 cpp_quote("#define IDvdInfo2_GetCurrentVideoAttributes(This,pATR) (This)->lpVtbl->GetCurrentVideoAttributes(This,pATR)")
3678 cpp_quote("#define IDvdInfo2_GetAudioAttributes(This,ulStream,pATR) (This)->lpVtbl->GetAudioAttributes(This,ulStream,pATR)")
3679 cpp_quote("#define IDvdInfo2_GetKaraokeAttributes(This,ulStream,pAttributes) (This)->lpVtbl->GetKaraokeAttributes(This,ulStream,pAttributes)")
3680 cpp_quote("#define IDvdInfo2_GetSubpictureAttributes(This,ulStream,pATR) (This)->lpVtbl->GetSubpictureAttributes(This,ulStream,pATR)")
3681 cpp_quote("#define IDvdInfo2_GetDVDVolumeInfo(This,pulNumOfVolumes,pulVolume,pSide,pulNumOfTitles) (This)->lpVtbl->GetDVDVolumeInfo(This,pulNumOfVolumes,pulVolume,pSide,pulNumOfTitles)")
3682 cpp_quote("#define IDvdInfo2_GetDVDTextNumberOfLanguages(This,pulNumOfLangs) (This)->lpVtbl->GetDVDTextNumberOfLanguages(This,pulNumOfLangs)")
3683 cpp_quote("#define IDvdInfo2_GetDVDTextLanguageInfo(This,ulLangIndex,pulNumOfStrings,pLangCode,pbCharacterSet) (This)->lpVtbl->GetDVDTextLanguageInfo(This,ulLangIndex,pulNumOfStrings,pLangCode,pbCharacterSet)")
3684 cpp_quote("#define IDvdInfo2_GetDVDTextStringAsNative(This,ulLangIndex,ulStringIndex,pbBuffer,ulMaxBufferSize,pulActualSize,pType) (This)->lpVtbl->GetDVDTextStringAsNative(This,ulLangIndex,ulStringIndex,pbBuffer,ulMaxBufferSize,pulActualSize,pType)")
3685 cpp_quote("#define IDvdInfo2_GetDVDTextStringAsUnicode(This,ulLangIndex,ulStringIndex,pchwBuffer,ulMaxBufferSize,pulActualSize,pType) (This)->lpVtbl->GetDVDTextStringAsUnicode(This,ulLangIndex,ulStringIndex,pchwBuffer,ulMaxBufferSize,pulActualSize,pType)")
3686 cpp_quote("#define IDvdInfo2_GetPlayerParentalLevel(This,pulParentalLevel,pbCountryCode) (This)->lpVtbl->GetPlayerParentalLevel(This,pulParentalLevel,pbCountryCode)")
3687 cpp_quote("#define IDvdInfo2_GetNumberOfChapters(This,ulTitle,pulNumOfChapters) (This)->lpVtbl->GetNumberOfChapters(This,ulTitle,pulNumOfChapters)")
3688 cpp_quote("#define IDvdInfo2_GetTitleParentalLevels(This,ulTitle,pulParentalLevels) (This)->lpVtbl->GetTitleParentalLevels(This,ulTitle,pulParentalLevels)")
3689 cpp_quote("#define IDvdInfo2_GetDVDDirectory(This,pszwPath,ulMaxSize,pulActualSize) (This)->lpVtbl->GetDVDDirectory(This,pszwPath,ulMaxSize,pulActualSize)")
3690 cpp_quote("#define IDvdInfo2_IsAudioStreamEnabled(This,ulStreamNum,pbEnabled) (This)->lpVtbl->IsAudioStreamEnabled(This,ulStreamNum,pbEnabled)")
3691 cpp_quote("#define IDvdInfo2_GetDiscID(This,pszwPath,pullDiscID) (This)->lpVtbl->GetDiscID(This,pszwPath,pullDiscID)")
3692 cpp_quote("#define IDvdInfo2_GetState(This,pStateData) (This)->lpVtbl->GetState(This,pStateData)")
3693 cpp_quote("#define IDvdInfo2_GetMenuLanguages(This,pLanguages,ulMaxLanguages,pulActualLanguages) (This)->lpVtbl->GetMenuLanguages(This,pLanguages,ulMaxLanguages,pulActualLanguages)")
3694 cpp_quote("#define IDvdInfo2_GetButtonAtPosition(This,point,pulButtonIndex) (This)->lpVtbl->GetButtonAtPosition(This,point,pulButtonIndex)")
3695 cpp_quote("#define IDvdInfo2_GetCmdFromEvent(This,lParam1,pCmdObj) (This)->lpVtbl->GetCmdFromEvent(This,lParam1,pCmdObj)")
3696 cpp_quote("#define IDvdInfo2_GetDefaultMenuLanguage(This,pLanguage) (This)->lpVtbl->GetDefaultMenuLanguage(This,pLanguage)")
3697 cpp_quote("#define IDvdInfo2_GetDefaultAudioLanguage(This,pLanguage,pAudioExtension) (This)->lpVtbl->GetDefaultAudioLanguage(This,pLanguage,pAudioExtension)")
3698 cpp_quote("#define IDvdInfo2_GetDefaultSubpictureLanguage(This,pLanguage,pSubpictureExtension) (This)->lpVtbl->GetDefaultSubpictureLanguage(This,pLanguage,pSubpictureExtension)")
3699 cpp_quote("#define IDvdInfo2_GetDecoderCaps(This,pCaps) (This)->lpVtbl->GetDecoderCaps(This,pCaps)")
3700 cpp_quote("#define IDvdInfo2_GetButtonRect(This,ulButton,pRect) (This)->lpVtbl->GetButtonRect(This,ulButton,pRect)")
3701 cpp_quote("#define IDvdInfo2_IsSubpictureStreamEnabled(This,ulStreamNum,pbEnabled) (This)->lpVtbl->IsSubpictureStreamEnabled(This,ulStreamNum,pbEnabled)")
3702 cpp_quote("#endif")
3703 cpp_quote("#endif")
3704 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetCurrentDomain_Proxy(IDvdInfo2 *This,DVD_DOMAIN *pDomain);")
3705 cpp_quote(" void __RPC_STUB IDvdInfo2_GetCurrentDomain_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3706 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetCurrentLocation_Proxy(IDvdInfo2 *This,DVD_PLAYBACK_LOCATION2 *pLocation);")
3707 cpp_quote(" void __RPC_STUB IDvdInfo2_GetCurrentLocation_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3708 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetTotalTitleTime_Proxy(IDvdInfo2 *This,DVD_HMSF_TIMECODE *pTotalTime,ULONG *ulTimeCodeFlags);")
3709 cpp_quote(" void __RPC_STUB IDvdInfo2_GetTotalTitleTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3710 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetCurrentButton_Proxy(IDvdInfo2 *This,ULONG *pulButtonsAvailable,ULONG *pulCurrentButton);")
3711 cpp_quote(" void __RPC_STUB IDvdInfo2_GetCurrentButton_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3712 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetCurrentAngle_Proxy(IDvdInfo2 *This,ULONG *pulAnglesAvailable,ULONG *pulCurrentAngle);")
3713 cpp_quote(" void __RPC_STUB IDvdInfo2_GetCurrentAngle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3714 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetCurrentAudio_Proxy(IDvdInfo2 *This,ULONG *pulStreamsAvailable,ULONG *pulCurrentStream);")
3715 cpp_quote(" void __RPC_STUB IDvdInfo2_GetCurrentAudio_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3716 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetCurrentSubpicture_Proxy(IDvdInfo2 *This,ULONG *pulStreamsAvailable,ULONG *pulCurrentStream,WINBOOL *pbIsDisabled);")
3717 cpp_quote(" void __RPC_STUB IDvdInfo2_GetCurrentSubpicture_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3718 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetCurrentUOPS_Proxy(IDvdInfo2 *This,ULONG *pulUOPs);")
3719 cpp_quote(" void __RPC_STUB IDvdInfo2_GetCurrentUOPS_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3720 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetAllSPRMs_Proxy(IDvdInfo2 *This,SPRMARRAY *pRegisterArray);")
3721 cpp_quote(" void __RPC_STUB IDvdInfo2_GetAllSPRMs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3722 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetAllGPRMs_Proxy(IDvdInfo2 *This,GPRMARRAY *pRegisterArray);")
3723 cpp_quote(" void __RPC_STUB IDvdInfo2_GetAllGPRMs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3724 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetAudioLanguage_Proxy(IDvdInfo2 *This,ULONG ulStream,LCID *pLanguage);")
3725 cpp_quote(" void __RPC_STUB IDvdInfo2_GetAudioLanguage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3726 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetSubpictureLanguage_Proxy(IDvdInfo2 *This,ULONG ulStream,LCID *pLanguage);")
3727 cpp_quote(" void __RPC_STUB IDvdInfo2_GetSubpictureLanguage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3728 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetTitleAttributes_Proxy(IDvdInfo2 *This,ULONG ulTitle,DVD_MenuAttributes *pMenu,DVD_TitleAttributes *pTitle);")
3729 cpp_quote(" void __RPC_STUB IDvdInfo2_GetTitleAttributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3730 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetVMGAttributes_Proxy(IDvdInfo2 *This,DVD_MenuAttributes *pATR);")
3731 cpp_quote(" void __RPC_STUB IDvdInfo2_GetVMGAttributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3732 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetCurrentVideoAttributes_Proxy(IDvdInfo2 *This,DVD_VideoAttributes *pATR);")
3733 cpp_quote(" void __RPC_STUB IDvdInfo2_GetCurrentVideoAttributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3734 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetAudioAttributes_Proxy(IDvdInfo2 *This,ULONG ulStream,DVD_AudioAttributes *pATR);")
3735 cpp_quote(" void __RPC_STUB IDvdInfo2_GetAudioAttributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3736 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetKaraokeAttributes_Proxy(IDvdInfo2 *This,ULONG ulStream,DVD_KaraokeAttributes *pAttributes);")
3737 cpp_quote(" void __RPC_STUB IDvdInfo2_GetKaraokeAttributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3738 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetSubpictureAttributes_Proxy(IDvdInfo2 *This,ULONG ulStream,DVD_SubpictureAttributes *pATR);")
3739 cpp_quote(" void __RPC_STUB IDvdInfo2_GetSubpictureAttributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3740 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetDVDVolumeInfo_Proxy(IDvdInfo2 *This,ULONG *pulNumOfVolumes,ULONG *pulVolume,DVD_DISC_SIDE *pSide,ULONG *pulNumOfTitles);")
3741 cpp_quote(" void __RPC_STUB IDvdInfo2_GetDVDVolumeInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3742 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetDVDTextNumberOfLanguages_Proxy(IDvdInfo2 *This,ULONG *pulNumOfLangs);")
3743 cpp_quote(" void __RPC_STUB IDvdInfo2_GetDVDTextNumberOfLanguages_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3744 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetDVDTextLanguageInfo_Proxy(IDvdInfo2 *This,ULONG ulLangIndex,ULONG *pulNumOfStrings,LCID *pLangCode,enum DVD_TextCharSet *pbCharacterSet);")
3745 cpp_quote(" void __RPC_STUB IDvdInfo2_GetDVDTextLanguageInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3746 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetDVDTextStringAsNative_Proxy(IDvdInfo2 *This,ULONG ulLangIndex,ULONG ulStringIndex,BYTE *pbBuffer,ULONG ulMaxBufferSize,ULONG *pulActualSize,enum DVD_TextStringType *pType);")
3747 cpp_quote(" void __RPC_STUB IDvdInfo2_GetDVDTextStringAsNative_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3748 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetDVDTextStringAsUnicode_Proxy(IDvdInfo2 *This,ULONG ulLangIndex,ULONG ulStringIndex,WCHAR *pchwBuffer,ULONG ulMaxBufferSize,ULONG *pulActualSize,enum DVD_TextStringType *pType);")
3749 cpp_quote(" void __RPC_STUB IDvdInfo2_GetDVDTextStringAsUnicode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3750 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetPlayerParentalLevel_Proxy(IDvdInfo2 *This,ULONG *pulParentalLevel,BYTE pbCountryCode[2]);")
3751 cpp_quote(" void __RPC_STUB IDvdInfo2_GetPlayerParentalLevel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3752 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetNumberOfChapters_Proxy(IDvdInfo2 *This,ULONG ulTitle,ULONG *pulNumOfChapters);")
3753 cpp_quote(" void __RPC_STUB IDvdInfo2_GetNumberOfChapters_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3754 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetTitleParentalLevels_Proxy(IDvdInfo2 *This,ULONG ulTitle,ULONG *pulParentalLevels);")
3755 cpp_quote(" void __RPC_STUB IDvdInfo2_GetTitleParentalLevels_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3756 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetDVDDirectory_Proxy(IDvdInfo2 *This,LPWSTR pszwPath,ULONG ulMaxSize,ULONG *pulActualSize);")
3757 cpp_quote(" void __RPC_STUB IDvdInfo2_GetDVDDirectory_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3758 cpp_quote(" HRESULT WINAPI IDvdInfo2_IsAudioStreamEnabled_Proxy(IDvdInfo2 *This,ULONG ulStreamNum,WINBOOL *pbEnabled);")
3759 cpp_quote(" void __RPC_STUB IDvdInfo2_IsAudioStreamEnabled_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3760 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetDiscID_Proxy(IDvdInfo2 *This,LPCWSTR pszwPath,ULONGLONG *pullDiscID);")
3761 cpp_quote(" void __RPC_STUB IDvdInfo2_GetDiscID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3762 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetState_Proxy(IDvdInfo2 *This,IDvdState **pStateData);")
3763 cpp_quote(" void __RPC_STUB IDvdInfo2_GetState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3764 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetMenuLanguages_Proxy(IDvdInfo2 *This,LCID *pLanguages,ULONG ulMaxLanguages,ULONG *pulActualLanguages);")
3765 cpp_quote(" void __RPC_STUB IDvdInfo2_GetMenuLanguages_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3766 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetButtonAtPosition_Proxy(IDvdInfo2 *This,POINT point,ULONG *pulButtonIndex);")
3767 cpp_quote(" void __RPC_STUB IDvdInfo2_GetButtonAtPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3768 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetCmdFromEvent_Proxy(IDvdInfo2 *This,LONG_PTR lParam1,IDvdCmd **pCmdObj);")
3769 cpp_quote(" void __RPC_STUB IDvdInfo2_GetCmdFromEvent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3770 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetDefaultMenuLanguage_Proxy(IDvdInfo2 *This,LCID *pLanguage);")
3771 cpp_quote(" void __RPC_STUB IDvdInfo2_GetDefaultMenuLanguage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3772 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetDefaultAudioLanguage_Proxy(IDvdInfo2 *This,LCID *pLanguage,DVD_AUDIO_LANG_EXT *pAudioExtension);")
3773 cpp_quote(" void __RPC_STUB IDvdInfo2_GetDefaultAudioLanguage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3774 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetDefaultSubpictureLanguage_Proxy(IDvdInfo2 *This,LCID *pLanguage,DVD_SUBPICTURE_LANG_EXT *pSubpictureExtension);")
3775 cpp_quote(" void __RPC_STUB IDvdInfo2_GetDefaultSubpictureLanguage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3776 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetDecoderCaps_Proxy(IDvdInfo2 *This,DVD_DECODER_CAPS *pCaps);")
3777 cpp_quote(" void __RPC_STUB IDvdInfo2_GetDecoderCaps_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3778 cpp_quote(" HRESULT WINAPI IDvdInfo2_GetButtonRect_Proxy(IDvdInfo2 *This,ULONG ulButton,RECT *pRect);")
3779 cpp_quote(" void __RPC_STUB IDvdInfo2_GetButtonRect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3780 cpp_quote(" HRESULT WINAPI IDvdInfo2_IsSubpictureStreamEnabled_Proxy(IDvdInfo2 *This,ULONG ulStreamNum,WINBOOL *pbEnabled);")
3781 cpp_quote(" void __RPC_STUB IDvdInfo2_IsSubpictureStreamEnabled_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3782 cpp_quote("#endif")
3783 cpp_quote("")
3784 cpp_quote(" typedef enum _AM_DVD_GRAPH_FLAGS {")
3785 cpp_quote(" AM_DVD_HWDEC_PREFER = 0x1,AM_DVD_HWDEC_ONLY = 0x2,AM_DVD_SWDEC_PREFER = 0x4,AM_DVD_SWDEC_ONLY = 0x8,AM_DVD_NOVPE = 0x100,")
3786 cpp_quote(" AM_DVD_VMR9_ONLY = 0x800")
3787 cpp_quote(" } AM_DVD_GRAPH_FLAGS;")
3788 cpp_quote("")
3789 cpp_quote(" typedef enum _AM_DVD_STREAM_FLAGS {")
3790 cpp_quote(" AM_DVD_STREAM_VIDEO = 0x1,AM_DVD_STREAM_AUDIO = 0x2,AM_DVD_STREAM_SUBPIC = 0x4")
3791 cpp_quote(" } AM_DVD_STREAM_FLAGS;")
3792 cpp_quote("")
3793 cpp_quote(" typedef struct __MIDL___MIDL_itf_strmif_0389_0001 {")
3794 cpp_quote(" HRESULT hrVPEStatus;")
3795 cpp_quote(" WINBOOL bDvdVolInvalid;")
3796 cpp_quote(" WINBOOL bDvdVolUnknown;")
3797 cpp_quote(" WINBOOL bNoLine21In;")
3798 cpp_quote(" WINBOOL bNoLine21Out;")
3799 cpp_quote(" int iNumStreams;")
3800 cpp_quote(" int iNumStreamsFailed;")
3801 cpp_quote(" DWORD dwFailedStreamsFlag;")
3802 cpp_quote(" } AM_DVD_RENDERSTATUS;")
3803 cpp_quote("")
3804 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0389_v0_0_c_ifspec;")
3805 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0389_v0_0_s_ifspec;")
3806 cpp_quote("#ifndef __IDvdGraphBuilder_INTERFACE_DEFINED__")
3807 cpp_quote("#define __IDvdGraphBuilder_INTERFACE_DEFINED__")
3808 cpp_quote(" EXTERN_C const IID IID_IDvdGraphBuilder;")
3809 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
3810 cpp_quote(" struct IDvdGraphBuilder : public IUnknown {")
3811 cpp_quote(" public:")
3812 cpp_quote(" virtual HRESULT WINAPI GetFiltergraph(IGraphBuilder **ppGB) = 0;")
3813 cpp_quote(" virtual HRESULT WINAPI GetDvdInterface(REFIID riid,void **ppvIF) = 0;")
3814 cpp_quote(" virtual HRESULT WINAPI RenderDvdVideoVolume(LPCWSTR lpcwszPathName,DWORD dwFlags,AM_DVD_RENDERSTATUS *pStatus) = 0;")
3815 cpp_quote(" };")
3816 cpp_quote("#else")
3817 cpp_quote(" typedef struct IDvdGraphBuilderVtbl {")
3818 cpp_quote(" BEGIN_INTERFACE")
3819 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDvdGraphBuilder *This,REFIID riid,void **ppvObject);")
3820 cpp_quote(" ULONG (WINAPI *AddRef)(IDvdGraphBuilder *This);")
3821 cpp_quote(" ULONG (WINAPI *Release)(IDvdGraphBuilder *This);")
3822 cpp_quote(" HRESULT (WINAPI *GetFiltergraph)(IDvdGraphBuilder *This,IGraphBuilder **ppGB);")
3823 cpp_quote(" HRESULT (WINAPI *GetDvdInterface)(IDvdGraphBuilder *This,REFIID riid,void **ppvIF);")
3824 cpp_quote(" HRESULT (WINAPI *RenderDvdVideoVolume)(IDvdGraphBuilder *This,LPCWSTR lpcwszPathName,DWORD dwFlags,AM_DVD_RENDERSTATUS *pStatus);")
3825 cpp_quote(" END_INTERFACE")
3826 cpp_quote(" } IDvdGraphBuilderVtbl;")
3827 cpp_quote(" struct IDvdGraphBuilder {")
3828 cpp_quote(" CONST_VTBL struct IDvdGraphBuilderVtbl *lpVtbl;")
3829 cpp_quote(" };")
3830 cpp_quote("#ifdef COBJMACROS")
3831 cpp_quote("#define IDvdGraphBuilder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
3832 cpp_quote("#define IDvdGraphBuilder_AddRef(This) (This)->lpVtbl->AddRef(This)")
3833 cpp_quote("#define IDvdGraphBuilder_Release(This) (This)->lpVtbl->Release(This)")
3834 cpp_quote("#define IDvdGraphBuilder_GetFiltergraph(This,ppGB) (This)->lpVtbl->GetFiltergraph(This,ppGB)")
3835 cpp_quote("#define IDvdGraphBuilder_GetDvdInterface(This,riid,ppvIF) (This)->lpVtbl->GetDvdInterface(This,riid,ppvIF)")
3836 cpp_quote("#define IDvdGraphBuilder_RenderDvdVideoVolume(This,lpcwszPathName,dwFlags,pStatus) (This)->lpVtbl->RenderDvdVideoVolume(This,lpcwszPathName,dwFlags,pStatus)")
3837 cpp_quote("#endif")
3838 cpp_quote("#endif")
3839 cpp_quote(" HRESULT WINAPI IDvdGraphBuilder_GetFiltergraph_Proxy(IDvdGraphBuilder *This,IGraphBuilder **ppGB);")
3840 cpp_quote(" void __RPC_STUB IDvdGraphBuilder_GetFiltergraph_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3841 cpp_quote(" HRESULT WINAPI IDvdGraphBuilder_GetDvdInterface_Proxy(IDvdGraphBuilder *This,REFIID riid,void **ppvIF);")
3842 cpp_quote(" void __RPC_STUB IDvdGraphBuilder_GetDvdInterface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3843 cpp_quote(" HRESULT WINAPI IDvdGraphBuilder_RenderDvdVideoVolume_Proxy(IDvdGraphBuilder *This,LPCWSTR lpcwszPathName,DWORD dwFlags,AM_DVD_RENDERSTATUS *pStatus);")
3844 cpp_quote(" void __RPC_STUB IDvdGraphBuilder_RenderDvdVideoVolume_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3845 cpp_quote("#endif")
3846 cpp_quote("")
3847 cpp_quote("#ifndef __IDDrawExclModeVideo_INTERFACE_DEFINED__")
3848 cpp_quote("#define __IDDrawExclModeVideo_INTERFACE_DEFINED__")
3849 cpp_quote(" EXTERN_C const IID IID_IDDrawExclModeVideo;")
3850 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
3851 cpp_quote(" struct IDDrawExclModeVideo : public IUnknown {")
3852 cpp_quote(" public:")
3853 cpp_quote(" virtual HRESULT WINAPI SetDDrawObject(IDirectDraw *pDDrawObject) = 0;")
3854 cpp_quote(" virtual HRESULT WINAPI GetDDrawObject(IDirectDraw **ppDDrawObject,WINBOOL *pbUsingExternal) = 0;")
3855 cpp_quote(" virtual HRESULT WINAPI SetDDrawSurface(IDirectDrawSurface *pDDrawSurface) = 0;")
3856 cpp_quote(" virtual HRESULT WINAPI GetDDrawSurface(IDirectDrawSurface **ppDDrawSurface,WINBOOL *pbUsingExternal) = 0;")
3857 cpp_quote(" virtual HRESULT WINAPI SetDrawParameters(const RECT *prcSource,const RECT *prcTarget) = 0;")
3858 cpp_quote(" virtual HRESULT WINAPI GetNativeVideoProps(DWORD *pdwVideoWidth,DWORD *pdwVideoHeight,DWORD *pdwPictAspectRatioX,DWORD *pdwPictAspectRatioY) = 0;")
3859 cpp_quote(" virtual HRESULT WINAPI SetCallbackInterface(IDDrawExclModeVideoCallback *pCallback,DWORD dwFlags) = 0;")
3860 cpp_quote(" };")
3861 cpp_quote("#else")
3862 cpp_quote(" typedef struct IDDrawExclModeVideoVtbl {")
3863 cpp_quote(" BEGIN_INTERFACE")
3864 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDDrawExclModeVideo *This,REFIID riid,void **ppvObject);")
3865 cpp_quote(" ULONG (WINAPI *AddRef)(IDDrawExclModeVideo *This);")
3866 cpp_quote(" ULONG (WINAPI *Release)(IDDrawExclModeVideo *This);")
3867 cpp_quote(" HRESULT (WINAPI *SetDDrawObject)(IDDrawExclModeVideo *This,IDirectDraw *pDDrawObject);")
3868 cpp_quote(" HRESULT (WINAPI *GetDDrawObject)(IDDrawExclModeVideo *This,IDirectDraw **ppDDrawObject,WINBOOL *pbUsingExternal);")
3869 cpp_quote(" HRESULT (WINAPI *SetDDrawSurface)(IDDrawExclModeVideo *This,IDirectDrawSurface *pDDrawSurface);")
3870 cpp_quote(" HRESULT (WINAPI *GetDDrawSurface)(IDDrawExclModeVideo *This,IDirectDrawSurface **ppDDrawSurface,WINBOOL *pbUsingExternal);")
3871 cpp_quote(" HRESULT (WINAPI *SetDrawParameters)(IDDrawExclModeVideo *This,const RECT *prcSource,const RECT *prcTarget);")
3872 cpp_quote(" HRESULT (WINAPI *GetNativeVideoProps)(IDDrawExclModeVideo *This,DWORD *pdwVideoWidth,DWORD *pdwVideoHeight,DWORD *pdwPictAspectRatioX,DWORD *pdwPictAspectRatioY);")
3873 cpp_quote(" HRESULT (WINAPI *SetCallbackInterface)(IDDrawExclModeVideo *This,IDDrawExclModeVideoCallback *pCallback,DWORD dwFlags);")
3874 cpp_quote(" END_INTERFACE")
3875 cpp_quote(" } IDDrawExclModeVideoVtbl;")
3876 cpp_quote(" struct IDDrawExclModeVideo {")
3877 cpp_quote(" CONST_VTBL struct IDDrawExclModeVideoVtbl *lpVtbl;")
3878 cpp_quote(" };")
3879 cpp_quote("#ifdef COBJMACROS")
3880 cpp_quote("#define IDDrawExclModeVideo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
3881 cpp_quote("#define IDDrawExclModeVideo_AddRef(This) (This)->lpVtbl->AddRef(This)")
3882 cpp_quote("#define IDDrawExclModeVideo_Release(This) (This)->lpVtbl->Release(This)")
3883 cpp_quote("#define IDDrawExclModeVideo_SetDDrawObject(This,pDDrawObject) (This)->lpVtbl->SetDDrawObject(This,pDDrawObject)")
3884 cpp_quote("#define IDDrawExclModeVideo_GetDDrawObject(This,ppDDrawObject,pbUsingExternal) (This)->lpVtbl->GetDDrawObject(This,ppDDrawObject,pbUsingExternal)")
3885 cpp_quote("#define IDDrawExclModeVideo_SetDDrawSurface(This,pDDrawSurface) (This)->lpVtbl->SetDDrawSurface(This,pDDrawSurface)")
3886 cpp_quote("#define IDDrawExclModeVideo_GetDDrawSurface(This,ppDDrawSurface,pbUsingExternal) (This)->lpVtbl->GetDDrawSurface(This,ppDDrawSurface,pbUsingExternal)")
3887 cpp_quote("#define IDDrawExclModeVideo_SetDrawParameters(This,prcSource,prcTarget) (This)->lpVtbl->SetDrawParameters(This,prcSource,prcTarget)")
3888 cpp_quote("#define IDDrawExclModeVideo_GetNativeVideoProps(This,pdwVideoWidth,pdwVideoHeight,pdwPictAspectRatioX,pdwPictAspectRatioY) (This)->lpVtbl->GetNativeVideoProps(This,pdwVideoWidth,pdwVideoHeight,pdwPictAspectRatioX,pdwPictAspectRatioY)")
3889 cpp_quote("#define IDDrawExclModeVideo_SetCallbackInterface(This,pCallback,dwFlags) (This)->lpVtbl->SetCallbackInterface(This,pCallback,dwFlags)")
3890 cpp_quote("#endif")
3891 cpp_quote("#endif")
3892 cpp_quote(" HRESULT WINAPI IDDrawExclModeVideo_SetDDrawObject_Proxy(IDDrawExclModeVideo *This,IDirectDraw *pDDrawObject);")
3893 cpp_quote(" void __RPC_STUB IDDrawExclModeVideo_SetDDrawObject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3894 cpp_quote(" HRESULT WINAPI IDDrawExclModeVideo_GetDDrawObject_Proxy(IDDrawExclModeVideo *This,IDirectDraw **ppDDrawObject,WINBOOL *pbUsingExternal);")
3895 cpp_quote(" void __RPC_STUB IDDrawExclModeVideo_GetDDrawObject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3896 cpp_quote(" HRESULT WINAPI IDDrawExclModeVideo_SetDDrawSurface_Proxy(IDDrawExclModeVideo *This,IDirectDrawSurface *pDDrawSurface);")
3897 cpp_quote(" void __RPC_STUB IDDrawExclModeVideo_SetDDrawSurface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3898 cpp_quote(" HRESULT WINAPI IDDrawExclModeVideo_GetDDrawSurface_Proxy(IDDrawExclModeVideo *This,IDirectDrawSurface **ppDDrawSurface,WINBOOL *pbUsingExternal);")
3899 cpp_quote(" void __RPC_STUB IDDrawExclModeVideo_GetDDrawSurface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3900 cpp_quote(" HRESULT WINAPI IDDrawExclModeVideo_SetDrawParameters_Proxy(IDDrawExclModeVideo *This,const RECT *prcSource,const RECT *prcTarget);")
3901 cpp_quote(" void __RPC_STUB IDDrawExclModeVideo_SetDrawParameters_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3902 cpp_quote(" HRESULT WINAPI IDDrawExclModeVideo_GetNativeVideoProps_Proxy(IDDrawExclModeVideo *This,DWORD *pdwVideoWidth,DWORD *pdwVideoHeight,DWORD *pdwPictAspectRatioX,DWORD *pdwPictAspectRatioY);")
3903 cpp_quote(" void __RPC_STUB IDDrawExclModeVideo_GetNativeVideoProps_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3904 cpp_quote(" HRESULT WINAPI IDDrawExclModeVideo_SetCallbackInterface_Proxy(IDDrawExclModeVideo *This,IDDrawExclModeVideoCallback *pCallback,DWORD dwFlags);")
3905 cpp_quote(" void __RPC_STUB IDDrawExclModeVideo_SetCallbackInterface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3906 cpp_quote("#endif")
3907 cpp_quote("")
3908 cpp_quote(" enum _AM_OVERLAY_NOTIFY_FLAGS {")
3909 cpp_quote(" AM_OVERLAY_NOTIFY_VISIBLE_CHANGE = 0x1,AM_OVERLAY_NOTIFY_SOURCE_CHANGE = 0x2,AM_OVERLAY_NOTIFY_DEST_CHANGE = 0x4")
3910 cpp_quote(" };")
3911 cpp_quote("")
3912 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0391_v0_0_c_ifspec;")
3913 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0391_v0_0_s_ifspec;")
3914 cpp_quote("#ifndef __IDDrawExclModeVideoCallback_INTERFACE_DEFINED__")
3915 cpp_quote("#define __IDDrawExclModeVideoCallback_INTERFACE_DEFINED__")
3916 cpp_quote(" EXTERN_C const IID IID_IDDrawExclModeVideoCallback;")
3917 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
3918 cpp_quote(" struct IDDrawExclModeVideoCallback : public IUnknown {")
3919 cpp_quote(" public:")
3920 cpp_quote(" virtual HRESULT WINAPI OnUpdateOverlay(WINBOOL bBefore,DWORD dwFlags,WINBOOL bOldVisible,const RECT *prcOldSrc,const RECT *prcOldDest,WINBOOL bNewVisible,const RECT *prcNewSrc,const RECT *prcNewDest) = 0;")
3921 cpp_quote(" virtual HRESULT WINAPI OnUpdateColorKey(const COLORKEY *pKey,DWORD dwColor) = 0;")
3922 cpp_quote(" virtual HRESULT WINAPI OnUpdateSize(DWORD dwWidth,DWORD dwHeight,DWORD dwARWidth,DWORD dwARHeight) = 0;")
3923 cpp_quote(" };")
3924 cpp_quote("#else")
3925 cpp_quote(" typedef struct IDDrawExclModeVideoCallbackVtbl {")
3926 cpp_quote(" BEGIN_INTERFACE")
3927 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDDrawExclModeVideoCallback *This,REFIID riid,void **ppvObject);")
3928 cpp_quote(" ULONG (WINAPI *AddRef)(IDDrawExclModeVideoCallback *This);")
3929 cpp_quote(" ULONG (WINAPI *Release)(IDDrawExclModeVideoCallback *This);")
3930 cpp_quote(" HRESULT (WINAPI *OnUpdateOverlay)(IDDrawExclModeVideoCallback *This,WINBOOL bBefore,DWORD dwFlags,WINBOOL bOldVisible,const RECT *prcOldSrc,const RECT *prcOldDest,WINBOOL bNewVisible,const RECT *prcNewSrc,const RECT *prcNewDest);")
3931 cpp_quote(" HRESULT (WINAPI *OnUpdateColorKey)(IDDrawExclModeVideoCallback *This,const COLORKEY *pKey,DWORD dwColor);")
3932 cpp_quote(" HRESULT (WINAPI *OnUpdateSize)(IDDrawExclModeVideoCallback *This,DWORD dwWidth,DWORD dwHeight,DWORD dwARWidth,DWORD dwARHeight);")
3933 cpp_quote(" END_INTERFACE")
3934 cpp_quote(" } IDDrawExclModeVideoCallbackVtbl;")
3935 cpp_quote(" struct IDDrawExclModeVideoCallback {")
3936 cpp_quote(" CONST_VTBL struct IDDrawExclModeVideoCallbackVtbl *lpVtbl;")
3937 cpp_quote(" };")
3938 cpp_quote("#ifdef COBJMACROS")
3939 cpp_quote("#define IDDrawExclModeVideoCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
3940 cpp_quote("#define IDDrawExclModeVideoCallback_AddRef(This) (This)->lpVtbl->AddRef(This)")
3941 cpp_quote("#define IDDrawExclModeVideoCallback_Release(This) (This)->lpVtbl->Release(This)")
3942 cpp_quote("#define IDDrawExclModeVideoCallback_OnUpdateOverlay(This,bBefore,dwFlags,bOldVisible,prcOldSrc,prcOldDest,bNewVisible,prcNewSrc,prcNewDest) (This)->lpVtbl->OnUpdateOverlay(This,bBefore,dwFlags,bOldVisible,prcOldSrc,prcOldDest,bNewVisible,prcNewSrc,prcNewDest)")
3943 cpp_quote("#define IDDrawExclModeVideoCallback_OnUpdateColorKey(This,pKey,dwColor) (This)->lpVtbl->OnUpdateColorKey(This,pKey,dwColor)")
3944 cpp_quote("#define IDDrawExclModeVideoCallback_OnUpdateSize(This,dwWidth,dwHeight,dwARWidth,dwARHeight) (This)->lpVtbl->OnUpdateSize(This,dwWidth,dwHeight,dwARWidth,dwARHeight)")
3945 cpp_quote("#endif")
3946 cpp_quote("#endif")
3947 cpp_quote(" HRESULT WINAPI IDDrawExclModeVideoCallback_OnUpdateOverlay_Proxy(IDDrawExclModeVideoCallback *This,WINBOOL bBefore,DWORD dwFlags,WINBOOL bOldVisible,const RECT *prcOldSrc,const RECT *prcOldDest,WINBOOL bNewVisible,const RECT *prcNewSrc,const RECT *prcNewDest);")
3948 cpp_quote(" void __RPC_STUB IDDrawExclModeVideoCallback_OnUpdateOverlay_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3949 cpp_quote(" HRESULT WINAPI IDDrawExclModeVideoCallback_OnUpdateColorKey_Proxy(IDDrawExclModeVideoCallback *This,const COLORKEY *pKey,DWORD dwColor);")
3950 cpp_quote(" void __RPC_STUB IDDrawExclModeVideoCallback_OnUpdateColorKey_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3951 cpp_quote(" HRESULT WINAPI IDDrawExclModeVideoCallback_OnUpdateSize_Proxy(IDDrawExclModeVideoCallback *This,DWORD dwWidth,DWORD dwHeight,DWORD dwARWidth,DWORD dwARHeight);")
3952 cpp_quote(" void __RPC_STUB IDDrawExclModeVideoCallback_OnUpdateSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
3953 cpp_quote("#endif")
3954 cpp_quote("")
3955 cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0397_0002 {")
3956 cpp_quote(" VMRSample_SyncPoint = 0x1,VMRSample_Preroll = 0x2,VMRSample_Discontinuity = 0x4,VMRSample_TimeValid = 0x8,VMRSample_SrcDstRectsValid = 0x10")
3957 cpp_quote(" } VMRPresentationFlags;")
3958 cpp_quote("")
3959 cpp_quote(" typedef struct tagVMRPRESENTATIONINFO {")
3960 cpp_quote(" DWORD dwFlags;")
3961 cpp_quote(" LPDIRECTDRAWSURFACE7 lpSurf;")
3962 cpp_quote(" REFERENCE_TIME rtStart;")
3963 cpp_quote(" REFERENCE_TIME rtEnd;")
3964 cpp_quote(" SIZE szAspectRatio;")
3965 cpp_quote(" RECT rcSrc;")
3966 cpp_quote(" RECT rcDst;")
3967 cpp_quote(" DWORD dwTypeSpecificFlags;")
3968 cpp_quote(" DWORD dwInterlaceFlags;")
3969 cpp_quote(" } VMRPRESENTATIONINFO;")
3970 cpp_quote("")
3971 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0397_v0_0_c_ifspec;")
3972 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0397_v0_0_s_ifspec;")
3973 cpp_quote("#ifndef __IVMRImagePresenter_INTERFACE_DEFINED__")
3974 cpp_quote("#define __IVMRImagePresenter_INTERFACE_DEFINED__")
3975 cpp_quote(" EXTERN_C const IID IID_IVMRImagePresenter;")
3976 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
3977 cpp_quote(" struct IVMRImagePresenter : public IUnknown {")
3978 cpp_quote(" public:")
3979 cpp_quote(" virtual HRESULT WINAPI StartPresenting(DWORD_PTR dwUserID) = 0;")
3980 cpp_quote(" virtual HRESULT WINAPI StopPresenting(DWORD_PTR dwUserID) = 0;")
3981 cpp_quote(" virtual HRESULT WINAPI PresentImage(DWORD_PTR dwUserID,VMRPRESENTATIONINFO *lpPresInfo) = 0;")
3982 cpp_quote(" };")
3983 cpp_quote("#else")
3984 cpp_quote(" typedef struct IVMRImagePresenterVtbl {")
3985 cpp_quote(" BEGIN_INTERFACE")
3986 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRImagePresenter *This,REFIID riid,void **ppvObject);")
3987 cpp_quote(" ULONG (WINAPI *AddRef)(IVMRImagePresenter *This);")
3988 cpp_quote(" ULONG (WINAPI *Release)(IVMRImagePresenter *This);")
3989 cpp_quote(" HRESULT (WINAPI *StartPresenting)(IVMRImagePresenter *This,DWORD_PTR dwUserID);")
3990 cpp_quote(" HRESULT (WINAPI *StopPresenting)(IVMRImagePresenter *This,DWORD_PTR dwUserID);")
3991 cpp_quote(" HRESULT (WINAPI *PresentImage)(IVMRImagePresenter *This,DWORD_PTR dwUserID,VMRPRESENTATIONINFO *lpPresInfo);")
3992 cpp_quote(" END_INTERFACE")
3993 cpp_quote(" } IVMRImagePresenterVtbl;")
3994 cpp_quote(" struct IVMRImagePresenter {")
3995 cpp_quote(" CONST_VTBL struct IVMRImagePresenterVtbl *lpVtbl;")
3996 cpp_quote(" };")
3997 cpp_quote("#ifdef COBJMACROS")
3998 cpp_quote("#define IVMRImagePresenter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
3999 cpp_quote("#define IVMRImagePresenter_AddRef(This) (This)->lpVtbl->AddRef(This)")
4000 cpp_quote("#define IVMRImagePresenter_Release(This) (This)->lpVtbl->Release(This)")
4001 cpp_quote("#define IVMRImagePresenter_StartPresenting(This,dwUserID) (This)->lpVtbl->StartPresenting(This,dwUserID)")
4002 cpp_quote("#define IVMRImagePresenter_StopPresenting(This,dwUserID) (This)->lpVtbl->StopPresenting(This,dwUserID)")
4003 cpp_quote("#define IVMRImagePresenter_PresentImage(This,dwUserID,lpPresInfo) (This)->lpVtbl->PresentImage(This,dwUserID,lpPresInfo)")
4004 cpp_quote("#endif")
4005 cpp_quote("#endif")
4006 cpp_quote(" HRESULT WINAPI IVMRImagePresenter_StartPresenting_Proxy(IVMRImagePresenter *This,DWORD_PTR dwUserID);")
4007 cpp_quote(" void __RPC_STUB IVMRImagePresenter_StartPresenting_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4008 cpp_quote(" HRESULT WINAPI IVMRImagePresenter_StopPresenting_Proxy(IVMRImagePresenter *This,DWORD_PTR dwUserID);")
4009 cpp_quote(" void __RPC_STUB IVMRImagePresenter_StopPresenting_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4010 cpp_quote(" HRESULT WINAPI IVMRImagePresenter_PresentImage_Proxy(IVMRImagePresenter *This,DWORD_PTR dwUserID,VMRPRESENTATIONINFO *lpPresInfo);")
4011 cpp_quote(" void __RPC_STUB IVMRImagePresenter_PresentImage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4012 cpp_quote("#endif")
4013 cpp_quote("")
4014 cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0398_0001 {")
4015 cpp_quote(" AMAP_PIXELFORMAT_VALID = 0x1,AMAP_3D_TARGET = 0x2,AMAP_ALLOW_SYSMEM = 0x4,AMAP_FORCE_SYSMEM = 0x8,AMAP_DIRECTED_FLIP = 0x10,AMAP_DXVA_TARGET = 0x20")
4016 cpp_quote(" } VMRSurfaceAllocationFlags;")
4017 cpp_quote("")
4018 cpp_quote(" typedef struct tagVMRALLOCATIONINFO {")
4019 cpp_quote(" DWORD dwFlags;")
4020 cpp_quote(" LPBITMAPINFOHEADER lpHdr;")
4021 cpp_quote(" LPDDPIXELFORMAT lpPixFmt;")
4022 cpp_quote(" SIZE szAspectRatio;")
4023 cpp_quote(" DWORD dwMinBuffers;")
4024 cpp_quote(" DWORD dwMaxBuffers;")
4025 cpp_quote(" DWORD dwInterlaceFlags;")
4026 cpp_quote(" SIZE szNativeSize;")
4027 cpp_quote(" } VMRALLOCATIONINFO;")
4028 cpp_quote("")
4029 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0398_v0_0_c_ifspec;")
4030 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0398_v0_0_s_ifspec;")
4031 cpp_quote("#ifndef __IVMRSurfaceAllocator_INTERFACE_DEFINED__")
4032 cpp_quote("#define __IVMRSurfaceAllocator_INTERFACE_DEFINED__")
4033 cpp_quote(" EXTERN_C const IID IID_IVMRSurfaceAllocator;")
4034 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
4035 cpp_quote(" struct IVMRSurfaceAllocator : public IUnknown {")
4036 cpp_quote(" public:")
4037 cpp_quote(" virtual HRESULT WINAPI AllocateSurface(DWORD_PTR dwUserID,VMRALLOCATIONINFO *lpAllocInfo,DWORD *lpdwActualBuffers,LPDIRECTDRAWSURFACE7 *lplpSurface) = 0;")
4038 cpp_quote(" virtual HRESULT WINAPI FreeSurface(DWORD_PTR dwID) = 0;")
4039 cpp_quote(" virtual HRESULT WINAPI PrepareSurface(DWORD_PTR dwUserID,LPDIRECTDRAWSURFACE7 lpSurface,DWORD dwSurfaceFlags) = 0;")
4040 cpp_quote(" virtual HRESULT WINAPI AdviseNotify(IVMRSurfaceAllocatorNotify *lpIVMRSurfAllocNotify) = 0;")
4041 cpp_quote(" };")
4042 cpp_quote("#else")
4043 cpp_quote(" typedef struct IVMRSurfaceAllocatorVtbl {")
4044 cpp_quote(" BEGIN_INTERFACE")
4045 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRSurfaceAllocator *This,REFIID riid,void **ppvObject);")
4046 cpp_quote(" ULONG (WINAPI *AddRef)(IVMRSurfaceAllocator *This);")
4047 cpp_quote(" ULONG (WINAPI *Release)(IVMRSurfaceAllocator *This);")
4048 cpp_quote(" HRESULT (WINAPI *AllocateSurface)(IVMRSurfaceAllocator *This,DWORD_PTR dwUserID,VMRALLOCATIONINFO *lpAllocInfo,DWORD *lpdwActualBuffers,LPDIRECTDRAWSURFACE7 *lplpSurface);")
4049 cpp_quote(" HRESULT (WINAPI *FreeSurface)(IVMRSurfaceAllocator *This,DWORD_PTR dwID);")
4050 cpp_quote(" HRESULT (WINAPI *PrepareSurface)(IVMRSurfaceAllocator *This,DWORD_PTR dwUserID,LPDIRECTDRAWSURFACE7 lpSurface,DWORD dwSurfaceFlags);")
4051 cpp_quote(" HRESULT (WINAPI *AdviseNotify)(IVMRSurfaceAllocator *This,IVMRSurfaceAllocatorNotify *lpIVMRSurfAllocNotify);")
4052 cpp_quote(" END_INTERFACE")
4053 cpp_quote(" } IVMRSurfaceAllocatorVtbl;")
4054 cpp_quote(" struct IVMRSurfaceAllocator {")
4055 cpp_quote(" CONST_VTBL struct IVMRSurfaceAllocatorVtbl *lpVtbl;")
4056 cpp_quote(" };")
4057 cpp_quote("#ifdef COBJMACROS")
4058 cpp_quote("#define IVMRSurfaceAllocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
4059 cpp_quote("#define IVMRSurfaceAllocator_AddRef(This) (This)->lpVtbl->AddRef(This)")
4060 cpp_quote("#define IVMRSurfaceAllocator_Release(This) (This)->lpVtbl->Release(This)")
4061 cpp_quote("#define IVMRSurfaceAllocator_AllocateSurface(This,dwUserID,lpAllocInfo,lpdwActualBuffers,lplpSurface) (This)->lpVtbl->AllocateSurface(This,dwUserID,lpAllocInfo,lpdwActualBuffers,lplpSurface)")
4062 cpp_quote("#define IVMRSurfaceAllocator_FreeSurface(This,dwID) (This)->lpVtbl->FreeSurface(This,dwID)")
4063 cpp_quote("#define IVMRSurfaceAllocator_PrepareSurface(This,dwUserID,lpSurface,dwSurfaceFlags) (This)->lpVtbl->PrepareSurface(This,dwUserID,lpSurface,dwSurfaceFlags)")
4064 cpp_quote("#define IVMRSurfaceAllocator_AdviseNotify(This,lpIVMRSurfAllocNotify) (This)->lpVtbl->AdviseNotify(This,lpIVMRSurfAllocNotify)")
4065 cpp_quote("#endif")
4066 cpp_quote("#endif")
4067 cpp_quote(" HRESULT WINAPI IVMRSurfaceAllocator_AllocateSurface_Proxy(IVMRSurfaceAllocator *This,DWORD_PTR dwUserID,VMRALLOCATIONINFO *lpAllocInfo,DWORD *lpdwActualBuffers,LPDIRECTDRAWSURFACE7 *lplpSurface);")
4068 cpp_quote(" void __RPC_STUB IVMRSurfaceAllocator_AllocateSurface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4069 cpp_quote(" HRESULT WINAPI IVMRSurfaceAllocator_FreeSurface_Proxy(IVMRSurfaceAllocator *This,DWORD_PTR dwID);")
4070 cpp_quote(" void __RPC_STUB IVMRSurfaceAllocator_FreeSurface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4071 cpp_quote(" HRESULT WINAPI IVMRSurfaceAllocator_PrepareSurface_Proxy(IVMRSurfaceAllocator *This,DWORD_PTR dwUserID,LPDIRECTDRAWSURFACE7 lpSurface,DWORD dwSurfaceFlags);")
4072 cpp_quote(" void __RPC_STUB IVMRSurfaceAllocator_PrepareSurface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4073 cpp_quote(" HRESULT WINAPI IVMRSurfaceAllocator_AdviseNotify_Proxy(IVMRSurfaceAllocator *This,IVMRSurfaceAllocatorNotify *lpIVMRSurfAllocNotify);")
4074 cpp_quote(" void __RPC_STUB IVMRSurfaceAllocator_AdviseNotify_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4075 cpp_quote("#endif")
4076 cpp_quote("")
4077 cpp_quote("#ifndef __IVMRSurfaceAllocatorNotify_INTERFACE_DEFINED__")
4078 cpp_quote("#define __IVMRSurfaceAllocatorNotify_INTERFACE_DEFINED__")
4079 cpp_quote(" EXTERN_C const IID IID_IVMRSurfaceAllocatorNotify;")
4080 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
4081 cpp_quote(" struct IVMRSurfaceAllocatorNotify : public IUnknown {")
4082 cpp_quote(" public:")
4083 cpp_quote(" virtual HRESULT WINAPI AdviseSurfaceAllocator(DWORD_PTR dwUserID,IVMRSurfaceAllocator *lpIVRMSurfaceAllocator) = 0;")
4084 cpp_quote(" virtual HRESULT WINAPI SetDDrawDevice(LPDIRECTDRAW7 lpDDrawDevice,HMONITOR hMonitor) = 0;")
4085 cpp_quote(" virtual HRESULT WINAPI ChangeDDrawDevice(LPDIRECTDRAW7 lpDDrawDevice,HMONITOR hMonitor) = 0;")
4086 cpp_quote(" virtual HRESULT WINAPI RestoreDDrawSurfaces(void) = 0;")
4087 cpp_quote(" virtual HRESULT WINAPI NotifyEvent(LONG EventCode,LONG_PTR Param1,LONG_PTR Param2) = 0;")
4088 cpp_quote(" virtual HRESULT WINAPI SetBorderColor(COLORREF clrBorder) = 0;")
4089 cpp_quote(" };")
4090 cpp_quote("#else")
4091 cpp_quote(" typedef struct IVMRSurfaceAllocatorNotifyVtbl {")
4092 cpp_quote(" BEGIN_INTERFACE")
4093 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRSurfaceAllocatorNotify *This,REFIID riid,void **ppvObject);")
4094 cpp_quote(" ULONG (WINAPI *AddRef)(IVMRSurfaceAllocatorNotify *This);")
4095 cpp_quote(" ULONG (WINAPI *Release)(IVMRSurfaceAllocatorNotify *This);")
4096 cpp_quote(" HRESULT (WINAPI *AdviseSurfaceAllocator)(IVMRSurfaceAllocatorNotify *This,DWORD_PTR dwUserID,IVMRSurfaceAllocator *lpIVRMSurfaceAllocator);")
4097 cpp_quote(" HRESULT (WINAPI *SetDDrawDevice)(IVMRSurfaceAllocatorNotify *This,LPDIRECTDRAW7 lpDDrawDevice,HMONITOR hMonitor);")
4098 cpp_quote(" HRESULT (WINAPI *ChangeDDrawDevice)(IVMRSurfaceAllocatorNotify *This,LPDIRECTDRAW7 lpDDrawDevice,HMONITOR hMonitor);")
4099 cpp_quote(" HRESULT (WINAPI *RestoreDDrawSurfaces)(IVMRSurfaceAllocatorNotify *This);")
4100 cpp_quote(" HRESULT (WINAPI *NotifyEvent)(IVMRSurfaceAllocatorNotify *This,LONG EventCode,LONG_PTR Param1,LONG_PTR Param2);")
4101 cpp_quote(" HRESULT (WINAPI *SetBorderColor)(IVMRSurfaceAllocatorNotify *This,COLORREF clrBorder);")
4102 cpp_quote(" END_INTERFACE")
4103 cpp_quote(" } IVMRSurfaceAllocatorNotifyVtbl;")
4104 cpp_quote(" struct IVMRSurfaceAllocatorNotify {")
4105 cpp_quote(" CONST_VTBL struct IVMRSurfaceAllocatorNotifyVtbl *lpVtbl;")
4106 cpp_quote(" };")
4107 cpp_quote("#ifdef COBJMACROS")
4108 cpp_quote("#define IVMRSurfaceAllocatorNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
4109 cpp_quote("#define IVMRSurfaceAllocatorNotify_AddRef(This) (This)->lpVtbl->AddRef(This)")
4110 cpp_quote("#define IVMRSurfaceAllocatorNotify_Release(This) (This)->lpVtbl->Release(This)")
4111 cpp_quote("#define IVMRSurfaceAllocatorNotify_AdviseSurfaceAllocator(This,dwUserID,lpIVRMSurfaceAllocator) (This)->lpVtbl->AdviseSurfaceAllocator(This,dwUserID,lpIVRMSurfaceAllocator)")
4112 cpp_quote("#define IVMRSurfaceAllocatorNotify_SetDDrawDevice(This,lpDDrawDevice,hMonitor) (This)->lpVtbl->SetDDrawDevice(This,lpDDrawDevice,hMonitor)")
4113 cpp_quote("#define IVMRSurfaceAllocatorNotify_ChangeDDrawDevice(This,lpDDrawDevice,hMonitor) (This)->lpVtbl->ChangeDDrawDevice(This,lpDDrawDevice,hMonitor)")
4114 cpp_quote("#define IVMRSurfaceAllocatorNotify_RestoreDDrawSurfaces(This) (This)->lpVtbl->RestoreDDrawSurfaces(This)")
4115 cpp_quote("#define IVMRSurfaceAllocatorNotify_NotifyEvent(This,EventCode,Param1,Param2) (This)->lpVtbl->NotifyEvent(This,EventCode,Param1,Param2)")
4116 cpp_quote("#define IVMRSurfaceAllocatorNotify_SetBorderColor(This,clrBorder) (This)->lpVtbl->SetBorderColor(This,clrBorder)")
4117 cpp_quote("#endif")
4118 cpp_quote("#endif")
4119 cpp_quote(" HRESULT WINAPI IVMRSurfaceAllocatorNotify_AdviseSurfaceAllocator_Proxy(IVMRSurfaceAllocatorNotify *This,DWORD_PTR dwUserID,IVMRSurfaceAllocator *lpIVRMSurfaceAllocator);")
4120 cpp_quote(" void __RPC_STUB IVMRSurfaceAllocatorNotify_AdviseSurfaceAllocator_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4121 cpp_quote(" HRESULT WINAPI IVMRSurfaceAllocatorNotify_SetDDrawDevice_Proxy(IVMRSurfaceAllocatorNotify *This,LPDIRECTDRAW7 lpDDrawDevice,HMONITOR hMonitor);")
4122 cpp_quote(" void __RPC_STUB IVMRSurfaceAllocatorNotify_SetDDrawDevice_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4123 cpp_quote(" HRESULT WINAPI IVMRSurfaceAllocatorNotify_ChangeDDrawDevice_Proxy(IVMRSurfaceAllocatorNotify *This,LPDIRECTDRAW7 lpDDrawDevice,HMONITOR hMonitor);")
4124 cpp_quote(" void __RPC_STUB IVMRSurfaceAllocatorNotify_ChangeDDrawDevice_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4125 cpp_quote(" HRESULT WINAPI IVMRSurfaceAllocatorNotify_RestoreDDrawSurfaces_Proxy(IVMRSurfaceAllocatorNotify *This);")
4126 cpp_quote(" void __RPC_STUB IVMRSurfaceAllocatorNotify_RestoreDDrawSurfaces_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4127 cpp_quote(" HRESULT WINAPI IVMRSurfaceAllocatorNotify_NotifyEvent_Proxy(IVMRSurfaceAllocatorNotify *This,LONG EventCode,LONG_PTR Param1,LONG_PTR Param2);")
4128 cpp_quote(" void __RPC_STUB IVMRSurfaceAllocatorNotify_NotifyEvent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4129 cpp_quote(" HRESULT WINAPI IVMRSurfaceAllocatorNotify_SetBorderColor_Proxy(IVMRSurfaceAllocatorNotify *This,COLORREF clrBorder);")
4130 cpp_quote(" void __RPC_STUB IVMRSurfaceAllocatorNotify_SetBorderColor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4131 cpp_quote("#endif")
4132 cpp_quote("")
4133 cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0400_0001 {")
4134 cpp_quote(" VMR_ARMODE_NONE = 0,VMR_ARMODE_LETTER_BOX = VMR_ARMODE_NONE + 1")
4135 cpp_quote(" } VMR_ASPECT_RATIO_MODE;")
4136 cpp_quote("")
4137 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0400_v0_0_c_ifspec;")
4138 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0400_v0_0_s_ifspec;")
4139 cpp_quote("#ifndef __IVMRWindowlessControl_INTERFACE_DEFINED__")
4140 cpp_quote("#define __IVMRWindowlessControl_INTERFACE_DEFINED__")
4141 cpp_quote(" EXTERN_C const IID IID_IVMRWindowlessControl;")
4142 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
4143 cpp_quote(" struct IVMRWindowlessControl : public IUnknown {")
4144 cpp_quote(" public:")
4145 cpp_quote(" virtual HRESULT WINAPI GetNativeVideoSize(LONG *lpWidth,LONG *lpHeight,LONG *lpARWidth,LONG *lpARHeight) = 0;")
4146 cpp_quote(" virtual HRESULT WINAPI GetMinIdealVideoSize(LONG *lpWidth,LONG *lpHeight) = 0;")
4147 cpp_quote(" virtual HRESULT WINAPI GetMaxIdealVideoSize(LONG *lpWidth,LONG *lpHeight) = 0;")
4148 cpp_quote(" virtual HRESULT WINAPI SetVideoPosition(const LPRECT lpSRCRect,const LPRECT lpDSTRect) = 0;")
4149 cpp_quote(" virtual HRESULT WINAPI GetVideoPosition(LPRECT lpSRCRect,LPRECT lpDSTRect) = 0;")
4150 cpp_quote(" virtual HRESULT WINAPI GetAspectRatioMode(DWORD *lpAspectRatioMode) = 0;")
4151 cpp_quote(" virtual HRESULT WINAPI SetAspectRatioMode(DWORD AspectRatioMode) = 0;")
4152 cpp_quote(" virtual HRESULT WINAPI SetVideoClippingWindow(HWND hwnd) = 0;")
4153 cpp_quote(" virtual HRESULT WINAPI RepaintVideo(HWND hwnd,HDC hdc) = 0;")
4154 cpp_quote(" virtual HRESULT WINAPI DisplayModeChanged(void) = 0;")
4155 cpp_quote(" virtual HRESULT WINAPI GetCurrentImage(BYTE **lpDib) = 0;")
4156 cpp_quote(" virtual HRESULT WINAPI SetBorderColor(COLORREF Clr) = 0;")
4157 cpp_quote(" virtual HRESULT WINAPI GetBorderColor(COLORREF *lpClr) = 0;")
4158 cpp_quote(" virtual HRESULT WINAPI SetColorKey(COLORREF Clr) = 0;")
4159 cpp_quote(" virtual HRESULT WINAPI GetColorKey(COLORREF *lpClr) = 0;")
4160 cpp_quote(" };")
4161 cpp_quote("#else")
4162 cpp_quote(" typedef struct IVMRWindowlessControlVtbl {")
4163 cpp_quote(" BEGIN_INTERFACE")
4164 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRWindowlessControl *This,REFIID riid,void **ppvObject);")
4165 cpp_quote(" ULONG (WINAPI *AddRef)(IVMRWindowlessControl *This);")
4166 cpp_quote(" ULONG (WINAPI *Release)(IVMRWindowlessControl *This);")
4167 cpp_quote(" HRESULT (WINAPI *GetNativeVideoSize)(IVMRWindowlessControl *This,LONG *lpWidth,LONG *lpHeight,LONG *lpARWidth,LONG *lpARHeight);")
4168 cpp_quote(" HRESULT (WINAPI *GetMinIdealVideoSize)(IVMRWindowlessControl *This,LONG *lpWidth,LONG *lpHeight);")
4169 cpp_quote(" HRESULT (WINAPI *GetMaxIdealVideoSize)(IVMRWindowlessControl *This,LONG *lpWidth,LONG *lpHeight);")
4170 cpp_quote(" HRESULT (WINAPI *SetVideoPosition)(IVMRWindowlessControl *This,const LPRECT lpSRCRect,const LPRECT lpDSTRect);")
4171 cpp_quote(" HRESULT (WINAPI *GetVideoPosition)(IVMRWindowlessControl *This,LPRECT lpSRCRect,LPRECT lpDSTRect);")
4172 cpp_quote(" HRESULT (WINAPI *GetAspectRatioMode)(IVMRWindowlessControl *This,DWORD *lpAspectRatioMode);")
4173 cpp_quote(" HRESULT (WINAPI *SetAspectRatioMode)(IVMRWindowlessControl *This,DWORD AspectRatioMode);")
4174 cpp_quote(" HRESULT (WINAPI *SetVideoClippingWindow)(IVMRWindowlessControl *This,HWND hwnd);")
4175 cpp_quote(" HRESULT (WINAPI *RepaintVideo)(IVMRWindowlessControl *This,HWND hwnd,HDC hdc);")
4176 cpp_quote(" HRESULT (WINAPI *DisplayModeChanged)(IVMRWindowlessControl *This);")
4177 cpp_quote(" HRESULT (WINAPI *GetCurrentImage)(IVMRWindowlessControl *This,BYTE **lpDib);")
4178 cpp_quote(" HRESULT (WINAPI *SetBorderColor)(IVMRWindowlessControl *This,COLORREF Clr);")
4179 cpp_quote(" HRESULT (WINAPI *GetBorderColor)(IVMRWindowlessControl *This,COLORREF *lpClr);")
4180 cpp_quote(" HRESULT (WINAPI *SetColorKey)(IVMRWindowlessControl *This,COLORREF Clr);")
4181 cpp_quote(" HRESULT (WINAPI *GetColorKey)(IVMRWindowlessControl *This,COLORREF *lpClr);")
4182 cpp_quote(" END_INTERFACE")
4183 cpp_quote(" } IVMRWindowlessControlVtbl;")
4184 cpp_quote(" struct IVMRWindowlessControl {")
4185 cpp_quote(" CONST_VTBL struct IVMRWindowlessControlVtbl *lpVtbl;")
4186 cpp_quote(" };")
4187 cpp_quote("#ifdef COBJMACROS")
4188 cpp_quote("#define IVMRWindowlessControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
4189 cpp_quote("#define IVMRWindowlessControl_AddRef(This) (This)->lpVtbl->AddRef(This)")
4190 cpp_quote("#define IVMRWindowlessControl_Release(This) (This)->lpVtbl->Release(This)")
4191 cpp_quote("#define IVMRWindowlessControl_GetNativeVideoSize(This,lpWidth,lpHeight,lpARWidth,lpARHeight) (This)->lpVtbl->GetNativeVideoSize(This,lpWidth,lpHeight,lpARWidth,lpARHeight)")
4192 cpp_quote("#define IVMRWindowlessControl_GetMinIdealVideoSize(This,lpWidth,lpHeight) (This)->lpVtbl->GetMinIdealVideoSize(This,lpWidth,lpHeight)")
4193 cpp_quote("#define IVMRWindowlessControl_GetMaxIdealVideoSize(This,lpWidth,lpHeight) (This)->lpVtbl->GetMaxIdealVideoSize(This,lpWidth,lpHeight)")
4194 cpp_quote("#define IVMRWindowlessControl_SetVideoPosition(This,lpSRCRect,lpDSTRect) (This)->lpVtbl->SetVideoPosition(This,lpSRCRect,lpDSTRect)")
4195 cpp_quote("#define IVMRWindowlessControl_GetVideoPosition(This,lpSRCRect,lpDSTRect) (This)->lpVtbl->GetVideoPosition(This,lpSRCRect,lpDSTRect)")
4196 cpp_quote("#define IVMRWindowlessControl_GetAspectRatioMode(This,lpAspectRatioMode) (This)->lpVtbl->GetAspectRatioMode(This,lpAspectRatioMode)")
4197 cpp_quote("#define IVMRWindowlessControl_SetAspectRatioMode(This,AspectRatioMode) (This)->lpVtbl->SetAspectRatioMode(This,AspectRatioMode)")
4198 cpp_quote("#define IVMRWindowlessControl_SetVideoClippingWindow(This,hwnd) (This)->lpVtbl->SetVideoClippingWindow(This,hwnd)")
4199 cpp_quote("#define IVMRWindowlessControl_RepaintVideo(This,hwnd,hdc) (This)->lpVtbl->RepaintVideo(This,hwnd,hdc)")
4200 cpp_quote("#define IVMRWindowlessControl_DisplayModeChanged(This) (This)->lpVtbl->DisplayModeChanged(This)")
4201 cpp_quote("#define IVMRWindowlessControl_GetCurrentImage(This,lpDib) (This)->lpVtbl->GetCurrentImage(This,lpDib)")
4202 cpp_quote("#define IVMRWindowlessControl_SetBorderColor(This,Clr) (This)->lpVtbl->SetBorderColor(This,Clr)")
4203 cpp_quote("#define IVMRWindowlessControl_GetBorderColor(This,lpClr) (This)->lpVtbl->GetBorderColor(This,lpClr)")
4204 cpp_quote("#define IVMRWindowlessControl_SetColorKey(This,Clr) (This)->lpVtbl->SetColorKey(This,Clr)")
4205 cpp_quote("#define IVMRWindowlessControl_GetColorKey(This,lpClr) (This)->lpVtbl->GetColorKey(This,lpClr)")
4206 cpp_quote("#endif")
4207 cpp_quote("#endif")
4208 cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_GetNativeVideoSize_Proxy(IVMRWindowlessControl *This,LONG *lpWidth,LONG *lpHeight,LONG *lpARWidth,LONG *lpARHeight);")
4209 cpp_quote(" void __RPC_STUB IVMRWindowlessControl_GetNativeVideoSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4210 cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_GetMinIdealVideoSize_Proxy(IVMRWindowlessControl *This,LONG *lpWidth,LONG *lpHeight);")
4211 cpp_quote(" void __RPC_STUB IVMRWindowlessControl_GetMinIdealVideoSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4212 cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_GetMaxIdealVideoSize_Proxy(IVMRWindowlessControl *This,LONG *lpWidth,LONG *lpHeight);")
4213 cpp_quote(" void __RPC_STUB IVMRWindowlessControl_GetMaxIdealVideoSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4214 cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_SetVideoPosition_Proxy(IVMRWindowlessControl *This,const LPRECT lpSRCRect,const LPRECT lpDSTRect);")
4215 cpp_quote(" void __RPC_STUB IVMRWindowlessControl_SetVideoPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4216 cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_GetVideoPosition_Proxy(IVMRWindowlessControl *This,LPRECT lpSRCRect,LPRECT lpDSTRect);")
4217 cpp_quote(" void __RPC_STUB IVMRWindowlessControl_GetVideoPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4218 cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_GetAspectRatioMode_Proxy(IVMRWindowlessControl *This,DWORD *lpAspectRatioMode);")
4219 cpp_quote(" void __RPC_STUB IVMRWindowlessControl_GetAspectRatioMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4220 cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_SetAspectRatioMode_Proxy(IVMRWindowlessControl *This,DWORD AspectRatioMode);")
4221 cpp_quote(" void __RPC_STUB IVMRWindowlessControl_SetAspectRatioMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4222 cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_SetVideoClippingWindow_Proxy(IVMRWindowlessControl *This,HWND hwnd);")
4223 cpp_quote(" void __RPC_STUB IVMRWindowlessControl_SetVideoClippingWindow_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4224 cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_RepaintVideo_Proxy(IVMRWindowlessControl *This,HWND hwnd,HDC hdc);")
4225 cpp_quote(" void __RPC_STUB IVMRWindowlessControl_RepaintVideo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4226 cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_DisplayModeChanged_Proxy(IVMRWindowlessControl *This);")
4227 cpp_quote(" void __RPC_STUB IVMRWindowlessControl_DisplayModeChanged_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4228 cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_GetCurrentImage_Proxy(IVMRWindowlessControl *This,BYTE **lpDib);")
4229 cpp_quote(" void __RPC_STUB IVMRWindowlessControl_GetCurrentImage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4230 cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_SetBorderColor_Proxy(IVMRWindowlessControl *This,COLORREF Clr);")
4231 cpp_quote(" void __RPC_STUB IVMRWindowlessControl_SetBorderColor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4232 cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_GetBorderColor_Proxy(IVMRWindowlessControl *This,COLORREF *lpClr);")
4233 cpp_quote(" void __RPC_STUB IVMRWindowlessControl_GetBorderColor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4234 cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_SetColorKey_Proxy(IVMRWindowlessControl *This,COLORREF Clr);")
4235 cpp_quote(" void __RPC_STUB IVMRWindowlessControl_SetColorKey_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4236 cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_GetColorKey_Proxy(IVMRWindowlessControl *This,COLORREF *lpClr);")
4237 cpp_quote(" void __RPC_STUB IVMRWindowlessControl_GetColorKey_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4238 cpp_quote("#endif")
4239 cpp_quote("")
4240 cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0401_0001 {")
4241 cpp_quote(" MixerPref_NoDecimation = 0x1,MixerPref_DecimateOutput = 0x2,MixerPref_ARAdjustXorY = 0x4,MixerPref_DecimationReserved = 0x8,")
4242 cpp_quote(" MixerPref_DecimateMask = 0xf,MixerPref_BiLinearFiltering = 0x10,MixerPref_PointFiltering = 0x20,MixerPref_FilteringMask = 0xf0,")
4243 cpp_quote(" MixerPref_RenderTargetRGB = 0x100,MixerPref_RenderTargetYUV = 0x1000,MixerPref_RenderTargetYUV420 = 0x200,MixerPref_RenderTargetYUV422 = 0x400,")
4244 cpp_quote(" MixerPref_RenderTargetYUV444 = 0x800,MixerPref_RenderTargetReserved = 0xe000,MixerPref_RenderTargetMask = 0xff00,")
4245 cpp_quote(" MixerPref_DynamicSwitchToBOB = 0x10000,MixerPref_DynamicDecimateBy2 = 0x20000,MixerPref_DynamicReserved = 0xc0000,")
4246 cpp_quote(" MixerPref_DynamicMask = 0xf0000")
4247 cpp_quote(" } VMRMixerPrefs;")
4248 cpp_quote("")
4249 cpp_quote(" typedef struct _NORMALIZEDRECT {")
4250 cpp_quote(" float left;")
4251 cpp_quote(" float top;")
4252 cpp_quote(" float right;")
4253 cpp_quote(" float bottom;")
4254 cpp_quote(" } NORMALIZEDRECT;")
4255 cpp_quote("")
4256 cpp_quote(" typedef struct _NORMALIZEDRECT *PNORMALIZEDRECT;")
4257 cpp_quote("")
4258 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0401_v0_0_c_ifspec;")
4259 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0401_v0_0_s_ifspec;")
4260 cpp_quote("#ifndef __IVMRMixerControl_INTERFACE_DEFINED__")
4261 cpp_quote("#define __IVMRMixerControl_INTERFACE_DEFINED__")
4262 cpp_quote(" EXTERN_C const IID IID_IVMRMixerControl;")
4263 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
4264 cpp_quote(" struct IVMRMixerControl : public IUnknown {")
4265 cpp_quote(" public:")
4266 cpp_quote(" virtual HRESULT WINAPI SetAlpha(DWORD dwStreamID,float Alpha) = 0;")
4267 cpp_quote(" virtual HRESULT WINAPI GetAlpha(DWORD dwStreamID,float *pAlpha) = 0;")
4268 cpp_quote(" virtual HRESULT WINAPI SetZOrder(DWORD dwStreamID,DWORD dwZ) = 0;")
4269 cpp_quote(" virtual HRESULT WINAPI GetZOrder(DWORD dwStreamID,DWORD *pZ) = 0;")
4270 cpp_quote(" virtual HRESULT WINAPI SetOutputRect(DWORD dwStreamID,const NORMALIZEDRECT *pRect) = 0;")
4271 cpp_quote(" virtual HRESULT WINAPI GetOutputRect(DWORD dwStreamID,NORMALIZEDRECT *pRect) = 0;")
4272 cpp_quote(" virtual HRESULT WINAPI SetBackgroundClr(COLORREF ClrBkg) = 0;")
4273 cpp_quote(" virtual HRESULT WINAPI GetBackgroundClr(COLORREF *lpClrBkg) = 0;")
4274 cpp_quote(" virtual HRESULT WINAPI SetMixingPrefs(DWORD dwMixerPrefs) = 0;")
4275 cpp_quote(" virtual HRESULT WINAPI GetMixingPrefs(DWORD *pdwMixerPrefs) = 0;")
4276 cpp_quote(" };")
4277 cpp_quote("#else")
4278 cpp_quote(" typedef struct IVMRMixerControlVtbl {")
4279 cpp_quote(" BEGIN_INTERFACE")
4280 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRMixerControl *This,REFIID riid,void **ppvObject);")
4281 cpp_quote(" ULONG (WINAPI *AddRef)(IVMRMixerControl *This);")
4282 cpp_quote(" ULONG (WINAPI *Release)(IVMRMixerControl *This);")
4283 cpp_quote(" HRESULT (WINAPI *SetAlpha)(IVMRMixerControl *This,DWORD dwStreamID,float Alpha);")
4284 cpp_quote(" HRESULT (WINAPI *GetAlpha)(IVMRMixerControl *This,DWORD dwStreamID,float *pAlpha);")
4285 cpp_quote(" HRESULT (WINAPI *SetZOrder)(IVMRMixerControl *This,DWORD dwStreamID,DWORD dwZ);")
4286 cpp_quote(" HRESULT (WINAPI *GetZOrder)(IVMRMixerControl *This,DWORD dwStreamID,DWORD *pZ);")
4287 cpp_quote(" HRESULT (WINAPI *SetOutputRect)(IVMRMixerControl *This,DWORD dwStreamID,const NORMALIZEDRECT *pRect);")
4288 cpp_quote(" HRESULT (WINAPI *GetOutputRect)(IVMRMixerControl *This,DWORD dwStreamID,NORMALIZEDRECT *pRect);")
4289 cpp_quote(" HRESULT (WINAPI *SetBackgroundClr)(IVMRMixerControl *This,COLORREF ClrBkg);")
4290 cpp_quote(" HRESULT (WINAPI *GetBackgroundClr)(IVMRMixerControl *This,COLORREF *lpClrBkg);")
4291 cpp_quote(" HRESULT (WINAPI *SetMixingPrefs)(IVMRMixerControl *This,DWORD dwMixerPrefs);")
4292 cpp_quote(" HRESULT (WINAPI *GetMixingPrefs)(IVMRMixerControl *This,DWORD *pdwMixerPrefs);")
4293 cpp_quote(" END_INTERFACE")
4294 cpp_quote(" } IVMRMixerControlVtbl;")
4295 cpp_quote(" struct IVMRMixerControl {")
4296 cpp_quote(" CONST_VTBL struct IVMRMixerControlVtbl *lpVtbl;")
4297 cpp_quote(" };")
4298 cpp_quote("#ifdef COBJMACROS")
4299 cpp_quote("#define IVMRMixerControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
4300 cpp_quote("#define IVMRMixerControl_AddRef(This) (This)->lpVtbl->AddRef(This)")
4301 cpp_quote("#define IVMRMixerControl_Release(This) (This)->lpVtbl->Release(This)")
4302 cpp_quote("#define IVMRMixerControl_SetAlpha(This,dwStreamID,Alpha) (This)->lpVtbl->SetAlpha(This,dwStreamID,Alpha)")
4303 cpp_quote("#define IVMRMixerControl_GetAlpha(This,dwStreamID,pAlpha) (This)->lpVtbl->GetAlpha(This,dwStreamID,pAlpha)")
4304 cpp_quote("#define IVMRMixerControl_SetZOrder(This,dwStreamID,dwZ) (This)->lpVtbl->SetZOrder(This,dwStreamID,dwZ)")
4305 cpp_quote("#define IVMRMixerControl_GetZOrder(This,dwStreamID,pZ) (This)->lpVtbl->GetZOrder(This,dwStreamID,pZ)")
4306 cpp_quote("#define IVMRMixerControl_SetOutputRect(This,dwStreamID,pRect) (This)->lpVtbl->SetOutputRect(This,dwStreamID,pRect)")
4307 cpp_quote("#define IVMRMixerControl_GetOutputRect(This,dwStreamID,pRect) (This)->lpVtbl->GetOutputRect(This,dwStreamID,pRect)")
4308 cpp_quote("#define IVMRMixerControl_SetBackgroundClr(This,ClrBkg) (This)->lpVtbl->SetBackgroundClr(This,ClrBkg)")
4309 cpp_quote("#define IVMRMixerControl_GetBackgroundClr(This,lpClrBkg) (This)->lpVtbl->GetBackgroundClr(This,lpClrBkg)")
4310 cpp_quote("#define IVMRMixerControl_SetMixingPrefs(This,dwMixerPrefs) (This)->lpVtbl->SetMixingPrefs(This,dwMixerPrefs)")
4311 cpp_quote("#define IVMRMixerControl_GetMixingPrefs(This,pdwMixerPrefs) (This)->lpVtbl->GetMixingPrefs(This,pdwMixerPrefs)")
4312 cpp_quote("#endif")
4313 cpp_quote("#endif")
4314 cpp_quote(" HRESULT WINAPI IVMRMixerControl_SetAlpha_Proxy(IVMRMixerControl *This,DWORD dwStreamID,float Alpha);")
4315 cpp_quote(" void __RPC_STUB IVMRMixerControl_SetAlpha_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4316 cpp_quote(" HRESULT WINAPI IVMRMixerControl_GetAlpha_Proxy(IVMRMixerControl *This,DWORD dwStreamID,float *pAlpha);")
4317 cpp_quote(" void __RPC_STUB IVMRMixerControl_GetAlpha_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4318 cpp_quote(" HRESULT WINAPI IVMRMixerControl_SetZOrder_Proxy(IVMRMixerControl *This,DWORD dwStreamID,DWORD dwZ);")
4319 cpp_quote(" void __RPC_STUB IVMRMixerControl_SetZOrder_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4320 cpp_quote(" HRESULT WINAPI IVMRMixerControl_GetZOrder_Proxy(IVMRMixerControl *This,DWORD dwStreamID,DWORD *pZ);")
4321 cpp_quote(" void __RPC_STUB IVMRMixerControl_GetZOrder_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4322 cpp_quote(" HRESULT WINAPI IVMRMixerControl_SetOutputRect_Proxy(IVMRMixerControl *This,DWORD dwStreamID,const NORMALIZEDRECT *pRect);")
4323 cpp_quote(" void __RPC_STUB IVMRMixerControl_SetOutputRect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4324 cpp_quote(" HRESULT WINAPI IVMRMixerControl_GetOutputRect_Proxy(IVMRMixerControl *This,DWORD dwStreamID,NORMALIZEDRECT *pRect);")
4325 cpp_quote(" void __RPC_STUB IVMRMixerControl_GetOutputRect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4326 cpp_quote(" HRESULT WINAPI IVMRMixerControl_SetBackgroundClr_Proxy(IVMRMixerControl *This,COLORREF ClrBkg);")
4327 cpp_quote(" void __RPC_STUB IVMRMixerControl_SetBackgroundClr_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4328 cpp_quote(" HRESULT WINAPI IVMRMixerControl_GetBackgroundClr_Proxy(IVMRMixerControl *This,COLORREF *lpClrBkg);")
4329 cpp_quote(" void __RPC_STUB IVMRMixerControl_GetBackgroundClr_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4330 cpp_quote(" HRESULT WINAPI IVMRMixerControl_SetMixingPrefs_Proxy(IVMRMixerControl *This,DWORD dwMixerPrefs);")
4331 cpp_quote(" void __RPC_STUB IVMRMixerControl_SetMixingPrefs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4332 cpp_quote(" HRESULT WINAPI IVMRMixerControl_GetMixingPrefs_Proxy(IVMRMixerControl *This,DWORD *pdwMixerPrefs);")
4333 cpp_quote("")
4334 cpp_quote(" void __RPC_STUB IVMRMixerControl_GetMixingPrefs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4335 cpp_quote("#endif")
4336 cpp_quote("")
4337 cpp_quote("#ifdef __cplusplus")
4338 cpp_quote(" typedef struct tagVMRGUID {")
4339 cpp_quote(" ::GUID *pGUID;")
4340 cpp_quote(" ::GUID GUID;")
4341 cpp_quote(" } VMRGUID;")
4342 cpp_quote("#else")
4343 cpp_quote(" typedef struct tagVMRGUID {")
4344 cpp_quote(" GUID *pGUID;")
4345 cpp_quote(" GUID GUID;")
4346 cpp_quote(" } VMRGUID;")
4347 cpp_quote("#endif")
4348 cpp_quote("")
4349 cpp_quote(" typedef struct tagVMRMONITORINFO {")
4350 cpp_quote(" VMRGUID guid;")
4351 cpp_quote(" RECT rcMonitor;")
4352 cpp_quote(" HMONITOR hMon;")
4353 cpp_quote(" DWORD dwFlags;")
4354 cpp_quote(" wchar_t szDevice[32];")
4355 cpp_quote(" wchar_t szDescription[256];")
4356 cpp_quote(" LARGE_INTEGER liDriverVersion;")
4357 cpp_quote(" DWORD dwVendorId;")
4358 cpp_quote(" DWORD dwDeviceId;")
4359 cpp_quote(" DWORD dwSubSysId;")
4360 cpp_quote(" DWORD dwRevision;")
4361 cpp_quote(" } VMRMONITORINFO;")
4362 cpp_quote("")
4363 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0402_v0_0_c_ifspec;")
4364 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0402_v0_0_s_ifspec;")
4365 cpp_quote("#ifndef __IVMRMonitorConfig_INTERFACE_DEFINED__")
4366 cpp_quote("#define __IVMRMonitorConfig_INTERFACE_DEFINED__")
4367 cpp_quote(" EXTERN_C const IID IID_IVMRMonitorConfig;")
4368 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
4369 cpp_quote(" struct IVMRMonitorConfig : public IUnknown {")
4370 cpp_quote(" public:")
4371 cpp_quote(" virtual HRESULT WINAPI SetMonitor(const VMRGUID *pGUID) = 0;")
4372 cpp_quote(" virtual HRESULT WINAPI GetMonitor(VMRGUID *pGUID) = 0;")
4373 cpp_quote(" virtual HRESULT WINAPI SetDefaultMonitor(const VMRGUID *pGUID) = 0;")
4374 cpp_quote(" virtual HRESULT WINAPI GetDefaultMonitor(VMRGUID *pGUID) = 0;")
4375 cpp_quote(" virtual HRESULT WINAPI GetAvailableMonitors(VMRMONITORINFO *pInfo,DWORD dwMaxInfoArraySize,DWORD *pdwNumDevices) = 0;")
4376 cpp_quote(" };")
4377 cpp_quote("#else")
4378 cpp_quote(" typedef struct IVMRMonitorConfigVtbl {")
4379 cpp_quote(" BEGIN_INTERFACE")
4380 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRMonitorConfig *This,REFIID riid,void **ppvObject);")
4381 cpp_quote(" ULONG (WINAPI *AddRef)(IVMRMonitorConfig *This);")
4382 cpp_quote(" ULONG (WINAPI *Release)(IVMRMonitorConfig *This);")
4383 cpp_quote(" HRESULT (WINAPI *SetMonitor)(IVMRMonitorConfig *This,const VMRGUID *pGUID);")
4384 cpp_quote(" HRESULT (WINAPI *GetMonitor)(IVMRMonitorConfig *This,VMRGUID *pGUID);")
4385 cpp_quote(" HRESULT (WINAPI *SetDefaultMonitor)(IVMRMonitorConfig *This,const VMRGUID *pGUID);")
4386 cpp_quote(" HRESULT (WINAPI *GetDefaultMonitor)(IVMRMonitorConfig *This,VMRGUID *pGUID);")
4387 cpp_quote(" HRESULT (WINAPI *GetAvailableMonitors)(IVMRMonitorConfig *This,VMRMONITORINFO *pInfo,DWORD dwMaxInfoArraySize,DWORD *pdwNumDevices);")
4388 cpp_quote(" END_INTERFACE")
4389 cpp_quote(" } IVMRMonitorConfigVtbl;")
4390 cpp_quote(" struct IVMRMonitorConfig {")
4391 cpp_quote(" CONST_VTBL struct IVMRMonitorConfigVtbl *lpVtbl;")
4392 cpp_quote(" };")
4393 cpp_quote("#ifdef COBJMACROS")
4394 cpp_quote("#define IVMRMonitorConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
4395 cpp_quote("#define IVMRMonitorConfig_AddRef(This) (This)->lpVtbl->AddRef(This)")
4396 cpp_quote("#define IVMRMonitorConfig_Release(This) (This)->lpVtbl->Release(This)")
4397 cpp_quote("#define IVMRMonitorConfig_SetMonitor(This,pGUID) (This)->lpVtbl->SetMonitor(This,pGUID)")
4398 cpp_quote("#define IVMRMonitorConfig_GetMonitor(This,pGUID) (This)->lpVtbl->GetMonitor(This,pGUID)")
4399 cpp_quote("#define IVMRMonitorConfig_SetDefaultMonitor(This,pGUID) (This)->lpVtbl->SetDefaultMonitor(This,pGUID)")
4400 cpp_quote("#define IVMRMonitorConfig_GetDefaultMonitor(This,pGUID) (This)->lpVtbl->GetDefaultMonitor(This,pGUID)")
4401 cpp_quote("#define IVMRMonitorConfig_GetAvailableMonitors(This,pInfo,dwMaxInfoArraySize,pdwNumDevices) (This)->lpVtbl->GetAvailableMonitors(This,pInfo,dwMaxInfoArraySize,pdwNumDevices)")
4402 cpp_quote("#endif")
4403 cpp_quote("#endif")
4404 cpp_quote(" HRESULT WINAPI IVMRMonitorConfig_SetMonitor_Proxy(IVMRMonitorConfig *This,const VMRGUID *pGUID);")
4405 cpp_quote(" void __RPC_STUB IVMRMonitorConfig_SetMonitor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4406 cpp_quote(" HRESULT WINAPI IVMRMonitorConfig_GetMonitor_Proxy(IVMRMonitorConfig *This,VMRGUID *pGUID);")
4407 cpp_quote(" void __RPC_STUB IVMRMonitorConfig_GetMonitor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4408 cpp_quote(" HRESULT WINAPI IVMRMonitorConfig_SetDefaultMonitor_Proxy(IVMRMonitorConfig *This,const VMRGUID *pGUID);")
4409 cpp_quote(" void __RPC_STUB IVMRMonitorConfig_SetDefaultMonitor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4410 cpp_quote(" HRESULT WINAPI IVMRMonitorConfig_GetDefaultMonitor_Proxy(IVMRMonitorConfig *This,VMRGUID *pGUID);")
4411 cpp_quote(" void __RPC_STUB IVMRMonitorConfig_GetDefaultMonitor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4412 cpp_quote(" HRESULT WINAPI IVMRMonitorConfig_GetAvailableMonitors_Proxy(IVMRMonitorConfig *This,VMRMONITORINFO *pInfo,DWORD dwMaxInfoArraySize,DWORD *pdwNumDevices);")
4413 cpp_quote(" void __RPC_STUB IVMRMonitorConfig_GetAvailableMonitors_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4414 cpp_quote("#endif")
4415 cpp_quote("")
4416 cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0403_0001 {")
4417 cpp_quote(" RenderPrefs_RestrictToInitialMonitor = 0,RenderPrefs_ForceOffscreen = 0x1,RenderPrefs_ForceOverlays = 0x2,RenderPrefs_AllowOverlays = 0,")
4418 cpp_quote(" RenderPrefs_AllowOffscreen = 0,RenderPrefs_DoNotRenderColorKeyAndBorder = 0x8,RenderPrefs_Reserved = 0x10,RenderPrefs_PreferAGPMemWhenMixing = 0x20,")
4419 cpp_quote(" RenderPrefs_Mask = 0x3f")
4420 cpp_quote(" } VMRRenderPrefs;")
4421 cpp_quote("")
4422 cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0403_0002 {")
4423 cpp_quote(" VMRMode_Windowed = 0x1,VMRMode_Windowless = 0x2,VMRMode_Renderless = 0x4,VMRMode_Mask = 0x7")
4424 cpp_quote(" } VMRMode;")
4425 cpp_quote("")
4426 cpp_quote(" enum __MIDL___MIDL_itf_strmif_0403_0003 {")
4427 cpp_quote(" MAX_NUMBER_OF_STREAMS = 16")
4428 cpp_quote(" };")
4429 cpp_quote("")
4430 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0403_v0_0_c_ifspec;")
4431 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0403_v0_0_s_ifspec;")
4432 cpp_quote("#ifndef __IVMRFilterConfig_INTERFACE_DEFINED__")
4433 cpp_quote("#define __IVMRFilterConfig_INTERFACE_DEFINED__")
4434 cpp_quote(" EXTERN_C const IID IID_IVMRFilterConfig;")
4435 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
4436 cpp_quote(" struct IVMRFilterConfig : public IUnknown {")
4437 cpp_quote(" public:")
4438 cpp_quote(" virtual HRESULT WINAPI SetImageCompositor(IVMRImageCompositor *lpVMRImgCompositor) = 0;")
4439 cpp_quote(" virtual HRESULT WINAPI SetNumberOfStreams(DWORD dwMaxStreams) = 0;")
4440 cpp_quote(" virtual HRESULT WINAPI GetNumberOfStreams(DWORD *pdwMaxStreams) = 0;")
4441 cpp_quote(" virtual HRESULT WINAPI SetRenderingPrefs(DWORD dwRenderFlags) = 0;")
4442 cpp_quote(" virtual HRESULT WINAPI GetRenderingPrefs(DWORD *pdwRenderFlags) = 0;")
4443 cpp_quote(" virtual HRESULT WINAPI SetRenderingMode(DWORD Mode) = 0;")
4444 cpp_quote(" virtual HRESULT WINAPI GetRenderingMode(DWORD *pMode) = 0;")
4445 cpp_quote(" };")
4446 cpp_quote("#else")
4447 cpp_quote(" typedef struct IVMRFilterConfigVtbl {")
4448 cpp_quote(" BEGIN_INTERFACE")
4449 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRFilterConfig *This,REFIID riid,void **ppvObject);")
4450 cpp_quote(" ULONG (WINAPI *AddRef)(IVMRFilterConfig *This);")
4451 cpp_quote(" ULONG (WINAPI *Release)(IVMRFilterConfig *This);")
4452 cpp_quote(" HRESULT (WINAPI *SetImageCompositor)(IVMRFilterConfig *This,IVMRImageCompositor *lpVMRImgCompositor);")
4453 cpp_quote(" HRESULT (WINAPI *SetNumberOfStreams)(IVMRFilterConfig *This,DWORD dwMaxStreams);")
4454 cpp_quote(" HRESULT (WINAPI *GetNumberOfStreams)(IVMRFilterConfig *This,DWORD *pdwMaxStreams);")
4455 cpp_quote(" HRESULT (WINAPI *SetRenderingPrefs)(IVMRFilterConfig *This,DWORD dwRenderFlags);")
4456 cpp_quote(" HRESULT (WINAPI *GetRenderingPrefs)(IVMRFilterConfig *This,DWORD *pdwRenderFlags);")
4457 cpp_quote(" HRESULT (WINAPI *SetRenderingMode)(IVMRFilterConfig *This,DWORD Mode);")
4458 cpp_quote(" HRESULT (WINAPI *GetRenderingMode)(IVMRFilterConfig *This,DWORD *pMode);")
4459 cpp_quote(" END_INTERFACE")
4460 cpp_quote(" } IVMRFilterConfigVtbl;")
4461 cpp_quote(" struct IVMRFilterConfig {")
4462 cpp_quote(" CONST_VTBL struct IVMRFilterConfigVtbl *lpVtbl;")
4463 cpp_quote(" };")
4464 cpp_quote("#ifdef COBJMACROS")
4465 cpp_quote("#define IVMRFilterConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
4466 cpp_quote("#define IVMRFilterConfig_AddRef(This) (This)->lpVtbl->AddRef(This)")
4467 cpp_quote("#define IVMRFilterConfig_Release(This) (This)->lpVtbl->Release(This)")
4468 cpp_quote("#define IVMRFilterConfig_SetImageCompositor(This,lpVMRImgCompositor) (This)->lpVtbl->SetImageCompositor(This,lpVMRImgCompositor)")
4469 cpp_quote("#define IVMRFilterConfig_SetNumberOfStreams(This,dwMaxStreams) (This)->lpVtbl->SetNumberOfStreams(This,dwMaxStreams)")
4470 cpp_quote("#define IVMRFilterConfig_GetNumberOfStreams(This,pdwMaxStreams) (This)->lpVtbl->GetNumberOfStreams(This,pdwMaxStreams)")
4471 cpp_quote("#define IVMRFilterConfig_SetRenderingPrefs(This,dwRenderFlags) (This)->lpVtbl->SetRenderingPrefs(This,dwRenderFlags)")
4472 cpp_quote("#define IVMRFilterConfig_GetRenderingPrefs(This,pdwRenderFlags) (This)->lpVtbl->GetRenderingPrefs(This,pdwRenderFlags)")
4473 cpp_quote("#define IVMRFilterConfig_SetRenderingMode(This,Mode) (This)->lpVtbl->SetRenderingMode(This,Mode)")
4474 cpp_quote("#define IVMRFilterConfig_GetRenderingMode(This,pMode) (This)->lpVtbl->GetRenderingMode(This,pMode)")
4475 cpp_quote("#endif")
4476 cpp_quote("#endif")
4477 cpp_quote(" HRESULT WINAPI IVMRFilterConfig_SetImageCompositor_Proxy(IVMRFilterConfig *This,IVMRImageCompositor *lpVMRImgCompositor);")
4478 cpp_quote(" void __RPC_STUB IVMRFilterConfig_SetImageCompositor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4479 cpp_quote(" HRESULT WINAPI IVMRFilterConfig_SetNumberOfStreams_Proxy(IVMRFilterConfig *This,DWORD dwMaxStreams);")
4480 cpp_quote(" void __RPC_STUB IVMRFilterConfig_SetNumberOfStreams_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4481 cpp_quote(" HRESULT WINAPI IVMRFilterConfig_GetNumberOfStreams_Proxy(IVMRFilterConfig *This,DWORD *pdwMaxStreams);")
4482 cpp_quote(" void __RPC_STUB IVMRFilterConfig_GetNumberOfStreams_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4483 cpp_quote(" HRESULT WINAPI IVMRFilterConfig_SetRenderingPrefs_Proxy(IVMRFilterConfig *This,DWORD dwRenderFlags);")
4484 cpp_quote(" void __RPC_STUB IVMRFilterConfig_SetRenderingPrefs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4485 cpp_quote(" HRESULT WINAPI IVMRFilterConfig_GetRenderingPrefs_Proxy(IVMRFilterConfig *This,DWORD *pdwRenderFlags);")
4486 cpp_quote(" void __RPC_STUB IVMRFilterConfig_GetRenderingPrefs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4487 cpp_quote(" HRESULT WINAPI IVMRFilterConfig_SetRenderingMode_Proxy(IVMRFilterConfig *This,DWORD Mode);")
4488 cpp_quote(" void __RPC_STUB IVMRFilterConfig_SetRenderingMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4489 cpp_quote(" HRESULT WINAPI IVMRFilterConfig_GetRenderingMode_Proxy(IVMRFilterConfig *This,DWORD *pMode);")
4490 cpp_quote(" void __RPC_STUB IVMRFilterConfig_GetRenderingMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4491 cpp_quote("#endif")
4492 cpp_quote("")
4493 cpp_quote("#ifndef __IVMRAspectRatioControl_INTERFACE_DEFINED__")
4494 cpp_quote("#define __IVMRAspectRatioControl_INTERFACE_DEFINED__")
4495 cpp_quote(" EXTERN_C const IID IID_IVMRAspectRatioControl;")
4496 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
4497 cpp_quote(" struct IVMRAspectRatioControl : public IUnknown {")
4498 cpp_quote(" public:")
4499 cpp_quote(" virtual HRESULT WINAPI GetAspectRatioMode(LPDWORD lpdwARMode) = 0;")
4500 cpp_quote(" virtual HRESULT WINAPI SetAspectRatioMode(DWORD dwARMode) = 0;")
4501 cpp_quote(" };")
4502 cpp_quote("#else")
4503 cpp_quote(" typedef struct IVMRAspectRatioControlVtbl {")
4504 cpp_quote(" BEGIN_INTERFACE")
4505 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRAspectRatioControl *This,REFIID riid,void **ppvObject);")
4506 cpp_quote(" ULONG (WINAPI *AddRef)(IVMRAspectRatioControl *This);")
4507 cpp_quote(" ULONG (WINAPI *Release)(IVMRAspectRatioControl *This);")
4508 cpp_quote(" HRESULT (WINAPI *GetAspectRatioMode)(IVMRAspectRatioControl *This,LPDWORD lpdwARMode);")
4509 cpp_quote(" HRESULT (WINAPI *SetAspectRatioMode)(IVMRAspectRatioControl *This,DWORD dwARMode);")
4510 cpp_quote(" END_INTERFACE")
4511 cpp_quote(" } IVMRAspectRatioControlVtbl;")
4512 cpp_quote(" struct IVMRAspectRatioControl {")
4513 cpp_quote(" CONST_VTBL struct IVMRAspectRatioControlVtbl *lpVtbl;")
4514 cpp_quote(" };")
4515 cpp_quote("#ifdef COBJMACROS")
4516 cpp_quote("#define IVMRAspectRatioControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
4517 cpp_quote("#define IVMRAspectRatioControl_AddRef(This) (This)->lpVtbl->AddRef(This)")
4518 cpp_quote("#define IVMRAspectRatioControl_Release(This) (This)->lpVtbl->Release(This)")
4519 cpp_quote("#define IVMRAspectRatioControl_GetAspectRatioMode(This,lpdwARMode) (This)->lpVtbl->GetAspectRatioMode(This,lpdwARMode)")
4520 cpp_quote("#define IVMRAspectRatioControl_SetAspectRatioMode(This,dwARMode) (This)->lpVtbl->SetAspectRatioMode(This,dwARMode)")
4521 cpp_quote("#endif")
4522 cpp_quote("#endif")
4523 cpp_quote(" HRESULT WINAPI IVMRAspectRatioControl_GetAspectRatioMode_Proxy(IVMRAspectRatioControl *This,LPDWORD lpdwARMode);")
4524 cpp_quote(" void __RPC_STUB IVMRAspectRatioControl_GetAspectRatioMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4525 cpp_quote(" HRESULT WINAPI IVMRAspectRatioControl_SetAspectRatioMode_Proxy(IVMRAspectRatioControl *This,DWORD dwARMode);")
4526 cpp_quote(" void __RPC_STUB IVMRAspectRatioControl_SetAspectRatioMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4527 cpp_quote("#endif")
4528 cpp_quote("")
4529 cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0405_0001 {")
4530 cpp_quote(" DeinterlacePref_NextBest = 0x1,DeinterlacePref_BOB = 0x2,DeinterlacePref_Weave = 0x4,DeinterlacePref_Mask = 0x7")
4531 cpp_quote(" } VMRDeinterlacePrefs;")
4532 cpp_quote("")
4533 cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0405_0002 {")
4534 cpp_quote(" DeinterlaceTech_Unknown = 0,DeinterlaceTech_BOBLineReplicate = 0x1,DeinterlaceTech_BOBVerticalStretch = 0x2,DeinterlaceTech_MedianFiltering = 0x4,")
4535 cpp_quote(" DeinterlaceTech_EdgeFiltering = 0x10,DeinterlaceTech_FieldAdaptive = 0x20,DeinterlaceTech_PixelAdaptive = 0x40,")
4536 cpp_quote(" DeinterlaceTech_MotionVectorSteered = 0x80")
4537 cpp_quote(" } VMRDeinterlaceTech;")
4538 cpp_quote("")
4539 cpp_quote(" typedef struct _VMRFrequency {")
4540 cpp_quote(" DWORD dwNumerator;")
4541 cpp_quote(" DWORD dwDenominator;")
4542 cpp_quote(" } VMRFrequency;")
4543 cpp_quote("")
4544 cpp_quote(" typedef struct _VMRVideoDesc {")
4545 cpp_quote(" DWORD dwSize;")
4546 cpp_quote(" DWORD dwSampleWidth;")
4547 cpp_quote(" DWORD dwSampleHeight;")
4548 cpp_quote(" WINBOOL SingleFieldPerSample;")
4549 cpp_quote(" DWORD dwFourCC;")
4550 cpp_quote(" VMRFrequency InputSampleFreq;")
4551 cpp_quote(" VMRFrequency OutputFrameFreq;")
4552 cpp_quote(" } VMRVideoDesc;")
4553 cpp_quote("")
4554 cpp_quote(" typedef struct _VMRDeinterlaceCaps {")
4555 cpp_quote(" DWORD dwSize;")
4556 cpp_quote(" DWORD dwNumPreviousOutputFrames;")
4557 cpp_quote(" DWORD dwNumForwardRefSamples;")
4558 cpp_quote(" DWORD dwNumBackwardRefSamples;")
4559 cpp_quote(" VMRDeinterlaceTech DeinterlaceTechnology;")
4560 cpp_quote(" } VMRDeinterlaceCaps;")
4561 cpp_quote("")
4562 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0405_v0_0_c_ifspec;")
4563 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0405_v0_0_s_ifspec;")
4564 cpp_quote("#ifndef __IVMRDeinterlaceControl_INTERFACE_DEFINED__")
4565 cpp_quote("#define __IVMRDeinterlaceControl_INTERFACE_DEFINED__")
4566 cpp_quote(" EXTERN_C const IID IID_IVMRDeinterlaceControl;")
4567 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
4568 cpp_quote(" struct IVMRDeinterlaceControl : public IUnknown {")
4569 cpp_quote(" public:")
4570 cpp_quote(" virtual HRESULT WINAPI GetNumberOfDeinterlaceModes(VMRVideoDesc *lpVideoDescription,LPDWORD lpdwNumDeinterlaceModes,LPGUID lpDeinterlaceModes) = 0;")
4571 cpp_quote(" virtual HRESULT WINAPI GetDeinterlaceModeCaps(LPGUID lpDeinterlaceMode,VMRVideoDesc *lpVideoDescription,VMRDeinterlaceCaps *lpDeinterlaceCaps) = 0;")
4572 cpp_quote(" virtual HRESULT WINAPI GetDeinterlaceMode(DWORD dwStreamID,LPGUID lpDeinterlaceMode) = 0;")
4573 cpp_quote(" virtual HRESULT WINAPI SetDeinterlaceMode(DWORD dwStreamID,LPGUID lpDeinterlaceMode) = 0;")
4574 cpp_quote(" virtual HRESULT WINAPI GetDeinterlacePrefs(LPDWORD lpdwDeinterlacePrefs) = 0;")
4575 cpp_quote(" virtual HRESULT WINAPI SetDeinterlacePrefs(DWORD dwDeinterlacePrefs) = 0;")
4576 cpp_quote(" virtual HRESULT WINAPI GetActualDeinterlaceMode(DWORD dwStreamID,LPGUID lpDeinterlaceMode) = 0;")
4577 cpp_quote(" };")
4578 cpp_quote("#else")
4579 cpp_quote(" typedef struct IVMRDeinterlaceControlVtbl {")
4580 cpp_quote(" BEGIN_INTERFACE")
4581 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRDeinterlaceControl *This,REFIID riid,void **ppvObject);")
4582 cpp_quote(" ULONG (WINAPI *AddRef)(IVMRDeinterlaceControl *This);")
4583 cpp_quote(" ULONG (WINAPI *Release)(IVMRDeinterlaceControl *This);")
4584 cpp_quote(" HRESULT (WINAPI *GetNumberOfDeinterlaceModes)(IVMRDeinterlaceControl *This,VMRVideoDesc *lpVideoDescription,LPDWORD lpdwNumDeinterlaceModes,LPGUID lpDeinterlaceModes);")
4585 cpp_quote(" HRESULT (WINAPI *GetDeinterlaceModeCaps)(IVMRDeinterlaceControl *This,LPGUID lpDeinterlaceMode,VMRVideoDesc *lpVideoDescription,VMRDeinterlaceCaps *lpDeinterlaceCaps);")
4586 cpp_quote(" HRESULT (WINAPI *GetDeinterlaceMode)(IVMRDeinterlaceControl *This,DWORD dwStreamID,LPGUID lpDeinterlaceMode);")
4587 cpp_quote(" HRESULT (WINAPI *SetDeinterlaceMode)(IVMRDeinterlaceControl *This,DWORD dwStreamID,LPGUID lpDeinterlaceMode);")
4588 cpp_quote(" HRESULT (WINAPI *GetDeinterlacePrefs)(IVMRDeinterlaceControl *This,LPDWORD lpdwDeinterlacePrefs);")
4589 cpp_quote(" HRESULT (WINAPI *SetDeinterlacePrefs)(IVMRDeinterlaceControl *This,DWORD dwDeinterlacePrefs);")
4590 cpp_quote(" HRESULT (WINAPI *GetActualDeinterlaceMode)(IVMRDeinterlaceControl *This,DWORD dwStreamID,LPGUID lpDeinterlaceMode);")
4591 cpp_quote(" END_INTERFACE")
4592 cpp_quote(" } IVMRDeinterlaceControlVtbl;")
4593 cpp_quote(" struct IVMRDeinterlaceControl {")
4594 cpp_quote(" CONST_VTBL struct IVMRDeinterlaceControlVtbl *lpVtbl;")
4595 cpp_quote(" };")
4596 cpp_quote("#ifdef COBJMACROS")
4597 cpp_quote("#define IVMRDeinterlaceControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
4598 cpp_quote("#define IVMRDeinterlaceControl_AddRef(This) (This)->lpVtbl->AddRef(This)")
4599 cpp_quote("#define IVMRDeinterlaceControl_Release(This) (This)->lpVtbl->Release(This)")
4600 cpp_quote("#define IVMRDeinterlaceControl_GetNumberOfDeinterlaceModes(This,lpVideoDescription,lpdwNumDeinterlaceModes,lpDeinterlaceModes) (This)->lpVtbl->GetNumberOfDeinterlaceModes(This,lpVideoDescription,lpdwNumDeinterlaceModes,lpDeinterlaceModes)")
4601 cpp_quote("#define IVMRDeinterlaceControl_GetDeinterlaceModeCaps(This,lpDeinterlaceMode,lpVideoDescription,lpDeinterlaceCaps) (This)->lpVtbl->GetDeinterlaceModeCaps(This,lpDeinterlaceMode,lpVideoDescription,lpDeinterlaceCaps)")
4602 cpp_quote("#define IVMRDeinterlaceControl_GetDeinterlaceMode(This,dwStreamID,lpDeinterlaceMode) (This)->lpVtbl->GetDeinterlaceMode(This,dwStreamID,lpDeinterlaceMode)")
4603 cpp_quote("#define IVMRDeinterlaceControl_SetDeinterlaceMode(This,dwStreamID,lpDeinterlaceMode) (This)->lpVtbl->SetDeinterlaceMode(This,dwStreamID,lpDeinterlaceMode)")
4604 cpp_quote("#define IVMRDeinterlaceControl_GetDeinterlacePrefs(This,lpdwDeinterlacePrefs) (This)->lpVtbl->GetDeinterlacePrefs(This,lpdwDeinterlacePrefs)")
4605 cpp_quote("#define IVMRDeinterlaceControl_SetDeinterlacePrefs(This,dwDeinterlacePrefs) (This)->lpVtbl->SetDeinterlacePrefs(This,dwDeinterlacePrefs)")
4606 cpp_quote("#define IVMRDeinterlaceControl_GetActualDeinterlaceMode(This,dwStreamID,lpDeinterlaceMode) (This)->lpVtbl->GetActualDeinterlaceMode(This,dwStreamID,lpDeinterlaceMode)")
4607 cpp_quote("#endif")
4608 cpp_quote("#endif")
4609 cpp_quote(" HRESULT WINAPI IVMRDeinterlaceControl_GetNumberOfDeinterlaceModes_Proxy(IVMRDeinterlaceControl *This,VMRVideoDesc *lpVideoDescription,LPDWORD lpdwNumDeinterlaceModes,LPGUID lpDeinterlaceModes);")
4610 cpp_quote(" void __RPC_STUB IVMRDeinterlaceControl_GetNumberOfDeinterlaceModes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4611 cpp_quote(" HRESULT WINAPI IVMRDeinterlaceControl_GetDeinterlaceModeCaps_Proxy(IVMRDeinterlaceControl *This,LPGUID lpDeinterlaceMode,VMRVideoDesc *lpVideoDescription,VMRDeinterlaceCaps *lpDeinterlaceCaps);")
4612 cpp_quote(" void __RPC_STUB IVMRDeinterlaceControl_GetDeinterlaceModeCaps_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4613 cpp_quote(" HRESULT WINAPI IVMRDeinterlaceControl_GetDeinterlaceMode_Proxy(IVMRDeinterlaceControl *This,DWORD dwStreamID,LPGUID lpDeinterlaceMode);")
4614 cpp_quote(" void __RPC_STUB IVMRDeinterlaceControl_GetDeinterlaceMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4615 cpp_quote(" HRESULT WINAPI IVMRDeinterlaceControl_SetDeinterlaceMode_Proxy(IVMRDeinterlaceControl *This,DWORD dwStreamID,LPGUID lpDeinterlaceMode);")
4616 cpp_quote(" void __RPC_STUB IVMRDeinterlaceControl_SetDeinterlaceMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4617 cpp_quote(" HRESULT WINAPI IVMRDeinterlaceControl_GetDeinterlacePrefs_Proxy(IVMRDeinterlaceControl *This,LPDWORD lpdwDeinterlacePrefs);")
4618 cpp_quote(" void __RPC_STUB IVMRDeinterlaceControl_GetDeinterlacePrefs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4619 cpp_quote(" HRESULT WINAPI IVMRDeinterlaceControl_SetDeinterlacePrefs_Proxy(IVMRDeinterlaceControl *This,DWORD dwDeinterlacePrefs);")
4620 cpp_quote(" void __RPC_STUB IVMRDeinterlaceControl_SetDeinterlacePrefs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4621 cpp_quote(" HRESULT WINAPI IVMRDeinterlaceControl_GetActualDeinterlaceMode_Proxy(IVMRDeinterlaceControl *This,DWORD dwStreamID,LPGUID lpDeinterlaceMode);")
4622 cpp_quote(" void __RPC_STUB IVMRDeinterlaceControl_GetActualDeinterlaceMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4623 cpp_quote("#endif")
4624 cpp_quote("")
4625 cpp_quote(" typedef struct _VMRALPHABITMAP {")
4626 cpp_quote(" DWORD dwFlags;")
4627 cpp_quote(" HDC hdc;")
4628 cpp_quote(" LPDIRECTDRAWSURFACE7 pDDS;")
4629 cpp_quote(" RECT rSrc;")
4630 cpp_quote(" NORMALIZEDRECT rDest;")
4631 cpp_quote(" FLOAT fAlpha;")
4632 cpp_quote(" COLORREF clrSrcKey;")
4633 cpp_quote(" } VMRALPHABITMAP;")
4634 cpp_quote("")
4635 cpp_quote(" typedef struct _VMRALPHABITMAP *PVMRALPHABITMAP;")
4636 cpp_quote("")
4637 cpp_quote("#define VMRBITMAP_DISABLE 0x00000001")
4638 cpp_quote("#define VMRBITMAP_HDC 0x00000002")
4639 cpp_quote("#define VMRBITMAP_ENTIREDDS 0x00000004")
4640 cpp_quote("#define VMRBITMAP_SRCCOLORKEY 0x00000008")
4641 cpp_quote("#define VMRBITMAP_SRCRECT 0x00000010")
4642 cpp_quote("")
4643 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0406_v0_0_c_ifspec;")
4644 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0406_v0_0_s_ifspec;")
4645 cpp_quote("#ifndef __IVMRMixerBitmap_INTERFACE_DEFINED__")
4646 cpp_quote("#define __IVMRMixerBitmap_INTERFACE_DEFINED__")
4647 cpp_quote(" EXTERN_C const IID IID_IVMRMixerBitmap;")
4648 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
4649 cpp_quote(" struct IVMRMixerBitmap : public IUnknown {")
4650 cpp_quote(" public:")
4651 cpp_quote(" virtual HRESULT WINAPI SetAlphaBitmap(const VMRALPHABITMAP *pBmpParms) = 0;")
4652 cpp_quote(" virtual HRESULT WINAPI UpdateAlphaBitmapParameters(PVMRALPHABITMAP pBmpParms) = 0;")
4653 cpp_quote(" virtual HRESULT WINAPI GetAlphaBitmapParameters(PVMRALPHABITMAP pBmpParms) = 0;")
4654 cpp_quote(" };")
4655 cpp_quote("#else")
4656 cpp_quote(" typedef struct IVMRMixerBitmapVtbl {")
4657 cpp_quote(" BEGIN_INTERFACE")
4658 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRMixerBitmap *This,REFIID riid,void **ppvObject);")
4659 cpp_quote(" ULONG (WINAPI *AddRef)(IVMRMixerBitmap *This);")
4660 cpp_quote(" ULONG (WINAPI *Release)(IVMRMixerBitmap *This);")
4661 cpp_quote(" HRESULT (WINAPI *SetAlphaBitmap)(IVMRMixerBitmap *This,const VMRALPHABITMAP *pBmpParms);")
4662 cpp_quote(" HRESULT (WINAPI *UpdateAlphaBitmapParameters)(IVMRMixerBitmap *This,PVMRALPHABITMAP pBmpParms);")
4663 cpp_quote(" HRESULT (WINAPI *GetAlphaBitmapParameters)(IVMRMixerBitmap *This,PVMRALPHABITMAP pBmpParms);")
4664 cpp_quote(" END_INTERFACE")
4665 cpp_quote(" } IVMRMixerBitmapVtbl;")
4666 cpp_quote(" struct IVMRMixerBitmap {")
4667 cpp_quote(" CONST_VTBL struct IVMRMixerBitmapVtbl *lpVtbl;")
4668 cpp_quote(" };")
4669 cpp_quote("#ifdef COBJMACROS")
4670 cpp_quote("#define IVMRMixerBitmap_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
4671 cpp_quote("#define IVMRMixerBitmap_AddRef(This) (This)->lpVtbl->AddRef(This)")
4672 cpp_quote("#define IVMRMixerBitmap_Release(This) (This)->lpVtbl->Release(This)")
4673 cpp_quote("#define IVMRMixerBitmap_SetAlphaBitmap(This,pBmpParms) (This)->lpVtbl->SetAlphaBitmap(This,pBmpParms)")
4674 cpp_quote("#define IVMRMixerBitmap_UpdateAlphaBitmapParameters(This,pBmpParms) (This)->lpVtbl->UpdateAlphaBitmapParameters(This,pBmpParms)")
4675 cpp_quote("#define IVMRMixerBitmap_GetAlphaBitmapParameters(This,pBmpParms) (This)->lpVtbl->GetAlphaBitmapParameters(This,pBmpParms)")
4676 cpp_quote("#endif")
4677 cpp_quote("#endif")
4678 cpp_quote(" HRESULT WINAPI IVMRMixerBitmap_SetAlphaBitmap_Proxy(IVMRMixerBitmap *This,const VMRALPHABITMAP *pBmpParms);")
4679 cpp_quote(" void __RPC_STUB IVMRMixerBitmap_SetAlphaBitmap_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4680 cpp_quote(" HRESULT WINAPI IVMRMixerBitmap_UpdateAlphaBitmapParameters_Proxy(IVMRMixerBitmap *This,PVMRALPHABITMAP pBmpParms);")
4681 cpp_quote(" void __RPC_STUB IVMRMixerBitmap_UpdateAlphaBitmapParameters_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4682 cpp_quote(" HRESULT WINAPI IVMRMixerBitmap_GetAlphaBitmapParameters_Proxy(IVMRMixerBitmap *This,PVMRALPHABITMAP pBmpParms);")
4683 cpp_quote(" void __RPC_STUB IVMRMixerBitmap_GetAlphaBitmapParameters_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4684 cpp_quote("#endif")
4685 cpp_quote("")
4686 cpp_quote(" typedef struct _VMRVIDEOSTREAMINFO {")
4687 cpp_quote(" LPDIRECTDRAWSURFACE7 pddsVideoSurface;")
4688 cpp_quote(" DWORD dwWidth;")
4689 cpp_quote(" DWORD dwHeight;")
4690 cpp_quote(" DWORD dwStrmID;")
4691 cpp_quote(" FLOAT fAlpha;")
4692 cpp_quote(" DDCOLORKEY ddClrKey;")
4693 cpp_quote(" NORMALIZEDRECT rNormal;")
4694 cpp_quote(" } VMRVIDEOSTREAMINFO;")
4695 cpp_quote("")
4696 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0407_v0_0_c_ifspec;")
4697 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0407_v0_0_s_ifspec;")
4698 cpp_quote("#ifndef __IVMRImageCompositor_INTERFACE_DEFINED__")
4699 cpp_quote("#define __IVMRImageCompositor_INTERFACE_DEFINED__")
4700 cpp_quote(" EXTERN_C const IID IID_IVMRImageCompositor;")
4701 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
4702 cpp_quote(" struct IVMRImageCompositor : public IUnknown {")
4703 cpp_quote(" public:")
4704 cpp_quote(" virtual HRESULT WINAPI InitCompositionTarget(IUnknown *pD3DDevice,LPDIRECTDRAWSURFACE7 pddsRenderTarget) = 0;")
4705 cpp_quote(" virtual HRESULT WINAPI TermCompositionTarget(IUnknown *pD3DDevice,LPDIRECTDRAWSURFACE7 pddsRenderTarget) = 0;")
4706 cpp_quote(" virtual HRESULT WINAPI SetStreamMediaType(DWORD dwStrmID,AM_MEDIA_TYPE *pmt,WINBOOL fTexture) = 0;")
4707 cpp_quote(" virtual HRESULT WINAPI CompositeImage(IUnknown *pD3DDevice,LPDIRECTDRAWSURFACE7 pddsRenderTarget,AM_MEDIA_TYPE *pmtRenderTarget,REFERENCE_TIME rtStart,REFERENCE_TIME rtEnd,DWORD dwClrBkGnd,VMRVIDEOSTREAMINFO *pVideoStreamInfo,UINT cStreams) = 0;")
4708 cpp_quote(" };")
4709 cpp_quote("#else")
4710 cpp_quote(" typedef struct IVMRImageCompositorVtbl {")
4711 cpp_quote(" BEGIN_INTERFACE")
4712 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRImageCompositor *This,REFIID riid,void **ppvObject);")
4713 cpp_quote(" ULONG (WINAPI *AddRef)(IVMRImageCompositor *This);")
4714 cpp_quote(" ULONG (WINAPI *Release)(IVMRImageCompositor *This);")
4715 cpp_quote(" HRESULT (WINAPI *InitCompositionTarget)(IVMRImageCompositor *This,IUnknown *pD3DDevice,LPDIRECTDRAWSURFACE7 pddsRenderTarget);")
4716 cpp_quote(" HRESULT (WINAPI *TermCompositionTarget)(IVMRImageCompositor *This,IUnknown *pD3DDevice,LPDIRECTDRAWSURFACE7 pddsRenderTarget);")
4717 cpp_quote(" HRESULT (WINAPI *SetStreamMediaType)(IVMRImageCompositor *This,DWORD dwStrmID,AM_MEDIA_TYPE *pmt,WINBOOL fTexture);")
4718 cpp_quote(" HRESULT (WINAPI *CompositeImage)(IVMRImageCompositor *This,IUnknown *pD3DDevice,LPDIRECTDRAWSURFACE7 pddsRenderTarget,AM_MEDIA_TYPE *pmtRenderTarget,REFERENCE_TIME rtStart,REFERENCE_TIME rtEnd,DWORD dwClrBkGnd,VMRVIDEOSTREAMINFO *pVideoStreamInfo,UINT cStreams);")
4719 cpp_quote(" END_INTERFACE")
4720 cpp_quote(" } IVMRImageCompositorVtbl;")
4721 cpp_quote(" struct IVMRImageCompositor {")
4722 cpp_quote(" CONST_VTBL struct IVMRImageCompositorVtbl *lpVtbl;")
4723 cpp_quote(" };")
4724 cpp_quote("#ifdef COBJMACROS")
4725 cpp_quote("#define IVMRImageCompositor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
4726 cpp_quote("#define IVMRImageCompositor_AddRef(This) (This)->lpVtbl->AddRef(This)")
4727 cpp_quote("#define IVMRImageCompositor_Release(This) (This)->lpVtbl->Release(This)")
4728 cpp_quote("#define IVMRImageCompositor_InitCompositionTarget(This,pD3DDevice,pddsRenderTarget) (This)->lpVtbl->InitCompositionTarget(This,pD3DDevice,pddsRenderTarget)")
4729 cpp_quote("#define IVMRImageCompositor_TermCompositionTarget(This,pD3DDevice,pddsRenderTarget) (This)->lpVtbl->TermCompositionTarget(This,pD3DDevice,pddsRenderTarget)")
4730 cpp_quote("#define IVMRImageCompositor_SetStreamMediaType(This,dwStrmID,pmt,fTexture) (This)->lpVtbl->SetStreamMediaType(This,dwStrmID,pmt,fTexture)")
4731 cpp_quote("#define IVMRImageCompositor_CompositeImage(This,pD3DDevice,pddsRenderTarget,pmtRenderTarget,rtStart,rtEnd,dwClrBkGnd,pVideoStreamInfo,cStreams) (This)->lpVtbl->CompositeImage(This,pD3DDevice,pddsRenderTarget,pmtRenderTarget,rtStart,rtEnd,dwClrBkGnd,pVideoStreamInfo,cStreams)")
4732 cpp_quote("#endif")
4733 cpp_quote("#endif")
4734 cpp_quote(" HRESULT WINAPI IVMRImageCompositor_InitCompositionTarget_Proxy(IVMRImageCompositor *This,IUnknown *pD3DDevice,LPDIRECTDRAWSURFACE7 pddsRenderTarget);")
4735 cpp_quote(" void __RPC_STUB IVMRImageCompositor_InitCompositionTarget_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4736 cpp_quote(" HRESULT WINAPI IVMRImageCompositor_TermCompositionTarget_Proxy(IVMRImageCompositor *This,IUnknown *pD3DDevice,LPDIRECTDRAWSURFACE7 pddsRenderTarget);")
4737 cpp_quote(" void __RPC_STUB IVMRImageCompositor_TermCompositionTarget_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4738 cpp_quote(" HRESULT WINAPI IVMRImageCompositor_SetStreamMediaType_Proxy(IVMRImageCompositor *This,DWORD dwStrmID,AM_MEDIA_TYPE *pmt,WINBOOL fTexture);")
4739 cpp_quote(" void __RPC_STUB IVMRImageCompositor_SetStreamMediaType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4740 cpp_quote(" HRESULT WINAPI IVMRImageCompositor_CompositeImage_Proxy(IVMRImageCompositor *This,IUnknown *pD3DDevice,LPDIRECTDRAWSURFACE7 pddsRenderTarget,AM_MEDIA_TYPE *pmtRenderTarget,REFERENCE_TIME rtStart,REFERENCE_TIME rtEnd,DWORD dwClrBkGnd,VMRVIDEOSTREAMINFO *pVideoStreamInfo,UINT cStreams);")
4741 cpp_quote(" void __RPC_STUB IVMRImageCompositor_CompositeImage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4742 cpp_quote("#endif")
4743 cpp_quote("")
4744 cpp_quote("#ifndef __IVMRVideoStreamControl_INTERFACE_DEFINED__")
4745 cpp_quote("#define __IVMRVideoStreamControl_INTERFACE_DEFINED__")
4746 cpp_quote(" EXTERN_C const IID IID_IVMRVideoStreamControl;")
4747 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
4748 cpp_quote(" struct IVMRVideoStreamControl : public IUnknown {")
4749 cpp_quote(" public:")
4750 cpp_quote(" virtual HRESULT WINAPI SetColorKey(LPDDCOLORKEY lpClrKey) = 0;")
4751 cpp_quote(" virtual HRESULT WINAPI GetColorKey(LPDDCOLORKEY lpClrKey) = 0;")
4752 cpp_quote(" virtual HRESULT WINAPI SetStreamActiveState(WINBOOL fActive) = 0;")
4753 cpp_quote(" virtual HRESULT WINAPI GetStreamActiveState(WINBOOL *lpfActive) = 0;")
4754 cpp_quote(" };")
4755 cpp_quote("#else")
4756 cpp_quote(" typedef struct IVMRVideoStreamControlVtbl {")
4757 cpp_quote(" BEGIN_INTERFACE")
4758 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRVideoStreamControl *This,REFIID riid,void **ppvObject);")
4759 cpp_quote(" ULONG (WINAPI *AddRef)(IVMRVideoStreamControl *This);")
4760 cpp_quote(" ULONG (WINAPI *Release)(IVMRVideoStreamControl *This);")
4761 cpp_quote(" HRESULT (WINAPI *SetColorKey)(IVMRVideoStreamControl *This,LPDDCOLORKEY lpClrKey);")
4762 cpp_quote(" HRESULT (WINAPI *GetColorKey)(IVMRVideoStreamControl *This,LPDDCOLORKEY lpClrKey);")
4763 cpp_quote(" HRESULT (WINAPI *SetStreamActiveState)(IVMRVideoStreamControl *This,WINBOOL fActive);")
4764 cpp_quote(" HRESULT (WINAPI *GetStreamActiveState)(IVMRVideoStreamControl *This,WINBOOL *lpfActive);")
4765 cpp_quote(" END_INTERFACE")
4766 cpp_quote(" } IVMRVideoStreamControlVtbl;")
4767 cpp_quote(" struct IVMRVideoStreamControl {")
4768 cpp_quote(" CONST_VTBL struct IVMRVideoStreamControlVtbl *lpVtbl;")
4769 cpp_quote(" };")
4770 cpp_quote("#ifdef COBJMACROS")
4771 cpp_quote("#define IVMRVideoStreamControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
4772 cpp_quote("#define IVMRVideoStreamControl_AddRef(This) (This)->lpVtbl->AddRef(This)")
4773 cpp_quote("#define IVMRVideoStreamControl_Release(This) (This)->lpVtbl->Release(This)")
4774 cpp_quote("#define IVMRVideoStreamControl_SetColorKey(This,lpClrKey) (This)->lpVtbl->SetColorKey(This,lpClrKey)")
4775 cpp_quote("#define IVMRVideoStreamControl_GetColorKey(This,lpClrKey) (This)->lpVtbl->GetColorKey(This,lpClrKey)")
4776 cpp_quote("#define IVMRVideoStreamControl_SetStreamActiveState(This,fActive) (This)->lpVtbl->SetStreamActiveState(This,fActive)")
4777 cpp_quote("#define IVMRVideoStreamControl_GetStreamActiveState(This,lpfActive) (This)->lpVtbl->GetStreamActiveState(This,lpfActive)")
4778 cpp_quote("#endif")
4779 cpp_quote("#endif")
4780 cpp_quote(" HRESULT WINAPI IVMRVideoStreamControl_SetColorKey_Proxy(IVMRVideoStreamControl *This,LPDDCOLORKEY lpClrKey);")
4781 cpp_quote(" void __RPC_STUB IVMRVideoStreamControl_SetColorKey_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4782 cpp_quote(" HRESULT WINAPI IVMRVideoStreamControl_GetColorKey_Proxy(IVMRVideoStreamControl *This,LPDDCOLORKEY lpClrKey);")
4783 cpp_quote(" void __RPC_STUB IVMRVideoStreamControl_GetColorKey_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4784 cpp_quote(" HRESULT WINAPI IVMRVideoStreamControl_SetStreamActiveState_Proxy(IVMRVideoStreamControl *This,WINBOOL fActive);")
4785 cpp_quote(" void __RPC_STUB IVMRVideoStreamControl_SetStreamActiveState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4786 cpp_quote(" HRESULT WINAPI IVMRVideoStreamControl_GetStreamActiveState_Proxy(IVMRVideoStreamControl *This,WINBOOL *lpfActive);")
4787 cpp_quote(" void __RPC_STUB IVMRVideoStreamControl_GetStreamActiveState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4788 cpp_quote("#endif")
4789 cpp_quote("")
4790 cpp_quote("#ifndef __IVMRSurface_INTERFACE_DEFINED__")
4791 cpp_quote("#define __IVMRSurface_INTERFACE_DEFINED__")
4792 cpp_quote(" EXTERN_C const IID IID_IVMRSurface;")
4793 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
4794 cpp_quote(" struct IVMRSurface : public IUnknown {")
4795 cpp_quote(" public:")
4796 cpp_quote(" virtual HRESULT WINAPI IsSurfaceLocked(void) = 0;")
4797 cpp_quote(" virtual HRESULT WINAPI LockSurface(BYTE **lpSurface) = 0;")
4798 cpp_quote(" virtual HRESULT WINAPI UnlockSurface(void) = 0;")
4799 cpp_quote(" virtual HRESULT WINAPI GetSurface(LPDIRECTDRAWSURFACE7 *lplpSurface) = 0;")
4800 cpp_quote(" };")
4801 cpp_quote("#else")
4802 cpp_quote(" typedef struct IVMRSurfaceVtbl {")
4803 cpp_quote(" BEGIN_INTERFACE")
4804 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRSurface *This,REFIID riid,void **ppvObject);")
4805 cpp_quote(" ULONG (WINAPI *AddRef)(IVMRSurface *This);")
4806 cpp_quote(" ULONG (WINAPI *Release)(IVMRSurface *This);")
4807 cpp_quote(" HRESULT (WINAPI *IsSurfaceLocked)(IVMRSurface *This);")
4808 cpp_quote(" HRESULT (WINAPI *LockSurface)(IVMRSurface *This,BYTE **lpSurface);")
4809 cpp_quote(" HRESULT (WINAPI *UnlockSurface)(IVMRSurface *This);")
4810 cpp_quote(" HRESULT (WINAPI *GetSurface)(IVMRSurface *This,LPDIRECTDRAWSURFACE7 *lplpSurface);")
4811 cpp_quote(" END_INTERFACE")
4812 cpp_quote(" } IVMRSurfaceVtbl;")
4813 cpp_quote(" struct IVMRSurface {")
4814 cpp_quote(" CONST_VTBL struct IVMRSurfaceVtbl *lpVtbl;")
4815 cpp_quote(" };")
4816 cpp_quote("#ifdef COBJMACROS")
4817 cpp_quote("#define IVMRSurface_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
4818 cpp_quote("#define IVMRSurface_AddRef(This) (This)->lpVtbl->AddRef(This)")
4819 cpp_quote("#define IVMRSurface_Release(This) (This)->lpVtbl->Release(This)")
4820 cpp_quote("#define IVMRSurface_IsSurfaceLocked(This) (This)->lpVtbl->IsSurfaceLocked(This)")
4821 cpp_quote("#define IVMRSurface_LockSurface(This,lpSurface) (This)->lpVtbl->LockSurface(This,lpSurface)")
4822 cpp_quote("#define IVMRSurface_UnlockSurface(This) (This)->lpVtbl->UnlockSurface(This)")
4823 cpp_quote("#define IVMRSurface_GetSurface(This,lplpSurface) (This)->lpVtbl->GetSurface(This,lplpSurface)")
4824 cpp_quote("#endif")
4825 cpp_quote("#endif")
4826 cpp_quote(" HRESULT WINAPI IVMRSurface_IsSurfaceLocked_Proxy(IVMRSurface *This);")
4827 cpp_quote(" void __RPC_STUB IVMRSurface_IsSurfaceLocked_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4828 cpp_quote(" HRESULT WINAPI IVMRSurface_LockSurface_Proxy(IVMRSurface *This,BYTE **lpSurface);")
4829 cpp_quote(" void __RPC_STUB IVMRSurface_LockSurface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4830 cpp_quote(" HRESULT WINAPI IVMRSurface_UnlockSurface_Proxy(IVMRSurface *This);")
4831 cpp_quote(" void __RPC_STUB IVMRSurface_UnlockSurface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4832 cpp_quote(" HRESULT WINAPI IVMRSurface_GetSurface_Proxy(IVMRSurface *This,LPDIRECTDRAWSURFACE7 *lplpSurface);")
4833 cpp_quote(" void __RPC_STUB IVMRSurface_GetSurface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4834 cpp_quote("#endif")
4835 cpp_quote("")
4836 cpp_quote("#ifndef __IVMRImagePresenterConfig_INTERFACE_DEFINED__")
4837 cpp_quote("#define __IVMRImagePresenterConfig_INTERFACE_DEFINED__")
4838 cpp_quote(" EXTERN_C const IID IID_IVMRImagePresenterConfig;")
4839 cpp_quote("")
4840 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
4841 cpp_quote(" struct IVMRImagePresenterConfig : public IUnknown {")
4842 cpp_quote(" public:")
4843 cpp_quote(" virtual HRESULT WINAPI SetRenderingPrefs(DWORD dwRenderFlags) = 0;")
4844 cpp_quote(" virtual HRESULT WINAPI GetRenderingPrefs(DWORD *dwRenderFlags) = 0;")
4845 cpp_quote(" };")
4846 cpp_quote("#else")
4847 cpp_quote(" typedef struct IVMRImagePresenterConfigVtbl {")
4848 cpp_quote(" BEGIN_INTERFACE")
4849 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRImagePresenterConfig *This,REFIID riid,void **ppvObject);")
4850 cpp_quote(" ULONG (WINAPI *AddRef)(IVMRImagePresenterConfig *This);")
4851 cpp_quote(" ULONG (WINAPI *Release)(IVMRImagePresenterConfig *This);")
4852 cpp_quote(" HRESULT (WINAPI *SetRenderingPrefs)(IVMRImagePresenterConfig *This,DWORD dwRenderFlags);")
4853 cpp_quote(" HRESULT (WINAPI *GetRenderingPrefs)(IVMRImagePresenterConfig *This,DWORD *dwRenderFlags);")
4854 cpp_quote(" END_INTERFACE")
4855 cpp_quote(" } IVMRImagePresenterConfigVtbl;")
4856 cpp_quote(" struct IVMRImagePresenterConfig {")
4857 cpp_quote(" CONST_VTBL struct IVMRImagePresenterConfigVtbl *lpVtbl;")
4858 cpp_quote(" };")
4859 cpp_quote("#ifdef COBJMACROS")
4860 cpp_quote("#define IVMRImagePresenterConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
4861 cpp_quote("#define IVMRImagePresenterConfig_AddRef(This) (This)->lpVtbl->AddRef(This)")
4862 cpp_quote("#define IVMRImagePresenterConfig_Release(This) (This)->lpVtbl->Release(This)")
4863 cpp_quote("#define IVMRImagePresenterConfig_SetRenderingPrefs(This,dwRenderFlags) (This)->lpVtbl->SetRenderingPrefs(This,dwRenderFlags)")
4864 cpp_quote("#define IVMRImagePresenterConfig_GetRenderingPrefs(This,dwRenderFlags) (This)->lpVtbl->GetRenderingPrefs(This,dwRenderFlags)")
4865 cpp_quote("#endif")
4866 cpp_quote("#endif")
4867 cpp_quote(" HRESULT WINAPI IVMRImagePresenterConfig_SetRenderingPrefs_Proxy(IVMRImagePresenterConfig *This,DWORD dwRenderFlags);")
4868 cpp_quote(" void __RPC_STUB IVMRImagePresenterConfig_SetRenderingPrefs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4869 cpp_quote(" HRESULT WINAPI IVMRImagePresenterConfig_GetRenderingPrefs_Proxy(IVMRImagePresenterConfig *This,DWORD *dwRenderFlags);")
4870 cpp_quote(" void __RPC_STUB IVMRImagePresenterConfig_GetRenderingPrefs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4871 cpp_quote("#endif")
4872 cpp_quote("")
4873 cpp_quote("#ifndef __IVMRImagePresenterExclModeConfig_INTERFACE_DEFINED__")
4874 cpp_quote("#define __IVMRImagePresenterExclModeConfig_INTERFACE_DEFINED__")
4875 cpp_quote(" EXTERN_C const IID IID_IVMRImagePresenterExclModeConfig;")
4876 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
4877 cpp_quote(" struct IVMRImagePresenterExclModeConfig : public IVMRImagePresenterConfig {")
4878 cpp_quote(" public:")
4879 cpp_quote(" virtual HRESULT WINAPI SetXlcModeDDObjAndPrimarySurface(LPDIRECTDRAW7 lpDDObj,LPDIRECTDRAWSURFACE7 lpPrimarySurf) = 0;")
4880 cpp_quote(" virtual HRESULT WINAPI GetXlcModeDDObjAndPrimarySurface(LPDIRECTDRAW7 *lpDDObj,LPDIRECTDRAWSURFACE7 *lpPrimarySurf) = 0;")
4881 cpp_quote(" };")
4882 cpp_quote("#else")
4883 cpp_quote(" typedef struct IVMRImagePresenterExclModeConfigVtbl {")
4884 cpp_quote(" BEGIN_INTERFACE")
4885 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRImagePresenterExclModeConfig *This,REFIID riid,void **ppvObject);")
4886 cpp_quote(" ULONG (WINAPI *AddRef)(IVMRImagePresenterExclModeConfig *This);")
4887 cpp_quote(" ULONG (WINAPI *Release)(IVMRImagePresenterExclModeConfig *This);")
4888 cpp_quote(" HRESULT (WINAPI *SetRenderingPrefs)(IVMRImagePresenterExclModeConfig *This,DWORD dwRenderFlags);")
4889 cpp_quote(" HRESULT (WINAPI *GetRenderingPrefs)(IVMRImagePresenterExclModeConfig *This,DWORD *dwRenderFlags);")
4890 cpp_quote(" HRESULT (WINAPI *SetXlcModeDDObjAndPrimarySurface)(IVMRImagePresenterExclModeConfig *This,LPDIRECTDRAW7 lpDDObj,LPDIRECTDRAWSURFACE7 lpPrimarySurf);")
4891 cpp_quote(" HRESULT (WINAPI *GetXlcModeDDObjAndPrimarySurface)(IVMRImagePresenterExclModeConfig *This,LPDIRECTDRAW7 *lpDDObj,LPDIRECTDRAWSURFACE7 *lpPrimarySurf);")
4892 cpp_quote(" END_INTERFACE")
4893 cpp_quote(" } IVMRImagePresenterExclModeConfigVtbl;")
4894 cpp_quote(" struct IVMRImagePresenterExclModeConfig {")
4895 cpp_quote(" CONST_VTBL struct IVMRImagePresenterExclModeConfigVtbl *lpVtbl;")
4896 cpp_quote(" };")
4897 cpp_quote("#ifdef COBJMACROS")
4898 cpp_quote("#define IVMRImagePresenterExclModeConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
4899 cpp_quote("#define IVMRImagePresenterExclModeConfig_AddRef(This) (This)->lpVtbl->AddRef(This)")
4900 cpp_quote("#define IVMRImagePresenterExclModeConfig_Release(This) (This)->lpVtbl->Release(This)")
4901 cpp_quote("#define IVMRImagePresenterExclModeConfig_SetRenderingPrefs(This,dwRenderFlags) (This)->lpVtbl->SetRenderingPrefs(This,dwRenderFlags)")
4902 cpp_quote("#define IVMRImagePresenterExclModeConfig_GetRenderingPrefs(This,dwRenderFlags) (This)->lpVtbl->GetRenderingPrefs(This,dwRenderFlags)")
4903 cpp_quote("#define IVMRImagePresenterExclModeConfig_SetXlcModeDDObjAndPrimarySurface(This,lpDDObj,lpPrimarySurf) (This)->lpVtbl->SetXlcModeDDObjAndPrimarySurface(This,lpDDObj,lpPrimarySurf)")
4904 cpp_quote("#define IVMRImagePresenterExclModeConfig_GetXlcModeDDObjAndPrimarySurface(This,lpDDObj,lpPrimarySurf) (This)->lpVtbl->GetXlcModeDDObjAndPrimarySurface(This,lpDDObj,lpPrimarySurf)")
4905 cpp_quote("#endif")
4906 cpp_quote("#endif")
4907 cpp_quote(" HRESULT WINAPI IVMRImagePresenterExclModeConfig_SetXlcModeDDObjAndPrimarySurface_Proxy(IVMRImagePresenterExclModeConfig *This,LPDIRECTDRAW7 lpDDObj,LPDIRECTDRAWSURFACE7 lpPrimarySurf);")
4908 cpp_quote(" void __RPC_STUB IVMRImagePresenterExclModeConfig_SetXlcModeDDObjAndPrimarySurface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4909 cpp_quote(" HRESULT WINAPI IVMRImagePresenterExclModeConfig_GetXlcModeDDObjAndPrimarySurface_Proxy(IVMRImagePresenterExclModeConfig *This,LPDIRECTDRAW7 *lpDDObj,LPDIRECTDRAWSURFACE7 *lpPrimarySurf);")
4910 cpp_quote(" void __RPC_STUB IVMRImagePresenterExclModeConfig_GetXlcModeDDObjAndPrimarySurface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4911 cpp_quote("#endif")
4912 cpp_quote("")
4913 cpp_quote("#ifndef __IVPManager_INTERFACE_DEFINED__")
4914 cpp_quote("#define __IVPManager_INTERFACE_DEFINED__")
4915 cpp_quote(" EXTERN_C const IID IID_IVPManager;")
4916 cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
4917 cpp_quote(" struct IVPManager : public IUnknown {")
4918 cpp_quote(" public:")
4919 cpp_quote(" virtual HRESULT WINAPI SetVideoPortIndex(DWORD dwVideoPortIndex) = 0;")
4920 cpp_quote(" virtual HRESULT WINAPI GetVideoPortIndex(DWORD *pdwVideoPortIndex) = 0;")
4921 cpp_quote(" };")
4922 cpp_quote("#else")
4923 cpp_quote(" typedef struct IVPManagerVtbl {")
4924 cpp_quote(" BEGIN_INTERFACE")
4925 cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVPManager *This,REFIID riid,void **ppvObject);")
4926 cpp_quote(" ULONG (WINAPI *AddRef)(IVPManager *This);")
4927 cpp_quote(" ULONG (WINAPI *Release)(IVPManager *This);")
4928 cpp_quote(" HRESULT (WINAPI *SetVideoPortIndex)(IVPManager *This,DWORD dwVideoPortIndex);")
4929 cpp_quote(" HRESULT (WINAPI *GetVideoPortIndex)(IVPManager *This,DWORD *pdwVideoPortIndex);")
4930 cpp_quote(" END_INTERFACE")
4931 cpp_quote(" } IVPManagerVtbl;")
4932 cpp_quote(" struct IVPManager {")
4933 cpp_quote(" CONST_VTBL struct IVPManagerVtbl *lpVtbl;")
4934 cpp_quote(" };")
4935 cpp_quote("#ifdef COBJMACROS")
4936 cpp_quote("#define IVPManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
4937 cpp_quote("#define IVPManager_AddRef(This) (This)->lpVtbl->AddRef(This)")
4938 cpp_quote("#define IVPManager_Release(This) (This)->lpVtbl->Release(This)")
4939 cpp_quote("#define IVPManager_SetVideoPortIndex(This,dwVideoPortIndex) (This)->lpVtbl->SetVideoPortIndex(This,dwVideoPortIndex)")
4940 cpp_quote("#define IVPManager_GetVideoPortIndex(This,pdwVideoPortIndex) (This)->lpVtbl->GetVideoPortIndex(This,pdwVideoPortIndex)")
4941 cpp_quote("#endif")
4942 cpp_quote("#endif")
4943 cpp_quote(" HRESULT WINAPI IVPManager_SetVideoPortIndex_Proxy(IVPManager *This,DWORD dwVideoPortIndex);")
4944 cpp_quote(" void __RPC_STUB IVPManager_SetVideoPortIndex_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4945 cpp_quote(" HRESULT WINAPI IVPManager_GetVideoPortIndex_Proxy(IVPManager *This,DWORD *pdwVideoPortIndex);")
4946 cpp_quote(" void __RPC_STUB IVPManager_GetVideoPortIndex_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
4947 cpp_quote("#endif")
4948 cpp_quote("")
4949 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0413_v0_0_c_ifspec;")
4950 cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0413_v0_0_s_ifspec;")