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 7import "unknwn.idl"; 8import "objidl.idl"; 9 10#include "devenum.idl" 11#include "axcore.idl" 12#include "axextend.idl" 13 14cpp_quote("#ifndef __IReferenceClock2_FWD_DEFINED__") 15cpp_quote("#define __IReferenceClock2_FWD_DEFINED__") 16cpp_quote("typedef struct IReferenceClock2 IReferenceClock2;") 17cpp_quote("#endif") 18cpp_quote("#ifndef __IDistributorNotify_FWD_DEFINED__") 19cpp_quote("#define __IDistributorNotify_FWD_DEFINED__") 20cpp_quote("typedef struct IDistributorNotify IDistributorNotify;") 21cpp_quote("#endif") 22cpp_quote("") 23cpp_quote("#ifndef __IAMVideoCompression_FWD_DEFINED__") 24cpp_quote("#define __IAMVideoCompression_FWD_DEFINED__") 25cpp_quote("typedef struct IAMVideoCompression IAMVideoCompression;") 26cpp_quote("#endif") 27cpp_quote("") 28cpp_quote("#ifndef __IAMVfwCompressDialogs_FWD_DEFINED__") 29cpp_quote("#define __IAMVfwCompressDialogs_FWD_DEFINED__") 30cpp_quote("typedef struct IAMVfwCompressDialogs IAMVfwCompressDialogs;") 31cpp_quote("#endif") 32cpp_quote("") 33cpp_quote("#ifndef __IAMDroppedFrames_FWD_DEFINED__") 34cpp_quote("#define __IAMDroppedFrames_FWD_DEFINED__") 35cpp_quote("typedef struct IAMDroppedFrames IAMDroppedFrames;") 36cpp_quote("#endif") 37cpp_quote("") 38cpp_quote("#ifndef __IAMAudioInputMixer_FWD_DEFINED__") 39cpp_quote("#define __IAMAudioInputMixer_FWD_DEFINED__") 40cpp_quote("typedef struct IAMAudioInputMixer IAMAudioInputMixer;") 41cpp_quote("#endif") 42cpp_quote("") 43cpp_quote("#ifndef __IAMBufferNegotiation_FWD_DEFINED__") 44cpp_quote("#define __IAMBufferNegotiation_FWD_DEFINED__") 45cpp_quote("typedef struct IAMBufferNegotiation IAMBufferNegotiation;") 46cpp_quote("#endif") 47cpp_quote("") 48cpp_quote("#ifndef __IAMAnalogVideoDecoder_FWD_DEFINED__") 49cpp_quote("#define __IAMAnalogVideoDecoder_FWD_DEFINED__") 50cpp_quote("typedef struct IAMAnalogVideoDecoder IAMAnalogVideoDecoder;") 51cpp_quote("#endif") 52cpp_quote("") 53cpp_quote("#ifndef __IAMCameraControl_FWD_DEFINED__") 54cpp_quote("#define __IAMCameraControl_FWD_DEFINED__") 55cpp_quote("typedef struct IAMCameraControl IAMCameraControl;") 56cpp_quote("#endif") 57cpp_quote("") 58cpp_quote("#ifndef __IAMVideoControl_FWD_DEFINED__") 59cpp_quote("#define __IAMVideoControl_FWD_DEFINED__") 60cpp_quote("typedef struct IAMVideoControl IAMVideoControl;") 61cpp_quote("#endif") 62cpp_quote("") 63cpp_quote("#ifndef __IAMCrossbar_FWD_DEFINED__") 64cpp_quote("#define __IAMCrossbar_FWD_DEFINED__") 65cpp_quote("typedef struct IAMCrossbar IAMCrossbar;") 66cpp_quote("#endif") 67cpp_quote("") 68cpp_quote("#ifndef __IAMTuner_FWD_DEFINED__") 69cpp_quote("#define __IAMTuner_FWD_DEFINED__") 70cpp_quote("typedef struct IAMTuner IAMTuner;") 71cpp_quote("#endif") 72cpp_quote("") 73cpp_quote("#ifndef __IAMTunerNotification_FWD_DEFINED__") 74cpp_quote("#define __IAMTunerNotification_FWD_DEFINED__") 75cpp_quote("typedef struct IAMTunerNotification IAMTunerNotification;") 76cpp_quote("#endif") 77cpp_quote("") 78cpp_quote("#ifndef __IAMTVTuner_FWD_DEFINED__") 79cpp_quote("#define __IAMTVTuner_FWD_DEFINED__") 80cpp_quote("typedef struct IAMTVTuner IAMTVTuner;") 81cpp_quote("#endif") 82cpp_quote("") 83cpp_quote("#ifndef __IBPCSatelliteTuner_FWD_DEFINED__") 84cpp_quote("#define __IBPCSatelliteTuner_FWD_DEFINED__") 85cpp_quote("typedef struct IBPCSatelliteTuner IBPCSatelliteTuner;") 86cpp_quote("#endif") 87cpp_quote("") 88cpp_quote("#ifndef __IAMTVAudio_FWD_DEFINED__") 89cpp_quote("#define __IAMTVAudio_FWD_DEFINED__") 90cpp_quote("typedef struct IAMTVAudio IAMTVAudio;") 91cpp_quote("#endif") 92cpp_quote("") 93cpp_quote("#ifndef __IAMTVAudioNotification_FWD_DEFINED__") 94cpp_quote("#define __IAMTVAudioNotification_FWD_DEFINED__") 95cpp_quote("typedef struct IAMTVAudioNotification IAMTVAudioNotification;") 96cpp_quote("#endif") 97cpp_quote("") 98cpp_quote("#ifndef __IAMAnalogVideoEncoder_FWD_DEFINED__") 99cpp_quote("#define __IAMAnalogVideoEncoder_FWD_DEFINED__") 100cpp_quote("typedef struct IAMAnalogVideoEncoder IAMAnalogVideoEncoder;") 101cpp_quote("#endif") 102cpp_quote("") 103cpp_quote("#ifndef __IAMPhysicalPinInfo_FWD_DEFINED__") 104cpp_quote("#define __IAMPhysicalPinInfo_FWD_DEFINED__") 105cpp_quote("typedef struct IAMPhysicalPinInfo IAMPhysicalPinInfo;") 106cpp_quote("#endif") 107cpp_quote("") 108cpp_quote("#ifndef __IAMExtDevice_FWD_DEFINED__") 109cpp_quote("#define __IAMExtDevice_FWD_DEFINED__") 110cpp_quote("typedef struct IAMExtDevice IAMExtDevice;") 111cpp_quote("#endif") 112cpp_quote("") 113cpp_quote("#ifndef __IAMExtTransport_FWD_DEFINED__") 114cpp_quote("#define __IAMExtTransport_FWD_DEFINED__") 115cpp_quote("typedef struct IAMExtTransport IAMExtTransport;") 116cpp_quote("#endif") 117cpp_quote("") 118cpp_quote("#ifndef __IAMTimecodeReader_FWD_DEFINED__") 119cpp_quote("#define __IAMTimecodeReader_FWD_DEFINED__") 120cpp_quote("typedef struct IAMTimecodeReader IAMTimecodeReader;") 121cpp_quote("#endif") 122cpp_quote("") 123cpp_quote("#ifndef __IAMTimecodeGenerator_FWD_DEFINED__") 124cpp_quote("#define __IAMTimecodeGenerator_FWD_DEFINED__") 125cpp_quote("typedef struct IAMTimecodeGenerator IAMTimecodeGenerator;") 126cpp_quote("#endif") 127cpp_quote("") 128cpp_quote("#ifndef __IAMTimecodeDisplay_FWD_DEFINED__") 129cpp_quote("#define __IAMTimecodeDisplay_FWD_DEFINED__") 130cpp_quote("typedef struct IAMTimecodeDisplay IAMTimecodeDisplay;") 131cpp_quote("#endif") 132cpp_quote("") 133cpp_quote("#ifndef __IAMDevMemoryAllocator_FWD_DEFINED__") 134cpp_quote("#define __IAMDevMemoryAllocator_FWD_DEFINED__") 135cpp_quote("typedef struct IAMDevMemoryAllocator IAMDevMemoryAllocator;") 136cpp_quote("#endif") 137cpp_quote("") 138cpp_quote("#ifndef __IAMDevMemoryControl_FWD_DEFINED__") 139cpp_quote("#define __IAMDevMemoryControl_FWD_DEFINED__") 140cpp_quote("typedef struct IAMDevMemoryControl IAMDevMemoryControl;") 141cpp_quote("#endif") 142cpp_quote("") 143cpp_quote("#ifndef __IAMStreamSelect_FWD_DEFINED__") 144cpp_quote("#define __IAMStreamSelect_FWD_DEFINED__") 145cpp_quote("typedef struct IAMStreamSelect IAMStreamSelect;") 146cpp_quote("#endif") 147cpp_quote("") 148cpp_quote("#ifndef __IAMResourceControl_FWD_DEFINED__") 149cpp_quote("#define __IAMResourceControl_FWD_DEFINED__") 150cpp_quote("typedef struct IAMResourceControl IAMResourceControl;") 151cpp_quote("#endif") 152cpp_quote("") 153cpp_quote("#ifndef __IAMClockAdjust_FWD_DEFINED__") 154cpp_quote("#define __IAMClockAdjust_FWD_DEFINED__") 155cpp_quote("typedef struct IAMClockAdjust IAMClockAdjust;") 156cpp_quote("#endif") 157cpp_quote("") 158cpp_quote("#ifndef __IDrawVideoImage_FWD_DEFINED__") 159cpp_quote("#define __IDrawVideoImage_FWD_DEFINED__") 160cpp_quote("typedef struct IDrawVideoImage IDrawVideoImage;") 161cpp_quote("#endif") 162cpp_quote("") 163cpp_quote("#ifndef __IDecimateVideoImage_FWD_DEFINED__") 164cpp_quote("#define __IDecimateVideoImage_FWD_DEFINED__") 165cpp_quote("typedef struct IDecimateVideoImage IDecimateVideoImage;") 166cpp_quote("#endif") 167cpp_quote("") 168cpp_quote("#ifndef __IAMVideoDecimationProperties_FWD_DEFINED__") 169cpp_quote("#define __IAMVideoDecimationProperties_FWD_DEFINED__") 170cpp_quote("typedef struct IAMVideoDecimationProperties IAMVideoDecimationProperties;") 171cpp_quote("#endif") 172cpp_quote("") 173cpp_quote("#ifndef __IVideoFrameStep_FWD_DEFINED__") 174cpp_quote("#define __IVideoFrameStep_FWD_DEFINED__") 175cpp_quote("typedef struct IVideoFrameStep IVideoFrameStep;") 176cpp_quote("#endif") 177cpp_quote("") 178cpp_quote("#ifndef __IAMLatency_FWD_DEFINED__") 179cpp_quote("#define __IAMLatency_FWD_DEFINED__") 180cpp_quote("typedef struct IAMLatency IAMLatency;") 181cpp_quote("#endif") 182cpp_quote("") 183cpp_quote("#ifndef __IAMPushSource_FWD_DEFINED__") 184cpp_quote("#define __IAMPushSource_FWD_DEFINED__") 185cpp_quote("typedef struct IAMPushSource IAMPushSource;") 186cpp_quote("#endif") 187cpp_quote("") 188cpp_quote("#ifndef __IAMDeviceRemoval_FWD_DEFINED__") 189cpp_quote("#define __IAMDeviceRemoval_FWD_DEFINED__") 190cpp_quote("typedef struct IAMDeviceRemoval IAMDeviceRemoval;") 191cpp_quote("#endif") 192cpp_quote("") 193cpp_quote("#ifndef __IDVEnc_FWD_DEFINED__") 194cpp_quote("#define __IDVEnc_FWD_DEFINED__") 195cpp_quote("typedef struct IDVEnc IDVEnc;") 196cpp_quote("#endif") 197cpp_quote("") 198cpp_quote("#ifndef __IIPDVDec_FWD_DEFINED__") 199cpp_quote("#define __IIPDVDec_FWD_DEFINED__") 200cpp_quote("typedef struct IIPDVDec IIPDVDec;") 201cpp_quote("#endif") 202cpp_quote("") 203cpp_quote("#ifndef __IDVRGB219_FWD_DEFINED__") 204cpp_quote("#define __IDVRGB219_FWD_DEFINED__") 205cpp_quote("typedef struct IDVRGB219 IDVRGB219;") 206cpp_quote("#endif") 207cpp_quote("") 208cpp_quote("#ifndef __IDVSplitter_FWD_DEFINED__") 209cpp_quote("#define __IDVSplitter_FWD_DEFINED__") 210cpp_quote("typedef struct IDVSplitter IDVSplitter;") 211cpp_quote("#endif") 212cpp_quote("") 213cpp_quote("#ifndef __IAMAudioRendererStats_FWD_DEFINED__") 214cpp_quote("#define __IAMAudioRendererStats_FWD_DEFINED__") 215cpp_quote("typedef struct IAMAudioRendererStats IAMAudioRendererStats;") 216cpp_quote("#endif") 217cpp_quote("") 218cpp_quote("#ifndef __IAMGraphStreams_FWD_DEFINED__") 219cpp_quote("#define __IAMGraphStreams_FWD_DEFINED__") 220cpp_quote("typedef struct IAMGraphStreams IAMGraphStreams;") 221cpp_quote("#endif") 222cpp_quote("") 223cpp_quote("#ifndef __IAMOverlayFX_FWD_DEFINED__") 224cpp_quote("#define __IAMOverlayFX_FWD_DEFINED__") 225cpp_quote("typedef struct IAMOverlayFX IAMOverlayFX;") 226cpp_quote("#endif") 227cpp_quote("") 228cpp_quote("#ifndef __IAMOpenProgress_FWD_DEFINED__") 229cpp_quote("#define __IAMOpenProgress_FWD_DEFINED__") 230cpp_quote("typedef struct IAMOpenProgress IAMOpenProgress;") 231cpp_quote("#endif") 232cpp_quote("") 233cpp_quote("#ifndef __IMpeg2Demultiplexer_FWD_DEFINED__") 234cpp_quote("#define __IMpeg2Demultiplexer_FWD_DEFINED__") 235cpp_quote("typedef struct IMpeg2Demultiplexer IMpeg2Demultiplexer;") 236cpp_quote("#endif") 237cpp_quote("") 238cpp_quote("#ifndef __IEnumStreamIdMap_FWD_DEFINED__") 239cpp_quote("#define __IEnumStreamIdMap_FWD_DEFINED__") 240cpp_quote("typedef struct IEnumStreamIdMap IEnumStreamIdMap;") 241cpp_quote("#endif") 242cpp_quote("") 243cpp_quote("#ifndef __IMPEG2StreamIdMap_FWD_DEFINED__") 244cpp_quote("#define __IMPEG2StreamIdMap_FWD_DEFINED__") 245cpp_quote("typedef struct IMPEG2StreamIdMap IMPEG2StreamIdMap;") 246cpp_quote("#endif") 247cpp_quote("") 248cpp_quote("#ifndef __IRegisterServiceProvider_FWD_DEFINED__") 249cpp_quote("#define __IRegisterServiceProvider_FWD_DEFINED__") 250cpp_quote("typedef struct IRegisterServiceProvider IRegisterServiceProvider;") 251cpp_quote("#endif") 252cpp_quote("") 253cpp_quote("#ifndef __ICodecAPI_FWD_DEFINED__") 254cpp_quote("#define __ICodecAPI_FWD_DEFINED__") 255cpp_quote("typedef struct ICodecAPI ICodecAPI;") 256cpp_quote("#endif") 257cpp_quote("") 258cpp_quote("#ifndef __IGetCapabilitiesKey_FWD_DEFINED__") 259cpp_quote("#define __IGetCapabilitiesKey_FWD_DEFINED__") 260cpp_quote("typedef struct IGetCapabilitiesKey IGetCapabilitiesKey;") 261cpp_quote("#endif") 262cpp_quote("") 263cpp_quote("#ifndef __IEncoderAPI_FWD_DEFINED__") 264cpp_quote("#define __IEncoderAPI_FWD_DEFINED__") 265cpp_quote("typedef struct IEncoderAPI IEncoderAPI;") 266cpp_quote("#endif") 267cpp_quote("") 268cpp_quote("#ifndef __IVideoEncoder_FWD_DEFINED__") 269cpp_quote("#define __IVideoEncoder_FWD_DEFINED__") 270cpp_quote("typedef struct IVideoEncoder IVideoEncoder;") 271cpp_quote("#endif") 272cpp_quote("") 273cpp_quote("#ifndef __IAMDecoderCaps_FWD_DEFINED__") 274cpp_quote("#define __IAMDecoderCaps_FWD_DEFINED__") 275cpp_quote("typedef struct IAMDecoderCaps IAMDecoderCaps;") 276cpp_quote("#endif") 277cpp_quote("") 278cpp_quote("#ifndef __IDvdControl_FWD_DEFINED__") 279cpp_quote("#define __IDvdControl_FWD_DEFINED__") 280cpp_quote("typedef struct IDvdControl IDvdControl;") 281cpp_quote("#endif") 282cpp_quote("") 283cpp_quote("#ifndef __IDvdInfo_FWD_DEFINED__") 284cpp_quote("#define __IDvdInfo_FWD_DEFINED__") 285cpp_quote("typedef struct IDvdInfo IDvdInfo;") 286cpp_quote("#endif") 287cpp_quote("") 288cpp_quote("#ifndef __IDvdCmd_FWD_DEFINED__") 289cpp_quote("#define __IDvdCmd_FWD_DEFINED__") 290cpp_quote("typedef struct IDvdCmd IDvdCmd;") 291cpp_quote("#endif") 292cpp_quote("") 293cpp_quote("#ifndef __IDvdState_FWD_DEFINED__") 294cpp_quote("#define __IDvdState_FWD_DEFINED__") 295cpp_quote("typedef struct IDvdState IDvdState;") 296cpp_quote("#endif") 297cpp_quote("") 298cpp_quote("#ifndef __IDvdControl2_FWD_DEFINED__") 299cpp_quote("#define __IDvdControl2_FWD_DEFINED__") 300cpp_quote("typedef struct IDvdControl2 IDvdControl2;") 301cpp_quote("#endif") 302cpp_quote("") 303cpp_quote("#ifndef __IDvdInfo2_FWD_DEFINED__") 304cpp_quote("#define __IDvdInfo2_FWD_DEFINED__") 305cpp_quote("typedef struct IDvdInfo2 IDvdInfo2;") 306cpp_quote("#endif") 307cpp_quote("") 308cpp_quote("#ifndef __IDvdGraphBuilder_FWD_DEFINED__") 309cpp_quote("#define __IDvdGraphBuilder_FWD_DEFINED__") 310cpp_quote("typedef struct IDvdGraphBuilder IDvdGraphBuilder;") 311cpp_quote("#endif") 312cpp_quote("") 313cpp_quote("#ifndef __IDDrawExclModeVideo_FWD_DEFINED__") 314cpp_quote("#define __IDDrawExclModeVideo_FWD_DEFINED__") 315cpp_quote("typedef struct IDDrawExclModeVideo IDDrawExclModeVideo;") 316cpp_quote("#endif") 317cpp_quote("") 318cpp_quote("#ifndef __IDDrawExclModeVideoCallback_FWD_DEFINED__") 319cpp_quote("#define __IDDrawExclModeVideoCallback_FWD_DEFINED__") 320cpp_quote("typedef struct IDDrawExclModeVideoCallback IDDrawExclModeVideoCallback;") 321cpp_quote("#endif") 322cpp_quote("") 323cpp_quote("#ifndef __IPinConnection_FWD_DEFINED__") 324cpp_quote("#define __IPinConnection_FWD_DEFINED__") 325cpp_quote("typedef struct IPinConnection IPinConnection;") 326cpp_quote("#endif") 327cpp_quote("") 328cpp_quote("#ifndef __IPinFlowControl_FWD_DEFINED__") 329cpp_quote("#define __IPinFlowControl_FWD_DEFINED__") 330cpp_quote("typedef struct IPinFlowControl IPinFlowControl;") 331cpp_quote("#endif") 332cpp_quote("") 333cpp_quote("#ifndef __IGraphConfig_FWD_DEFINED__") 334cpp_quote("#define __IGraphConfig_FWD_DEFINED__") 335cpp_quote("typedef struct IGraphConfig IGraphConfig;") 336cpp_quote("#endif") 337cpp_quote("") 338cpp_quote("#ifndef __IGraphConfigCallback_FWD_DEFINED__") 339cpp_quote("#define __IGraphConfigCallback_FWD_DEFINED__") 340cpp_quote("typedef struct IGraphConfigCallback IGraphConfigCallback;") 341cpp_quote("#endif") 342cpp_quote("") 343cpp_quote("#ifndef __IFilterChain_FWD_DEFINED__") 344cpp_quote("#define __IFilterChain_FWD_DEFINED__") 345cpp_quote("typedef struct IFilterChain IFilterChain;") 346cpp_quote("#endif") 347cpp_quote("") 348cpp_quote("#ifndef __IVMRImagePresenter_FWD_DEFINED__") 349cpp_quote("#define __IVMRImagePresenter_FWD_DEFINED__") 350cpp_quote("typedef struct IVMRImagePresenter IVMRImagePresenter;") 351cpp_quote("#endif") 352cpp_quote("") 353cpp_quote("#ifndef __IVMRSurfaceAllocator_FWD_DEFINED__") 354cpp_quote("#define __IVMRSurfaceAllocator_FWD_DEFINED__") 355cpp_quote("typedef struct IVMRSurfaceAllocator IVMRSurfaceAllocator;") 356cpp_quote("#endif") 357cpp_quote("") 358cpp_quote("#ifndef __IVMRSurfaceAllocatorNotify_FWD_DEFINED__") 359cpp_quote("#define __IVMRSurfaceAllocatorNotify_FWD_DEFINED__") 360cpp_quote("typedef struct IVMRSurfaceAllocatorNotify IVMRSurfaceAllocatorNotify;") 361cpp_quote("#endif") 362cpp_quote("") 363cpp_quote("#ifndef __IVMRWindowlessControl_FWD_DEFINED__") 364cpp_quote("#define __IVMRWindowlessControl_FWD_DEFINED__") 365cpp_quote("typedef struct IVMRWindowlessControl IVMRWindowlessControl;") 366cpp_quote("#endif") 367cpp_quote("") 368cpp_quote("#ifndef __IVMRMixerControl_FWD_DEFINED__") 369cpp_quote("#define __IVMRMixerControl_FWD_DEFINED__") 370cpp_quote("typedef struct IVMRMixerControl IVMRMixerControl;") 371cpp_quote("#endif") 372cpp_quote("") 373cpp_quote("#ifndef __IVMRMonitorConfig_FWD_DEFINED__") 374cpp_quote("#define __IVMRMonitorConfig_FWD_DEFINED__") 375cpp_quote("typedef struct IVMRMonitorConfig IVMRMonitorConfig;") 376cpp_quote("#endif") 377cpp_quote("") 378cpp_quote("#ifndef __IVMRFilterConfig_FWD_DEFINED__") 379cpp_quote("#define __IVMRFilterConfig_FWD_DEFINED__") 380cpp_quote("typedef struct IVMRFilterConfig IVMRFilterConfig;") 381cpp_quote("#endif") 382cpp_quote("") 383cpp_quote("#ifndef __IVMRAspectRatioControl_FWD_DEFINED__") 384cpp_quote("#define __IVMRAspectRatioControl_FWD_DEFINED__") 385cpp_quote("typedef struct IVMRAspectRatioControl IVMRAspectRatioControl;") 386cpp_quote("#endif") 387cpp_quote("") 388cpp_quote("#ifndef __IVMRDeinterlaceControl_FWD_DEFINED__") 389cpp_quote("#define __IVMRDeinterlaceControl_FWD_DEFINED__") 390cpp_quote("typedef struct IVMRDeinterlaceControl IVMRDeinterlaceControl;") 391cpp_quote("#endif") 392cpp_quote("") 393cpp_quote("#ifndef __IVMRMixerBitmap_FWD_DEFINED__") 394cpp_quote("#define __IVMRMixerBitmap_FWD_DEFINED__") 395cpp_quote("typedef struct IVMRMixerBitmap IVMRMixerBitmap;") 396cpp_quote("#endif") 397cpp_quote("") 398cpp_quote("#ifndef __IVMRImageCompositor_FWD_DEFINED__") 399cpp_quote("#define __IVMRImageCompositor_FWD_DEFINED__") 400cpp_quote("typedef struct IVMRImageCompositor IVMRImageCompositor;") 401cpp_quote("#endif") 402cpp_quote("") 403cpp_quote("#ifndef __IVMRVideoStreamControl_FWD_DEFINED__") 404cpp_quote("#define __IVMRVideoStreamControl_FWD_DEFINED__") 405cpp_quote("typedef struct IVMRVideoStreamControl IVMRVideoStreamControl;") 406cpp_quote("#endif") 407cpp_quote("") 408cpp_quote("#ifndef __IVMRSurface_FWD_DEFINED__") 409cpp_quote("#define __IVMRSurface_FWD_DEFINED__") 410cpp_quote("typedef struct IVMRSurface IVMRSurface;") 411cpp_quote("#endif") 412cpp_quote("") 413cpp_quote("#ifndef __IVMRImagePresenterConfig_FWD_DEFINED__") 414cpp_quote("#define __IVMRImagePresenterConfig_FWD_DEFINED__") 415cpp_quote("typedef struct IVMRImagePresenterConfig IVMRImagePresenterConfig;") 416cpp_quote("#endif") 417cpp_quote("") 418cpp_quote("#ifndef __IVMRImagePresenterExclModeConfig_FWD_DEFINED__") 419cpp_quote("#define __IVMRImagePresenterExclModeConfig_FWD_DEFINED__") 420cpp_quote("typedef struct IVMRImagePresenterExclModeConfig IVMRImagePresenterExclModeConfig;") 421cpp_quote("#endif") 422cpp_quote("") 423cpp_quote("#ifndef __IVPManager_FWD_DEFINED__") 424cpp_quote("#define __IVPManager_FWD_DEFINED__") 425cpp_quote("typedef struct IVPManager IVPManager;") 426cpp_quote("#endif") 427cpp_quote("") 428cpp_quote("#ifndef __IAMAsyncReaderTimestampScaling_FWD_DEFINED__") 429cpp_quote("#define __IAMAsyncReaderTimestampScaling_FWD_DEFINED__") 430cpp_quote("typedef struct IAMAsyncReaderTimestampScaling IAMAsyncReaderTimestampScaling;") 431cpp_quote("#endif") 432cpp_quote("") 433cpp_quote("#ifndef __IAMPluginControl_FWD_DEFINED__") 434cpp_quote("#define __IAMPluginControl_FWD_DEFINED__") 435cpp_quote("typedef struct IAMPluginControl IAMPluginControl;") 436cpp_quote("#endif") 437cpp_quote("") 438cpp_quote("#include \"ocidl.h\"") 439cpp_quote("") 440cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0125_v0_0_c_ifspec;") 441cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0125_v0_0_s_ifspec;") 442cpp_quote("#ifndef __IReferenceClock2_INTERFACE_DEFINED__") 443cpp_quote("#define __IReferenceClock2_INTERFACE_DEFINED__") 444cpp_quote(" EXTERN_C const IID IID_IReferenceClock2;") 445cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 446cpp_quote(" struct IReferenceClock2 : public IReferenceClock {") 447cpp_quote(" };") 448cpp_quote("#else") 449cpp_quote(" typedef struct IReferenceClock2Vtbl {") 450cpp_quote(" BEGIN_INTERFACE") 451cpp_quote(" HRESULT (WINAPI *QueryInterface)(IReferenceClock2 *This,REFIID riid,void **ppvObject);") 452cpp_quote(" ULONG (WINAPI *AddRef)(IReferenceClock2 *This);") 453cpp_quote(" ULONG (WINAPI *Release)(IReferenceClock2 *This);") 454cpp_quote(" HRESULT (WINAPI *GetTime)(IReferenceClock2 *This,REFERENCE_TIME *pTime);") 455cpp_quote(" HRESULT (WINAPI *AdviseTime)(IReferenceClock2 *This,REFERENCE_TIME baseTime,REFERENCE_TIME streamTime,HEVENT hEvent,DWORD_PTR *pdwAdviseCookie);") 456cpp_quote(" HRESULT (WINAPI *AdvisePeriodic)(IReferenceClock2 *This,REFERENCE_TIME startTime,REFERENCE_TIME periodTime,HSEMAPHORE hSemaphore,DWORD_PTR *pdwAdviseCookie);") 457cpp_quote(" HRESULT (WINAPI *Unadvise)(IReferenceClock2 *This,DWORD_PTR dwAdviseCookie);") 458cpp_quote(" END_INTERFACE") 459cpp_quote(" } IReferenceClock2Vtbl;") 460cpp_quote(" struct IReferenceClock2 {") 461cpp_quote(" CONST_VTBL struct IReferenceClock2Vtbl *lpVtbl;") 462cpp_quote(" };") 463cpp_quote("#ifdef COBJMACROS") 464cpp_quote("#define IReferenceClock2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 465cpp_quote("#define IReferenceClock2_AddRef(This) (This)->lpVtbl->AddRef(This)") 466cpp_quote("#define IReferenceClock2_Release(This) (This)->lpVtbl->Release(This)") 467cpp_quote("#define IReferenceClock2_GetTime(This,pTime) (This)->lpVtbl->GetTime(This,pTime)") 468cpp_quote("#define IReferenceClock2_AdviseTime(This,baseTime,streamTime,hEvent,pdwAdviseCookie) (This)->lpVtbl->AdviseTime(This,baseTime,streamTime,hEvent,pdwAdviseCookie)") 469cpp_quote("#define IReferenceClock2_AdvisePeriodic(This,startTime,periodTime,hSemaphore,pdwAdviseCookie) (This)->lpVtbl->AdvisePeriodic(This,startTime,periodTime,hSemaphore,pdwAdviseCookie)") 470cpp_quote("#define IReferenceClock2_Unadvise(This,dwAdviseCookie) (This)->lpVtbl->Unadvise(This,dwAdviseCookie)") 471cpp_quote("#endif") 472cpp_quote("#endif") 473cpp_quote("#endif") 474cpp_quote("") 475cpp_quote(" typedef IReferenceClock2 *PREFERENCECLOCK2;") 476cpp_quote("") 477cpp_quote("#ifndef __IDistributorNotify_INTERFACE_DEFINED__") 478cpp_quote("#define __IDistributorNotify_INTERFACE_DEFINED__") 479cpp_quote(" EXTERN_C const IID IID_IDistributorNotify;") 480cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 481cpp_quote(" struct IDistributorNotify : public IUnknown {") 482cpp_quote(" public:") 483cpp_quote(" virtual HRESULT WINAPI Stop(void) = 0;") 484cpp_quote(" virtual HRESULT WINAPI Pause(void) = 0;") 485cpp_quote(" virtual HRESULT WINAPI Run(REFERENCE_TIME tStart) = 0;") 486cpp_quote(" virtual HRESULT WINAPI SetSyncSource(IReferenceClock *pClock) = 0;") 487cpp_quote(" virtual HRESULT WINAPI NotifyGraphChange(void) = 0;") 488cpp_quote(" };") 489cpp_quote("#else") 490cpp_quote(" typedef struct IDistributorNotifyVtbl {") 491cpp_quote(" BEGIN_INTERFACE") 492cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDistributorNotify *This,REFIID riid,void **ppvObject);") 493cpp_quote(" ULONG (WINAPI *AddRef)(IDistributorNotify *This);") 494cpp_quote(" ULONG (WINAPI *Release)(IDistributorNotify *This);") 495cpp_quote(" HRESULT (WINAPI *Stop)(IDistributorNotify *This);") 496cpp_quote(" HRESULT (WINAPI *Pause)(IDistributorNotify *This);") 497cpp_quote(" HRESULT (WINAPI *Run)(IDistributorNotify *This,REFERENCE_TIME tStart);") 498cpp_quote(" HRESULT (WINAPI *SetSyncSource)(IDistributorNotify *This,IReferenceClock *pClock);") 499cpp_quote(" HRESULT (WINAPI *NotifyGraphChange)(IDistributorNotify *This);") 500cpp_quote(" END_INTERFACE") 501cpp_quote(" } IDistributorNotifyVtbl;") 502cpp_quote(" struct IDistributorNotify {") 503cpp_quote(" CONST_VTBL struct IDistributorNotifyVtbl *lpVtbl;") 504cpp_quote(" };") 505cpp_quote("#ifdef COBJMACROS") 506cpp_quote("#define IDistributorNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 507cpp_quote("#define IDistributorNotify_AddRef(This) (This)->lpVtbl->AddRef(This)") 508cpp_quote("#define IDistributorNotify_Release(This) (This)->lpVtbl->Release(This)") 509cpp_quote("#define IDistributorNotify_Stop(This) (This)->lpVtbl->Stop(This)") 510cpp_quote("#define IDistributorNotify_Pause(This) (This)->lpVtbl->Pause(This)") 511cpp_quote("#define IDistributorNotify_Run(This,tStart) (This)->lpVtbl->Run(This,tStart)") 512cpp_quote("#define IDistributorNotify_SetSyncSource(This,pClock) (This)->lpVtbl->SetSyncSource(This,pClock)") 513cpp_quote("#define IDistributorNotify_NotifyGraphChange(This) (This)->lpVtbl->NotifyGraphChange(This)") 514cpp_quote("#endif") 515cpp_quote("#endif") 516cpp_quote(" HRESULT WINAPI IDistributorNotify_Stop_Proxy(IDistributorNotify *This);") 517cpp_quote(" void __RPC_STUB IDistributorNotify_Stop_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 518cpp_quote(" HRESULT WINAPI IDistributorNotify_Pause_Proxy(IDistributorNotify *This);") 519cpp_quote(" void __RPC_STUB IDistributorNotify_Pause_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 520cpp_quote(" HRESULT WINAPI IDistributorNotify_Run_Proxy(IDistributorNotify *This,REFERENCE_TIME tStart);") 521cpp_quote(" void __RPC_STUB IDistributorNotify_Run_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 522cpp_quote(" HRESULT WINAPI IDistributorNotify_SetSyncSource_Proxy(IDistributorNotify *This,IReferenceClock *pClock);") 523cpp_quote(" void __RPC_STUB IDistributorNotify_SetSyncSource_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 524cpp_quote(" HRESULT WINAPI IDistributorNotify_NotifyGraphChange_Proxy(IDistributorNotify *This);") 525cpp_quote(" void __RPC_STUB IDistributorNotify_NotifyGraphChange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 526cpp_quote("#endif") 527cpp_quote("") 528cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0167_0001 {") 529cpp_quote(" CompressionCaps_CanQuality = 0x1,CompressionCaps_CanCrunch = 0x2,CompressionCaps_CanKeyFrame = 0x4,CompressionCaps_CanBFrame = 0x8,") 530cpp_quote(" CompressionCaps_CanWindow = 0x10") 531cpp_quote(" } CompressionCaps;") 532cpp_quote("") 533cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0167_v0_0_c_ifspec;") 534cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0167_v0_0_s_ifspec;") 535cpp_quote("#ifndef __IAMVideoCompression_INTERFACE_DEFINED__") 536cpp_quote("#define __IAMVideoCompression_INTERFACE_DEFINED__") 537cpp_quote(" EXTERN_C const IID IID_IAMVideoCompression;") 538cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 539cpp_quote(" struct IAMVideoCompression : public IUnknown {") 540cpp_quote(" public:") 541cpp_quote(" virtual HRESULT WINAPI put_KeyFrameRate(LONG KeyFrameRate) = 0;") 542cpp_quote(" virtual HRESULT WINAPI get_KeyFrameRate(LONG *pKeyFrameRate) = 0;") 543cpp_quote(" virtual HRESULT WINAPI put_PFramesPerKeyFrame(LONG PFramesPerKeyFrame) = 0;") 544cpp_quote(" virtual HRESULT WINAPI get_PFramesPerKeyFrame(LONG *pPFramesPerKeyFrame) = 0;") 545cpp_quote(" virtual HRESULT WINAPI put_Quality(double Quality) = 0;") 546cpp_quote(" virtual HRESULT WINAPI get_Quality(double *pQuality) = 0;") 547cpp_quote(" virtual HRESULT WINAPI put_WindowSize(DWORDLONG WindowSize) = 0;") 548cpp_quote(" virtual HRESULT WINAPI get_WindowSize(DWORDLONG *pWindowSize) = 0;") 549cpp_quote(" virtual HRESULT WINAPI GetInfo(WCHAR *pszVersion,int *pcbVersion,LPWSTR pszDescription,int *pcbDescription,LONG *pDefaultKeyFrameRate,LONG *pDefaultPFramesPerKey,double *pDefaultQuality,LONG *pCapabilities) = 0;") 550cpp_quote(" virtual HRESULT WINAPI OverrideKeyFrame(LONG FrameNumber) = 0;") 551cpp_quote(" virtual HRESULT WINAPI OverrideFrameSize(LONG FrameNumber,LONG Size) = 0;") 552cpp_quote(" };") 553cpp_quote("#else") 554cpp_quote(" typedef struct IAMVideoCompressionVtbl {") 555cpp_quote(" BEGIN_INTERFACE") 556cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMVideoCompression *This,REFIID riid,void **ppvObject);") 557cpp_quote(" ULONG (WINAPI *AddRef)(IAMVideoCompression *This);") 558cpp_quote(" ULONG (WINAPI *Release)(IAMVideoCompression *This);") 559cpp_quote(" HRESULT (WINAPI *put_KeyFrameRate)(IAMVideoCompression *This,LONG KeyFrameRate);") 560cpp_quote(" HRESULT (WINAPI *get_KeyFrameRate)(IAMVideoCompression *This,LONG *pKeyFrameRate);") 561cpp_quote(" HRESULT (WINAPI *put_PFramesPerKeyFrame)(IAMVideoCompression *This,LONG PFramesPerKeyFrame);") 562cpp_quote(" HRESULT (WINAPI *get_PFramesPerKeyFrame)(IAMVideoCompression *This,LONG *pPFramesPerKeyFrame);") 563cpp_quote(" HRESULT (WINAPI *put_Quality)(IAMVideoCompression *This,double Quality);") 564cpp_quote(" HRESULT (WINAPI *get_Quality)(IAMVideoCompression *This,double *pQuality);") 565cpp_quote(" HRESULT (WINAPI *put_WindowSize)(IAMVideoCompression *This,DWORDLONG WindowSize);") 566cpp_quote(" HRESULT (WINAPI *get_WindowSize)(IAMVideoCompression *This,DWORDLONG *pWindowSize);") 567cpp_quote(" HRESULT (WINAPI *GetInfo)(IAMVideoCompression *This,WCHAR *pszVersion,int *pcbVersion,LPWSTR pszDescription,int *pcbDescription,LONG *pDefaultKeyFrameRate,LONG *pDefaultPFramesPerKey,double *pDefaultQuality,LONG *pCapabilities);") 568cpp_quote(" HRESULT (WINAPI *OverrideKeyFrame)(IAMVideoCompression *This,LONG FrameNumber);") 569cpp_quote(" HRESULT (WINAPI *OverrideFrameSize)(IAMVideoCompression *This,LONG FrameNumber,LONG Size);") 570cpp_quote(" END_INTERFACE") 571cpp_quote(" } IAMVideoCompressionVtbl;") 572cpp_quote(" struct IAMVideoCompression {") 573cpp_quote(" CONST_VTBL struct IAMVideoCompressionVtbl *lpVtbl;") 574cpp_quote(" };") 575cpp_quote("#ifdef COBJMACROS") 576cpp_quote("#define IAMVideoCompression_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 577cpp_quote("#define IAMVideoCompression_AddRef(This) (This)->lpVtbl->AddRef(This)") 578cpp_quote("#define IAMVideoCompression_Release(This) (This)->lpVtbl->Release(This)") 579cpp_quote("#define IAMVideoCompression_put_KeyFrameRate(This,KeyFrameRate) (This)->lpVtbl->put_KeyFrameRate(This,KeyFrameRate)") 580cpp_quote("#define IAMVideoCompression_get_KeyFrameRate(This,pKeyFrameRate) (This)->lpVtbl->get_KeyFrameRate(This,pKeyFrameRate)") 581cpp_quote("#define IAMVideoCompression_put_PFramesPerKeyFrame(This,PFramesPerKeyFrame) (This)->lpVtbl->put_PFramesPerKeyFrame(This,PFramesPerKeyFrame)") 582cpp_quote("#define IAMVideoCompression_get_PFramesPerKeyFrame(This,pPFramesPerKeyFrame) (This)->lpVtbl->get_PFramesPerKeyFrame(This,pPFramesPerKeyFrame)") 583cpp_quote("#define IAMVideoCompression_put_Quality(This,Quality) (This)->lpVtbl->put_Quality(This,Quality)") 584cpp_quote("#define IAMVideoCompression_get_Quality(This,pQuality) (This)->lpVtbl->get_Quality(This,pQuality)") 585cpp_quote("#define IAMVideoCompression_put_WindowSize(This,WindowSize) (This)->lpVtbl->put_WindowSize(This,WindowSize)") 586cpp_quote("#define IAMVideoCompression_get_WindowSize(This,pWindowSize) (This)->lpVtbl->get_WindowSize(This,pWindowSize)") 587cpp_quote("#define IAMVideoCompression_GetInfo(This,pszVersion,pcbVersion,pszDescription,pcbDescription,pDefaultKeyFrameRate,pDefaultPFramesPerKey,pDefaultQuality,pCapabilities) (This)->lpVtbl->GetInfo(This,pszVersion,pcbVersion,pszDescription,pcbDescription,pDefaultKeyFrameRate,pDefaultPFramesPerKey,pDefaultQuality,pCapabilities)") 588cpp_quote("#define IAMVideoCompression_OverrideKeyFrame(This,FrameNumber) (This)->lpVtbl->OverrideKeyFrame(This,FrameNumber)") 589cpp_quote("#define IAMVideoCompression_OverrideFrameSize(This,FrameNumber,Size) (This)->lpVtbl->OverrideFrameSize(This,FrameNumber,Size)") 590cpp_quote("#endif") 591cpp_quote("#endif") 592cpp_quote(" HRESULT WINAPI IAMVideoCompression_put_KeyFrameRate_Proxy(IAMVideoCompression *This,LONG KeyFrameRate);") 593cpp_quote(" void __RPC_STUB IAMVideoCompression_put_KeyFrameRate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 594cpp_quote(" HRESULT WINAPI IAMVideoCompression_get_KeyFrameRate_Proxy(IAMVideoCompression *This,LONG *pKeyFrameRate);") 595cpp_quote(" void __RPC_STUB IAMVideoCompression_get_KeyFrameRate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 596cpp_quote(" HRESULT WINAPI IAMVideoCompression_put_PFramesPerKeyFrame_Proxy(IAMVideoCompression *This,LONG PFramesPerKeyFrame);") 597cpp_quote(" void __RPC_STUB IAMVideoCompression_put_PFramesPerKeyFrame_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 598cpp_quote(" HRESULT WINAPI IAMVideoCompression_get_PFramesPerKeyFrame_Proxy(IAMVideoCompression *This,LONG *pPFramesPerKeyFrame);") 599cpp_quote(" void __RPC_STUB IAMVideoCompression_get_PFramesPerKeyFrame_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 600cpp_quote(" HRESULT WINAPI IAMVideoCompression_put_Quality_Proxy(IAMVideoCompression *This,double Quality);") 601cpp_quote(" void __RPC_STUB IAMVideoCompression_put_Quality_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 602cpp_quote(" HRESULT WINAPI IAMVideoCompression_get_Quality_Proxy(IAMVideoCompression *This,double *pQuality);") 603cpp_quote(" void __RPC_STUB IAMVideoCompression_get_Quality_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 604cpp_quote(" HRESULT WINAPI IAMVideoCompression_put_WindowSize_Proxy(IAMVideoCompression *This,DWORDLONG WindowSize);") 605cpp_quote(" void __RPC_STUB IAMVideoCompression_put_WindowSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 606cpp_quote(" HRESULT WINAPI IAMVideoCompression_get_WindowSize_Proxy(IAMVideoCompression *This,DWORDLONG *pWindowSize);") 607cpp_quote(" void __RPC_STUB IAMVideoCompression_get_WindowSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 608cpp_quote(" HRESULT WINAPI IAMVideoCompression_GetInfo_Proxy(IAMVideoCompression *This,WCHAR *pszVersion,int *pcbVersion,LPWSTR pszDescription,int *pcbDescription,LONG *pDefaultKeyFrameRate,LONG *pDefaultPFramesPerKey,double *pDefaultQuality,LONG *pCapabilities);") 609cpp_quote(" void __RPC_STUB IAMVideoCompression_GetInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 610cpp_quote(" HRESULT WINAPI IAMVideoCompression_OverrideKeyFrame_Proxy(IAMVideoCompression *This,LONG FrameNumber);") 611cpp_quote(" void __RPC_STUB IAMVideoCompression_OverrideKeyFrame_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 612cpp_quote(" HRESULT WINAPI IAMVideoCompression_OverrideFrameSize_Proxy(IAMVideoCompression *This,LONG FrameNumber,LONG Size);") 613cpp_quote(" void __RPC_STUB IAMVideoCompression_OverrideFrameSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 614cpp_quote("#endif") 615cpp_quote("") 616cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0168_0001 {") 617cpp_quote(" VfwCaptureDialog_Source = 0x1,VfwCaptureDialog_Format = 0x2,VfwCaptureDialog_Display = 0x4") 618cpp_quote(" } VfwCaptureDialogs;") 619cpp_quote("") 620cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0168_0002 {") 621cpp_quote(" VfwCompressDialog_Config = 0x1,VfwCompressDialog_About = 0x2,VfwCompressDialog_QueryConfig = 0x4,VfwCompressDialog_QueryAbout = 0x8") 622cpp_quote(" } VfwCompressDialogs;") 623cpp_quote("") 624cpp_quote("#ifndef __IAMVfwCompressDialogs_INTERFACE_DEFINED__") 625cpp_quote("#define __IAMVfwCompressDialogs_INTERFACE_DEFINED__") 626cpp_quote(" EXTERN_C const IID IID_IAMVfwCompressDialogs;") 627cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 628cpp_quote(" struct IAMVfwCompressDialogs : public IUnknown {") 629cpp_quote(" public:") 630cpp_quote(" virtual HRESULT WINAPI ShowDialog(int iDialog,HWND hwnd) = 0;") 631cpp_quote(" virtual HRESULT WINAPI GetState(LPVOID pState,int *pcbState) = 0;") 632cpp_quote(" virtual HRESULT WINAPI SetState(LPVOID pState,int cbState) = 0;") 633cpp_quote(" virtual HRESULT WINAPI SendDriverMessage(int uMsg,LONG dw1,LONG dw2) = 0;") 634cpp_quote(" };") 635cpp_quote("#else") 636cpp_quote(" typedef struct IAMVfwCompressDialogsVtbl {") 637cpp_quote(" BEGIN_INTERFACE") 638cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMVfwCompressDialogs *This,REFIID riid,void **ppvObject);") 639cpp_quote(" ULONG (WINAPI *AddRef)(IAMVfwCompressDialogs *This);") 640cpp_quote(" ULONG (WINAPI *Release)(IAMVfwCompressDialogs *This);") 641cpp_quote(" HRESULT (WINAPI *ShowDialog)(IAMVfwCompressDialogs *This,int iDialog,HWND hwnd);") 642cpp_quote(" HRESULT (WINAPI *GetState)(IAMVfwCompressDialogs *This,LPVOID pState,int *pcbState);") 643cpp_quote(" HRESULT (WINAPI *SetState)(IAMVfwCompressDialogs *This,LPVOID pState,int cbState);") 644cpp_quote(" HRESULT (WINAPI *SendDriverMessage)(IAMVfwCompressDialogs *This,int uMsg,LONG dw1,LONG dw2);") 645cpp_quote(" END_INTERFACE") 646cpp_quote(" } IAMVfwCompressDialogsVtbl;") 647cpp_quote(" struct IAMVfwCompressDialogs {") 648cpp_quote(" CONST_VTBL struct IAMVfwCompressDialogsVtbl *lpVtbl;") 649cpp_quote(" };") 650cpp_quote("#ifdef COBJMACROS") 651cpp_quote("#define IAMVfwCompressDialogs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 652cpp_quote("#define IAMVfwCompressDialogs_AddRef(This) (This)->lpVtbl->AddRef(This)") 653cpp_quote("#define IAMVfwCompressDialogs_Release(This) (This)->lpVtbl->Release(This)") 654cpp_quote("#define IAMVfwCompressDialogs_ShowDialog(This,iDialog,hwnd) (This)->lpVtbl->ShowDialog(This,iDialog,hwnd)") 655cpp_quote("#define IAMVfwCompressDialogs_GetState(This,pState,pcbState) (This)->lpVtbl->GetState(This,pState,pcbState)") 656cpp_quote("#define IAMVfwCompressDialogs_SetState(This,pState,cbState) (This)->lpVtbl->SetState(This,pState,cbState)") 657cpp_quote("#define IAMVfwCompressDialogs_SendDriverMessage(This,uMsg,dw1,dw2) (This)->lpVtbl->SendDriverMessage(This,uMsg,dw1,dw2)") 658cpp_quote("#endif") 659cpp_quote("#endif") 660cpp_quote(" HRESULT WINAPI IAMVfwCompressDialogs_ShowDialog_Proxy(IAMVfwCompressDialogs *This,int iDialog,HWND hwnd);") 661cpp_quote(" void __RPC_STUB IAMVfwCompressDialogs_ShowDialog_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 662cpp_quote(" HRESULT WINAPI IAMVfwCompressDialogs_GetState_Proxy(IAMVfwCompressDialogs *This,LPVOID pState,int *pcbState);") 663cpp_quote(" void __RPC_STUB IAMVfwCompressDialogs_GetState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 664cpp_quote(" HRESULT WINAPI IAMVfwCompressDialogs_SetState_Proxy(IAMVfwCompressDialogs *This,LPVOID pState,int cbState);") 665cpp_quote(" void __RPC_STUB IAMVfwCompressDialogs_SetState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 666cpp_quote(" HRESULT WINAPI IAMVfwCompressDialogs_SendDriverMessage_Proxy(IAMVfwCompressDialogs *This,int uMsg,LONG dw1,LONG dw2);") 667cpp_quote(" void __RPC_STUB IAMVfwCompressDialogs_SendDriverMessage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 668cpp_quote("#endif") 669cpp_quote("") 670cpp_quote("#ifndef __IAMDroppedFrames_INTERFACE_DEFINED__") 671cpp_quote("#define __IAMDroppedFrames_INTERFACE_DEFINED__") 672cpp_quote(" EXTERN_C const IID IID_IAMDroppedFrames;") 673cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 674cpp_quote(" struct IAMDroppedFrames : public IUnknown {") 675cpp_quote(" public:") 676cpp_quote(" virtual HRESULT WINAPI GetNumDropped(LONG *plDropped) = 0;") 677cpp_quote(" virtual HRESULT WINAPI GetNumNotDropped(LONG *plNotDropped) = 0;") 678cpp_quote(" virtual HRESULT WINAPI GetDroppedInfo(LONG lSize,LONG *plArray,LONG *plNumCopied) = 0;") 679cpp_quote(" virtual HRESULT WINAPI GetAverageFrameSize(LONG *plAverageSize) = 0;") 680cpp_quote(" };") 681cpp_quote("#else") 682cpp_quote(" typedef struct IAMDroppedFramesVtbl {") 683cpp_quote(" BEGIN_INTERFACE") 684cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMDroppedFrames *This,REFIID riid,void **ppvObject);") 685cpp_quote(" ULONG (WINAPI *AddRef)(IAMDroppedFrames *This);") 686cpp_quote(" ULONG (WINAPI *Release)(IAMDroppedFrames *This);") 687cpp_quote(" HRESULT (WINAPI *GetNumDropped)(IAMDroppedFrames *This,LONG *plDropped);") 688cpp_quote(" HRESULT (WINAPI *GetNumNotDropped)(IAMDroppedFrames *This,LONG *plNotDropped);") 689cpp_quote(" HRESULT (WINAPI *GetDroppedInfo)(IAMDroppedFrames *This,LONG lSize,LONG *plArray,LONG *plNumCopied);") 690cpp_quote(" HRESULT (WINAPI *GetAverageFrameSize)(IAMDroppedFrames *This,LONG *plAverageSize);") 691cpp_quote(" END_INTERFACE") 692cpp_quote(" } IAMDroppedFramesVtbl;") 693cpp_quote(" struct IAMDroppedFrames {") 694cpp_quote(" CONST_VTBL struct IAMDroppedFramesVtbl *lpVtbl;") 695cpp_quote(" };") 696cpp_quote("#ifdef COBJMACROS") 697cpp_quote("#define IAMDroppedFrames_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 698cpp_quote("#define IAMDroppedFrames_AddRef(This) (This)->lpVtbl->AddRef(This)") 699cpp_quote("#define IAMDroppedFrames_Release(This) (This)->lpVtbl->Release(This)") 700cpp_quote("#define IAMDroppedFrames_GetNumDropped(This,plDropped) (This)->lpVtbl->GetNumDropped(This,plDropped)") 701cpp_quote("#define IAMDroppedFrames_GetNumNotDropped(This,plNotDropped) (This)->lpVtbl->GetNumNotDropped(This,plNotDropped)") 702cpp_quote("#define IAMDroppedFrames_GetDroppedInfo(This,lSize,plArray,plNumCopied) (This)->lpVtbl->GetDroppedInfo(This,lSize,plArray,plNumCopied)") 703cpp_quote("#define IAMDroppedFrames_GetAverageFrameSize(This,plAverageSize) (This)->lpVtbl->GetAverageFrameSize(This,plAverageSize)") 704cpp_quote("#endif") 705cpp_quote("#endif") 706cpp_quote(" HRESULT WINAPI IAMDroppedFrames_GetNumDropped_Proxy(IAMDroppedFrames *This,LONG *plDropped);") 707cpp_quote(" void __RPC_STUB IAMDroppedFrames_GetNumDropped_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 708cpp_quote(" HRESULT WINAPI IAMDroppedFrames_GetNumNotDropped_Proxy(IAMDroppedFrames *This,LONG *plNotDropped);") 709cpp_quote(" void __RPC_STUB IAMDroppedFrames_GetNumNotDropped_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 710cpp_quote(" HRESULT WINAPI IAMDroppedFrames_GetDroppedInfo_Proxy(IAMDroppedFrames *This,LONG lSize,LONG *plArray,LONG *plNumCopied);") 711cpp_quote(" void __RPC_STUB IAMDroppedFrames_GetDroppedInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 712cpp_quote(" HRESULT WINAPI IAMDroppedFrames_GetAverageFrameSize_Proxy(IAMDroppedFrames *This,LONG *plAverageSize);") 713cpp_quote(" void __RPC_STUB IAMDroppedFrames_GetAverageFrameSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 714cpp_quote("#endif") 715cpp_quote("") 716cpp_quote("#define AMF_AUTOMATICGAIN -1.0") 717cpp_quote("") 718cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0171_v0_0_c_ifspec;") 719cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0171_v0_0_s_ifspec;") 720cpp_quote("#ifndef __IAMAudioInputMixer_INTERFACE_DEFINED__") 721cpp_quote("#define __IAMAudioInputMixer_INTERFACE_DEFINED__") 722cpp_quote(" EXTERN_C const IID IID_IAMAudioInputMixer;") 723cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 724cpp_quote(" struct IAMAudioInputMixer : public IUnknown {") 725cpp_quote(" public:") 726cpp_quote(" virtual HRESULT WINAPI put_Enable(WINBOOL fEnable) = 0;") 727cpp_quote(" virtual HRESULT WINAPI get_Enable(WINBOOL *pfEnable) = 0;") 728cpp_quote(" virtual HRESULT WINAPI put_Mono(WINBOOL fMono) = 0;") 729cpp_quote(" virtual HRESULT WINAPI get_Mono(WINBOOL *pfMono) = 0;") 730cpp_quote(" virtual HRESULT WINAPI put_MixLevel(double Level) = 0;") 731cpp_quote(" virtual HRESULT WINAPI get_MixLevel(double *pLevel) = 0;") 732cpp_quote(" virtual HRESULT WINAPI put_Pan(double Pan) = 0;") 733cpp_quote(" virtual HRESULT WINAPI get_Pan(double *pPan) = 0;") 734cpp_quote(" virtual HRESULT WINAPI put_Loudness(WINBOOL fLoudness) = 0;") 735cpp_quote(" virtual HRESULT WINAPI get_Loudness(WINBOOL *pfLoudness) = 0;") 736cpp_quote(" virtual HRESULT WINAPI put_Treble(double Treble) = 0;") 737cpp_quote(" virtual HRESULT WINAPI get_Treble(double *pTreble) = 0;") 738cpp_quote(" virtual HRESULT WINAPI get_TrebleRange(double *pRange) = 0;") 739cpp_quote(" virtual HRESULT WINAPI put_Bass(double Bass) = 0;") 740cpp_quote(" virtual HRESULT WINAPI get_Bass(double *pBass) = 0;") 741cpp_quote(" virtual HRESULT WINAPI get_BassRange(double *pRange) = 0;") 742cpp_quote(" };") 743cpp_quote("#else") 744cpp_quote(" typedef struct IAMAudioInputMixerVtbl {") 745cpp_quote(" BEGIN_INTERFACE") 746cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMAudioInputMixer *This,REFIID riid,void **ppvObject);") 747cpp_quote(" ULONG (WINAPI *AddRef)(IAMAudioInputMixer *This);") 748cpp_quote(" ULONG (WINAPI *Release)(IAMAudioInputMixer *This);") 749cpp_quote(" HRESULT (WINAPI *put_Enable)(IAMAudioInputMixer *This,WINBOOL fEnable);") 750cpp_quote(" HRESULT (WINAPI *get_Enable)(IAMAudioInputMixer *This,WINBOOL *pfEnable);") 751cpp_quote(" HRESULT (WINAPI *put_Mono)(IAMAudioInputMixer *This,WINBOOL fMono);") 752cpp_quote(" HRESULT (WINAPI *get_Mono)(IAMAudioInputMixer *This,WINBOOL *pfMono);") 753cpp_quote(" HRESULT (WINAPI *put_MixLevel)(IAMAudioInputMixer *This,double Level);") 754cpp_quote(" HRESULT (WINAPI *get_MixLevel)(IAMAudioInputMixer *This,double *pLevel);") 755cpp_quote(" HRESULT (WINAPI *put_Pan)(IAMAudioInputMixer *This,double Pan);") 756cpp_quote(" HRESULT (WINAPI *get_Pan)(IAMAudioInputMixer *This,double *pPan);") 757cpp_quote(" HRESULT (WINAPI *put_Loudness)(IAMAudioInputMixer *This,WINBOOL fLoudness);") 758cpp_quote(" HRESULT (WINAPI *get_Loudness)(IAMAudioInputMixer *This,WINBOOL *pfLoudness);") 759cpp_quote(" HRESULT (WINAPI *put_Treble)(IAMAudioInputMixer *This,double Treble);") 760cpp_quote(" HRESULT (WINAPI *get_Treble)(IAMAudioInputMixer *This,double *pTreble);") 761cpp_quote(" HRESULT (WINAPI *get_TrebleRange)(IAMAudioInputMixer *This,double *pRange);") 762cpp_quote(" HRESULT (WINAPI *put_Bass)(IAMAudioInputMixer *This,double Bass);") 763cpp_quote(" HRESULT (WINAPI *get_Bass)(IAMAudioInputMixer *This,double *pBass);") 764cpp_quote(" HRESULT (WINAPI *get_BassRange)(IAMAudioInputMixer *This,double *pRange);") 765cpp_quote(" END_INTERFACE") 766cpp_quote(" } IAMAudioInputMixerVtbl;") 767cpp_quote(" struct IAMAudioInputMixer {") 768cpp_quote(" CONST_VTBL struct IAMAudioInputMixerVtbl *lpVtbl;") 769cpp_quote(" };") 770cpp_quote("#ifdef COBJMACROS") 771cpp_quote("#define IAMAudioInputMixer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 772cpp_quote("#define IAMAudioInputMixer_AddRef(This) (This)->lpVtbl->AddRef(This)") 773cpp_quote("#define IAMAudioInputMixer_Release(This) (This)->lpVtbl->Release(This)") 774cpp_quote("#define IAMAudioInputMixer_put_Enable(This,fEnable) (This)->lpVtbl->put_Enable(This,fEnable)") 775cpp_quote("#define IAMAudioInputMixer_get_Enable(This,pfEnable) (This)->lpVtbl->get_Enable(This,pfEnable)") 776cpp_quote("#define IAMAudioInputMixer_put_Mono(This,fMono) (This)->lpVtbl->put_Mono(This,fMono)") 777cpp_quote("#define IAMAudioInputMixer_get_Mono(This,pfMono) (This)->lpVtbl->get_Mono(This,pfMono)") 778cpp_quote("#define IAMAudioInputMixer_put_MixLevel(This,Level) (This)->lpVtbl->put_MixLevel(This,Level)") 779cpp_quote("#define IAMAudioInputMixer_get_MixLevel(This,pLevel) (This)->lpVtbl->get_MixLevel(This,pLevel)") 780cpp_quote("#define IAMAudioInputMixer_put_Pan(This,Pan) (This)->lpVtbl->put_Pan(This,Pan)") 781cpp_quote("#define IAMAudioInputMixer_get_Pan(This,pPan) (This)->lpVtbl->get_Pan(This,pPan)") 782cpp_quote("#define IAMAudioInputMixer_put_Loudness(This,fLoudness) (This)->lpVtbl->put_Loudness(This,fLoudness)") 783cpp_quote("#define IAMAudioInputMixer_get_Loudness(This,pfLoudness) (This)->lpVtbl->get_Loudness(This,pfLoudness)") 784cpp_quote("#define IAMAudioInputMixer_put_Treble(This,Treble) (This)->lpVtbl->put_Treble(This,Treble)") 785cpp_quote("#define IAMAudioInputMixer_get_Treble(This,pTreble) (This)->lpVtbl->get_Treble(This,pTreble)") 786cpp_quote("#define IAMAudioInputMixer_get_TrebleRange(This,pRange) (This)->lpVtbl->get_TrebleRange(This,pRange)") 787cpp_quote("#define IAMAudioInputMixer_put_Bass(This,Bass) (This)->lpVtbl->put_Bass(This,Bass)") 788cpp_quote("#define IAMAudioInputMixer_get_Bass(This,pBass) (This)->lpVtbl->get_Bass(This,pBass)") 789cpp_quote("#define IAMAudioInputMixer_get_BassRange(This,pRange) (This)->lpVtbl->get_BassRange(This,pRange)") 790cpp_quote("#endif") 791cpp_quote("#endif") 792cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_put_Enable_Proxy(IAMAudioInputMixer *This,WINBOOL fEnable);") 793cpp_quote(" void __RPC_STUB IAMAudioInputMixer_put_Enable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 794cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_get_Enable_Proxy(IAMAudioInputMixer *This,WINBOOL *pfEnable);") 795cpp_quote(" void __RPC_STUB IAMAudioInputMixer_get_Enable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 796cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_put_Mono_Proxy(IAMAudioInputMixer *This,WINBOOL fMono);") 797cpp_quote(" void __RPC_STUB IAMAudioInputMixer_put_Mono_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 798cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_get_Mono_Proxy(IAMAudioInputMixer *This,WINBOOL *pfMono);") 799cpp_quote(" void __RPC_STUB IAMAudioInputMixer_get_Mono_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 800cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_put_MixLevel_Proxy(IAMAudioInputMixer *This,double Level);") 801cpp_quote(" void __RPC_STUB IAMAudioInputMixer_put_MixLevel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 802cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_get_MixLevel_Proxy(IAMAudioInputMixer *This,double *pLevel);") 803cpp_quote(" void __RPC_STUB IAMAudioInputMixer_get_MixLevel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 804cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_put_Pan_Proxy(IAMAudioInputMixer *This,double Pan);") 805cpp_quote(" void __RPC_STUB IAMAudioInputMixer_put_Pan_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 806cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_get_Pan_Proxy(IAMAudioInputMixer *This,double *pPan);") 807cpp_quote(" void __RPC_STUB IAMAudioInputMixer_get_Pan_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 808cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_put_Loudness_Proxy(IAMAudioInputMixer *This,WINBOOL fLoudness);") 809cpp_quote(" void __RPC_STUB IAMAudioInputMixer_put_Loudness_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 810cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_get_Loudness_Proxy(IAMAudioInputMixer *This,WINBOOL *pfLoudness);") 811cpp_quote(" void __RPC_STUB IAMAudioInputMixer_get_Loudness_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 812cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_put_Treble_Proxy(IAMAudioInputMixer *This,double Treble);") 813cpp_quote(" void __RPC_STUB IAMAudioInputMixer_put_Treble_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 814cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_get_Treble_Proxy(IAMAudioInputMixer *This,double *pTreble);") 815cpp_quote(" void __RPC_STUB IAMAudioInputMixer_get_Treble_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 816cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_get_TrebleRange_Proxy(IAMAudioInputMixer *This,double *pRange);") 817cpp_quote(" void __RPC_STUB IAMAudioInputMixer_get_TrebleRange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 818cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_put_Bass_Proxy(IAMAudioInputMixer *This,double Bass);") 819cpp_quote(" void __RPC_STUB IAMAudioInputMixer_put_Bass_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 820cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_get_Bass_Proxy(IAMAudioInputMixer *This,double *pBass);") 821cpp_quote(" void __RPC_STUB IAMAudioInputMixer_get_Bass_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 822cpp_quote(" HRESULT WINAPI IAMAudioInputMixer_get_BassRange_Proxy(IAMAudioInputMixer *This,double *pRange);") 823cpp_quote(" void __RPC_STUB IAMAudioInputMixer_get_BassRange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 824cpp_quote("#endif") 825cpp_quote("") 826cpp_quote("#ifndef __IAMBufferNegotiation_INTERFACE_DEFINED__") 827cpp_quote("#define __IAMBufferNegotiation_INTERFACE_DEFINED__") 828cpp_quote(" EXTERN_C const IID IID_IAMBufferNegotiation;") 829cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 830cpp_quote(" struct IAMBufferNegotiation : public IUnknown {") 831cpp_quote(" public:") 832cpp_quote(" virtual HRESULT WINAPI SuggestAllocatorProperties(const ALLOCATOR_PROPERTIES *pprop) = 0;") 833cpp_quote(" virtual HRESULT WINAPI GetAllocatorProperties(ALLOCATOR_PROPERTIES *pprop) = 0;") 834cpp_quote(" };") 835cpp_quote("#else") 836cpp_quote(" typedef struct IAMBufferNegotiationVtbl {") 837cpp_quote(" BEGIN_INTERFACE") 838cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMBufferNegotiation *This,REFIID riid,void **ppvObject);") 839cpp_quote(" ULONG (WINAPI *AddRef)(IAMBufferNegotiation *This);") 840cpp_quote(" ULONG (WINAPI *Release)(IAMBufferNegotiation *This);") 841cpp_quote(" HRESULT (WINAPI *SuggestAllocatorProperties)(IAMBufferNegotiation *This,const ALLOCATOR_PROPERTIES *pprop);") 842cpp_quote(" HRESULT (WINAPI *GetAllocatorProperties)(IAMBufferNegotiation *This,ALLOCATOR_PROPERTIES *pprop);") 843cpp_quote(" END_INTERFACE") 844cpp_quote(" } IAMBufferNegotiationVtbl;") 845cpp_quote(" struct IAMBufferNegotiation {") 846cpp_quote(" CONST_VTBL struct IAMBufferNegotiationVtbl *lpVtbl;") 847cpp_quote(" };") 848cpp_quote("#ifdef COBJMACROS") 849cpp_quote("#define IAMBufferNegotiation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 850cpp_quote("#define IAMBufferNegotiation_AddRef(This) (This)->lpVtbl->AddRef(This)") 851cpp_quote("#define IAMBufferNegotiation_Release(This) (This)->lpVtbl->Release(This)") 852cpp_quote("#define IAMBufferNegotiation_SuggestAllocatorProperties(This,pprop) (This)->lpVtbl->SuggestAllocatorProperties(This,pprop)") 853cpp_quote("#define IAMBufferNegotiation_GetAllocatorProperties(This,pprop) (This)->lpVtbl->GetAllocatorProperties(This,pprop)") 854cpp_quote("#endif") 855cpp_quote("#endif") 856cpp_quote(" HRESULT WINAPI IAMBufferNegotiation_SuggestAllocatorProperties_Proxy(IAMBufferNegotiation *This,const ALLOCATOR_PROPERTIES *pprop);") 857cpp_quote(" void __RPC_STUB IAMBufferNegotiation_SuggestAllocatorProperties_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 858cpp_quote(" HRESULT WINAPI IAMBufferNegotiation_GetAllocatorProperties_Proxy(IAMBufferNegotiation *This,ALLOCATOR_PROPERTIES *pprop);") 859cpp_quote(" void __RPC_STUB IAMBufferNegotiation_GetAllocatorProperties_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 860cpp_quote("#endif") 861cpp_quote("") 862cpp_quote("#define AnalogVideo_NTSC_Mask 0x00000007") 863cpp_quote("#define AnalogVideo_PAL_Mask 0x00100FF0") 864cpp_quote("#define AnalogVideo_SECAM_Mask 0x000FF000") 865cpp_quote("") 866cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0173_0001 {") 867cpp_quote(" VideoCopyProtectionMacrovisionBasic = 0,VideoCopyProtectionMacrovisionCBI = VideoCopyProtectionMacrovisionBasic + 1") 868cpp_quote(" } VideoCopyProtectionType;") 869cpp_quote("") 870cpp_quote(" typedef enum tagPhysicalConnectorType {") 871cpp_quote(" PhysConn_Video_Tuner = 1,") 872cpp_quote(" PhysConn_Video_Composite,PhysConn_Video_SVideo,PhysConn_Video_RGB,") 873cpp_quote(" PhysConn_Video_YRYBY,PhysConn_Video_SerialDigital,PhysConn_Video_ParallelDigital,") 874cpp_quote(" PhysConn_Video_SCSI,PhysConn_Video_AUX,PhysConn_Video_1394,PhysConn_Video_USB,") 875cpp_quote(" PhysConn_Video_VideoDecoder,PhysConn_Video_VideoEncoder,PhysConn_Video_SCART,PhysConn_Video_Black,") 876cpp_quote(" PhysConn_Audio_Tuner = 0x1000,PhysConn_Audio_Line = 0x1001,PhysConn_Audio_Mic = 0x1002,") 877cpp_quote(" PhysConn_Audio_AESDigital = 0x1003,PhysConn_Audio_SPDIFDigital = 0x1004,") 878cpp_quote(" PhysConn_Audio_SCSI = 0x1005,PhysConn_Audio_AUX = 0x1006,PhysConn_Audio_1394 = 0x1007,") 879cpp_quote(" PhysConn_Audio_USB = 0x1008,PhysConn_Audio_AudioDecoder = 0x1009") 880cpp_quote(" } PhysicalConnectorType;") 881cpp_quote("") 882cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0173_v0_0_c_ifspec;") 883cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0173_v0_0_s_ifspec;") 884cpp_quote("#ifndef __IAMAnalogVideoDecoder_INTERFACE_DEFINED__") 885cpp_quote("#define __IAMAnalogVideoDecoder_INTERFACE_DEFINED__") 886cpp_quote(" EXTERN_C const IID IID_IAMAnalogVideoDecoder;") 887cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 888cpp_quote(" struct IAMAnalogVideoDecoder : public IUnknown {") 889cpp_quote(" public:") 890cpp_quote(" virtual HRESULT WINAPI get_AvailableTVFormats(LONG *lAnalogVideoStandard) = 0;") 891cpp_quote(" virtual HRESULT WINAPI put_TVFormat(LONG lAnalogVideoStandard) = 0;") 892cpp_quote(" virtual HRESULT WINAPI get_TVFormat(LONG *plAnalogVideoStandard) = 0;") 893cpp_quote(" virtual HRESULT WINAPI get_HorizontalLocked(LONG *plLocked) = 0;") 894cpp_quote(" virtual HRESULT WINAPI put_VCRHorizontalLocking(LONG lVCRHorizontalLocking) = 0;") 895cpp_quote(" virtual HRESULT WINAPI get_VCRHorizontalLocking(LONG *plVCRHorizontalLocking) = 0;") 896cpp_quote(" virtual HRESULT WINAPI get_NumberOfLines(LONG *plNumberOfLines) = 0;") 897cpp_quote(" virtual HRESULT WINAPI put_OutputEnable(LONG lOutputEnable) = 0;") 898cpp_quote(" virtual HRESULT WINAPI get_OutputEnable(LONG *plOutputEnable) = 0;") 899cpp_quote(" };") 900cpp_quote("#else") 901cpp_quote(" typedef struct IAMAnalogVideoDecoderVtbl {") 902cpp_quote(" BEGIN_INTERFACE") 903cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMAnalogVideoDecoder *This,REFIID riid,void **ppvObject);") 904cpp_quote(" ULONG (WINAPI *AddRef)(IAMAnalogVideoDecoder *This);") 905cpp_quote(" ULONG (WINAPI *Release)(IAMAnalogVideoDecoder *This);") 906cpp_quote(" HRESULT (WINAPI *get_AvailableTVFormats)(IAMAnalogVideoDecoder *This,LONG *lAnalogVideoStandard);") 907cpp_quote(" HRESULT (WINAPI *put_TVFormat)(IAMAnalogVideoDecoder *This,LONG lAnalogVideoStandard);") 908cpp_quote(" HRESULT (WINAPI *get_TVFormat)(IAMAnalogVideoDecoder *This,LONG *plAnalogVideoStandard);") 909cpp_quote(" HRESULT (WINAPI *get_HorizontalLocked)(IAMAnalogVideoDecoder *This,LONG *plLocked);") 910cpp_quote(" HRESULT (WINAPI *put_VCRHorizontalLocking)(IAMAnalogVideoDecoder *This,LONG lVCRHorizontalLocking);") 911cpp_quote(" HRESULT (WINAPI *get_VCRHorizontalLocking)(IAMAnalogVideoDecoder *This,LONG *plVCRHorizontalLocking);") 912cpp_quote(" HRESULT (WINAPI *get_NumberOfLines)(IAMAnalogVideoDecoder *This,LONG *plNumberOfLines);") 913cpp_quote(" HRESULT (WINAPI *put_OutputEnable)(IAMAnalogVideoDecoder *This,LONG lOutputEnable);") 914cpp_quote(" HRESULT (WINAPI *get_OutputEnable)(IAMAnalogVideoDecoder *This,LONG *plOutputEnable);") 915cpp_quote(" END_INTERFACE") 916cpp_quote(" } IAMAnalogVideoDecoderVtbl;") 917cpp_quote(" struct IAMAnalogVideoDecoder {") 918cpp_quote(" CONST_VTBL struct IAMAnalogVideoDecoderVtbl *lpVtbl;") 919cpp_quote(" };") 920cpp_quote("#ifdef COBJMACROS") 921cpp_quote("#define IAMAnalogVideoDecoder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 922cpp_quote("#define IAMAnalogVideoDecoder_AddRef(This) (This)->lpVtbl->AddRef(This)") 923cpp_quote("#define IAMAnalogVideoDecoder_Release(This) (This)->lpVtbl->Release(This)") 924cpp_quote("#define IAMAnalogVideoDecoder_get_AvailableTVFormats(This,lAnalogVideoStandard) (This)->lpVtbl->get_AvailableTVFormats(This,lAnalogVideoStandard)") 925cpp_quote("#define IAMAnalogVideoDecoder_put_TVFormat(This,lAnalogVideoStandard) (This)->lpVtbl->put_TVFormat(This,lAnalogVideoStandard)") 926cpp_quote("#define IAMAnalogVideoDecoder_get_TVFormat(This,plAnalogVideoStandard) (This)->lpVtbl->get_TVFormat(This,plAnalogVideoStandard)") 927cpp_quote("#define IAMAnalogVideoDecoder_get_HorizontalLocked(This,plLocked) (This)->lpVtbl->get_HorizontalLocked(This,plLocked)") 928cpp_quote("#define IAMAnalogVideoDecoder_put_VCRHorizontalLocking(This,lVCRHorizontalLocking) (This)->lpVtbl->put_VCRHorizontalLocking(This,lVCRHorizontalLocking)") 929cpp_quote("#define IAMAnalogVideoDecoder_get_VCRHorizontalLocking(This,plVCRHorizontalLocking) (This)->lpVtbl->get_VCRHorizontalLocking(This,plVCRHorizontalLocking)") 930cpp_quote("#define IAMAnalogVideoDecoder_get_NumberOfLines(This,plNumberOfLines) (This)->lpVtbl->get_NumberOfLines(This,plNumberOfLines)") 931cpp_quote("#define IAMAnalogVideoDecoder_put_OutputEnable(This,lOutputEnable) (This)->lpVtbl->put_OutputEnable(This,lOutputEnable)") 932cpp_quote("#define IAMAnalogVideoDecoder_get_OutputEnable(This,plOutputEnable) (This)->lpVtbl->get_OutputEnable(This,plOutputEnable)") 933cpp_quote("#endif") 934cpp_quote("#endif") 935cpp_quote(" HRESULT WINAPI IAMAnalogVideoDecoder_get_AvailableTVFormats_Proxy(IAMAnalogVideoDecoder *This,LONG *lAnalogVideoStandard);") 936cpp_quote(" void __RPC_STUB IAMAnalogVideoDecoder_get_AvailableTVFormats_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 937cpp_quote(" HRESULT WINAPI IAMAnalogVideoDecoder_put_TVFormat_Proxy(IAMAnalogVideoDecoder *This,LONG lAnalogVideoStandard);") 938cpp_quote(" void __RPC_STUB IAMAnalogVideoDecoder_put_TVFormat_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 939cpp_quote(" HRESULT WINAPI IAMAnalogVideoDecoder_get_TVFormat_Proxy(IAMAnalogVideoDecoder *This,LONG *plAnalogVideoStandard);") 940cpp_quote(" void __RPC_STUB IAMAnalogVideoDecoder_get_TVFormat_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 941cpp_quote(" HRESULT WINAPI IAMAnalogVideoDecoder_get_HorizontalLocked_Proxy(IAMAnalogVideoDecoder *This,LONG *plLocked);") 942cpp_quote(" void __RPC_STUB IAMAnalogVideoDecoder_get_HorizontalLocked_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 943cpp_quote(" HRESULT WINAPI IAMAnalogVideoDecoder_put_VCRHorizontalLocking_Proxy(IAMAnalogVideoDecoder *This,LONG lVCRHorizontalLocking);") 944cpp_quote(" void __RPC_STUB IAMAnalogVideoDecoder_put_VCRHorizontalLocking_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 945cpp_quote(" HRESULT WINAPI IAMAnalogVideoDecoder_get_VCRHorizontalLocking_Proxy(IAMAnalogVideoDecoder *This,LONG *plVCRHorizontalLocking);") 946cpp_quote(" void __RPC_STUB IAMAnalogVideoDecoder_get_VCRHorizontalLocking_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 947cpp_quote(" HRESULT WINAPI IAMAnalogVideoDecoder_get_NumberOfLines_Proxy(IAMAnalogVideoDecoder *This,LONG *plNumberOfLines);") 948cpp_quote(" void __RPC_STUB IAMAnalogVideoDecoder_get_NumberOfLines_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 949cpp_quote(" HRESULT WINAPI IAMAnalogVideoDecoder_put_OutputEnable_Proxy(IAMAnalogVideoDecoder *This,LONG lOutputEnable);") 950cpp_quote(" void __RPC_STUB IAMAnalogVideoDecoder_put_OutputEnable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 951cpp_quote(" HRESULT WINAPI IAMAnalogVideoDecoder_get_OutputEnable_Proxy(IAMAnalogVideoDecoder *This,LONG *plOutputEnable);") 952cpp_quote(" void __RPC_STUB IAMAnalogVideoDecoder_get_OutputEnable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 953cpp_quote("#endif") 954cpp_quote("") 955cpp_quote(" typedef enum tagCameraControlProperty {") 956cpp_quote(" CameraControl_Pan = 0,") 957cpp_quote(" CameraControl_Tilt,CameraControl_Roll,CameraControl_Zoom,CameraControl_Exposure,") 958cpp_quote(" CameraControl_Iris,CameraControl_Focus") 959cpp_quote(" } CameraControlProperty;") 960cpp_quote("") 961cpp_quote(" typedef enum tagCameraControlFlags {") 962cpp_quote(" CameraControl_Flags_Auto = 0x1,CameraControl_Flags_Manual = 0x2") 963cpp_quote(" } CameraControlFlags;") 964cpp_quote("") 965cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0175_v0_0_c_ifspec;") 966cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0175_v0_0_s_ifspec;") 967cpp_quote("#ifndef __IAMCameraControl_INTERFACE_DEFINED__") 968cpp_quote("#define __IAMCameraControl_INTERFACE_DEFINED__") 969cpp_quote(" EXTERN_C const IID IID_IAMCameraControl;") 970cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 971cpp_quote(" struct IAMCameraControl : public IUnknown {") 972cpp_quote(" public:") 973cpp_quote(" virtual HRESULT WINAPI GetRange(LONG Property,LONG *pMin,LONG *pMax,LONG *pSteppingDelta,LONG *pDefault,LONG *pCapsFlags) = 0;") 974cpp_quote(" virtual HRESULT WINAPI Set(LONG Property,LONG lValue,LONG Flags) = 0;") 975cpp_quote(" virtual HRESULT WINAPI Get(LONG Property,LONG *lValue,LONG *Flags) = 0;") 976cpp_quote(" };") 977cpp_quote("#else") 978cpp_quote(" typedef struct IAMCameraControlVtbl {") 979cpp_quote(" BEGIN_INTERFACE") 980cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMCameraControl *This,REFIID riid,void **ppvObject);") 981cpp_quote(" ULONG (WINAPI *AddRef)(IAMCameraControl *This);") 982cpp_quote(" ULONG (WINAPI *Release)(IAMCameraControl *This);") 983cpp_quote(" HRESULT (WINAPI *GetRange)(IAMCameraControl *This,LONG Property,LONG *pMin,LONG *pMax,LONG *pSteppingDelta,LONG *pDefault,LONG *pCapsFlags);") 984cpp_quote(" HRESULT (WINAPI *Set)(IAMCameraControl *This,LONG Property,LONG lValue,LONG Flags);") 985cpp_quote(" HRESULT (WINAPI *Get)(IAMCameraControl *This,LONG Property,LONG *lValue,LONG *Flags);") 986cpp_quote(" END_INTERFACE") 987cpp_quote(" } IAMCameraControlVtbl;") 988cpp_quote(" struct IAMCameraControl {") 989cpp_quote(" CONST_VTBL struct IAMCameraControlVtbl *lpVtbl;") 990cpp_quote(" };") 991cpp_quote("#ifdef COBJMACROS") 992cpp_quote("#define IAMCameraControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 993cpp_quote("#define IAMCameraControl_AddRef(This) (This)->lpVtbl->AddRef(This)") 994cpp_quote("#define IAMCameraControl_Release(This) (This)->lpVtbl->Release(This)") 995cpp_quote("#define IAMCameraControl_GetRange(This,Property,pMin,pMax,pSteppingDelta,pDefault,pCapsFlags) (This)->lpVtbl->GetRange(This,Property,pMin,pMax,pSteppingDelta,pDefault,pCapsFlags)") 996cpp_quote("#define IAMCameraControl_Set(This,Property,lValue,Flags) (This)->lpVtbl->Set(This,Property,lValue,Flags)") 997cpp_quote("#define IAMCameraControl_Get(This,Property,lValue,Flags) (This)->lpVtbl->Get(This,Property,lValue,Flags)") 998cpp_quote("#endif") 999cpp_quote("#endif") 1000cpp_quote(" HRESULT WINAPI IAMCameraControl_GetRange_Proxy(IAMCameraControl *This,LONG Property,LONG *pMin,LONG *pMax,LONG *pSteppingDelta,LONG *pDefault,LONG *pCapsFlags);") 1001cpp_quote(" void __RPC_STUB IAMCameraControl_GetRange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1002cpp_quote(" HRESULT WINAPI IAMCameraControl_Set_Proxy(IAMCameraControl *This,LONG Property,LONG lValue,LONG Flags);") 1003cpp_quote(" void __RPC_STUB IAMCameraControl_Set_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1004cpp_quote(" HRESULT WINAPI IAMCameraControl_Get_Proxy(IAMCameraControl *This,LONG Property,LONG *lValue,LONG *Flags);") 1005cpp_quote(" void __RPC_STUB IAMCameraControl_Get_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1006cpp_quote("#endif") 1007cpp_quote("") 1008cpp_quote(" typedef enum tagVideoControlFlags {") 1009cpp_quote(" VideoControlFlag_FlipHorizontal = 0x1,VideoControlFlag_FlipVertical = 0x2,VideoControlFlag_ExternalTriggerEnable = 0x4,VideoControlFlag_Trigger = 0x8") 1010cpp_quote(" } VideoControlFlags;") 1011cpp_quote("") 1012cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0176_v0_0_c_ifspec;") 1013cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0176_v0_0_s_ifspec;") 1014cpp_quote("#ifndef __IAMVideoControl_INTERFACE_DEFINED__") 1015cpp_quote("#define __IAMVideoControl_INTERFACE_DEFINED__") 1016cpp_quote(" EXTERN_C const IID IID_IAMVideoControl;") 1017cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 1018cpp_quote(" struct IAMVideoControl : public IUnknown {") 1019cpp_quote(" public:") 1020cpp_quote(" virtual HRESULT WINAPI GetCaps(IPin *pPin,LONG *pCapsFlags) = 0;") 1021cpp_quote(" virtual HRESULT WINAPI SetMode(IPin *pPin,LONG Mode) = 0;") 1022cpp_quote(" virtual HRESULT WINAPI GetMode(IPin *pPin,LONG *Mode) = 0;") 1023cpp_quote(" virtual HRESULT WINAPI GetCurrentActualFrameRate(IPin *pPin,LONGLONG *ActualFrameRate) = 0;") 1024cpp_quote(" virtual HRESULT WINAPI GetMaxAvailableFrameRate(IPin *pPin,LONG iIndex,SIZE Dimensions,LONGLONG *MaxAvailableFrameRate) = 0;") 1025cpp_quote(" virtual HRESULT WINAPI GetFrameRateList(IPin *pPin,LONG iIndex,SIZE Dimensions,LONG *ListSize,LONGLONG **FrameRates) = 0;") 1026cpp_quote(" };") 1027cpp_quote("#else") 1028cpp_quote(" typedef struct IAMVideoControlVtbl {") 1029cpp_quote(" BEGIN_INTERFACE") 1030cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMVideoControl *This,REFIID riid,void **ppvObject);") 1031cpp_quote(" ULONG (WINAPI *AddRef)(IAMVideoControl *This);") 1032cpp_quote(" ULONG (WINAPI *Release)(IAMVideoControl *This);") 1033cpp_quote(" HRESULT (WINAPI *GetCaps)(IAMVideoControl *This,IPin *pPin,LONG *pCapsFlags);") 1034cpp_quote(" HRESULT (WINAPI *SetMode)(IAMVideoControl *This,IPin *pPin,LONG Mode);") 1035cpp_quote(" HRESULT (WINAPI *GetMode)(IAMVideoControl *This,IPin *pPin,LONG *Mode);") 1036cpp_quote(" HRESULT (WINAPI *GetCurrentActualFrameRate)(IAMVideoControl *This,IPin *pPin,LONGLONG *ActualFrameRate);") 1037cpp_quote(" HRESULT (WINAPI *GetMaxAvailableFrameRate)(IAMVideoControl *This,IPin *pPin,LONG iIndex,SIZE Dimensions,LONGLONG *MaxAvailableFrameRate);") 1038cpp_quote(" HRESULT (WINAPI *GetFrameRateList)(IAMVideoControl *This,IPin *pPin,LONG iIndex,SIZE Dimensions,LONG *ListSize,LONGLONG **FrameRates);") 1039cpp_quote(" END_INTERFACE") 1040cpp_quote(" } IAMVideoControlVtbl;") 1041cpp_quote(" struct IAMVideoControl {") 1042cpp_quote(" CONST_VTBL struct IAMVideoControlVtbl *lpVtbl;") 1043cpp_quote(" };") 1044cpp_quote("#ifdef COBJMACROS") 1045cpp_quote("#define IAMVideoControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 1046cpp_quote("#define IAMVideoControl_AddRef(This) (This)->lpVtbl->AddRef(This)") 1047cpp_quote("#define IAMVideoControl_Release(This) (This)->lpVtbl->Release(This)") 1048cpp_quote("#define IAMVideoControl_GetCaps(This,pPin,pCapsFlags) (This)->lpVtbl->GetCaps(This,pPin,pCapsFlags)") 1049cpp_quote("#define IAMVideoControl_SetMode(This,pPin,Mode) (This)->lpVtbl->SetMode(This,pPin,Mode)") 1050cpp_quote("#define IAMVideoControl_GetMode(This,pPin,Mode) (This)->lpVtbl->GetMode(This,pPin,Mode)") 1051cpp_quote("#define IAMVideoControl_GetCurrentActualFrameRate(This,pPin,ActualFrameRate) (This)->lpVtbl->GetCurrentActualFrameRate(This,pPin,ActualFrameRate)") 1052cpp_quote("#define IAMVideoControl_GetMaxAvailableFrameRate(This,pPin,iIndex,Dimensions,MaxAvailableFrameRate) (This)->lpVtbl->GetMaxAvailableFrameRate(This,pPin,iIndex,Dimensions,MaxAvailableFrameRate)") 1053cpp_quote("#define IAMVideoControl_GetFrameRateList(This,pPin,iIndex,Dimensions,ListSize,FrameRates) (This)->lpVtbl->GetFrameRateList(This,pPin,iIndex,Dimensions,ListSize,FrameRates)") 1054cpp_quote("#endif") 1055cpp_quote("#endif") 1056cpp_quote(" HRESULT WINAPI IAMVideoControl_GetCaps_Proxy(IAMVideoControl *This,IPin *pPin,LONG *pCapsFlags);") 1057cpp_quote(" void __RPC_STUB IAMVideoControl_GetCaps_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1058cpp_quote(" HRESULT WINAPI IAMVideoControl_SetMode_Proxy(IAMVideoControl *This,IPin *pPin,LONG Mode);") 1059cpp_quote(" void __RPC_STUB IAMVideoControl_SetMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1060cpp_quote(" HRESULT WINAPI IAMVideoControl_GetMode_Proxy(IAMVideoControl *This,IPin *pPin,LONG *Mode);") 1061cpp_quote(" void __RPC_STUB IAMVideoControl_GetMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1062cpp_quote(" HRESULT WINAPI IAMVideoControl_GetCurrentActualFrameRate_Proxy(IAMVideoControl *This,IPin *pPin,LONGLONG *ActualFrameRate);") 1063cpp_quote(" void __RPC_STUB IAMVideoControl_GetCurrentActualFrameRate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1064cpp_quote(" HRESULT WINAPI IAMVideoControl_GetMaxAvailableFrameRate_Proxy(IAMVideoControl *This,IPin *pPin,LONG iIndex,SIZE Dimensions,LONGLONG *MaxAvailableFrameRate);") 1065cpp_quote(" void __RPC_STUB IAMVideoControl_GetMaxAvailableFrameRate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1066cpp_quote(" HRESULT WINAPI IAMVideoControl_GetFrameRateList_Proxy(IAMVideoControl *This,IPin *pPin,LONG iIndex,SIZE Dimensions,LONG *ListSize,LONGLONG **FrameRates);") 1067cpp_quote(" void __RPC_STUB IAMVideoControl_GetFrameRateList_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1068cpp_quote("#endif") 1069cpp_quote("") 1070cpp_quote("#ifdef __CRT_UUID_DECL") 1071cpp_quote("__CRT_UUID_DECL(IAMCrossbar,0xc6e13380,0x30ac,0x11d0,0xa1,0x8c,0x00,0xa0,0xc9,0x11,0x89,0x56);") 1072cpp_quote("#endif") 1073cpp_quote("") 1074cpp_quote("#ifndef __IAMCrossbar_INTERFACE_DEFINED__") 1075cpp_quote("#define __IAMCrossbar_INTERFACE_DEFINED__") 1076cpp_quote(" EXTERN_C const IID IID_IAMCrossbar;") 1077cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 1078cpp_quote(" struct IAMCrossbar : public IUnknown {") 1079cpp_quote(" public:") 1080cpp_quote(" virtual HRESULT WINAPI get_PinCounts(LONG *OutputPinCount,LONG *InputPinCount) = 0;") 1081cpp_quote(" virtual HRESULT WINAPI CanRoute(LONG OutputPinIndex,LONG InputPinIndex) = 0;") 1082cpp_quote(" virtual HRESULT WINAPI Route(LONG OutputPinIndex,LONG InputPinIndex) = 0;") 1083cpp_quote(" virtual HRESULT WINAPI get_IsRoutedTo(LONG OutputPinIndex,LONG *InputPinIndex) = 0;") 1084cpp_quote(" virtual HRESULT WINAPI get_CrossbarPinInfo(WINBOOL IsInputPin,LONG PinIndex,LONG *PinIndexRelated,LONG *PhysicalType) = 0;") 1085cpp_quote(" };") 1086cpp_quote("#else") 1087cpp_quote(" typedef struct IAMCrossbarVtbl {") 1088cpp_quote(" BEGIN_INTERFACE") 1089cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMCrossbar *This,REFIID riid,void **ppvObject);") 1090cpp_quote(" ULONG (WINAPI *AddRef)(IAMCrossbar *This);") 1091cpp_quote(" ULONG (WINAPI *Release)(IAMCrossbar *This);") 1092cpp_quote(" HRESULT (WINAPI *get_PinCounts)(IAMCrossbar *This,LONG *OutputPinCount,LONG *InputPinCount);") 1093cpp_quote(" HRESULT (WINAPI *CanRoute)(IAMCrossbar *This,LONG OutputPinIndex,LONG InputPinIndex);") 1094cpp_quote(" HRESULT (WINAPI *Route)(IAMCrossbar *This,LONG OutputPinIndex,LONG InputPinIndex);") 1095cpp_quote(" HRESULT (WINAPI *get_IsRoutedTo)(IAMCrossbar *This,LONG OutputPinIndex,LONG *InputPinIndex);") 1096cpp_quote(" HRESULT (WINAPI *get_CrossbarPinInfo)(IAMCrossbar *This,WINBOOL IsInputPin,LONG PinIndex,LONG *PinIndexRelated,LONG *PhysicalType);") 1097cpp_quote(" END_INTERFACE") 1098cpp_quote(" } IAMCrossbarVtbl;") 1099cpp_quote(" struct IAMCrossbar {") 1100cpp_quote(" CONST_VTBL struct IAMCrossbarVtbl *lpVtbl;") 1101cpp_quote(" };") 1102cpp_quote("#ifdef COBJMACROS") 1103cpp_quote("#define IAMCrossbar_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 1104cpp_quote("#define IAMCrossbar_AddRef(This) (This)->lpVtbl->AddRef(This)") 1105cpp_quote("#define IAMCrossbar_Release(This) (This)->lpVtbl->Release(This)") 1106cpp_quote("#define IAMCrossbar_get_PinCounts(This,OutputPinCount,InputPinCount) (This)->lpVtbl->get_PinCounts(This,OutputPinCount,InputPinCount)") 1107cpp_quote("#define IAMCrossbar_CanRoute(This,OutputPinIndex,InputPinIndex) (This)->lpVtbl->CanRoute(This,OutputPinIndex,InputPinIndex)") 1108cpp_quote("#define IAMCrossbar_Route(This,OutputPinIndex,InputPinIndex) (This)->lpVtbl->Route(This,OutputPinIndex,InputPinIndex)") 1109cpp_quote("#define IAMCrossbar_get_IsRoutedTo(This,OutputPinIndex,InputPinIndex) (This)->lpVtbl->get_IsRoutedTo(This,OutputPinIndex,InputPinIndex)") 1110cpp_quote("#define IAMCrossbar_get_CrossbarPinInfo(This,IsInputPin,PinIndex,PinIndexRelated,PhysicalType) (This)->lpVtbl->get_CrossbarPinInfo(This,IsInputPin,PinIndex,PinIndexRelated,PhysicalType)") 1111cpp_quote("#endif") 1112cpp_quote("#endif") 1113cpp_quote(" HRESULT WINAPI IAMCrossbar_get_PinCounts_Proxy(IAMCrossbar *This,LONG *OutputPinCount,LONG *InputPinCount);") 1114cpp_quote(" void __RPC_STUB IAMCrossbar_get_PinCounts_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1115cpp_quote(" HRESULT WINAPI IAMCrossbar_CanRoute_Proxy(IAMCrossbar *This,LONG OutputPinIndex,LONG InputPinIndex);") 1116cpp_quote(" void __RPC_STUB IAMCrossbar_CanRoute_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1117cpp_quote(" HRESULT WINAPI IAMCrossbar_Route_Proxy(IAMCrossbar *This,LONG OutputPinIndex,LONG InputPinIndex);") 1118cpp_quote(" void __RPC_STUB IAMCrossbar_Route_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1119cpp_quote(" HRESULT WINAPI IAMCrossbar_get_IsRoutedTo_Proxy(IAMCrossbar *This,LONG OutputPinIndex,LONG *InputPinIndex);") 1120cpp_quote(" void __RPC_STUB IAMCrossbar_get_IsRoutedTo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1121cpp_quote(" HRESULT WINAPI IAMCrossbar_get_CrossbarPinInfo_Proxy(IAMCrossbar *This,WINBOOL IsInputPin,LONG PinIndex,LONG *PinIndexRelated,LONG *PhysicalType);") 1122cpp_quote(" void __RPC_STUB IAMCrossbar_get_CrossbarPinInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1123cpp_quote("#endif") 1124cpp_quote("") 1125cpp_quote(" typedef enum tagAMTunerSubChannel {") 1126cpp_quote(" AMTUNER_SUBCHAN_NO_TUNE = -2,AMTUNER_SUBCHAN_DEFAULT = -1") 1127cpp_quote(" } AMTunerSubChannel;") 1128cpp_quote("") 1129cpp_quote(" typedef enum tagAMTunerSignalStrength {") 1130cpp_quote(" AMTUNER_HASNOSIGNALSTRENGTH = -1,AMTUNER_NOSIGNAL = 0,AMTUNER_SIGNALPRESENT = 1") 1131cpp_quote(" } AMTunerSignalStrength;") 1132cpp_quote("") 1133cpp_quote(" typedef enum tagAMTunerModeType {") 1134cpp_quote(" AMTUNER_MODE_DEFAULT = 0,AMTUNER_MODE_TV = 0x1,AMTUNER_MODE_FM_RADIO = 0x2,AMTUNER_MODE_AM_RADIO = 0x4,AMTUNER_MODE_DSS = 0x8") 1135cpp_quote(" } AMTunerModeType;") 1136cpp_quote("") 1137cpp_quote(" typedef enum tagAMTunerEventType {") 1138cpp_quote(" AMTUNER_EVENT_CHANGED = 0x1") 1139cpp_quote(" } AMTunerEventType;") 1140cpp_quote("") 1141cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0178_v0_0_c_ifspec;") 1142cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0178_v0_0_s_ifspec;") 1143cpp_quote("#ifndef __IAMTuner_INTERFACE_DEFINED__") 1144cpp_quote("#define __IAMTuner_INTERFACE_DEFINED__") 1145cpp_quote(" EXTERN_C const IID IID_IAMTuner;") 1146cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 1147cpp_quote(" struct IAMTuner : public IUnknown {") 1148cpp_quote(" public:") 1149cpp_quote(" virtual HRESULT WINAPI put_Channel(LONG lChannel,LONG lVideoSubChannel,LONG lAudioSubChannel) = 0;") 1150cpp_quote(" virtual HRESULT WINAPI get_Channel(LONG *plChannel,LONG *plVideoSubChannel,LONG *plAudioSubChannel) = 0;") 1151cpp_quote(" virtual HRESULT WINAPI ChannelMinMax(LONG *lChannelMin,LONG *lChannelMax) = 0;") 1152cpp_quote(" virtual HRESULT WINAPI put_CountryCode(LONG lCountryCode) = 0;") 1153cpp_quote(" virtual HRESULT WINAPI get_CountryCode(LONG *plCountryCode) = 0;") 1154cpp_quote(" virtual HRESULT WINAPI put_TuningSpace(LONG lTuningSpace) = 0;") 1155cpp_quote(" virtual HRESULT WINAPI get_TuningSpace(LONG *plTuningSpace) = 0;") 1156cpp_quote(" virtual HRESULT WINAPI Logon(HANDLE hCurrentUser) = 0;") 1157cpp_quote(" virtual HRESULT WINAPI Logout(void) = 0;") 1158cpp_quote(" virtual HRESULT WINAPI SignalPresent(LONG *plSignalStrength) = 0;") 1159cpp_quote(" virtual HRESULT WINAPI put_Mode(AMTunerModeType lMode) = 0;") 1160cpp_quote(" virtual HRESULT WINAPI get_Mode(AMTunerModeType *plMode) = 0;") 1161cpp_quote(" virtual HRESULT WINAPI GetAvailableModes(LONG *plModes) = 0;") 1162cpp_quote(" virtual HRESULT WINAPI RegisterNotificationCallBack(IAMTunerNotification *pNotify,LONG lEvents) = 0;") 1163cpp_quote(" virtual HRESULT WINAPI UnRegisterNotificationCallBack(IAMTunerNotification *pNotify) = 0;") 1164cpp_quote(" };") 1165cpp_quote("#else") 1166cpp_quote(" typedef struct IAMTunerVtbl {") 1167cpp_quote(" BEGIN_INTERFACE") 1168cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMTuner *This,REFIID riid,void **ppvObject);") 1169cpp_quote(" ULONG (WINAPI *AddRef)(IAMTuner *This);") 1170cpp_quote(" ULONG (WINAPI *Release)(IAMTuner *This);") 1171cpp_quote(" HRESULT (WINAPI *put_Channel)(IAMTuner *This,LONG lChannel,LONG lVideoSubChannel,LONG lAudioSubChannel);") 1172cpp_quote(" HRESULT (WINAPI *get_Channel)(IAMTuner *This,LONG *plChannel,LONG *plVideoSubChannel,LONG *plAudioSubChannel);") 1173cpp_quote(" HRESULT (WINAPI *ChannelMinMax)(IAMTuner *This,LONG *lChannelMin,LONG *lChannelMax);") 1174cpp_quote(" HRESULT (WINAPI *put_CountryCode)(IAMTuner *This,LONG lCountryCode);") 1175cpp_quote(" HRESULT (WINAPI *get_CountryCode)(IAMTuner *This,LONG *plCountryCode);") 1176cpp_quote(" HRESULT (WINAPI *put_TuningSpace)(IAMTuner *This,LONG lTuningSpace);") 1177cpp_quote(" HRESULT (WINAPI *get_TuningSpace)(IAMTuner *This,LONG *plTuningSpace);") 1178cpp_quote(" HRESULT (WINAPI *Logon)(IAMTuner *This,HANDLE hCurrentUser);") 1179cpp_quote(" HRESULT (WINAPI *Logout)(IAMTuner *This);") 1180cpp_quote(" HRESULT (WINAPI *SignalPresent)(IAMTuner *This,LONG *plSignalStrength);") 1181cpp_quote(" HRESULT (WINAPI *put_Mode)(IAMTuner *This,AMTunerModeType lMode);") 1182cpp_quote(" HRESULT (WINAPI *get_Mode)(IAMTuner *This,AMTunerModeType *plMode);") 1183cpp_quote(" HRESULT (WINAPI *GetAvailableModes)(IAMTuner *This,LONG *plModes);") 1184cpp_quote(" HRESULT (WINAPI *RegisterNotificationCallBack)(IAMTuner *This,IAMTunerNotification *pNotify,LONG lEvents);") 1185cpp_quote(" HRESULT (WINAPI *UnRegisterNotificationCallBack)(IAMTuner *This,IAMTunerNotification *pNotify);") 1186cpp_quote(" END_INTERFACE") 1187cpp_quote(" } IAMTunerVtbl;") 1188cpp_quote(" struct IAMTuner {") 1189cpp_quote(" CONST_VTBL struct IAMTunerVtbl *lpVtbl;") 1190cpp_quote(" };") 1191cpp_quote("#ifdef COBJMACROS") 1192cpp_quote("#define IAMTuner_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 1193cpp_quote("#define IAMTuner_AddRef(This) (This)->lpVtbl->AddRef(This)") 1194cpp_quote("#define IAMTuner_Release(This) (This)->lpVtbl->Release(This)") 1195cpp_quote("#define IAMTuner_put_Channel(This,lChannel,lVideoSubChannel,lAudioSubChannel) (This)->lpVtbl->put_Channel(This,lChannel,lVideoSubChannel,lAudioSubChannel)") 1196cpp_quote("#define IAMTuner_get_Channel(This,plChannel,plVideoSubChannel,plAudioSubChannel) (This)->lpVtbl->get_Channel(This,plChannel,plVideoSubChannel,plAudioSubChannel)") 1197cpp_quote("#define IAMTuner_ChannelMinMax(This,lChannelMin,lChannelMax) (This)->lpVtbl->ChannelMinMax(This,lChannelMin,lChannelMax)") 1198cpp_quote("#define IAMTuner_put_CountryCode(This,lCountryCode) (This)->lpVtbl->put_CountryCode(This,lCountryCode)") 1199cpp_quote("#define IAMTuner_get_CountryCode(This,plCountryCode) (This)->lpVtbl->get_CountryCode(This,plCountryCode)") 1200cpp_quote("#define IAMTuner_put_TuningSpace(This,lTuningSpace) (This)->lpVtbl->put_TuningSpace(This,lTuningSpace)") 1201cpp_quote("#define IAMTuner_get_TuningSpace(This,plTuningSpace) (This)->lpVtbl->get_TuningSpace(This,plTuningSpace)") 1202cpp_quote("#define IAMTuner_Logon(This,hCurrentUser) (This)->lpVtbl->Logon(This,hCurrentUser)") 1203cpp_quote("#define IAMTuner_Logout(This) (This)->lpVtbl->Logout(This)") 1204cpp_quote("#define IAMTuner_SignalPresent(This,plSignalStrength) (This)->lpVtbl->SignalPresent(This,plSignalStrength)") 1205cpp_quote("#define IAMTuner_put_Mode(This,lMode) (This)->lpVtbl->put_Mode(This,lMode)") 1206cpp_quote("#define IAMTuner_get_Mode(This,plMode) (This)->lpVtbl->get_Mode(This,plMode)") 1207cpp_quote("#define IAMTuner_GetAvailableModes(This,plModes) (This)->lpVtbl->GetAvailableModes(This,plModes)") 1208cpp_quote("#define IAMTuner_RegisterNotificationCallBack(This,pNotify,lEvents) (This)->lpVtbl->RegisterNotificationCallBack(This,pNotify,lEvents)") 1209cpp_quote("#define IAMTuner_UnRegisterNotificationCallBack(This,pNotify) (This)->lpVtbl->UnRegisterNotificationCallBack(This,pNotify)") 1210cpp_quote("#endif") 1211cpp_quote("#endif") 1212cpp_quote(" HRESULT WINAPI IAMTuner_put_Channel_Proxy(IAMTuner *This,LONG lChannel,LONG lVideoSubChannel,LONG lAudioSubChannel);") 1213cpp_quote(" void __RPC_STUB IAMTuner_put_Channel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1214cpp_quote(" HRESULT WINAPI IAMTuner_get_Channel_Proxy(IAMTuner *This,LONG *plChannel,LONG *plVideoSubChannel,LONG *plAudioSubChannel);") 1215cpp_quote(" void __RPC_STUB IAMTuner_get_Channel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1216cpp_quote(" HRESULT WINAPI IAMTuner_ChannelMinMax_Proxy(IAMTuner *This,LONG *lChannelMin,LONG *lChannelMax);") 1217cpp_quote(" void __RPC_STUB IAMTuner_ChannelMinMax_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1218cpp_quote(" HRESULT WINAPI IAMTuner_put_CountryCode_Proxy(IAMTuner *This,LONG lCountryCode);") 1219cpp_quote(" void __RPC_STUB IAMTuner_put_CountryCode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1220cpp_quote(" HRESULT WINAPI IAMTuner_get_CountryCode_Proxy(IAMTuner *This,LONG *plCountryCode);") 1221cpp_quote(" void __RPC_STUB IAMTuner_get_CountryCode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1222cpp_quote(" HRESULT WINAPI IAMTuner_put_TuningSpace_Proxy(IAMTuner *This,LONG lTuningSpace);") 1223cpp_quote(" void __RPC_STUB IAMTuner_put_TuningSpace_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1224cpp_quote(" HRESULT WINAPI IAMTuner_get_TuningSpace_Proxy(IAMTuner *This,LONG *plTuningSpace);") 1225cpp_quote(" void __RPC_STUB IAMTuner_get_TuningSpace_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1226cpp_quote(" HRESULT WINAPI IAMTuner_Logon_Proxy(IAMTuner *This,HANDLE hCurrentUser);") 1227cpp_quote(" void __RPC_STUB IAMTuner_Logon_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1228cpp_quote(" HRESULT WINAPI IAMTuner_Logout_Proxy(IAMTuner *This);") 1229cpp_quote(" void __RPC_STUB IAMTuner_Logout_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1230cpp_quote(" HRESULT WINAPI IAMTuner_SignalPresent_Proxy(IAMTuner *This,LONG *plSignalStrength);") 1231cpp_quote(" void __RPC_STUB IAMTuner_SignalPresent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1232cpp_quote(" HRESULT WINAPI IAMTuner_put_Mode_Proxy(IAMTuner *This,AMTunerModeType lMode);") 1233cpp_quote(" void __RPC_STUB IAMTuner_put_Mode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1234cpp_quote(" HRESULT WINAPI IAMTuner_get_Mode_Proxy(IAMTuner *This,AMTunerModeType *plMode);") 1235cpp_quote(" void __RPC_STUB IAMTuner_get_Mode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1236cpp_quote(" HRESULT WINAPI IAMTuner_GetAvailableModes_Proxy(IAMTuner *This,LONG *plModes);") 1237cpp_quote(" void __RPC_STUB IAMTuner_GetAvailableModes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1238cpp_quote(" HRESULT WINAPI IAMTuner_RegisterNotificationCallBack_Proxy(IAMTuner *This,IAMTunerNotification *pNotify,LONG lEvents);") 1239cpp_quote(" void __RPC_STUB IAMTuner_RegisterNotificationCallBack_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1240cpp_quote(" HRESULT WINAPI IAMTuner_UnRegisterNotificationCallBack_Proxy(IAMTuner *This,IAMTunerNotification *pNotify);") 1241cpp_quote(" void __RPC_STUB IAMTuner_UnRegisterNotificationCallBack_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1242cpp_quote("#endif") 1243cpp_quote("") 1244cpp_quote("#ifndef __IAMTunerNotification_INTERFACE_DEFINED__") 1245cpp_quote("#define __IAMTunerNotification_INTERFACE_DEFINED__") 1246cpp_quote(" EXTERN_C const IID IID_IAMTunerNotification;") 1247cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 1248cpp_quote(" struct IAMTunerNotification : public IUnknown {") 1249cpp_quote(" public:") 1250cpp_quote(" virtual HRESULT WINAPI OnEvent(AMTunerEventType Event) = 0;") 1251cpp_quote(" };") 1252cpp_quote("#else") 1253cpp_quote(" typedef struct IAMTunerNotificationVtbl {") 1254cpp_quote(" BEGIN_INTERFACE") 1255cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMTunerNotification *This,REFIID riid,void **ppvObject);") 1256cpp_quote(" ULONG (WINAPI *AddRef)(IAMTunerNotification *This);") 1257cpp_quote(" ULONG (WINAPI *Release)(IAMTunerNotification *This);") 1258cpp_quote(" HRESULT (WINAPI *OnEvent)(IAMTunerNotification *This,AMTunerEventType Event);") 1259cpp_quote(" END_INTERFACE") 1260cpp_quote(" } IAMTunerNotificationVtbl;") 1261cpp_quote(" struct IAMTunerNotification {") 1262cpp_quote(" CONST_VTBL struct IAMTunerNotificationVtbl *lpVtbl;") 1263cpp_quote(" };") 1264cpp_quote("#ifdef COBJMACROS") 1265cpp_quote("#define IAMTunerNotification_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 1266cpp_quote("#define IAMTunerNotification_AddRef(This) (This)->lpVtbl->AddRef(This)") 1267cpp_quote("#define IAMTunerNotification_Release(This) (This)->lpVtbl->Release(This)") 1268cpp_quote("#define IAMTunerNotification_OnEvent(This,Event) (This)->lpVtbl->OnEvent(This,Event)") 1269cpp_quote("#endif") 1270cpp_quote("#endif") 1271cpp_quote(" HRESULT WINAPI IAMTunerNotification_OnEvent_Proxy(IAMTunerNotification *This,AMTunerEventType Event);") 1272cpp_quote(" void __RPC_STUB IAMTunerNotification_OnEvent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1273cpp_quote("#endif") 1274cpp_quote("") 1275cpp_quote("#ifndef __IAMTVTuner_INTERFACE_DEFINED__") 1276cpp_quote("#define __IAMTVTuner_INTERFACE_DEFINED__") 1277cpp_quote(" EXTERN_C const IID IID_IAMTVTuner;") 1278cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 1279cpp_quote(" struct IAMTVTuner : public IAMTuner {") 1280cpp_quote(" public:") 1281cpp_quote(" virtual HRESULT WINAPI get_AvailableTVFormats(LONG *lAnalogVideoStandard) = 0;") 1282cpp_quote(" virtual HRESULT WINAPI get_TVFormat(LONG *plAnalogVideoStandard) = 0;") 1283cpp_quote(" virtual HRESULT WINAPI AutoTune(LONG lChannel,LONG *plFoundSignal) = 0;") 1284cpp_quote(" virtual HRESULT WINAPI StoreAutoTune(void) = 0;") 1285cpp_quote(" virtual HRESULT WINAPI get_NumInputConnections(LONG *plNumInputConnections) = 0;") 1286cpp_quote(" virtual HRESULT WINAPI put_InputType(LONG lIndex,TunerInputType InputType) = 0;") 1287cpp_quote(" virtual HRESULT WINAPI get_InputType(LONG lIndex,TunerInputType *pInputType) = 0;") 1288cpp_quote(" virtual HRESULT WINAPI put_ConnectInput(LONG lIndex) = 0;") 1289cpp_quote(" virtual HRESULT WINAPI get_ConnectInput(LONG *plIndex) = 0;") 1290cpp_quote(" virtual HRESULT WINAPI get_VideoFrequency(LONG *lFreq) = 0;") 1291cpp_quote(" virtual HRESULT WINAPI get_AudioFrequency(LONG *lFreq) = 0;") 1292cpp_quote(" };") 1293cpp_quote("#else") 1294cpp_quote(" typedef struct IAMTVTunerVtbl {") 1295cpp_quote(" BEGIN_INTERFACE") 1296cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMTVTuner *This,REFIID riid,void **ppvObject);") 1297cpp_quote(" ULONG (WINAPI *AddRef)(IAMTVTuner *This);") 1298cpp_quote(" ULONG (WINAPI *Release)(IAMTVTuner *This);") 1299cpp_quote(" HRESULT (WINAPI *put_Channel)(IAMTVTuner *This,LONG lChannel,LONG lVideoSubChannel,LONG lAudioSubChannel);") 1300cpp_quote(" HRESULT (WINAPI *get_Channel)(IAMTVTuner *This,LONG *plChannel,LONG *plVideoSubChannel,LONG *plAudioSubChannel);") 1301cpp_quote(" HRESULT (WINAPI *ChannelMinMax)(IAMTVTuner *This,LONG *lChannelMin,LONG *lChannelMax);") 1302cpp_quote(" HRESULT (WINAPI *put_CountryCode)(IAMTVTuner *This,LONG lCountryCode);") 1303cpp_quote(" HRESULT (WINAPI *get_CountryCode)(IAMTVTuner *This,LONG *plCountryCode);") 1304cpp_quote(" HRESULT (WINAPI *put_TuningSpace)(IAMTVTuner *This,LONG lTuningSpace);") 1305cpp_quote(" HRESULT (WINAPI *get_TuningSpace)(IAMTVTuner *This,LONG *plTuningSpace);") 1306cpp_quote(" HRESULT (WINAPI *Logon)(IAMTVTuner *This,HANDLE hCurrentUser);") 1307cpp_quote(" HRESULT (WINAPI *Logout)(IAMTVTuner *This);") 1308cpp_quote(" HRESULT (WINAPI *SignalPresent)(IAMTVTuner *This,LONG *plSignalStrength);") 1309cpp_quote(" HRESULT (WINAPI *put_Mode)(IAMTVTuner *This,AMTunerModeType lMode);") 1310cpp_quote(" HRESULT (WINAPI *get_Mode)(IAMTVTuner *This,AMTunerModeType *plMode);") 1311cpp_quote(" HRESULT (WINAPI *GetAvailableModes)(IAMTVTuner *This,LONG *plModes);") 1312cpp_quote(" HRESULT (WINAPI *RegisterNotificationCallBack)(IAMTVTuner *This,IAMTunerNotification *pNotify,LONG lEvents);") 1313cpp_quote(" HRESULT (WINAPI *UnRegisterNotificationCallBack)(IAMTVTuner *This,IAMTunerNotification *pNotify);") 1314cpp_quote(" HRESULT (WINAPI *get_AvailableTVFormats)(IAMTVTuner *This,LONG *lAnalogVideoStandard);") 1315cpp_quote(" HRESULT (WINAPI *get_TVFormat)(IAMTVTuner *This,LONG *plAnalogVideoStandard);") 1316cpp_quote(" HRESULT (WINAPI *AutoTune)(IAMTVTuner *This,LONG lChannel,LONG *plFoundSignal);") 1317cpp_quote(" HRESULT (WINAPI *StoreAutoTune)(IAMTVTuner *This);") 1318cpp_quote(" HRESULT (WINAPI *get_NumInputConnections)(IAMTVTuner *This,LONG *plNumInputConnections);") 1319cpp_quote(" HRESULT (WINAPI *put_InputType)(IAMTVTuner *This,LONG lIndex,TunerInputType InputType);") 1320cpp_quote(" HRESULT (WINAPI *get_InputType)(IAMTVTuner *This,LONG lIndex,TunerInputType *pInputType);") 1321cpp_quote(" HRESULT (WINAPI *put_ConnectInput)(IAMTVTuner *This,LONG lIndex);") 1322cpp_quote(" HRESULT (WINAPI *get_ConnectInput)(IAMTVTuner *This,LONG *plIndex);") 1323cpp_quote(" HRESULT (WINAPI *get_VideoFrequency)(IAMTVTuner *This,LONG *lFreq);") 1324cpp_quote(" HRESULT (WINAPI *get_AudioFrequency)(IAMTVTuner *This,LONG *lFreq);") 1325cpp_quote(" END_INTERFACE") 1326cpp_quote(" } IAMTVTunerVtbl;") 1327cpp_quote(" struct IAMTVTuner {") 1328cpp_quote(" CONST_VTBL struct IAMTVTunerVtbl *lpVtbl;") 1329cpp_quote(" };") 1330cpp_quote("#ifdef COBJMACROS") 1331cpp_quote("#define IAMTVTuner_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 1332cpp_quote("#define IAMTVTuner_AddRef(This) (This)->lpVtbl->AddRef(This)") 1333cpp_quote("#define IAMTVTuner_Release(This) (This)->lpVtbl->Release(This)") 1334cpp_quote("#define IAMTVTuner_put_Channel(This,lChannel,lVideoSubChannel,lAudioSubChannel) (This)->lpVtbl->put_Channel(This,lChannel,lVideoSubChannel,lAudioSubChannel)") 1335cpp_quote("#define IAMTVTuner_get_Channel(This,plChannel,plVideoSubChannel,plAudioSubChannel) (This)->lpVtbl->get_Channel(This,plChannel,plVideoSubChannel,plAudioSubChannel)") 1336cpp_quote("#define IAMTVTuner_ChannelMinMax(This,lChannelMin,lChannelMax) (This)->lpVtbl->ChannelMinMax(This,lChannelMin,lChannelMax)") 1337cpp_quote("#define IAMTVTuner_put_CountryCode(This,lCountryCode) (This)->lpVtbl->put_CountryCode(This,lCountryCode)") 1338cpp_quote("#define IAMTVTuner_get_CountryCode(This,plCountryCode) (This)->lpVtbl->get_CountryCode(This,plCountryCode)") 1339cpp_quote("#define IAMTVTuner_put_TuningSpace(This,lTuningSpace) (This)->lpVtbl->put_TuningSpace(This,lTuningSpace)") 1340cpp_quote("#define IAMTVTuner_get_TuningSpace(This,plTuningSpace) (This)->lpVtbl->get_TuningSpace(This,plTuningSpace)") 1341cpp_quote("#define IAMTVTuner_Logon(This,hCurrentUser) (This)->lpVtbl->Logon(This,hCurrentUser)") 1342cpp_quote("#define IAMTVTuner_Logout(This) (This)->lpVtbl->Logout(This)") 1343cpp_quote("#define IAMTVTuner_SignalPresent(This,plSignalStrength) (This)->lpVtbl->SignalPresent(This,plSignalStrength)") 1344cpp_quote("#define IAMTVTuner_put_Mode(This,lMode) (This)->lpVtbl->put_Mode(This,lMode)") 1345cpp_quote("#define IAMTVTuner_get_Mode(This,plMode) (This)->lpVtbl->get_Mode(This,plMode)") 1346cpp_quote("#define IAMTVTuner_GetAvailableModes(This,plModes) (This)->lpVtbl->GetAvailableModes(This,plModes)") 1347cpp_quote("#define IAMTVTuner_RegisterNotificationCallBack(This,pNotify,lEvents) (This)->lpVtbl->RegisterNotificationCallBack(This,pNotify,lEvents)") 1348cpp_quote("#define IAMTVTuner_UnRegisterNotificationCallBack(This,pNotify) (This)->lpVtbl->UnRegisterNotificationCallBack(This,pNotify)") 1349cpp_quote("#define IAMTVTuner_get_AvailableTVFormats(This,lAnalogVideoStandard) (This)->lpVtbl->get_AvailableTVFormats(This,lAnalogVideoStandard)") 1350cpp_quote("#define IAMTVTuner_get_TVFormat(This,plAnalogVideoStandard) (This)->lpVtbl->get_TVFormat(This,plAnalogVideoStandard)") 1351cpp_quote("#define IAMTVTuner_AutoTune(This,lChannel,plFoundSignal) (This)->lpVtbl->AutoTune(This,lChannel,plFoundSignal)") 1352cpp_quote("#define IAMTVTuner_StoreAutoTune(This) (This)->lpVtbl->StoreAutoTune(This)") 1353cpp_quote("#define IAMTVTuner_get_NumInputConnections(This,plNumInputConnections) (This)->lpVtbl->get_NumInputConnections(This,plNumInputConnections)") 1354cpp_quote("#define IAMTVTuner_put_InputType(This,lIndex,InputType) (This)->lpVtbl->put_InputType(This,lIndex,InputType)") 1355cpp_quote("#define IAMTVTuner_get_InputType(This,lIndex,pInputType) (This)->lpVtbl->get_InputType(This,lIndex,pInputType)") 1356cpp_quote("#define IAMTVTuner_put_ConnectInput(This,lIndex) (This)->lpVtbl->put_ConnectInput(This,lIndex)") 1357cpp_quote("#define IAMTVTuner_get_ConnectInput(This,plIndex) (This)->lpVtbl->get_ConnectInput(This,plIndex)") 1358cpp_quote("#define IAMTVTuner_get_VideoFrequency(This,lFreq) (This)->lpVtbl->get_VideoFrequency(This,lFreq)") 1359cpp_quote("#define IAMTVTuner_get_AudioFrequency(This,lFreq) (This)->lpVtbl->get_AudioFrequency(This,lFreq)") 1360cpp_quote("#endif") 1361cpp_quote("#endif") 1362cpp_quote(" HRESULT WINAPI IAMTVTuner_get_AvailableTVFormats_Proxy(IAMTVTuner *This,LONG *lAnalogVideoStandard);") 1363cpp_quote(" void __RPC_STUB IAMTVTuner_get_AvailableTVFormats_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1364cpp_quote(" HRESULT WINAPI IAMTVTuner_get_TVFormat_Proxy(IAMTVTuner *This,LONG *plAnalogVideoStandard);") 1365cpp_quote(" void __RPC_STUB IAMTVTuner_get_TVFormat_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1366cpp_quote(" HRESULT WINAPI IAMTVTuner_AutoTune_Proxy(IAMTVTuner *This,LONG lChannel,LONG *plFoundSignal);") 1367cpp_quote(" void __RPC_STUB IAMTVTuner_AutoTune_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1368cpp_quote(" HRESULT WINAPI IAMTVTuner_StoreAutoTune_Proxy(IAMTVTuner *This);") 1369cpp_quote(" void __RPC_STUB IAMTVTuner_StoreAutoTune_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1370cpp_quote(" HRESULT WINAPI IAMTVTuner_get_NumInputConnections_Proxy(IAMTVTuner *This,LONG *plNumInputConnections);") 1371cpp_quote(" void __RPC_STUB IAMTVTuner_get_NumInputConnections_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1372cpp_quote(" HRESULT WINAPI IAMTVTuner_put_InputType_Proxy(IAMTVTuner *This,LONG lIndex,TunerInputType InputType);") 1373cpp_quote(" void __RPC_STUB IAMTVTuner_put_InputType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1374cpp_quote(" HRESULT WINAPI IAMTVTuner_get_InputType_Proxy(IAMTVTuner *This,LONG lIndex,TunerInputType *pInputType);") 1375cpp_quote(" void __RPC_STUB IAMTVTuner_get_InputType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1376cpp_quote(" HRESULT WINAPI IAMTVTuner_put_ConnectInput_Proxy(IAMTVTuner *This,LONG lIndex);") 1377cpp_quote(" void __RPC_STUB IAMTVTuner_put_ConnectInput_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1378cpp_quote(" HRESULT WINAPI IAMTVTuner_get_ConnectInput_Proxy(IAMTVTuner *This,LONG *plIndex);") 1379cpp_quote(" void __RPC_STUB IAMTVTuner_get_ConnectInput_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1380cpp_quote(" HRESULT WINAPI IAMTVTuner_get_VideoFrequency_Proxy(IAMTVTuner *This,LONG *lFreq);") 1381cpp_quote(" void __RPC_STUB IAMTVTuner_get_VideoFrequency_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1382cpp_quote(" HRESULT WINAPI IAMTVTuner_get_AudioFrequency_Proxy(IAMTVTuner *This,LONG *lFreq);") 1383cpp_quote(" void __RPC_STUB IAMTVTuner_get_AudioFrequency_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1384cpp_quote("#endif") 1385cpp_quote("") 1386cpp_quote("#ifndef __IBPCSatelliteTuner_INTERFACE_DEFINED__") 1387cpp_quote("#define __IBPCSatelliteTuner_INTERFACE_DEFINED__") 1388cpp_quote(" EXTERN_C const IID IID_IBPCSatelliteTuner;") 1389cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 1390cpp_quote(" struct IBPCSatelliteTuner : public IAMTuner {") 1391cpp_quote(" public:") 1392cpp_quote(" virtual HRESULT WINAPI get_DefaultSubChannelTypes(LONG *plDefaultVideoType,LONG *plDefaultAudioType) = 0;") 1393cpp_quote(" virtual HRESULT WINAPI put_DefaultSubChannelTypes(LONG lDefaultVideoType,LONG lDefaultAudioType) = 0;") 1394cpp_quote(" virtual HRESULT WINAPI IsTapingPermitted(void) = 0;") 1395cpp_quote(" };") 1396cpp_quote("#else") 1397cpp_quote(" typedef struct IBPCSatelliteTunerVtbl {") 1398cpp_quote(" BEGIN_INTERFACE") 1399cpp_quote(" HRESULT (WINAPI *QueryInterface)(IBPCSatelliteTuner *This,REFIID riid,void **ppvObject);") 1400cpp_quote(" ULONG (WINAPI *AddRef)(IBPCSatelliteTuner *This);") 1401cpp_quote(" ULONG (WINAPI *Release)(IBPCSatelliteTuner *This);") 1402cpp_quote(" HRESULT (WINAPI *put_Channel)(IBPCSatelliteTuner *This,LONG lChannel,LONG lVideoSubChannel,LONG lAudioSubChannel);") 1403cpp_quote(" HRESULT (WINAPI *get_Channel)(IBPCSatelliteTuner *This,LONG *plChannel,LONG *plVideoSubChannel,LONG *plAudioSubChannel);") 1404cpp_quote(" HRESULT (WINAPI *ChannelMinMax)(IBPCSatelliteTuner *This,LONG *lChannelMin,LONG *lChannelMax);") 1405cpp_quote(" HRESULT (WINAPI *put_CountryCode)(IBPCSatelliteTuner *This,LONG lCountryCode);") 1406cpp_quote(" HRESULT (WINAPI *get_CountryCode)(IBPCSatelliteTuner *This,LONG *plCountryCode);") 1407cpp_quote(" HRESULT (WINAPI *put_TuningSpace)(IBPCSatelliteTuner *This,LONG lTuningSpace);") 1408cpp_quote(" HRESULT (WINAPI *get_TuningSpace)(IBPCSatelliteTuner *This,LONG *plTuningSpace);") 1409cpp_quote(" HRESULT (WINAPI *Logon)(IBPCSatelliteTuner *This,HANDLE hCurrentUser);") 1410cpp_quote(" HRESULT (WINAPI *Logout)(IBPCSatelliteTuner *This);") 1411cpp_quote(" HRESULT (WINAPI *SignalPresent)(IBPCSatelliteTuner *This,LONG *plSignalStrength);") 1412cpp_quote(" HRESULT (WINAPI *put_Mode)(IBPCSatelliteTuner *This,AMTunerModeType lMode);") 1413cpp_quote(" HRESULT (WINAPI *get_Mode)(IBPCSatelliteTuner *This,AMTunerModeType *plMode);") 1414cpp_quote(" HRESULT (WINAPI *GetAvailableModes)(IBPCSatelliteTuner *This,LONG *plModes);") 1415cpp_quote(" HRESULT (WINAPI *RegisterNotificationCallBack)(IBPCSatelliteTuner *This,IAMTunerNotification *pNotify,LONG lEvents);") 1416cpp_quote(" HRESULT (WINAPI *UnRegisterNotificationCallBack)(IBPCSatelliteTuner *This,IAMTunerNotification *pNotify);") 1417cpp_quote(" HRESULT (WINAPI *get_DefaultSubChannelTypes)(IBPCSatelliteTuner *This,LONG *plDefaultVideoType,LONG *plDefaultAudioType);") 1418cpp_quote(" HRESULT (WINAPI *put_DefaultSubChannelTypes)(IBPCSatelliteTuner *This,LONG lDefaultVideoType,LONG lDefaultAudioType);") 1419cpp_quote(" HRESULT (WINAPI *IsTapingPermitted)(IBPCSatelliteTuner *This);") 1420cpp_quote(" END_INTERFACE") 1421cpp_quote(" } IBPCSatelliteTunerVtbl;") 1422cpp_quote(" struct IBPCSatelliteTuner {") 1423cpp_quote(" CONST_VTBL struct IBPCSatelliteTunerVtbl *lpVtbl;") 1424cpp_quote(" };") 1425cpp_quote("#ifdef COBJMACROS") 1426cpp_quote("#define IBPCSatelliteTuner_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 1427cpp_quote("#define IBPCSatelliteTuner_AddRef(This) (This)->lpVtbl->AddRef(This)") 1428cpp_quote("#define IBPCSatelliteTuner_Release(This) (This)->lpVtbl->Release(This)") 1429cpp_quote("#define IBPCSatelliteTuner_put_Channel(This,lChannel,lVideoSubChannel,lAudioSubChannel) (This)->lpVtbl->put_Channel(This,lChannel,lVideoSubChannel,lAudioSubChannel)") 1430cpp_quote("#define IBPCSatelliteTuner_get_Channel(This,plChannel,plVideoSubChannel,plAudioSubChannel) (This)->lpVtbl->get_Channel(This,plChannel,plVideoSubChannel,plAudioSubChannel)") 1431cpp_quote("#define IBPCSatelliteTuner_ChannelMinMax(This,lChannelMin,lChannelMax) (This)->lpVtbl->ChannelMinMax(This,lChannelMin,lChannelMax)") 1432cpp_quote("#define IBPCSatelliteTuner_put_CountryCode(This,lCountryCode) (This)->lpVtbl->put_CountryCode(This,lCountryCode)") 1433cpp_quote("#define IBPCSatelliteTuner_get_CountryCode(This,plCountryCode) (This)->lpVtbl->get_CountryCode(This,plCountryCode)") 1434cpp_quote("#define IBPCSatelliteTuner_put_TuningSpace(This,lTuningSpace) (This)->lpVtbl->put_TuningSpace(This,lTuningSpace)") 1435cpp_quote("#define IBPCSatelliteTuner_get_TuningSpace(This,plTuningSpace) (This)->lpVtbl->get_TuningSpace(This,plTuningSpace)") 1436cpp_quote("#define IBPCSatelliteTuner_Logon(This,hCurrentUser) (This)->lpVtbl->Logon(This,hCurrentUser)") 1437cpp_quote("#define IBPCSatelliteTuner_Logout(This) (This)->lpVtbl->Logout(This)") 1438cpp_quote("#define IBPCSatelliteTuner_SignalPresent(This,plSignalStrength) (This)->lpVtbl->SignalPresent(This,plSignalStrength)") 1439cpp_quote("#define IBPCSatelliteTuner_put_Mode(This,lMode) (This)->lpVtbl->put_Mode(This,lMode)") 1440cpp_quote("#define IBPCSatelliteTuner_get_Mode(This,plMode) (This)->lpVtbl->get_Mode(This,plMode)") 1441cpp_quote("#define IBPCSatelliteTuner_GetAvailableModes(This,plModes) (This)->lpVtbl->GetAvailableModes(This,plModes)") 1442cpp_quote("#define IBPCSatelliteTuner_RegisterNotificationCallBack(This,pNotify,lEvents) (This)->lpVtbl->RegisterNotificationCallBack(This,pNotify,lEvents)") 1443cpp_quote("#define IBPCSatelliteTuner_UnRegisterNotificationCallBack(This,pNotify) (This)->lpVtbl->UnRegisterNotificationCallBack(This,pNotify)") 1444cpp_quote("#define IBPCSatelliteTuner_get_DefaultSubChannelTypes(This,plDefaultVideoType,plDefaultAudioType) (This)->lpVtbl->get_DefaultSubChannelTypes(This,plDefaultVideoType,plDefaultAudioType)") 1445cpp_quote("#define IBPCSatelliteTuner_put_DefaultSubChannelTypes(This,lDefaultVideoType,lDefaultAudioType) (This)->lpVtbl->put_DefaultSubChannelTypes(This,lDefaultVideoType,lDefaultAudioType)") 1446cpp_quote("#define IBPCSatelliteTuner_IsTapingPermitted(This) (This)->lpVtbl->IsTapingPermitted(This)") 1447cpp_quote("#endif") 1448cpp_quote("#endif") 1449cpp_quote(" HRESULT WINAPI IBPCSatelliteTuner_get_DefaultSubChannelTypes_Proxy(IBPCSatelliteTuner *This,LONG *plDefaultVideoType,LONG *plDefaultAudioType);") 1450cpp_quote(" void __RPC_STUB IBPCSatelliteTuner_get_DefaultSubChannelTypes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1451cpp_quote(" HRESULT WINAPI IBPCSatelliteTuner_put_DefaultSubChannelTypes_Proxy(IBPCSatelliteTuner *This,LONG lDefaultVideoType,LONG lDefaultAudioType);") 1452cpp_quote(" void __RPC_STUB IBPCSatelliteTuner_put_DefaultSubChannelTypes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1453cpp_quote(" HRESULT WINAPI IBPCSatelliteTuner_IsTapingPermitted_Proxy(IBPCSatelliteTuner *This);") 1454cpp_quote(" void __RPC_STUB IBPCSatelliteTuner_IsTapingPermitted_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1455cpp_quote("#endif") 1456cpp_quote("") 1457cpp_quote(" typedef enum tagAMTVAudioEventType {") 1458cpp_quote(" AMTVAUDIO_EVENT_CHANGED = 0x1") 1459cpp_quote(" } AMTVAudioEventType;") 1460cpp_quote("") 1461cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0182_v0_0_c_ifspec;") 1462cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0182_v0_0_s_ifspec;") 1463cpp_quote("#ifndef __IAMTVAudio_INTERFACE_DEFINED__") 1464cpp_quote("#define __IAMTVAudio_INTERFACE_DEFINED__") 1465cpp_quote(" EXTERN_C const IID IID_IAMTVAudio;") 1466cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 1467cpp_quote(" struct IAMTVAudio : public IUnknown {") 1468cpp_quote(" public:") 1469cpp_quote(" virtual HRESULT WINAPI GetHardwareSupportedTVAudioModes(LONG *plModes) = 0;") 1470cpp_quote(" virtual HRESULT WINAPI GetAvailableTVAudioModes(LONG *plModes) = 0;") 1471cpp_quote(" virtual HRESULT WINAPI get_TVAudioMode(LONG *plMode) = 0;") 1472cpp_quote(" virtual HRESULT WINAPI put_TVAudioMode(LONG lMode) = 0;") 1473cpp_quote(" virtual HRESULT WINAPI RegisterNotificationCallBack(IAMTunerNotification *pNotify,LONG lEvents) = 0;") 1474cpp_quote(" virtual HRESULT WINAPI UnRegisterNotificationCallBack(IAMTunerNotification *pNotify) = 0;") 1475cpp_quote(" };") 1476cpp_quote("#else") 1477cpp_quote(" typedef struct IAMTVAudioVtbl {") 1478cpp_quote(" BEGIN_INTERFACE") 1479cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMTVAudio *This,REFIID riid,void **ppvObject);") 1480cpp_quote(" ULONG (WINAPI *AddRef)(IAMTVAudio *This);") 1481cpp_quote(" ULONG (WINAPI *Release)(IAMTVAudio *This);") 1482cpp_quote(" HRESULT (WINAPI *GetHardwareSupportedTVAudioModes)(IAMTVAudio *This,LONG *plModes);") 1483cpp_quote(" HRESULT (WINAPI *GetAvailableTVAudioModes)(IAMTVAudio *This,LONG *plModes);") 1484cpp_quote(" HRESULT (WINAPI *get_TVAudioMode)(IAMTVAudio *This,LONG *plMode);") 1485cpp_quote(" HRESULT (WINAPI *put_TVAudioMode)(IAMTVAudio *This,LONG lMode);") 1486cpp_quote(" HRESULT (WINAPI *RegisterNotificationCallBack)(IAMTVAudio *This,IAMTunerNotification *pNotify,LONG lEvents);") 1487cpp_quote(" HRESULT (WINAPI *UnRegisterNotificationCallBack)(IAMTVAudio *This,IAMTunerNotification *pNotify);") 1488cpp_quote(" END_INTERFACE") 1489cpp_quote(" } IAMTVAudioVtbl;") 1490cpp_quote(" struct IAMTVAudio {") 1491cpp_quote(" CONST_VTBL struct IAMTVAudioVtbl *lpVtbl;") 1492cpp_quote(" };") 1493cpp_quote("#ifdef COBJMACROS") 1494cpp_quote("#define IAMTVAudio_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 1495cpp_quote("#define IAMTVAudio_AddRef(This) (This)->lpVtbl->AddRef(This)") 1496cpp_quote("#define IAMTVAudio_Release(This) (This)->lpVtbl->Release(This)") 1497cpp_quote("#define IAMTVAudio_GetHardwareSupportedTVAudioModes(This,plModes) (This)->lpVtbl->GetHardwareSupportedTVAudioModes(This,plModes)") 1498cpp_quote("#define IAMTVAudio_GetAvailableTVAudioModes(This,plModes) (This)->lpVtbl->GetAvailableTVAudioModes(This,plModes)") 1499cpp_quote("#define IAMTVAudio_get_TVAudioMode(This,plMode) (This)->lpVtbl->get_TVAudioMode(This,plMode)") 1500cpp_quote("#define IAMTVAudio_put_TVAudioMode(This,lMode) (This)->lpVtbl->put_TVAudioMode(This,lMode)") 1501cpp_quote("#define IAMTVAudio_RegisterNotificationCallBack(This,pNotify,lEvents) (This)->lpVtbl->RegisterNotificationCallBack(This,pNotify,lEvents)") 1502cpp_quote("#define IAMTVAudio_UnRegisterNotificationCallBack(This,pNotify) (This)->lpVtbl->UnRegisterNotificationCallBack(This,pNotify)") 1503cpp_quote("#endif") 1504cpp_quote("#endif") 1505cpp_quote(" HRESULT WINAPI IAMTVAudio_GetHardwareSupportedTVAudioModes_Proxy(IAMTVAudio *This,LONG *plModes);") 1506cpp_quote(" void __RPC_STUB IAMTVAudio_GetHardwareSupportedTVAudioModes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1507cpp_quote(" HRESULT WINAPI IAMTVAudio_GetAvailableTVAudioModes_Proxy(IAMTVAudio *This,LONG *plModes);") 1508cpp_quote(" void __RPC_STUB IAMTVAudio_GetAvailableTVAudioModes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1509cpp_quote(" HRESULT WINAPI IAMTVAudio_get_TVAudioMode_Proxy(IAMTVAudio *This,LONG *plMode);") 1510cpp_quote(" void __RPC_STUB IAMTVAudio_get_TVAudioMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1511cpp_quote(" HRESULT WINAPI IAMTVAudio_put_TVAudioMode_Proxy(IAMTVAudio *This,LONG lMode);") 1512cpp_quote(" void __RPC_STUB IAMTVAudio_put_TVAudioMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1513cpp_quote(" HRESULT WINAPI IAMTVAudio_RegisterNotificationCallBack_Proxy(IAMTVAudio *This,IAMTunerNotification *pNotify,LONG lEvents);") 1514cpp_quote(" void __RPC_STUB IAMTVAudio_RegisterNotificationCallBack_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1515cpp_quote(" HRESULT WINAPI IAMTVAudio_UnRegisterNotificationCallBack_Proxy(IAMTVAudio *This,IAMTunerNotification *pNotify);") 1516cpp_quote(" void __RPC_STUB IAMTVAudio_UnRegisterNotificationCallBack_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1517cpp_quote("#endif") 1518cpp_quote("") 1519cpp_quote("#ifndef __IAMTVAudioNotification_INTERFACE_DEFINED__") 1520cpp_quote("#define __IAMTVAudioNotification_INTERFACE_DEFINED__") 1521cpp_quote(" EXTERN_C const IID IID_IAMTVAudioNotification;") 1522cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 1523cpp_quote(" struct IAMTVAudioNotification : public IUnknown {") 1524cpp_quote(" public:") 1525cpp_quote(" virtual HRESULT WINAPI OnEvent(AMTVAudioEventType Event) = 0;") 1526cpp_quote(" };") 1527cpp_quote("#else") 1528cpp_quote(" typedef struct IAMTVAudioNotificationVtbl {") 1529cpp_quote(" BEGIN_INTERFACE") 1530cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMTVAudioNotification *This,REFIID riid,void **ppvObject);") 1531cpp_quote(" ULONG (WINAPI *AddRef)(IAMTVAudioNotification *This);") 1532cpp_quote(" ULONG (WINAPI *Release)(IAMTVAudioNotification *This);") 1533cpp_quote(" HRESULT (WINAPI *OnEvent)(IAMTVAudioNotification *This,AMTVAudioEventType Event);") 1534cpp_quote(" END_INTERFACE") 1535cpp_quote(" } IAMTVAudioNotificationVtbl;") 1536cpp_quote(" struct IAMTVAudioNotification {") 1537cpp_quote(" CONST_VTBL struct IAMTVAudioNotificationVtbl *lpVtbl;") 1538cpp_quote(" };") 1539cpp_quote("#ifdef COBJMACROS") 1540cpp_quote("#define IAMTVAudioNotification_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 1541cpp_quote("#define IAMTVAudioNotification_AddRef(This) (This)->lpVtbl->AddRef(This)") 1542cpp_quote("#define IAMTVAudioNotification_Release(This) (This)->lpVtbl->Release(This)") 1543cpp_quote("#define IAMTVAudioNotification_OnEvent(This,Event) (This)->lpVtbl->OnEvent(This,Event)") 1544cpp_quote("#endif") 1545cpp_quote("#endif") 1546cpp_quote(" HRESULT WINAPI IAMTVAudioNotification_OnEvent_Proxy(IAMTVAudioNotification *This,AMTVAudioEventType Event);") 1547cpp_quote(" void __RPC_STUB IAMTVAudioNotification_OnEvent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1548cpp_quote("#endif") 1549cpp_quote("") 1550cpp_quote("#ifndef __IAMAnalogVideoEncoder_INTERFACE_DEFINED__") 1551cpp_quote("#define __IAMAnalogVideoEncoder_INTERFACE_DEFINED__") 1552cpp_quote(" EXTERN_C const IID IID_IAMAnalogVideoEncoder;") 1553cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 1554cpp_quote(" struct IAMAnalogVideoEncoder : public IUnknown {") 1555cpp_quote(" public:") 1556cpp_quote(" virtual HRESULT WINAPI get_AvailableTVFormats(LONG *lAnalogVideoStandard) = 0;") 1557cpp_quote(" virtual HRESULT WINAPI put_TVFormat(LONG lAnalogVideoStandard) = 0;") 1558cpp_quote(" virtual HRESULT WINAPI get_TVFormat(LONG *plAnalogVideoStandard) = 0;") 1559cpp_quote(" virtual HRESULT WINAPI put_CopyProtection(LONG lVideoCopyProtection) = 0;") 1560cpp_quote(" virtual HRESULT WINAPI get_CopyProtection(LONG *lVideoCopyProtection) = 0;") 1561cpp_quote(" virtual HRESULT WINAPI put_CCEnable(LONG lCCEnable) = 0;") 1562cpp_quote(" virtual HRESULT WINAPI get_CCEnable(LONG *lCCEnable) = 0;") 1563cpp_quote(" };") 1564cpp_quote("#else") 1565cpp_quote(" typedef struct IAMAnalogVideoEncoderVtbl {") 1566cpp_quote(" BEGIN_INTERFACE") 1567cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMAnalogVideoEncoder *This,REFIID riid,void **ppvObject);") 1568cpp_quote(" ULONG (WINAPI *AddRef)(IAMAnalogVideoEncoder *This);") 1569cpp_quote(" ULONG (WINAPI *Release)(IAMAnalogVideoEncoder *This);") 1570cpp_quote(" HRESULT (WINAPI *get_AvailableTVFormats)(IAMAnalogVideoEncoder *This,LONG *lAnalogVideoStandard);") 1571cpp_quote(" HRESULT (WINAPI *put_TVFormat)(IAMAnalogVideoEncoder *This,LONG lAnalogVideoStandard);") 1572cpp_quote(" HRESULT (WINAPI *get_TVFormat)(IAMAnalogVideoEncoder *This,LONG *plAnalogVideoStandard);") 1573cpp_quote(" HRESULT (WINAPI *put_CopyProtection)(IAMAnalogVideoEncoder *This,LONG lVideoCopyProtection);") 1574cpp_quote(" HRESULT (WINAPI *get_CopyProtection)(IAMAnalogVideoEncoder *This,LONG *lVideoCopyProtection);") 1575cpp_quote(" HRESULT (WINAPI *put_CCEnable)(IAMAnalogVideoEncoder *This,LONG lCCEnable);") 1576cpp_quote(" HRESULT (WINAPI *get_CCEnable)(IAMAnalogVideoEncoder *This,LONG *lCCEnable);") 1577cpp_quote(" END_INTERFACE") 1578cpp_quote(" } IAMAnalogVideoEncoderVtbl;") 1579cpp_quote(" struct IAMAnalogVideoEncoder {") 1580cpp_quote(" CONST_VTBL struct IAMAnalogVideoEncoderVtbl *lpVtbl;") 1581cpp_quote(" };") 1582cpp_quote("#ifdef COBJMACROS") 1583cpp_quote("#define IAMAnalogVideoEncoder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 1584cpp_quote("#define IAMAnalogVideoEncoder_AddRef(This) (This)->lpVtbl->AddRef(This)") 1585cpp_quote("#define IAMAnalogVideoEncoder_Release(This) (This)->lpVtbl->Release(This)") 1586cpp_quote("#define IAMAnalogVideoEncoder_get_AvailableTVFormats(This,lAnalogVideoStandard) (This)->lpVtbl->get_AvailableTVFormats(This,lAnalogVideoStandard)") 1587cpp_quote("#define IAMAnalogVideoEncoder_put_TVFormat(This,lAnalogVideoStandard) (This)->lpVtbl->put_TVFormat(This,lAnalogVideoStandard)") 1588cpp_quote("#define IAMAnalogVideoEncoder_get_TVFormat(This,plAnalogVideoStandard) (This)->lpVtbl->get_TVFormat(This,plAnalogVideoStandard)") 1589cpp_quote("#define IAMAnalogVideoEncoder_put_CopyProtection(This,lVideoCopyProtection) (This)->lpVtbl->put_CopyProtection(This,lVideoCopyProtection)") 1590cpp_quote("#define IAMAnalogVideoEncoder_get_CopyProtection(This,lVideoCopyProtection) (This)->lpVtbl->get_CopyProtection(This,lVideoCopyProtection)") 1591cpp_quote("#define IAMAnalogVideoEncoder_put_CCEnable(This,lCCEnable) (This)->lpVtbl->put_CCEnable(This,lCCEnable)") 1592cpp_quote("#define IAMAnalogVideoEncoder_get_CCEnable(This,lCCEnable) (This)->lpVtbl->get_CCEnable(This,lCCEnable)") 1593cpp_quote("#endif") 1594cpp_quote("#endif") 1595cpp_quote(" HRESULT WINAPI IAMAnalogVideoEncoder_get_AvailableTVFormats_Proxy(IAMAnalogVideoEncoder *This,LONG *lAnalogVideoStandard);") 1596cpp_quote(" void __RPC_STUB IAMAnalogVideoEncoder_get_AvailableTVFormats_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1597cpp_quote(" HRESULT WINAPI IAMAnalogVideoEncoder_put_TVFormat_Proxy(IAMAnalogVideoEncoder *This,LONG lAnalogVideoStandard);") 1598cpp_quote(" void __RPC_STUB IAMAnalogVideoEncoder_put_TVFormat_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1599cpp_quote(" HRESULT WINAPI IAMAnalogVideoEncoder_get_TVFormat_Proxy(IAMAnalogVideoEncoder *This,LONG *plAnalogVideoStandard);") 1600cpp_quote(" void __RPC_STUB IAMAnalogVideoEncoder_get_TVFormat_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1601cpp_quote(" HRESULT WINAPI IAMAnalogVideoEncoder_put_CopyProtection_Proxy(IAMAnalogVideoEncoder *This,LONG lVideoCopyProtection);") 1602cpp_quote(" void __RPC_STUB IAMAnalogVideoEncoder_put_CopyProtection_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1603cpp_quote(" HRESULT WINAPI IAMAnalogVideoEncoder_get_CopyProtection_Proxy(IAMAnalogVideoEncoder *This,LONG *lVideoCopyProtection);") 1604cpp_quote(" void __RPC_STUB IAMAnalogVideoEncoder_get_CopyProtection_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1605cpp_quote(" HRESULT WINAPI IAMAnalogVideoEncoder_put_CCEnable_Proxy(IAMAnalogVideoEncoder *This,LONG lCCEnable);") 1606cpp_quote(" void __RPC_STUB IAMAnalogVideoEncoder_put_CCEnable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1607cpp_quote(" HRESULT WINAPI IAMAnalogVideoEncoder_get_CCEnable_Proxy(IAMAnalogVideoEncoder *This,LONG *lCCEnable);") 1608cpp_quote(" void __RPC_STUB IAMAnalogVideoEncoder_get_CCEnable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1609cpp_quote("#endif") 1610cpp_quote("") 1611cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0185_0001 {") 1612cpp_quote(" AMPROPERTY_PIN_CATEGORY = 0,AMPROPERTY_PIN_MEDIUM = AMPROPERTY_PIN_CATEGORY + 1") 1613cpp_quote(" } AMPROPERTY_PIN;") 1614cpp_quote("") 1615cpp_quote("#ifndef __IAMPhysicalPinInfo_INTERFACE_DEFINED__") 1616cpp_quote("#define __IAMPhysicalPinInfo_INTERFACE_DEFINED__") 1617cpp_quote(" EXTERN_C const IID IID_IAMPhysicalPinInfo;") 1618cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 1619cpp_quote(" struct IAMPhysicalPinInfo : public IUnknown {") 1620cpp_quote(" public:") 1621cpp_quote(" virtual HRESULT WINAPI GetPhysicalType(LONG *pType,LPOLESTR *ppszType) = 0;") 1622cpp_quote(" };") 1623cpp_quote("#else") 1624cpp_quote(" typedef struct IAMPhysicalPinInfoVtbl {") 1625cpp_quote(" BEGIN_INTERFACE") 1626cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMPhysicalPinInfo *This,REFIID riid,void **ppvObject);") 1627cpp_quote(" ULONG (WINAPI *AddRef)(IAMPhysicalPinInfo *This);") 1628cpp_quote(" ULONG (WINAPI *Release)(IAMPhysicalPinInfo *This);") 1629cpp_quote(" HRESULT (WINAPI *GetPhysicalType)(IAMPhysicalPinInfo *This,LONG *pType,LPOLESTR *ppszType);") 1630cpp_quote(" END_INTERFACE") 1631cpp_quote(" } IAMPhysicalPinInfoVtbl;") 1632cpp_quote(" struct IAMPhysicalPinInfo {") 1633cpp_quote(" CONST_VTBL struct IAMPhysicalPinInfoVtbl *lpVtbl;") 1634cpp_quote(" };") 1635cpp_quote("#ifdef COBJMACROS") 1636cpp_quote("#define IAMPhysicalPinInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 1637cpp_quote("#define IAMPhysicalPinInfo_AddRef(This) (This)->lpVtbl->AddRef(This)") 1638cpp_quote("#define IAMPhysicalPinInfo_Release(This) (This)->lpVtbl->Release(This)") 1639cpp_quote("#define IAMPhysicalPinInfo_GetPhysicalType(This,pType,ppszType) (This)->lpVtbl->GetPhysicalType(This,pType,ppszType)") 1640cpp_quote("#endif") 1641cpp_quote("#endif") 1642cpp_quote(" HRESULT WINAPI IAMPhysicalPinInfo_GetPhysicalType_Proxy(IAMPhysicalPinInfo *This,LONG *pType,LPOLESTR *ppszType);") 1643cpp_quote(" void __RPC_STUB IAMPhysicalPinInfo_GetPhysicalType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1644cpp_quote("#endif") 1645cpp_quote("") 1646cpp_quote(" typedef IAMPhysicalPinInfo *PAMPHYSICALPININFO;") 1647cpp_quote("") 1648cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0338_v0_0_c_ifspec;") 1649cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0338_v0_0_s_ifspec;") 1650cpp_quote("#ifndef __IAMExtDevice_INTERFACE_DEFINED__") 1651cpp_quote("#define __IAMExtDevice_INTERFACE_DEFINED__") 1652cpp_quote(" EXTERN_C const IID IID_IAMExtDevice;") 1653cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 1654cpp_quote(" struct IAMExtDevice : public IUnknown {") 1655cpp_quote(" public:") 1656cpp_quote(" virtual HRESULT WINAPI GetCapability(LONG Capability,LONG *pValue,double *pdblValue) = 0;") 1657cpp_quote(" virtual HRESULT WINAPI get_ExternalDeviceID(LPOLESTR *ppszData) = 0;") 1658cpp_quote(" virtual HRESULT WINAPI get_ExternalDeviceVersion(LPOLESTR *ppszData) = 0;") 1659cpp_quote(" virtual HRESULT WINAPI put_DevicePower(LONG PowerMode) = 0;") 1660cpp_quote(" virtual HRESULT WINAPI get_DevicePower(LONG *pPowerMode) = 0;") 1661cpp_quote(" virtual HRESULT WINAPI Calibrate(HEVENT hEvent,LONG Mode,LONG *pStatus) = 0;") 1662cpp_quote(" virtual HRESULT WINAPI put_DevicePort(LONG DevicePort) = 0;") 1663cpp_quote(" virtual HRESULT WINAPI get_DevicePort(LONG *pDevicePort) = 0;") 1664cpp_quote(" };") 1665cpp_quote("#else") 1666cpp_quote(" typedef struct IAMExtDeviceVtbl {") 1667cpp_quote(" BEGIN_INTERFACE") 1668cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMExtDevice *This,REFIID riid,void **ppvObject);") 1669cpp_quote(" ULONG (WINAPI *AddRef)(IAMExtDevice *This);") 1670cpp_quote(" ULONG (WINAPI *Release)(IAMExtDevice *This);") 1671cpp_quote(" HRESULT (WINAPI *GetCapability)(IAMExtDevice *This,LONG Capability,LONG *pValue,double *pdblValue);") 1672cpp_quote(" HRESULT (WINAPI *get_ExternalDeviceID)(IAMExtDevice *This,LPOLESTR *ppszData);") 1673cpp_quote(" HRESULT (WINAPI *get_ExternalDeviceVersion)(IAMExtDevice *This,LPOLESTR *ppszData);") 1674cpp_quote(" HRESULT (WINAPI *put_DevicePower)(IAMExtDevice *This,LONG PowerMode);") 1675cpp_quote(" HRESULT (WINAPI *get_DevicePower)(IAMExtDevice *This,LONG *pPowerMode);") 1676cpp_quote(" HRESULT (WINAPI *Calibrate)(IAMExtDevice *This,HEVENT hEvent,LONG Mode,LONG *pStatus);") 1677cpp_quote(" HRESULT (WINAPI *put_DevicePort)(IAMExtDevice *This,LONG DevicePort);") 1678cpp_quote(" HRESULT (WINAPI *get_DevicePort)(IAMExtDevice *This,LONG *pDevicePort);") 1679cpp_quote(" END_INTERFACE") 1680cpp_quote(" } IAMExtDeviceVtbl;") 1681cpp_quote(" struct IAMExtDevice {") 1682cpp_quote(" CONST_VTBL struct IAMExtDeviceVtbl *lpVtbl;") 1683cpp_quote(" };") 1684cpp_quote("#ifdef COBJMACROS") 1685cpp_quote("#define IAMExtDevice_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 1686cpp_quote("#define IAMExtDevice_AddRef(This) (This)->lpVtbl->AddRef(This)") 1687cpp_quote("#define IAMExtDevice_Release(This) (This)->lpVtbl->Release(This)") 1688cpp_quote("#define IAMExtDevice_GetCapability(This,Capability,pValue,pdblValue) (This)->lpVtbl->GetCapability(This,Capability,pValue,pdblValue)") 1689cpp_quote("#define IAMExtDevice_get_ExternalDeviceID(This,ppszData) (This)->lpVtbl->get_ExternalDeviceID(This,ppszData)") 1690cpp_quote("#define IAMExtDevice_get_ExternalDeviceVersion(This,ppszData) (This)->lpVtbl->get_ExternalDeviceVersion(This,ppszData)") 1691cpp_quote("#define IAMExtDevice_put_DevicePower(This,PowerMode) (This)->lpVtbl->put_DevicePower(This,PowerMode)") 1692cpp_quote("#define IAMExtDevice_get_DevicePower(This,pPowerMode) (This)->lpVtbl->get_DevicePower(This,pPowerMode)") 1693cpp_quote("#define IAMExtDevice_Calibrate(This,hEvent,Mode,pStatus) (This)->lpVtbl->Calibrate(This,hEvent,Mode,pStatus)") 1694cpp_quote("#define IAMExtDevice_put_DevicePort(This,DevicePort) (This)->lpVtbl->put_DevicePort(This,DevicePort)") 1695cpp_quote("#define IAMExtDevice_get_DevicePort(This,pDevicePort) (This)->lpVtbl->get_DevicePort(This,pDevicePort)") 1696cpp_quote("#endif") 1697cpp_quote("#endif") 1698cpp_quote(" HRESULT WINAPI IAMExtDevice_GetCapability_Proxy(IAMExtDevice *This,LONG Capability,LONG *pValue,double *pdblValue);") 1699cpp_quote(" void __RPC_STUB IAMExtDevice_GetCapability_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1700cpp_quote(" HRESULT WINAPI IAMExtDevice_get_ExternalDeviceID_Proxy(IAMExtDevice *This,LPOLESTR *ppszData);") 1701cpp_quote(" void __RPC_STUB IAMExtDevice_get_ExternalDeviceID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1702cpp_quote(" HRESULT WINAPI IAMExtDevice_get_ExternalDeviceVersion_Proxy(IAMExtDevice *This,LPOLESTR *ppszData);") 1703cpp_quote(" void __RPC_STUB IAMExtDevice_get_ExternalDeviceVersion_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1704cpp_quote(" HRESULT WINAPI IAMExtDevice_put_DevicePower_Proxy(IAMExtDevice *This,LONG PowerMode);") 1705cpp_quote(" void __RPC_STUB IAMExtDevice_put_DevicePower_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1706cpp_quote(" HRESULT WINAPI IAMExtDevice_get_DevicePower_Proxy(IAMExtDevice *This,LONG *pPowerMode);") 1707cpp_quote(" void __RPC_STUB IAMExtDevice_get_DevicePower_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1708cpp_quote(" HRESULT WINAPI IAMExtDevice_Calibrate_Proxy(IAMExtDevice *This,HEVENT hEvent,LONG Mode,LONG *pStatus);") 1709cpp_quote(" void __RPC_STUB IAMExtDevice_Calibrate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1710cpp_quote(" HRESULT WINAPI IAMExtDevice_put_DevicePort_Proxy(IAMExtDevice *This,LONG DevicePort);") 1711cpp_quote(" void __RPC_STUB IAMExtDevice_put_DevicePort_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1712cpp_quote(" HRESULT WINAPI IAMExtDevice_get_DevicePort_Proxy(IAMExtDevice *This,LONG *pDevicePort);") 1713cpp_quote(" void __RPC_STUB IAMExtDevice_get_DevicePort_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1714cpp_quote("#endif") 1715cpp_quote("") 1716cpp_quote(" typedef IAMExtDevice *PEXTDEVICE;") 1717cpp_quote("") 1718cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0339_v0_0_c_ifspec;") 1719cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0339_v0_0_s_ifspec;") 1720cpp_quote("#ifndef __IAMExtTransport_INTERFACE_DEFINED__") 1721cpp_quote("#define __IAMExtTransport_INTERFACE_DEFINED__") 1722cpp_quote(" EXTERN_C const IID IID_IAMExtTransport;") 1723cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 1724cpp_quote(" struct IAMExtTransport : public IUnknown {") 1725cpp_quote(" public:") 1726cpp_quote(" virtual HRESULT WINAPI GetCapability(LONG Capability,LONG *pValue,double *pdblValue) = 0;") 1727cpp_quote(" virtual HRESULT WINAPI put_MediaState(LONG State) = 0;") 1728cpp_quote(" virtual HRESULT WINAPI get_MediaState(LONG *pState) = 0;") 1729cpp_quote(" virtual HRESULT WINAPI put_LocalControl(LONG State) = 0;") 1730cpp_quote(" virtual HRESULT WINAPI get_LocalControl(LONG *pState) = 0;") 1731cpp_quote(" virtual HRESULT WINAPI GetStatus(LONG StatusItem,LONG *pValue) = 0;") 1732cpp_quote(" virtual HRESULT WINAPI GetTransportBasicParameters(LONG Param,LONG *pValue,LPOLESTR *ppszData) = 0;") 1733cpp_quote(" virtual HRESULT WINAPI SetTransportBasicParameters(LONG Param,LONG Value,LPCOLESTR pszData) = 0;") 1734cpp_quote(" virtual HRESULT WINAPI GetTransportVideoParameters(LONG Param,LONG *pValue) = 0;") 1735cpp_quote(" virtual HRESULT WINAPI SetTransportVideoParameters(LONG Param,LONG Value) = 0;") 1736cpp_quote(" virtual HRESULT WINAPI GetTransportAudioParameters(LONG Param,LONG *pValue) = 0;") 1737cpp_quote(" virtual HRESULT WINAPI SetTransportAudioParameters(LONG Param,LONG Value) = 0;") 1738cpp_quote(" virtual HRESULT WINAPI put_Mode(LONG Mode) = 0;") 1739cpp_quote(" virtual HRESULT WINAPI get_Mode(LONG *pMode) = 0;") 1740cpp_quote(" virtual HRESULT WINAPI put_Rate(double dblRate) = 0;") 1741cpp_quote(" virtual HRESULT WINAPI get_Rate(double *pdblRate) = 0;") 1742cpp_quote(" virtual HRESULT WINAPI GetChase(LONG *pEnabled,LONG *pOffset,HEVENT *phEvent) = 0;") 1743cpp_quote(" virtual HRESULT WINAPI SetChase(LONG Enable,LONG Offset,HEVENT hEvent) = 0;") 1744cpp_quote(" virtual HRESULT WINAPI GetBump(LONG *pSpeed,LONG *pDuration) = 0;") 1745cpp_quote(" virtual HRESULT WINAPI SetBump(LONG Speed,LONG Duration) = 0;") 1746cpp_quote(" virtual HRESULT WINAPI get_AntiClogControl(LONG *pEnabled) = 0;") 1747cpp_quote(" virtual HRESULT WINAPI put_AntiClogControl(LONG Enable) = 0;") 1748cpp_quote(" virtual HRESULT WINAPI GetEditPropertySet(LONG EditID,LONG *pState) = 0;") 1749cpp_quote(" virtual HRESULT WINAPI SetEditPropertySet(LONG *pEditID,LONG State) = 0;") 1750cpp_quote(" virtual HRESULT WINAPI GetEditProperty(LONG EditID,LONG Param,LONG *pValue) = 0;") 1751cpp_quote(" virtual HRESULT WINAPI SetEditProperty(LONG EditID,LONG Param,LONG Value) = 0;") 1752cpp_quote(" virtual HRESULT WINAPI get_EditStart(LONG *pValue) = 0;") 1753cpp_quote(" virtual HRESULT WINAPI put_EditStart(LONG Value) = 0;") 1754cpp_quote(" };") 1755cpp_quote("#else") 1756cpp_quote(" typedef struct IAMExtTransportVtbl {") 1757cpp_quote(" BEGIN_INTERFACE") 1758cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMExtTransport *This,REFIID riid,void **ppvObject);") 1759cpp_quote(" ULONG (WINAPI *AddRef)(IAMExtTransport *This);") 1760cpp_quote(" ULONG (WINAPI *Release)(IAMExtTransport *This);") 1761cpp_quote(" HRESULT (WINAPI *GetCapability)(IAMExtTransport *This,LONG Capability,LONG *pValue,double *pdblValue);") 1762cpp_quote(" HRESULT (WINAPI *put_MediaState)(IAMExtTransport *This,LONG State);") 1763cpp_quote(" HRESULT (WINAPI *get_MediaState)(IAMExtTransport *This,LONG *pState);") 1764cpp_quote(" HRESULT (WINAPI *put_LocalControl)(IAMExtTransport *This,LONG State);") 1765cpp_quote(" HRESULT (WINAPI *get_LocalControl)(IAMExtTransport *This,LONG *pState);") 1766cpp_quote(" HRESULT (WINAPI *GetStatus)(IAMExtTransport *This,LONG StatusItem,LONG *pValue);") 1767cpp_quote(" HRESULT (WINAPI *GetTransportBasicParameters)(IAMExtTransport *This,LONG Param,LONG *pValue,LPOLESTR *ppszData);") 1768cpp_quote(" HRESULT (WINAPI *SetTransportBasicParameters)(IAMExtTransport *This,LONG Param,LONG Value,LPCOLESTR pszData);") 1769cpp_quote(" HRESULT (WINAPI *GetTransportVideoParameters)(IAMExtTransport *This,LONG Param,LONG *pValue);") 1770cpp_quote(" HRESULT (WINAPI *SetTransportVideoParameters)(IAMExtTransport *This,LONG Param,LONG Value);") 1771cpp_quote(" HRESULT (WINAPI *GetTransportAudioParameters)(IAMExtTransport *This,LONG Param,LONG *pValue);") 1772cpp_quote(" HRESULT (WINAPI *SetTransportAudioParameters)(IAMExtTransport *This,LONG Param,LONG Value);") 1773cpp_quote(" HRESULT (WINAPI *put_Mode)(IAMExtTransport *This,LONG Mode);") 1774cpp_quote(" HRESULT (WINAPI *get_Mode)(IAMExtTransport *This,LONG *pMode);") 1775cpp_quote(" HRESULT (WINAPI *put_Rate)(IAMExtTransport *This,double dblRate);") 1776cpp_quote(" HRESULT (WINAPI *get_Rate)(IAMExtTransport *This,double *pdblRate);") 1777cpp_quote(" HRESULT (WINAPI *GetChase)(IAMExtTransport *This,LONG *pEnabled,LONG *pOffset,HEVENT *phEvent);") 1778cpp_quote(" HRESULT (WINAPI *SetChase)(IAMExtTransport *This,LONG Enable,LONG Offset,HEVENT hEvent);") 1779cpp_quote(" HRESULT (WINAPI *GetBump)(IAMExtTransport *This,LONG *pSpeed,LONG *pDuration);") 1780cpp_quote(" HRESULT (WINAPI *SetBump)(IAMExtTransport *This,LONG Speed,LONG Duration);") 1781cpp_quote(" HRESULT (WINAPI *get_AntiClogControl)(IAMExtTransport *This,LONG *pEnabled);") 1782cpp_quote(" HRESULT (WINAPI *put_AntiClogControl)(IAMExtTransport *This,LONG Enable);") 1783cpp_quote(" HRESULT (WINAPI *GetEditPropertySet)(IAMExtTransport *This,LONG EditID,LONG *pState);") 1784cpp_quote(" HRESULT (WINAPI *SetEditPropertySet)(IAMExtTransport *This,LONG *pEditID,LONG State);") 1785cpp_quote(" HRESULT (WINAPI *GetEditProperty)(IAMExtTransport *This,LONG EditID,LONG Param,LONG *pValue);") 1786cpp_quote(" HRESULT (WINAPI *SetEditProperty)(IAMExtTransport *This,LONG EditID,LONG Param,LONG Value);") 1787cpp_quote(" HRESULT (WINAPI *get_EditStart)(IAMExtTransport *This,LONG *pValue);") 1788cpp_quote(" HRESULT (WINAPI *put_EditStart)(IAMExtTransport *This,LONG Value);") 1789cpp_quote(" END_INTERFACE") 1790cpp_quote(" } IAMExtTransportVtbl;") 1791cpp_quote(" struct IAMExtTransport {") 1792cpp_quote(" CONST_VTBL struct IAMExtTransportVtbl *lpVtbl;") 1793cpp_quote(" };") 1794cpp_quote("#ifdef COBJMACROS") 1795cpp_quote("#define IAMExtTransport_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 1796cpp_quote("#define IAMExtTransport_AddRef(This) (This)->lpVtbl->AddRef(This)") 1797cpp_quote("#define IAMExtTransport_Release(This) (This)->lpVtbl->Release(This)") 1798cpp_quote("#define IAMExtTransport_GetCapability(This,Capability,pValue,pdblValue) (This)->lpVtbl->GetCapability(This,Capability,pValue,pdblValue)") 1799cpp_quote("#define IAMExtTransport_put_MediaState(This,State) (This)->lpVtbl->put_MediaState(This,State)") 1800cpp_quote("#define IAMExtTransport_get_MediaState(This,pState) (This)->lpVtbl->get_MediaState(This,pState)") 1801cpp_quote("#define IAMExtTransport_put_LocalControl(This,State) (This)->lpVtbl->put_LocalControl(This,State)") 1802cpp_quote("#define IAMExtTransport_get_LocalControl(This,pState) (This)->lpVtbl->get_LocalControl(This,pState)") 1803cpp_quote("#define IAMExtTransport_GetStatus(This,StatusItem,pValue) (This)->lpVtbl->GetStatus(This,StatusItem,pValue)") 1804cpp_quote("#define IAMExtTransport_GetTransportBasicParameters(This,Param,pValue,ppszData) (This)->lpVtbl->GetTransportBasicParameters(This,Param,pValue,ppszData)") 1805cpp_quote("#define IAMExtTransport_SetTransportBasicParameters(This,Param,Value,pszData) (This)->lpVtbl->SetTransportBasicParameters(This,Param,Value,pszData)") 1806cpp_quote("#define IAMExtTransport_GetTransportVideoParameters(This,Param,pValue) (This)->lpVtbl->GetTransportVideoParameters(This,Param,pValue)") 1807cpp_quote("#define IAMExtTransport_SetTransportVideoParameters(This,Param,Value) (This)->lpVtbl->SetTransportVideoParameters(This,Param,Value)") 1808cpp_quote("#define IAMExtTransport_GetTransportAudioParameters(This,Param,pValue) (This)->lpVtbl->GetTransportAudioParameters(This,Param,pValue)") 1809cpp_quote("#define IAMExtTransport_SetTransportAudioParameters(This,Param,Value) (This)->lpVtbl->SetTransportAudioParameters(This,Param,Value)") 1810cpp_quote("#define IAMExtTransport_put_Mode(This,Mode) (This)->lpVtbl->put_Mode(This,Mode)") 1811cpp_quote("#define IAMExtTransport_get_Mode(This,pMode) (This)->lpVtbl->get_Mode(This,pMode)") 1812cpp_quote("#define IAMExtTransport_put_Rate(This,dblRate) (This)->lpVtbl->put_Rate(This,dblRate)") 1813cpp_quote("#define IAMExtTransport_get_Rate(This,pdblRate) (This)->lpVtbl->get_Rate(This,pdblRate)") 1814cpp_quote("#define IAMExtTransport_GetChase(This,pEnabled,pOffset,phEvent) (This)->lpVtbl->GetChase(This,pEnabled,pOffset,phEvent)") 1815cpp_quote("#define IAMExtTransport_SetChase(This,Enable,Offset,hEvent) (This)->lpVtbl->SetChase(This,Enable,Offset,hEvent)") 1816cpp_quote("#define IAMExtTransport_GetBump(This,pSpeed,pDuration) (This)->lpVtbl->GetBump(This,pSpeed,pDuration)") 1817cpp_quote("#define IAMExtTransport_SetBump(This,Speed,Duration) (This)->lpVtbl->SetBump(This,Speed,Duration)") 1818cpp_quote("#define IAMExtTransport_get_AntiClogControl(This,pEnabled) (This)->lpVtbl->get_AntiClogControl(This,pEnabled)") 1819cpp_quote("#define IAMExtTransport_put_AntiClogControl(This,Enable) (This)->lpVtbl->put_AntiClogControl(This,Enable)") 1820cpp_quote("#define IAMExtTransport_GetEditPropertySet(This,EditID,pState) (This)->lpVtbl->GetEditPropertySet(This,EditID,pState)") 1821cpp_quote("#define IAMExtTransport_SetEditPropertySet(This,pEditID,State) (This)->lpVtbl->SetEditPropertySet(This,pEditID,State)") 1822cpp_quote("#define IAMExtTransport_GetEditProperty(This,EditID,Param,pValue) (This)->lpVtbl->GetEditProperty(This,EditID,Param,pValue)") 1823cpp_quote("#define IAMExtTransport_SetEditProperty(This,EditID,Param,Value) (This)->lpVtbl->SetEditProperty(This,EditID,Param,Value)") 1824cpp_quote("#define IAMExtTransport_get_EditStart(This,pValue) (This)->lpVtbl->get_EditStart(This,pValue)") 1825cpp_quote("#define IAMExtTransport_put_EditStart(This,Value) (This)->lpVtbl->put_EditStart(This,Value)") 1826cpp_quote("#endif") 1827cpp_quote("#endif") 1828cpp_quote(" HRESULT WINAPI IAMExtTransport_GetCapability_Proxy(IAMExtTransport *This,LONG Capability,LONG *pValue,double *pdblValue);") 1829cpp_quote(" void __RPC_STUB IAMExtTransport_GetCapability_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1830cpp_quote(" HRESULT WINAPI IAMExtTransport_put_MediaState_Proxy(IAMExtTransport *This,LONG State);") 1831cpp_quote(" void __RPC_STUB IAMExtTransport_put_MediaState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1832cpp_quote(" HRESULT WINAPI IAMExtTransport_get_MediaState_Proxy(IAMExtTransport *This,LONG *pState);") 1833cpp_quote(" void __RPC_STUB IAMExtTransport_get_MediaState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1834cpp_quote(" HRESULT WINAPI IAMExtTransport_put_LocalControl_Proxy(IAMExtTransport *This,LONG State);") 1835cpp_quote(" void __RPC_STUB IAMExtTransport_put_LocalControl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1836cpp_quote(" HRESULT WINAPI IAMExtTransport_get_LocalControl_Proxy(IAMExtTransport *This,LONG *pState);") 1837cpp_quote(" void __RPC_STUB IAMExtTransport_get_LocalControl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1838cpp_quote(" HRESULT WINAPI IAMExtTransport_GetStatus_Proxy(IAMExtTransport *This,LONG StatusItem,LONG *pValue);") 1839cpp_quote(" void __RPC_STUB IAMExtTransport_GetStatus_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1840cpp_quote(" HRESULT WINAPI IAMExtTransport_GetTransportBasicParameters_Proxy(IAMExtTransport *This,LONG Param,LONG *pValue,LPOLESTR *ppszData);") 1841cpp_quote(" void __RPC_STUB IAMExtTransport_GetTransportBasicParameters_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1842cpp_quote(" HRESULT WINAPI IAMExtTransport_SetTransportBasicParameters_Proxy(IAMExtTransport *This,LONG Param,LONG Value,LPCOLESTR pszData);") 1843cpp_quote(" void __RPC_STUB IAMExtTransport_SetTransportBasicParameters_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1844cpp_quote(" HRESULT WINAPI IAMExtTransport_GetTransportVideoParameters_Proxy(IAMExtTransport *This,LONG Param,LONG *pValue);") 1845cpp_quote(" void __RPC_STUB IAMExtTransport_GetTransportVideoParameters_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1846cpp_quote(" HRESULT WINAPI IAMExtTransport_SetTransportVideoParameters_Proxy(IAMExtTransport *This,LONG Param,LONG Value);") 1847cpp_quote(" void __RPC_STUB IAMExtTransport_SetTransportVideoParameters_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1848cpp_quote(" HRESULT WINAPI IAMExtTransport_GetTransportAudioParameters_Proxy(IAMExtTransport *This,LONG Param,LONG *pValue);") 1849cpp_quote(" void __RPC_STUB IAMExtTransport_GetTransportAudioParameters_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1850cpp_quote(" HRESULT WINAPI IAMExtTransport_SetTransportAudioParameters_Proxy(IAMExtTransport *This,LONG Param,LONG Value);") 1851cpp_quote(" void __RPC_STUB IAMExtTransport_SetTransportAudioParameters_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1852cpp_quote(" HRESULT WINAPI IAMExtTransport_put_Mode_Proxy(IAMExtTransport *This,LONG Mode);") 1853cpp_quote(" void __RPC_STUB IAMExtTransport_put_Mode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1854cpp_quote(" HRESULT WINAPI IAMExtTransport_get_Mode_Proxy(IAMExtTransport *This,LONG *pMode);") 1855cpp_quote(" void __RPC_STUB IAMExtTransport_get_Mode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1856cpp_quote(" HRESULT WINAPI IAMExtTransport_put_Rate_Proxy(IAMExtTransport *This,double dblRate);") 1857cpp_quote(" void __RPC_STUB IAMExtTransport_put_Rate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1858cpp_quote(" HRESULT WINAPI IAMExtTransport_get_Rate_Proxy(IAMExtTransport *This,double *pdblRate);") 1859cpp_quote(" void __RPC_STUB IAMExtTransport_get_Rate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1860cpp_quote(" HRESULT WINAPI IAMExtTransport_GetChase_Proxy(IAMExtTransport *This,LONG *pEnabled,LONG *pOffset,HEVENT *phEvent);") 1861cpp_quote(" void __RPC_STUB IAMExtTransport_GetChase_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1862cpp_quote(" HRESULT WINAPI IAMExtTransport_SetChase_Proxy(IAMExtTransport *This,LONG Enable,LONG Offset,HEVENT hEvent);") 1863cpp_quote(" void __RPC_STUB IAMExtTransport_SetChase_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1864cpp_quote(" HRESULT WINAPI IAMExtTransport_GetBump_Proxy(IAMExtTransport *This,LONG *pSpeed,LONG *pDuration);") 1865cpp_quote(" void __RPC_STUB IAMExtTransport_GetBump_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1866cpp_quote(" HRESULT WINAPI IAMExtTransport_SetBump_Proxy(IAMExtTransport *This,LONG Speed,LONG Duration);") 1867cpp_quote(" void __RPC_STUB IAMExtTransport_SetBump_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1868cpp_quote(" HRESULT WINAPI IAMExtTransport_get_AntiClogControl_Proxy(IAMExtTransport *This,LONG *pEnabled);") 1869cpp_quote(" void __RPC_STUB IAMExtTransport_get_AntiClogControl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1870cpp_quote(" HRESULT WINAPI IAMExtTransport_put_AntiClogControl_Proxy(IAMExtTransport *This,LONG Enable);") 1871cpp_quote(" void __RPC_STUB IAMExtTransport_put_AntiClogControl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1872cpp_quote(" HRESULT WINAPI IAMExtTransport_GetEditPropertySet_Proxy(IAMExtTransport *This,LONG EditID,LONG *pState);") 1873cpp_quote(" void __RPC_STUB IAMExtTransport_GetEditPropertySet_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1874cpp_quote(" HRESULT WINAPI IAMExtTransport_SetEditPropertySet_Proxy(IAMExtTransport *This,LONG *pEditID,LONG State);") 1875cpp_quote(" void __RPC_STUB IAMExtTransport_SetEditPropertySet_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1876cpp_quote(" HRESULT WINAPI IAMExtTransport_GetEditProperty_Proxy(IAMExtTransport *This,LONG EditID,LONG Param,LONG *pValue);") 1877cpp_quote(" void __RPC_STUB IAMExtTransport_GetEditProperty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1878cpp_quote(" HRESULT WINAPI IAMExtTransport_SetEditProperty_Proxy(IAMExtTransport *This,LONG EditID,LONG Param,LONG Value);") 1879cpp_quote(" void __RPC_STUB IAMExtTransport_SetEditProperty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1880cpp_quote(" HRESULT WINAPI IAMExtTransport_get_EditStart_Proxy(IAMExtTransport *This,LONG *pValue);") 1881cpp_quote(" void __RPC_STUB IAMExtTransport_get_EditStart_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1882cpp_quote(" HRESULT WINAPI IAMExtTransport_put_EditStart_Proxy(IAMExtTransport *This,LONG Value);") 1883cpp_quote(" void __RPC_STUB IAMExtTransport_put_EditStart_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1884cpp_quote("#endif") 1885cpp_quote("") 1886cpp_quote(" typedef IAMExtTransport *PIAMEXTTRANSPORT;") 1887cpp_quote("") 1888cpp_quote("#ifndef TIMECODE_DEFINED") 1889cpp_quote("#define TIMECODE_DEFINED") 1890cpp_quote(" typedef union _timecode {") 1891cpp_quote(" __C89_NAMELESS struct {") 1892cpp_quote(" WORD wFrameRate;") 1893cpp_quote(" WORD wFrameFract;") 1894cpp_quote(" DWORD dwFrames;") 1895cpp_quote(" };") 1896cpp_quote(" DWORDLONG qw;") 1897cpp_quote(" } TIMECODE;") 1898cpp_quote("#endif") 1899cpp_quote("") 1900cpp_quote(" typedef TIMECODE *PTIMECODE;") 1901cpp_quote("") 1902cpp_quote(" typedef struct tagTIMECODE_SAMPLE {") 1903cpp_quote(" LONGLONG qwTick;") 1904cpp_quote(" TIMECODE timecode;") 1905cpp_quote(" DWORD dwUser;") 1906cpp_quote(" DWORD dwFlags;") 1907cpp_quote(" } TIMECODE_SAMPLE;") 1908cpp_quote("") 1909cpp_quote(" typedef TIMECODE_SAMPLE *PTIMECODE_SAMPLE;") 1910cpp_quote("") 1911cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0340_v0_0_c_ifspec;") 1912cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0340_v0_0_s_ifspec;") 1913cpp_quote("#ifndef __IAMTimecodeReader_INTERFACE_DEFINED__") 1914cpp_quote("#define __IAMTimecodeReader_INTERFACE_DEFINED__") 1915cpp_quote(" EXTERN_C const IID IID_IAMTimecodeReader;") 1916cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 1917cpp_quote(" struct IAMTimecodeReader : public IUnknown {") 1918cpp_quote(" public:") 1919cpp_quote(" virtual HRESULT WINAPI GetTCRMode(LONG Param,LONG *pValue) = 0;") 1920cpp_quote(" virtual HRESULT WINAPI SetTCRMode(LONG Param,LONG Value) = 0;") 1921cpp_quote(" virtual HRESULT WINAPI put_VITCLine(LONG Line) = 0;") 1922cpp_quote(" virtual HRESULT WINAPI get_VITCLine(LONG *pLine) = 0;") 1923cpp_quote(" virtual HRESULT WINAPI GetTimecode(PTIMECODE_SAMPLE pTimecodeSample) = 0;") 1924cpp_quote(" };") 1925cpp_quote("#else") 1926cpp_quote(" typedef struct IAMTimecodeReaderVtbl {") 1927cpp_quote(" BEGIN_INTERFACE") 1928cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMTimecodeReader *This,REFIID riid,void **ppvObject);") 1929cpp_quote(" ULONG (WINAPI *AddRef)(IAMTimecodeReader *This);") 1930cpp_quote(" ULONG (WINAPI *Release)(IAMTimecodeReader *This);") 1931cpp_quote(" HRESULT (WINAPI *GetTCRMode)(IAMTimecodeReader *This,LONG Param,LONG *pValue);") 1932cpp_quote(" HRESULT (WINAPI *SetTCRMode)(IAMTimecodeReader *This,LONG Param,LONG Value);") 1933cpp_quote(" HRESULT (WINAPI *put_VITCLine)(IAMTimecodeReader *This,LONG Line);") 1934cpp_quote(" HRESULT (WINAPI *get_VITCLine)(IAMTimecodeReader *This,LONG *pLine);") 1935cpp_quote(" HRESULT (WINAPI *GetTimecode)(IAMTimecodeReader *This,PTIMECODE_SAMPLE pTimecodeSample);") 1936cpp_quote(" END_INTERFACE") 1937cpp_quote(" } IAMTimecodeReaderVtbl;") 1938cpp_quote(" struct IAMTimecodeReader {") 1939cpp_quote(" CONST_VTBL struct IAMTimecodeReaderVtbl *lpVtbl;") 1940cpp_quote(" };") 1941cpp_quote("#ifdef COBJMACROS") 1942cpp_quote("#define IAMTimecodeReader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 1943cpp_quote("#define IAMTimecodeReader_AddRef(This) (This)->lpVtbl->AddRef(This)") 1944cpp_quote("#define IAMTimecodeReader_Release(This) (This)->lpVtbl->Release(This)") 1945cpp_quote("#define IAMTimecodeReader_GetTCRMode(This,Param,pValue) (This)->lpVtbl->GetTCRMode(This,Param,pValue)") 1946cpp_quote("#define IAMTimecodeReader_SetTCRMode(This,Param,Value) (This)->lpVtbl->SetTCRMode(This,Param,Value)") 1947cpp_quote("#define IAMTimecodeReader_put_VITCLine(This,Line) (This)->lpVtbl->put_VITCLine(This,Line)") 1948cpp_quote("#define IAMTimecodeReader_get_VITCLine(This,pLine) (This)->lpVtbl->get_VITCLine(This,pLine)") 1949cpp_quote("#define IAMTimecodeReader_GetTimecode(This,pTimecodeSample) (This)->lpVtbl->GetTimecode(This,pTimecodeSample)") 1950cpp_quote("#endif") 1951cpp_quote("#endif") 1952cpp_quote(" HRESULT WINAPI IAMTimecodeReader_GetTCRMode_Proxy(IAMTimecodeReader *This,LONG Param,LONG *pValue);") 1953cpp_quote(" void __RPC_STUB IAMTimecodeReader_GetTCRMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1954cpp_quote(" HRESULT WINAPI IAMTimecodeReader_SetTCRMode_Proxy(IAMTimecodeReader *This,LONG Param,LONG Value);") 1955cpp_quote(" void __RPC_STUB IAMTimecodeReader_SetTCRMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1956cpp_quote(" HRESULT WINAPI IAMTimecodeReader_put_VITCLine_Proxy(IAMTimecodeReader *This,LONG Line);") 1957cpp_quote(" void __RPC_STUB IAMTimecodeReader_put_VITCLine_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1958cpp_quote(" HRESULT WINAPI IAMTimecodeReader_get_VITCLine_Proxy(IAMTimecodeReader *This,LONG *pLine);") 1959cpp_quote(" void __RPC_STUB IAMTimecodeReader_get_VITCLine_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1960cpp_quote(" HRESULT WINAPI IAMTimecodeReader_GetTimecode_Proxy(IAMTimecodeReader *This,PTIMECODE_SAMPLE pTimecodeSample);") 1961cpp_quote(" void __RPC_STUB IAMTimecodeReader_GetTimecode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 1962cpp_quote("#endif") 1963cpp_quote("") 1964cpp_quote(" typedef IAMTimecodeReader *PIAMTIMECODEREADER;") 1965cpp_quote("") 1966cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0341_v0_0_c_ifspec;") 1967cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0341_v0_0_s_ifspec;") 1968cpp_quote("#ifndef __IAMTimecodeGenerator_INTERFACE_DEFINED__") 1969cpp_quote("#define __IAMTimecodeGenerator_INTERFACE_DEFINED__") 1970cpp_quote(" EXTERN_C const IID IID_IAMTimecodeGenerator;") 1971cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 1972cpp_quote(" struct IAMTimecodeGenerator : public IUnknown {") 1973cpp_quote(" public:") 1974cpp_quote(" virtual HRESULT WINAPI GetTCGMode(LONG Param,LONG *pValue) = 0;") 1975cpp_quote(" virtual HRESULT WINAPI SetTCGMode(LONG Param,LONG Value) = 0;") 1976cpp_quote(" virtual HRESULT WINAPI put_VITCLine(LONG Line) = 0;") 1977cpp_quote(" virtual HRESULT WINAPI get_VITCLine(LONG *pLine) = 0;") 1978cpp_quote(" virtual HRESULT WINAPI SetTimecode(PTIMECODE_SAMPLE pTimecodeSample) = 0;") 1979cpp_quote(" virtual HRESULT WINAPI GetTimecode(PTIMECODE_SAMPLE pTimecodeSample) = 0;") 1980cpp_quote(" };") 1981cpp_quote("#else") 1982cpp_quote(" typedef struct IAMTimecodeGeneratorVtbl {") 1983cpp_quote(" BEGIN_INTERFACE") 1984cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMTimecodeGenerator *This,REFIID riid,void **ppvObject);") 1985cpp_quote(" ULONG (WINAPI *AddRef)(IAMTimecodeGenerator *This);") 1986cpp_quote(" ULONG (WINAPI *Release)(IAMTimecodeGenerator *This);") 1987cpp_quote(" HRESULT (WINAPI *GetTCGMode)(IAMTimecodeGenerator *This,LONG Param,LONG *pValue);") 1988cpp_quote(" HRESULT (WINAPI *SetTCGMode)(IAMTimecodeGenerator *This,LONG Param,LONG Value);") 1989cpp_quote(" HRESULT (WINAPI *put_VITCLine)(IAMTimecodeGenerator *This,LONG Line);") 1990cpp_quote(" HRESULT (WINAPI *get_VITCLine)(IAMTimecodeGenerator *This,LONG *pLine);") 1991cpp_quote(" HRESULT (WINAPI *SetTimecode)(IAMTimecodeGenerator *This,PTIMECODE_SAMPLE pTimecodeSample);") 1992cpp_quote(" HRESULT (WINAPI *GetTimecode)(IAMTimecodeGenerator *This,PTIMECODE_SAMPLE pTimecodeSample);") 1993cpp_quote(" END_INTERFACE") 1994cpp_quote(" } IAMTimecodeGeneratorVtbl;") 1995cpp_quote(" struct IAMTimecodeGenerator {") 1996cpp_quote(" CONST_VTBL struct IAMTimecodeGeneratorVtbl *lpVtbl;") 1997cpp_quote(" };") 1998cpp_quote("#ifdef COBJMACROS") 1999cpp_quote("#define IAMTimecodeGenerator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 2000cpp_quote("#define IAMTimecodeGenerator_AddRef(This) (This)->lpVtbl->AddRef(This)") 2001cpp_quote("#define IAMTimecodeGenerator_Release(This) (This)->lpVtbl->Release(This)") 2002cpp_quote("#define IAMTimecodeGenerator_GetTCGMode(This,Param,pValue) (This)->lpVtbl->GetTCGMode(This,Param,pValue)") 2003cpp_quote("#define IAMTimecodeGenerator_SetTCGMode(This,Param,Value) (This)->lpVtbl->SetTCGMode(This,Param,Value)") 2004cpp_quote("#define IAMTimecodeGenerator_put_VITCLine(This,Line) (This)->lpVtbl->put_VITCLine(This,Line)") 2005cpp_quote("#define IAMTimecodeGenerator_get_VITCLine(This,pLine) (This)->lpVtbl->get_VITCLine(This,pLine)") 2006cpp_quote("#define IAMTimecodeGenerator_SetTimecode(This,pTimecodeSample) (This)->lpVtbl->SetTimecode(This,pTimecodeSample)") 2007cpp_quote("#define IAMTimecodeGenerator_GetTimecode(This,pTimecodeSample) (This)->lpVtbl->GetTimecode(This,pTimecodeSample)") 2008cpp_quote("#endif") 2009cpp_quote("#endif") 2010cpp_quote(" HRESULT WINAPI IAMTimecodeGenerator_GetTCGMode_Proxy(IAMTimecodeGenerator *This,LONG Param,LONG *pValue);") 2011cpp_quote(" void __RPC_STUB IAMTimecodeGenerator_GetTCGMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2012cpp_quote(" HRESULT WINAPI IAMTimecodeGenerator_SetTCGMode_Proxy(IAMTimecodeGenerator *This,LONG Param,LONG Value);") 2013cpp_quote(" void __RPC_STUB IAMTimecodeGenerator_SetTCGMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2014cpp_quote(" HRESULT WINAPI IAMTimecodeGenerator_put_VITCLine_Proxy(IAMTimecodeGenerator *This,LONG Line);") 2015cpp_quote(" void __RPC_STUB IAMTimecodeGenerator_put_VITCLine_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2016cpp_quote(" HRESULT WINAPI IAMTimecodeGenerator_get_VITCLine_Proxy(IAMTimecodeGenerator *This,LONG *pLine);") 2017cpp_quote(" void __RPC_STUB IAMTimecodeGenerator_get_VITCLine_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2018cpp_quote(" HRESULT WINAPI IAMTimecodeGenerator_SetTimecode_Proxy(IAMTimecodeGenerator *This,PTIMECODE_SAMPLE pTimecodeSample);") 2019cpp_quote(" void __RPC_STUB IAMTimecodeGenerator_SetTimecode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2020cpp_quote(" HRESULT WINAPI IAMTimecodeGenerator_GetTimecode_Proxy(IAMTimecodeGenerator *This,PTIMECODE_SAMPLE pTimecodeSample);") 2021cpp_quote(" void __RPC_STUB IAMTimecodeGenerator_GetTimecode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2022cpp_quote("#endif") 2023cpp_quote("") 2024cpp_quote(" typedef IAMTimecodeGenerator *PIAMTIMECODEGENERATOR;") 2025cpp_quote("") 2026cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0342_v0_0_c_ifspec;") 2027cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0342_v0_0_s_ifspec;") 2028cpp_quote("#ifndef __IAMTimecodeDisplay_INTERFACE_DEFINED__") 2029cpp_quote("#define __IAMTimecodeDisplay_INTERFACE_DEFINED__") 2030cpp_quote(" EXTERN_C const IID IID_IAMTimecodeDisplay;") 2031cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 2032cpp_quote(" struct IAMTimecodeDisplay : public IUnknown {") 2033cpp_quote(" public:") 2034cpp_quote(" virtual HRESULT WINAPI GetTCDisplayEnable(LONG *pState) = 0;") 2035cpp_quote(" virtual HRESULT WINAPI SetTCDisplayEnable(LONG State) = 0;") 2036cpp_quote(" virtual HRESULT WINAPI GetTCDisplay(LONG Param,LONG *pValue) = 0;") 2037cpp_quote(" virtual HRESULT WINAPI SetTCDisplay(LONG Param,LONG Value) = 0;") 2038cpp_quote(" };") 2039cpp_quote("#else") 2040cpp_quote(" typedef struct IAMTimecodeDisplayVtbl {") 2041cpp_quote(" BEGIN_INTERFACE") 2042cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMTimecodeDisplay *This,REFIID riid,void **ppvObject);") 2043cpp_quote(" ULONG (WINAPI *AddRef)(IAMTimecodeDisplay *This);") 2044cpp_quote(" ULONG (WINAPI *Release)(IAMTimecodeDisplay *This);") 2045cpp_quote(" HRESULT (WINAPI *GetTCDisplayEnable)(IAMTimecodeDisplay *This,LONG *pState);") 2046cpp_quote(" HRESULT (WINAPI *SetTCDisplayEnable)(IAMTimecodeDisplay *This,LONG State);") 2047cpp_quote(" HRESULT (WINAPI *GetTCDisplay)(IAMTimecodeDisplay *This,LONG Param,LONG *pValue);") 2048cpp_quote(" HRESULT (WINAPI *SetTCDisplay)(IAMTimecodeDisplay *This,LONG Param,LONG Value);") 2049cpp_quote(" END_INTERFACE") 2050cpp_quote(" } IAMTimecodeDisplayVtbl;") 2051cpp_quote(" struct IAMTimecodeDisplay {") 2052cpp_quote(" CONST_VTBL struct IAMTimecodeDisplayVtbl *lpVtbl;") 2053cpp_quote(" };") 2054cpp_quote("#ifdef COBJMACROS") 2055cpp_quote("#define IAMTimecodeDisplay_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 2056cpp_quote("#define IAMTimecodeDisplay_AddRef(This) (This)->lpVtbl->AddRef(This)") 2057cpp_quote("#define IAMTimecodeDisplay_Release(This) (This)->lpVtbl->Release(This)") 2058cpp_quote("#define IAMTimecodeDisplay_GetTCDisplayEnable(This,pState) (This)->lpVtbl->GetTCDisplayEnable(This,pState)") 2059cpp_quote("#define IAMTimecodeDisplay_SetTCDisplayEnable(This,State) (This)->lpVtbl->SetTCDisplayEnable(This,State)") 2060cpp_quote("#define IAMTimecodeDisplay_GetTCDisplay(This,Param,pValue) (This)->lpVtbl->GetTCDisplay(This,Param,pValue)") 2061cpp_quote("#define IAMTimecodeDisplay_SetTCDisplay(This,Param,Value) (This)->lpVtbl->SetTCDisplay(This,Param,Value)") 2062cpp_quote("#endif") 2063cpp_quote("#endif") 2064cpp_quote(" HRESULT WINAPI IAMTimecodeDisplay_GetTCDisplayEnable_Proxy(IAMTimecodeDisplay *This,LONG *pState);") 2065cpp_quote(" void __RPC_STUB IAMTimecodeDisplay_GetTCDisplayEnable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2066cpp_quote(" HRESULT WINAPI IAMTimecodeDisplay_SetTCDisplayEnable_Proxy(IAMTimecodeDisplay *This,LONG State);") 2067cpp_quote(" void __RPC_STUB IAMTimecodeDisplay_SetTCDisplayEnable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2068cpp_quote(" HRESULT WINAPI IAMTimecodeDisplay_GetTCDisplay_Proxy(IAMTimecodeDisplay *This,LONG Param,LONG *pValue);") 2069cpp_quote(" void __RPC_STUB IAMTimecodeDisplay_GetTCDisplay_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2070cpp_quote(" HRESULT WINAPI IAMTimecodeDisplay_SetTCDisplay_Proxy(IAMTimecodeDisplay *This,LONG Param,LONG Value);") 2071cpp_quote(" void __RPC_STUB IAMTimecodeDisplay_SetTCDisplay_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2072cpp_quote("#endif") 2073cpp_quote("") 2074cpp_quote(" typedef IAMTimecodeDisplay *PIAMTIMECODEDISPLAY;") 2075cpp_quote("") 2076cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0343_v0_0_c_ifspec;") 2077cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0343_v0_0_s_ifspec;") 2078cpp_quote("#ifndef __IAMDevMemoryAllocator_INTERFACE_DEFINED__") 2079cpp_quote("#define __IAMDevMemoryAllocator_INTERFACE_DEFINED__") 2080cpp_quote(" EXTERN_C const IID IID_IAMDevMemoryAllocator;") 2081cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 2082cpp_quote(" struct IAMDevMemoryAllocator : public IUnknown {") 2083cpp_quote(" public:") 2084cpp_quote(" virtual HRESULT WINAPI GetInfo(DWORD *pdwcbTotalFree,DWORD *pdwcbLargestFree,DWORD *pdwcbTotalMemory,DWORD *pdwcbMinimumChunk) = 0;") 2085cpp_quote(" virtual HRESULT WINAPI CheckMemory(const BYTE *pBuffer) = 0;") 2086cpp_quote(" virtual HRESULT WINAPI Alloc(BYTE **ppBuffer,DWORD *pdwcbBuffer) = 0;") 2087cpp_quote(" virtual HRESULT WINAPI Free(BYTE *pBuffer) = 0;") 2088cpp_quote(" virtual HRESULT WINAPI GetDevMemoryObject(IUnknown **ppUnkInnner,IUnknown *pUnkOuter) = 0;") 2089cpp_quote(" };") 2090cpp_quote("#else") 2091cpp_quote(" typedef struct IAMDevMemoryAllocatorVtbl {") 2092cpp_quote(" BEGIN_INTERFACE") 2093cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMDevMemoryAllocator *This,REFIID riid,void **ppvObject);") 2094cpp_quote(" ULONG (WINAPI *AddRef)(IAMDevMemoryAllocator *This);") 2095cpp_quote(" ULONG (WINAPI *Release)(IAMDevMemoryAllocator *This);") 2096cpp_quote(" HRESULT (WINAPI *GetInfo)(IAMDevMemoryAllocator *This,DWORD *pdwcbTotalFree,DWORD *pdwcbLargestFree,DWORD *pdwcbTotalMemory,DWORD *pdwcbMinimumChunk);") 2097cpp_quote(" HRESULT (WINAPI *CheckMemory)(IAMDevMemoryAllocator *This,const BYTE *pBuffer);") 2098cpp_quote(" HRESULT (WINAPI *Alloc)(IAMDevMemoryAllocator *This,BYTE **ppBuffer,DWORD *pdwcbBuffer);") 2099cpp_quote(" HRESULT (WINAPI *Free)(IAMDevMemoryAllocator *This,BYTE *pBuffer);") 2100cpp_quote(" HRESULT (WINAPI *GetDevMemoryObject)(IAMDevMemoryAllocator *This,IUnknown **ppUnkInnner,IUnknown *pUnkOuter);") 2101cpp_quote(" END_INTERFACE") 2102cpp_quote(" } IAMDevMemoryAllocatorVtbl;") 2103cpp_quote(" struct IAMDevMemoryAllocator {") 2104cpp_quote(" CONST_VTBL struct IAMDevMemoryAllocatorVtbl *lpVtbl;") 2105cpp_quote(" };") 2106cpp_quote("#ifdef COBJMACROS") 2107cpp_quote("#define IAMDevMemoryAllocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 2108cpp_quote("#define IAMDevMemoryAllocator_AddRef(This) (This)->lpVtbl->AddRef(This)") 2109cpp_quote("#define IAMDevMemoryAllocator_Release(This) (This)->lpVtbl->Release(This)") 2110cpp_quote("#define IAMDevMemoryAllocator_GetInfo(This,pdwcbTotalFree,pdwcbLargestFree,pdwcbTotalMemory,pdwcbMinimumChunk) (This)->lpVtbl->GetInfo(This,pdwcbTotalFree,pdwcbLargestFree,pdwcbTotalMemory,pdwcbMinimumChunk)") 2111cpp_quote("#define IAMDevMemoryAllocator_CheckMemory(This,pBuffer) (This)->lpVtbl->CheckMemory(This,pBuffer)") 2112cpp_quote("#define IAMDevMemoryAllocator_Alloc(This,ppBuffer,pdwcbBuffer) (This)->lpVtbl->Alloc(This,ppBuffer,pdwcbBuffer)") 2113cpp_quote("#define IAMDevMemoryAllocator_Free(This,pBuffer) (This)->lpVtbl->Free(This,pBuffer)") 2114cpp_quote("#define IAMDevMemoryAllocator_GetDevMemoryObject(This,ppUnkInnner,pUnkOuter) (This)->lpVtbl->GetDevMemoryObject(This,ppUnkInnner,pUnkOuter)") 2115cpp_quote("#endif") 2116cpp_quote("#endif") 2117cpp_quote(" HRESULT WINAPI IAMDevMemoryAllocator_GetInfo_Proxy(IAMDevMemoryAllocator *This,DWORD *pdwcbTotalFree,DWORD *pdwcbLargestFree,DWORD *pdwcbTotalMemory,DWORD *pdwcbMinimumChunk);") 2118cpp_quote(" void __RPC_STUB IAMDevMemoryAllocator_GetInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2119cpp_quote(" HRESULT WINAPI IAMDevMemoryAllocator_CheckMemory_Proxy(IAMDevMemoryAllocator *This,const BYTE *pBuffer);") 2120cpp_quote(" void __RPC_STUB IAMDevMemoryAllocator_CheckMemory_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2121cpp_quote(" HRESULT WINAPI IAMDevMemoryAllocator_Alloc_Proxy(IAMDevMemoryAllocator *This,BYTE **ppBuffer,DWORD *pdwcbBuffer);") 2122cpp_quote(" void __RPC_STUB IAMDevMemoryAllocator_Alloc_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2123cpp_quote(" HRESULT WINAPI IAMDevMemoryAllocator_Free_Proxy(IAMDevMemoryAllocator *This,BYTE *pBuffer);") 2124cpp_quote(" void __RPC_STUB IAMDevMemoryAllocator_Free_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2125cpp_quote(" HRESULT WINAPI IAMDevMemoryAllocator_GetDevMemoryObject_Proxy(IAMDevMemoryAllocator *This,IUnknown **ppUnkInnner,IUnknown *pUnkOuter);") 2126cpp_quote(" void __RPC_STUB IAMDevMemoryAllocator_GetDevMemoryObject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2127cpp_quote("#endif") 2128cpp_quote("") 2129cpp_quote(" typedef IAMDevMemoryAllocator *PAMDEVMEMORYALLOCATOR;") 2130cpp_quote("") 2131cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0344_v0_0_c_ifspec;") 2132cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0344_v0_0_s_ifspec;") 2133cpp_quote("#ifndef __IAMDevMemoryControl_INTERFACE_DEFINED__") 2134cpp_quote("#define __IAMDevMemoryControl_INTERFACE_DEFINED__") 2135cpp_quote(" EXTERN_C const IID IID_IAMDevMemoryControl;") 2136cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 2137cpp_quote(" struct IAMDevMemoryControl : public IUnknown {") 2138cpp_quote(" public:") 2139cpp_quote(" virtual HRESULT WINAPI QueryWriteSync(void) = 0;") 2140cpp_quote(" virtual HRESULT WINAPI WriteSync(void) = 0;") 2141cpp_quote(" virtual HRESULT WINAPI GetDevId(DWORD *pdwDevId) = 0;") 2142cpp_quote(" };") 2143cpp_quote("#else") 2144cpp_quote(" typedef struct IAMDevMemoryControlVtbl {") 2145cpp_quote(" BEGIN_INTERFACE") 2146cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMDevMemoryControl *This,REFIID riid,void **ppvObject);") 2147cpp_quote(" ULONG (WINAPI *AddRef)(IAMDevMemoryControl *This);") 2148cpp_quote(" ULONG (WINAPI *Release)(IAMDevMemoryControl *This);") 2149cpp_quote(" HRESULT (WINAPI *QueryWriteSync)(IAMDevMemoryControl *This);") 2150cpp_quote(" HRESULT (WINAPI *WriteSync)(IAMDevMemoryControl *This);") 2151cpp_quote(" HRESULT (WINAPI *GetDevId)(IAMDevMemoryControl *This,DWORD *pdwDevId);") 2152cpp_quote(" END_INTERFACE") 2153cpp_quote(" } IAMDevMemoryControlVtbl;") 2154cpp_quote(" struct IAMDevMemoryControl {") 2155cpp_quote(" CONST_VTBL struct IAMDevMemoryControlVtbl *lpVtbl;") 2156cpp_quote(" };") 2157cpp_quote("#ifdef COBJMACROS") 2158cpp_quote("#define IAMDevMemoryControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 2159cpp_quote("#define IAMDevMemoryControl_AddRef(This) (This)->lpVtbl->AddRef(This)") 2160cpp_quote("#define IAMDevMemoryControl_Release(This) (This)->lpVtbl->Release(This)") 2161cpp_quote("#define IAMDevMemoryControl_QueryWriteSync(This) (This)->lpVtbl->QueryWriteSync(This)") 2162cpp_quote("#define IAMDevMemoryControl_WriteSync(This) (This)->lpVtbl->WriteSync(This)") 2163cpp_quote("#define IAMDevMemoryControl_GetDevId(This,pdwDevId) (This)->lpVtbl->GetDevId(This,pdwDevId)") 2164cpp_quote("#endif") 2165cpp_quote("#endif") 2166cpp_quote(" HRESULT WINAPI IAMDevMemoryControl_QueryWriteSync_Proxy(IAMDevMemoryControl *This);") 2167cpp_quote(" void __RPC_STUB IAMDevMemoryControl_QueryWriteSync_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2168cpp_quote(" HRESULT WINAPI IAMDevMemoryControl_WriteSync_Proxy(IAMDevMemoryControl *This);") 2169cpp_quote(" void __RPC_STUB IAMDevMemoryControl_WriteSync_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2170cpp_quote(" HRESULT WINAPI IAMDevMemoryControl_GetDevId_Proxy(IAMDevMemoryControl *This,DWORD *pdwDevId);") 2171cpp_quote(" void __RPC_STUB IAMDevMemoryControl_GetDevId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2172cpp_quote("#endif") 2173cpp_quote("") 2174cpp_quote(" typedef IAMDevMemoryControl *PAMDEVMEMORYCONTROL;") 2175cpp_quote("") 2176cpp_quote(" enum _AMSTREAMSELECTINFOFLAGS {") 2177cpp_quote(" AMSTREAMSELECTINFO_ENABLED = 0x1,AMSTREAMSELECTINFO_EXCLUSIVE = 0x2") 2178cpp_quote(" };") 2179cpp_quote("") 2180cpp_quote(" enum _AMSTREAMSELECTENABLEFLAGS {") 2181cpp_quote(" AMSTREAMSELECTENABLE_ENABLE = 0x1,AMSTREAMSELECTENABLE_ENABLEALL = 0x2") 2182cpp_quote(" };") 2183cpp_quote("") 2184cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0345_v0_0_c_ifspec;") 2185cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0345_v0_0_s_ifspec;") 2186cpp_quote("#ifndef __IAMStreamSelect_INTERFACE_DEFINED__") 2187cpp_quote("#define __IAMStreamSelect_INTERFACE_DEFINED__") 2188cpp_quote(" EXTERN_C const IID IID_IAMStreamSelect;") 2189cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 2190cpp_quote(" struct IAMStreamSelect : public IUnknown {") 2191cpp_quote(" public:") 2192cpp_quote(" virtual HRESULT WINAPI Count(DWORD *pcStreams) = 0;") 2193cpp_quote(" virtual HRESULT WINAPI Info(LONG lIndex,AM_MEDIA_TYPE **ppmt,DWORD *pdwFlags,LCID *plcid,DWORD *pdwGroup,WCHAR **ppszName,IUnknown **ppObject,IUnknown **ppUnk) = 0;") 2194cpp_quote(" virtual HRESULT WINAPI Enable(LONG lIndex,DWORD dwFlags) = 0;") 2195cpp_quote(" };") 2196cpp_quote("#else") 2197cpp_quote(" typedef struct IAMStreamSelectVtbl {") 2198cpp_quote(" BEGIN_INTERFACE") 2199cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMStreamSelect *This,REFIID riid,void **ppvObject);") 2200cpp_quote(" ULONG (WINAPI *AddRef)(IAMStreamSelect *This);") 2201cpp_quote(" ULONG (WINAPI *Release)(IAMStreamSelect *This);") 2202cpp_quote(" HRESULT (WINAPI *Count)(IAMStreamSelect *This,DWORD *pcStreams);") 2203cpp_quote(" HRESULT (WINAPI *Info)(IAMStreamSelect *This,LONG lIndex,AM_MEDIA_TYPE **ppmt,DWORD *pdwFlags,LCID *plcid,DWORD *pdwGroup,WCHAR **ppszName,IUnknown **ppObject,IUnknown **ppUnk);") 2204cpp_quote(" HRESULT (WINAPI *Enable)(IAMStreamSelect *This,LONG lIndex,DWORD dwFlags);") 2205cpp_quote(" END_INTERFACE") 2206cpp_quote(" } IAMStreamSelectVtbl;") 2207cpp_quote(" struct IAMStreamSelect {") 2208cpp_quote(" CONST_VTBL struct IAMStreamSelectVtbl *lpVtbl;") 2209cpp_quote(" };") 2210cpp_quote("#ifdef COBJMACROS") 2211cpp_quote("#define IAMStreamSelect_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 2212cpp_quote("#define IAMStreamSelect_AddRef(This) (This)->lpVtbl->AddRef(This)") 2213cpp_quote("#define IAMStreamSelect_Release(This) (This)->lpVtbl->Release(This)") 2214cpp_quote("#define IAMStreamSelect_Count(This,pcStreams) (This)->lpVtbl->Count(This,pcStreams)") 2215cpp_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)") 2216cpp_quote("#define IAMStreamSelect_Enable(This,lIndex,dwFlags) (This)->lpVtbl->Enable(This,lIndex,dwFlags)") 2217cpp_quote("#endif") 2218cpp_quote("#endif") 2219cpp_quote(" HRESULT WINAPI IAMStreamSelect_Count_Proxy(IAMStreamSelect *This,DWORD *pcStreams);") 2220cpp_quote(" void __RPC_STUB IAMStreamSelect_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2221cpp_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);") 2222cpp_quote(" void __RPC_STUB IAMStreamSelect_Info_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2223cpp_quote(" HRESULT WINAPI IAMStreamSelect_Enable_Proxy(IAMStreamSelect *This,LONG lIndex,DWORD dwFlags);") 2224cpp_quote(" void __RPC_STUB IAMStreamSelect_Enable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2225cpp_quote("#endif") 2226cpp_quote("") 2227cpp_quote(" typedef IAMStreamSelect *PAMSTREAMSELECT;") 2228cpp_quote("") 2229cpp_quote(" enum _AMRESCTL_RESERVEFLAGS {") 2230cpp_quote(" AMRESCTL_RESERVEFLAGS_RESERVE = 0,AMRESCTL_RESERVEFLAGS_UNRESERVE = 0x1") 2231cpp_quote(" };") 2232cpp_quote("") 2233cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0346_v0_0_c_ifspec;") 2234cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0346_v0_0_s_ifspec;") 2235cpp_quote("#ifndef __IAMResourceControl_INTERFACE_DEFINED__") 2236cpp_quote("#define __IAMResourceControl_INTERFACE_DEFINED__") 2237cpp_quote(" EXTERN_C const IID IID_IAMResourceControl;") 2238cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 2239cpp_quote(" struct IAMResourceControl : public IUnknown {") 2240cpp_quote(" public:") 2241cpp_quote(" virtual HRESULT WINAPI Reserve(DWORD dwFlags,PVOID pvReserved) = 0;") 2242cpp_quote(" };") 2243cpp_quote("#else") 2244cpp_quote(" typedef struct IAMResourceControlVtbl {") 2245cpp_quote(" BEGIN_INTERFACE") 2246cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMResourceControl *This,REFIID riid,void **ppvObject);") 2247cpp_quote(" ULONG (WINAPI *AddRef)(IAMResourceControl *This);") 2248cpp_quote(" ULONG (WINAPI *Release)(IAMResourceControl *This);") 2249cpp_quote(" HRESULT (WINAPI *Reserve)(IAMResourceControl *This,DWORD dwFlags,PVOID pvReserved);") 2250cpp_quote(" END_INTERFACE") 2251cpp_quote(" } IAMResourceControlVtbl;") 2252cpp_quote(" struct IAMResourceControl {") 2253cpp_quote(" CONST_VTBL struct IAMResourceControlVtbl *lpVtbl;") 2254cpp_quote(" };") 2255cpp_quote("#ifdef COBJMACROS") 2256cpp_quote("#define IAMResourceControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 2257cpp_quote("#define IAMResourceControl_AddRef(This) (This)->lpVtbl->AddRef(This)") 2258cpp_quote("#define IAMResourceControl_Release(This) (This)->lpVtbl->Release(This)") 2259cpp_quote("#define IAMResourceControl_Reserve(This,dwFlags,pvReserved) (This)->lpVtbl->Reserve(This,dwFlags,pvReserved)") 2260cpp_quote("#endif") 2261cpp_quote("#endif") 2262cpp_quote(" HRESULT WINAPI IAMResourceControl_Reserve_Proxy(IAMResourceControl *This,DWORD dwFlags,PVOID pvReserved);") 2263cpp_quote(" void __RPC_STUB IAMResourceControl_Reserve_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2264cpp_quote("#endif") 2265cpp_quote("") 2266cpp_quote("#ifndef __IAMClockAdjust_INTERFACE_DEFINED__") 2267cpp_quote("#define __IAMClockAdjust_INTERFACE_DEFINED__") 2268cpp_quote(" EXTERN_C const IID IID_IAMClockAdjust;") 2269cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 2270cpp_quote(" struct IAMClockAdjust : public IUnknown {") 2271cpp_quote(" public:") 2272cpp_quote(" virtual HRESULT WINAPI SetClockDelta(REFERENCE_TIME rtDelta) = 0;") 2273cpp_quote(" };") 2274cpp_quote("#else") 2275cpp_quote(" typedef struct IAMClockAdjustVtbl {") 2276cpp_quote(" BEGIN_INTERFACE") 2277cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMClockAdjust *This,REFIID riid,void **ppvObject);") 2278cpp_quote(" ULONG (WINAPI *AddRef)(IAMClockAdjust *This);") 2279cpp_quote(" ULONG (WINAPI *Release)(IAMClockAdjust *This);") 2280cpp_quote(" HRESULT (WINAPI *SetClockDelta)(IAMClockAdjust *This,REFERENCE_TIME rtDelta);") 2281cpp_quote(" END_INTERFACE") 2282cpp_quote(" } IAMClockAdjustVtbl;") 2283cpp_quote(" struct IAMClockAdjust {") 2284cpp_quote(" CONST_VTBL struct IAMClockAdjustVtbl *lpVtbl;") 2285cpp_quote(" };") 2286cpp_quote("#ifdef COBJMACROS") 2287cpp_quote("#define IAMClockAdjust_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 2288cpp_quote("#define IAMClockAdjust_AddRef(This) (This)->lpVtbl->AddRef(This)") 2289cpp_quote("#define IAMClockAdjust_Release(This) (This)->lpVtbl->Release(This)") 2290cpp_quote("#define IAMClockAdjust_SetClockDelta(This,rtDelta) (This)->lpVtbl->SetClockDelta(This,rtDelta)") 2291cpp_quote("#endif") 2292cpp_quote("#endif") 2293cpp_quote(" HRESULT WINAPI IAMClockAdjust_SetClockDelta_Proxy(IAMClockAdjust *This,REFERENCE_TIME rtDelta);") 2294cpp_quote(" void __RPC_STUB IAMClockAdjust_SetClockDelta_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2295cpp_quote("#endif") 2296cpp_quote("") 2297cpp_quote("#ifndef __IDrawVideoImage_INTERFACE_DEFINED__") 2298cpp_quote("#define __IDrawVideoImage_INTERFACE_DEFINED__") 2299cpp_quote(" EXTERN_C const IID IID_IDrawVideoImage;") 2300cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 2301cpp_quote(" struct IDrawVideoImage : public IUnknown {") 2302cpp_quote(" public:") 2303cpp_quote(" virtual HRESULT WINAPI DrawVideoImageBegin(void) = 0;") 2304cpp_quote(" virtual HRESULT WINAPI DrawVideoImageEnd(void) = 0;") 2305cpp_quote(" virtual HRESULT WINAPI DrawVideoImageDraw(HDC hdc,LPRECT lprcSrc,LPRECT lprcDst) = 0;") 2306cpp_quote(" };") 2307cpp_quote("#else") 2308cpp_quote(" typedef struct IDrawVideoImageVtbl {") 2309cpp_quote(" BEGIN_INTERFACE") 2310cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDrawVideoImage *This,REFIID riid,void **ppvObject);") 2311cpp_quote(" ULONG (WINAPI *AddRef)(IDrawVideoImage *This);") 2312cpp_quote(" ULONG (WINAPI *Release)(IDrawVideoImage *This);") 2313cpp_quote(" HRESULT (WINAPI *DrawVideoImageBegin)(IDrawVideoImage *This);") 2314cpp_quote(" HRESULT (WINAPI *DrawVideoImageEnd)(IDrawVideoImage *This);") 2315cpp_quote(" HRESULT (WINAPI *DrawVideoImageDraw)(IDrawVideoImage *This,HDC hdc,LPRECT lprcSrc,LPRECT lprcDst);") 2316cpp_quote(" END_INTERFACE") 2317cpp_quote(" } IDrawVideoImageVtbl;") 2318cpp_quote(" struct IDrawVideoImage {") 2319cpp_quote(" CONST_VTBL struct IDrawVideoImageVtbl *lpVtbl;") 2320cpp_quote(" };") 2321cpp_quote("#ifdef COBJMACROS") 2322cpp_quote("#define IDrawVideoImage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 2323cpp_quote("#define IDrawVideoImage_AddRef(This) (This)->lpVtbl->AddRef(This)") 2324cpp_quote("#define IDrawVideoImage_Release(This) (This)->lpVtbl->Release(This)") 2325cpp_quote("#define IDrawVideoImage_DrawVideoImageBegin(This) (This)->lpVtbl->DrawVideoImageBegin(This)") 2326cpp_quote("#define IDrawVideoImage_DrawVideoImageEnd(This) (This)->lpVtbl->DrawVideoImageEnd(This)") 2327cpp_quote("#define IDrawVideoImage_DrawVideoImageDraw(This,hdc,lprcSrc,lprcDst) (This)->lpVtbl->DrawVideoImageDraw(This,hdc,lprcSrc,lprcDst)") 2328cpp_quote("#endif") 2329cpp_quote("#endif") 2330cpp_quote(" HRESULT WINAPI IDrawVideoImage_DrawVideoImageBegin_Proxy(IDrawVideoImage *This);") 2331cpp_quote(" void __RPC_STUB IDrawVideoImage_DrawVideoImageBegin_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2332cpp_quote(" HRESULT WINAPI IDrawVideoImage_DrawVideoImageEnd_Proxy(IDrawVideoImage *This);") 2333cpp_quote(" void __RPC_STUB IDrawVideoImage_DrawVideoImageEnd_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2334cpp_quote(" HRESULT WINAPI IDrawVideoImage_DrawVideoImageDraw_Proxy(IDrawVideoImage *This,HDC hdc,LPRECT lprcSrc,LPRECT lprcDst);") 2335cpp_quote(" void __RPC_STUB IDrawVideoImage_DrawVideoImageDraw_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2336cpp_quote("#endif") 2337cpp_quote("") 2338cpp_quote("#ifndef __IDecimateVideoImage_INTERFACE_DEFINED__") 2339cpp_quote("#define __IDecimateVideoImage_INTERFACE_DEFINED__") 2340cpp_quote(" EXTERN_C const IID IID_IDecimateVideoImage;") 2341cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 2342cpp_quote(" struct IDecimateVideoImage : public IUnknown {") 2343cpp_quote(" public:") 2344cpp_quote(" virtual HRESULT WINAPI SetDecimationImageSize(LONG lWidth,LONG lHeight) = 0;") 2345cpp_quote(" virtual HRESULT WINAPI ResetDecimationImageSize(void) = 0;") 2346cpp_quote(" };") 2347cpp_quote("#else") 2348cpp_quote(" typedef struct IDecimateVideoImageVtbl {") 2349cpp_quote(" BEGIN_INTERFACE") 2350cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDecimateVideoImage *This,REFIID riid,void **ppvObject);") 2351cpp_quote(" ULONG (WINAPI *AddRef)(IDecimateVideoImage *This);") 2352cpp_quote(" ULONG (WINAPI *Release)(IDecimateVideoImage *This);") 2353cpp_quote(" HRESULT (WINAPI *SetDecimationImageSize)(IDecimateVideoImage *This,LONG lWidth,LONG lHeight);") 2354cpp_quote(" HRESULT (WINAPI *ResetDecimationImageSize)(IDecimateVideoImage *This);") 2355cpp_quote(" END_INTERFACE") 2356cpp_quote(" } IDecimateVideoImageVtbl;") 2357cpp_quote(" struct IDecimateVideoImage {") 2358cpp_quote(" CONST_VTBL struct IDecimateVideoImageVtbl *lpVtbl;") 2359cpp_quote(" };") 2360cpp_quote("#ifdef COBJMACROS") 2361cpp_quote("#define IDecimateVideoImage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 2362cpp_quote("#define IDecimateVideoImage_AddRef(This) (This)->lpVtbl->AddRef(This)") 2363cpp_quote("#define IDecimateVideoImage_Release(This) (This)->lpVtbl->Release(This)") 2364cpp_quote("#define IDecimateVideoImage_SetDecimationImageSize(This,lWidth,lHeight) (This)->lpVtbl->SetDecimationImageSize(This,lWidth,lHeight)") 2365cpp_quote("#define IDecimateVideoImage_ResetDecimationImageSize(This) (This)->lpVtbl->ResetDecimationImageSize(This)") 2366cpp_quote("#endif") 2367cpp_quote("#endif") 2368cpp_quote(" HRESULT WINAPI IDecimateVideoImage_SetDecimationImageSize_Proxy(IDecimateVideoImage *This,LONG lWidth,LONG lHeight);") 2369cpp_quote(" void __RPC_STUB IDecimateVideoImage_SetDecimationImageSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2370cpp_quote(" HRESULT WINAPI IDecimateVideoImage_ResetDecimationImageSize_Proxy(IDecimateVideoImage *This);") 2371cpp_quote(" void __RPC_STUB IDecimateVideoImage_ResetDecimationImageSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2372cpp_quote("#endif") 2373cpp_quote("") 2374cpp_quote(" typedef enum _DECIMATION_USAGE {") 2375cpp_quote(" DECIMATION_LEGACY = 0,") 2376cpp_quote(" DECIMATION_USE_DECODER_ONLY,DECIMATION_USE_VIDEOPORT_ONLY,DECIMATION_USE_OVERLAY_ONLY,") 2377cpp_quote(" DECIMATION_DEFAULT") 2378cpp_quote(" } DECIMATION_USAGE;") 2379cpp_quote("") 2380cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0351_v0_0_c_ifspec;") 2381cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0351_v0_0_s_ifspec;") 2382cpp_quote("#ifndef __IAMVideoDecimationProperties_INTERFACE_DEFINED__") 2383cpp_quote("#define __IAMVideoDecimationProperties_INTERFACE_DEFINED__") 2384cpp_quote(" EXTERN_C const IID IID_IAMVideoDecimationProperties;") 2385cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 2386cpp_quote(" struct IAMVideoDecimationProperties : public IUnknown {") 2387cpp_quote(" public:") 2388cpp_quote(" virtual HRESULT WINAPI QueryDecimationUsage(DECIMATION_USAGE *lpUsage) = 0;") 2389cpp_quote(" virtual HRESULT WINAPI SetDecimationUsage(DECIMATION_USAGE Usage) = 0;") 2390cpp_quote(" };") 2391cpp_quote("#else") 2392cpp_quote(" typedef struct IAMVideoDecimationPropertiesVtbl {") 2393cpp_quote(" BEGIN_INTERFACE") 2394cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMVideoDecimationProperties *This,REFIID riid,void **ppvObject);") 2395cpp_quote(" ULONG (WINAPI *AddRef)(IAMVideoDecimationProperties *This);") 2396cpp_quote(" ULONG (WINAPI *Release)(IAMVideoDecimationProperties *This);") 2397cpp_quote(" HRESULT (WINAPI *QueryDecimationUsage)(IAMVideoDecimationProperties *This,DECIMATION_USAGE *lpUsage);") 2398cpp_quote(" HRESULT (WINAPI *SetDecimationUsage)(IAMVideoDecimationProperties *This,DECIMATION_USAGE Usage);") 2399cpp_quote(" END_INTERFACE") 2400cpp_quote(" } IAMVideoDecimationPropertiesVtbl;") 2401cpp_quote(" struct IAMVideoDecimationProperties {") 2402cpp_quote(" CONST_VTBL struct IAMVideoDecimationPropertiesVtbl *lpVtbl;") 2403cpp_quote(" };") 2404cpp_quote("#ifdef COBJMACROS") 2405cpp_quote("#define IAMVideoDecimationProperties_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 2406cpp_quote("#define IAMVideoDecimationProperties_AddRef(This) (This)->lpVtbl->AddRef(This)") 2407cpp_quote("#define IAMVideoDecimationProperties_Release(This) (This)->lpVtbl->Release(This)") 2408cpp_quote("#define IAMVideoDecimationProperties_QueryDecimationUsage(This,lpUsage) (This)->lpVtbl->QueryDecimationUsage(This,lpUsage)") 2409cpp_quote("#define IAMVideoDecimationProperties_SetDecimationUsage(This,Usage) (This)->lpVtbl->SetDecimationUsage(This,Usage)") 2410cpp_quote("#endif") 2411cpp_quote("#endif") 2412cpp_quote(" HRESULT WINAPI IAMVideoDecimationProperties_QueryDecimationUsage_Proxy(IAMVideoDecimationProperties *This,DECIMATION_USAGE *lpUsage);") 2413cpp_quote(" void __RPC_STUB IAMVideoDecimationProperties_QueryDecimationUsage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2414cpp_quote(" HRESULT WINAPI IAMVideoDecimationProperties_SetDecimationUsage_Proxy(IAMVideoDecimationProperties *This,DECIMATION_USAGE Usage);") 2415cpp_quote(" void __RPC_STUB IAMVideoDecimationProperties_SetDecimationUsage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2416cpp_quote("#endif") 2417cpp_quote("") 2418cpp_quote("#ifndef __IVideoFrameStep_INTERFACE_DEFINED__") 2419cpp_quote("#define __IVideoFrameStep_INTERFACE_DEFINED__") 2420cpp_quote(" EXTERN_C const IID IID_IVideoFrameStep;") 2421cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 2422cpp_quote(" struct IVideoFrameStep : public IUnknown {") 2423cpp_quote(" public:") 2424cpp_quote(" virtual HRESULT WINAPI Step(DWORD dwFrames,IUnknown *pStepObject) = 0;") 2425cpp_quote(" virtual HRESULT WINAPI CanStep(LONG bMultiple,IUnknown *pStepObject) = 0;") 2426cpp_quote(" virtual HRESULT WINAPI CancelStep(void) = 0;") 2427cpp_quote(" };") 2428cpp_quote("#else") 2429cpp_quote(" typedef struct IVideoFrameStepVtbl {") 2430cpp_quote(" BEGIN_INTERFACE") 2431cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVideoFrameStep *This,REFIID riid,void **ppvObject);") 2432cpp_quote(" ULONG (WINAPI *AddRef)(IVideoFrameStep *This);") 2433cpp_quote(" ULONG (WINAPI *Release)(IVideoFrameStep *This);") 2434cpp_quote(" HRESULT (WINAPI *Step)(IVideoFrameStep *This,DWORD dwFrames,IUnknown *pStepObject);") 2435cpp_quote(" HRESULT (WINAPI *CanStep)(IVideoFrameStep *This,LONG bMultiple,IUnknown *pStepObject);") 2436cpp_quote(" HRESULT (WINAPI *CancelStep)(IVideoFrameStep *This);") 2437cpp_quote(" END_INTERFACE") 2438cpp_quote(" } IVideoFrameStepVtbl;") 2439cpp_quote(" struct IVideoFrameStep {") 2440cpp_quote(" CONST_VTBL struct IVideoFrameStepVtbl *lpVtbl;") 2441cpp_quote(" };") 2442cpp_quote("#ifdef COBJMACROS") 2443cpp_quote("#define IVideoFrameStep_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 2444cpp_quote("#define IVideoFrameStep_AddRef(This) (This)->lpVtbl->AddRef(This)") 2445cpp_quote("#define IVideoFrameStep_Release(This) (This)->lpVtbl->Release(This)") 2446cpp_quote("#define IVideoFrameStep_Step(This,dwFrames,pStepObject) (This)->lpVtbl->Step(This,dwFrames,pStepObject)") 2447cpp_quote("#define IVideoFrameStep_CanStep(This,bMultiple,pStepObject) (This)->lpVtbl->CanStep(This,bMultiple,pStepObject)") 2448cpp_quote("#define IVideoFrameStep_CancelStep(This) (This)->lpVtbl->CancelStep(This)") 2449cpp_quote("#endif") 2450cpp_quote("#endif") 2451cpp_quote(" HRESULT WINAPI IVideoFrameStep_Step_Proxy(IVideoFrameStep *This,DWORD dwFrames,IUnknown *pStepObject);") 2452cpp_quote(" void __RPC_STUB IVideoFrameStep_Step_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2453cpp_quote(" HRESULT WINAPI IVideoFrameStep_CanStep_Proxy(IVideoFrameStep *This,LONG bMultiple,IUnknown *pStepObject);") 2454cpp_quote(" void __RPC_STUB IVideoFrameStep_CanStep_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2455cpp_quote(" HRESULT WINAPI IVideoFrameStep_CancelStep_Proxy(IVideoFrameStep *This);") 2456cpp_quote(" void __RPC_STUB IVideoFrameStep_CancelStep_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2457cpp_quote("#endif") 2458cpp_quote("") 2459cpp_quote(" enum _AM_PUSHSOURCE_FLAGS {") 2460cpp_quote(" AM_PUSHSOURCECAPS_INTERNAL_RM = 0x1,AM_PUSHSOURCECAPS_NOT_LIVE = 0x2,AM_PUSHSOURCECAPS_PRIVATE_CLOCK = 0x4,") 2461cpp_quote(" AM_PUSHSOURCEREQS_USE_STREAM_CLOCK = 0x10000,AM_PUSHSOURCEREQS_USE_CLOCK_CHAIN = 0x20000") 2462cpp_quote(" };") 2463cpp_quote("") 2464cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0353_v0_0_c_ifspec;") 2465cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0353_v0_0_s_ifspec;") 2466cpp_quote("#ifndef __IAMLatency_INTERFACE_DEFINED__") 2467cpp_quote("#define __IAMLatency_INTERFACE_DEFINED__") 2468cpp_quote(" EXTERN_C const IID IID_IAMLatency;") 2469cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 2470cpp_quote(" struct IAMLatency : public IUnknown {") 2471cpp_quote(" public:") 2472cpp_quote(" virtual HRESULT WINAPI GetLatency(REFERENCE_TIME *prtLatency) = 0;") 2473cpp_quote(" };") 2474cpp_quote("#else") 2475cpp_quote(" typedef struct IAMLatencyVtbl {") 2476cpp_quote(" BEGIN_INTERFACE") 2477cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMLatency *This,REFIID riid,void **ppvObject);") 2478cpp_quote(" ULONG (WINAPI *AddRef)(IAMLatency *This);") 2479cpp_quote(" ULONG (WINAPI *Release)(IAMLatency *This);") 2480cpp_quote(" HRESULT (WINAPI *GetLatency)(IAMLatency *This,REFERENCE_TIME *prtLatency);") 2481cpp_quote(" END_INTERFACE") 2482cpp_quote(" } IAMLatencyVtbl;") 2483cpp_quote(" struct IAMLatency {") 2484cpp_quote(" CONST_VTBL struct IAMLatencyVtbl *lpVtbl;") 2485cpp_quote(" };") 2486cpp_quote("#ifdef COBJMACROS") 2487cpp_quote("#define IAMLatency_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 2488cpp_quote("#define IAMLatency_AddRef(This) (This)->lpVtbl->AddRef(This)") 2489cpp_quote("#define IAMLatency_Release(This) (This)->lpVtbl->Release(This)") 2490cpp_quote("#define IAMLatency_GetLatency(This,prtLatency) (This)->lpVtbl->GetLatency(This,prtLatency)") 2491cpp_quote("#endif") 2492cpp_quote("#endif") 2493cpp_quote(" HRESULT WINAPI IAMLatency_GetLatency_Proxy(IAMLatency *This,REFERENCE_TIME *prtLatency);") 2494cpp_quote(" void __RPC_STUB IAMLatency_GetLatency_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2495cpp_quote("#endif") 2496cpp_quote("") 2497cpp_quote("#ifndef __IAMPushSource_INTERFACE_DEFINED__") 2498cpp_quote("#define __IAMPushSource_INTERFACE_DEFINED__") 2499cpp_quote(" EXTERN_C const IID IID_IAMPushSource;") 2500cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 2501cpp_quote(" struct IAMPushSource : public IAMLatency {") 2502cpp_quote(" public:") 2503cpp_quote(" virtual HRESULT WINAPI GetPushSourceFlags(ULONG *pFlags) = 0;") 2504cpp_quote(" virtual HRESULT WINAPI SetPushSourceFlags(ULONG Flags) = 0;") 2505cpp_quote(" virtual HRESULT WINAPI SetStreamOffset(REFERENCE_TIME rtOffset) = 0;") 2506cpp_quote(" virtual HRESULT WINAPI GetStreamOffset(REFERENCE_TIME *prtOffset) = 0;") 2507cpp_quote(" virtual HRESULT WINAPI GetMaxStreamOffset(REFERENCE_TIME *prtMaxOffset) = 0;") 2508cpp_quote(" virtual HRESULT WINAPI SetMaxStreamOffset(REFERENCE_TIME rtMaxOffset) = 0;") 2509cpp_quote(" };") 2510cpp_quote("#else") 2511cpp_quote(" typedef struct IAMPushSourceVtbl {") 2512cpp_quote(" BEGIN_INTERFACE") 2513cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMPushSource *This,REFIID riid,void **ppvObject);") 2514cpp_quote(" ULONG (WINAPI *AddRef)(IAMPushSource *This);") 2515cpp_quote(" ULONG (WINAPI *Release)(IAMPushSource *This);") 2516cpp_quote(" HRESULT (WINAPI *GetLatency)(IAMPushSource *This,REFERENCE_TIME *prtLatency);") 2517cpp_quote(" HRESULT (WINAPI *GetPushSourceFlags)(IAMPushSource *This,ULONG *pFlags);") 2518cpp_quote(" HRESULT (WINAPI *SetPushSourceFlags)(IAMPushSource *This,ULONG Flags);") 2519cpp_quote(" HRESULT (WINAPI *SetStreamOffset)(IAMPushSource *This,REFERENCE_TIME rtOffset);") 2520cpp_quote(" HRESULT (WINAPI *GetStreamOffset)(IAMPushSource *This,REFERENCE_TIME *prtOffset);") 2521cpp_quote(" HRESULT (WINAPI *GetMaxStreamOffset)(IAMPushSource *This,REFERENCE_TIME *prtMaxOffset);") 2522cpp_quote(" HRESULT (WINAPI *SetMaxStreamOffset)(IAMPushSource *This,REFERENCE_TIME rtMaxOffset);") 2523cpp_quote(" END_INTERFACE") 2524cpp_quote(" } IAMPushSourceVtbl;") 2525cpp_quote(" struct IAMPushSource {") 2526cpp_quote(" CONST_VTBL struct IAMPushSourceVtbl *lpVtbl;") 2527cpp_quote(" };") 2528cpp_quote("#ifdef COBJMACROS") 2529cpp_quote("#define IAMPushSource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 2530cpp_quote("#define IAMPushSource_AddRef(This) (This)->lpVtbl->AddRef(This)") 2531cpp_quote("#define IAMPushSource_Release(This) (This)->lpVtbl->Release(This)") 2532cpp_quote("#define IAMPushSource_GetLatency(This,prtLatency) (This)->lpVtbl->GetLatency(This,prtLatency)") 2533cpp_quote("#define IAMPushSource_GetPushSourceFlags(This,pFlags) (This)->lpVtbl->GetPushSourceFlags(This,pFlags)") 2534cpp_quote("#define IAMPushSource_SetPushSourceFlags(This,Flags) (This)->lpVtbl->SetPushSourceFlags(This,Flags)") 2535cpp_quote("#define IAMPushSource_SetStreamOffset(This,rtOffset) (This)->lpVtbl->SetStreamOffset(This,rtOffset)") 2536cpp_quote("#define IAMPushSource_GetStreamOffset(This,prtOffset) (This)->lpVtbl->GetStreamOffset(This,prtOffset)") 2537cpp_quote("#define IAMPushSource_GetMaxStreamOffset(This,prtMaxOffset) (This)->lpVtbl->GetMaxStreamOffset(This,prtMaxOffset)") 2538cpp_quote("#define IAMPushSource_SetMaxStreamOffset(This,rtMaxOffset) (This)->lpVtbl->SetMaxStreamOffset(This,rtMaxOffset)") 2539cpp_quote("#endif") 2540cpp_quote("#endif") 2541cpp_quote(" HRESULT WINAPI IAMPushSource_GetPushSourceFlags_Proxy(IAMPushSource *This,ULONG *pFlags);") 2542cpp_quote(" void __RPC_STUB IAMPushSource_GetPushSourceFlags_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2543cpp_quote(" HRESULT WINAPI IAMPushSource_SetPushSourceFlags_Proxy(IAMPushSource *This,ULONG Flags);") 2544cpp_quote(" void __RPC_STUB IAMPushSource_SetPushSourceFlags_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2545cpp_quote(" HRESULT WINAPI IAMPushSource_SetStreamOffset_Proxy(IAMPushSource *This,REFERENCE_TIME rtOffset);") 2546cpp_quote(" void __RPC_STUB IAMPushSource_SetStreamOffset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2547cpp_quote(" HRESULT WINAPI IAMPushSource_GetStreamOffset_Proxy(IAMPushSource *This,REFERENCE_TIME *prtOffset);") 2548cpp_quote(" void __RPC_STUB IAMPushSource_GetStreamOffset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2549cpp_quote(" HRESULT WINAPI IAMPushSource_GetMaxStreamOffset_Proxy(IAMPushSource *This,REFERENCE_TIME *prtMaxOffset);") 2550cpp_quote(" void __RPC_STUB IAMPushSource_GetMaxStreamOffset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2551cpp_quote(" HRESULT WINAPI IAMPushSource_SetMaxStreamOffset_Proxy(IAMPushSource *This,REFERENCE_TIME rtMaxOffset);") 2552cpp_quote(" void __RPC_STUB IAMPushSource_SetMaxStreamOffset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2553cpp_quote("#endif") 2554cpp_quote("") 2555cpp_quote("#ifndef __IAMDeviceRemoval_INTERFACE_DEFINED__") 2556cpp_quote("#define __IAMDeviceRemoval_INTERFACE_DEFINED__") 2557cpp_quote(" EXTERN_C const IID IID_IAMDeviceRemoval;") 2558cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 2559cpp_quote(" struct IAMDeviceRemoval : public IUnknown {") 2560cpp_quote(" public:") 2561cpp_quote(" virtual HRESULT WINAPI DeviceInfo(CLSID *pclsidInterfaceClass,WCHAR **pwszSymbolicLink) = 0;") 2562cpp_quote(" virtual HRESULT WINAPI Reassociate(void) = 0;") 2563cpp_quote(" virtual HRESULT WINAPI Disassociate(void) = 0;") 2564cpp_quote(" };") 2565cpp_quote("#else") 2566cpp_quote(" typedef struct IAMDeviceRemovalVtbl {") 2567cpp_quote(" BEGIN_INTERFACE") 2568cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMDeviceRemoval *This,REFIID riid,void **ppvObject);") 2569cpp_quote(" ULONG (WINAPI *AddRef)(IAMDeviceRemoval *This);") 2570cpp_quote(" ULONG (WINAPI *Release)(IAMDeviceRemoval *This);") 2571cpp_quote(" HRESULT (WINAPI *DeviceInfo)(IAMDeviceRemoval *This,CLSID *pclsidInterfaceClass,WCHAR **pwszSymbolicLink);") 2572cpp_quote(" HRESULT (WINAPI *Reassociate)(IAMDeviceRemoval *This);") 2573cpp_quote(" HRESULT (WINAPI *Disassociate)(IAMDeviceRemoval *This);") 2574cpp_quote(" END_INTERFACE") 2575cpp_quote(" } IAMDeviceRemovalVtbl;") 2576cpp_quote(" struct IAMDeviceRemoval {") 2577cpp_quote(" CONST_VTBL struct IAMDeviceRemovalVtbl *lpVtbl;") 2578cpp_quote(" };") 2579cpp_quote("#ifdef COBJMACROS") 2580cpp_quote("#define IAMDeviceRemoval_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 2581cpp_quote("#define IAMDeviceRemoval_AddRef(This) (This)->lpVtbl->AddRef(This)") 2582cpp_quote("#define IAMDeviceRemoval_Release(This) (This)->lpVtbl->Release(This)") 2583cpp_quote("#define IAMDeviceRemoval_DeviceInfo(This,pclsidInterfaceClass,pwszSymbolicLink) (This)->lpVtbl->DeviceInfo(This,pclsidInterfaceClass,pwszSymbolicLink)") 2584cpp_quote("#define IAMDeviceRemoval_Reassociate(This) (This)->lpVtbl->Reassociate(This)") 2585cpp_quote("#define IAMDeviceRemoval_Disassociate(This) (This)->lpVtbl->Disassociate(This)") 2586cpp_quote("#endif") 2587cpp_quote("#endif") 2588cpp_quote(" HRESULT WINAPI IAMDeviceRemoval_DeviceInfo_Proxy(IAMDeviceRemoval *This,CLSID *pclsidInterfaceClass,WCHAR **pwszSymbolicLink);") 2589cpp_quote(" void __RPC_STUB IAMDeviceRemoval_DeviceInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2590cpp_quote(" HRESULT WINAPI IAMDeviceRemoval_Reassociate_Proxy(IAMDeviceRemoval *This);") 2591cpp_quote(" void __RPC_STUB IAMDeviceRemoval_Reassociate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2592cpp_quote(" HRESULT WINAPI IAMDeviceRemoval_Disassociate_Proxy(IAMDeviceRemoval *This);") 2593cpp_quote(" void __RPC_STUB IAMDeviceRemoval_Disassociate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2594cpp_quote("#endif") 2595cpp_quote("") 2596cpp_quote(" typedef struct __MIDL___MIDL_itf_strmif_0355_0001 {") 2597cpp_quote(" DWORD dwDVAAuxSrc;") 2598cpp_quote(" DWORD dwDVAAuxCtl;") 2599cpp_quote(" DWORD dwDVAAuxSrc1;") 2600cpp_quote(" DWORD dwDVAAuxCtl1;") 2601cpp_quote(" DWORD dwDVVAuxSrc;") 2602cpp_quote(" DWORD dwDVVAuxCtl;") 2603cpp_quote(" DWORD dwDVReserved[2];") 2604cpp_quote(" } DVINFO;") 2605cpp_quote("") 2606cpp_quote(" typedef struct __MIDL___MIDL_itf_strmif_0355_0001 *PDVINFO;") 2607cpp_quote("") 2608cpp_quote(" enum _DVENCODERRESOLUTION {") 2609cpp_quote(" DVENCODERRESOLUTION_720x480 = 2012,DVENCODERRESOLUTION_360x240 = 2013,DVENCODERRESOLUTION_180x120 = 2014,DVENCODERRESOLUTION_88x60 = 2015") 2610cpp_quote(" };") 2611cpp_quote("") 2612cpp_quote(" enum _DVENCODERVIDEOFORMAT {") 2613cpp_quote(" DVENCODERVIDEOFORMAT_NTSC = 2000,DVENCODERVIDEOFORMAT_PAL = 2001") 2614cpp_quote(" };") 2615cpp_quote("") 2616cpp_quote(" enum _DVENCODERFORMAT {") 2617cpp_quote(" DVENCODERFORMAT_DVSD = 2007,DVENCODERFORMAT_DVHD = 2008,DVENCODERFORMAT_DVSL = 2009") 2618cpp_quote(" };") 2619cpp_quote("") 2620cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0355_v0_0_c_ifspec;") 2621cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0355_v0_0_s_ifspec;") 2622cpp_quote("#ifndef __IDVEnc_INTERFACE_DEFINED__") 2623cpp_quote("#define __IDVEnc_INTERFACE_DEFINED__") 2624cpp_quote(" EXTERN_C const IID IID_IDVEnc;") 2625cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 2626cpp_quote(" struct IDVEnc : public IUnknown {") 2627cpp_quote(" public:") 2628cpp_quote(" virtual HRESULT WINAPI get_IFormatResolution(int *VideoFormat,int *DVFormat,int *Resolution,BYTE fDVInfo,DVINFO *sDVInfo) = 0;") 2629cpp_quote(" virtual HRESULT WINAPI put_IFormatResolution(int VideoFormat,int DVFormat,int Resolution,BYTE fDVInfo,DVINFO *sDVInfo) = 0;") 2630cpp_quote(" };") 2631cpp_quote("#else") 2632cpp_quote(" typedef struct IDVEncVtbl {") 2633cpp_quote(" BEGIN_INTERFACE") 2634cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDVEnc *This,REFIID riid,void **ppvObject);") 2635cpp_quote(" ULONG (WINAPI *AddRef)(IDVEnc *This);") 2636cpp_quote(" ULONG (WINAPI *Release)(IDVEnc *This);") 2637cpp_quote(" HRESULT (WINAPI *get_IFormatResolution)(IDVEnc *This,int *VideoFormat,int *DVFormat,int *Resolution,BYTE fDVInfo,DVINFO *sDVInfo);") 2638cpp_quote(" HRESULT (WINAPI *put_IFormatResolution)(IDVEnc *This,int VideoFormat,int DVFormat,int Resolution,BYTE fDVInfo,DVINFO *sDVInfo);") 2639cpp_quote(" END_INTERFACE") 2640cpp_quote(" } IDVEncVtbl;") 2641cpp_quote(" struct IDVEnc {") 2642cpp_quote(" CONST_VTBL struct IDVEncVtbl *lpVtbl;") 2643cpp_quote(" };") 2644cpp_quote("#ifdef COBJMACROS") 2645cpp_quote("#define IDVEnc_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 2646cpp_quote("#define IDVEnc_AddRef(This) (This)->lpVtbl->AddRef(This)") 2647cpp_quote("#define IDVEnc_Release(This) (This)->lpVtbl->Release(This)") 2648cpp_quote("#define IDVEnc_get_IFormatResolution(This,VideoFormat,DVFormat,Resolution,fDVInfo,sDVInfo) (This)->lpVtbl->get_IFormatResolution(This,VideoFormat,DVFormat,Resolution,fDVInfo,sDVInfo)") 2649cpp_quote("#define IDVEnc_put_IFormatResolution(This,VideoFormat,DVFormat,Resolution,fDVInfo,sDVInfo) (This)->lpVtbl->put_IFormatResolution(This,VideoFormat,DVFormat,Resolution,fDVInfo,sDVInfo)") 2650cpp_quote("#endif") 2651cpp_quote("#endif") 2652cpp_quote(" HRESULT WINAPI IDVEnc_get_IFormatResolution_Proxy(IDVEnc *This,int *VideoFormat,int *DVFormat,int *Resolution,BYTE fDVInfo,DVINFO *sDVInfo);") 2653cpp_quote(" void __RPC_STUB IDVEnc_get_IFormatResolution_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2654cpp_quote(" HRESULT WINAPI IDVEnc_put_IFormatResolution_Proxy(IDVEnc *This,int VideoFormat,int DVFormat,int Resolution,BYTE fDVInfo,DVINFO *sDVInfo);") 2655cpp_quote(" void __RPC_STUB IDVEnc_put_IFormatResolution_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2656cpp_quote("#endif") 2657cpp_quote("") 2658cpp_quote(" enum _DVDECODERRESOLUTION {") 2659cpp_quote(" DVDECODERRESOLUTION_720x480 = 1000,DVDECODERRESOLUTION_360x240 = 1001,DVDECODERRESOLUTION_180x120 = 1002,DVDECODERRESOLUTION_88x60 = 1003") 2660cpp_quote(" };") 2661cpp_quote("") 2662cpp_quote(" enum _DVRESOLUTION {") 2663cpp_quote(" DVRESOLUTION_FULL = 1000,DVRESOLUTION_HALF = 1001,DVRESOLUTION_QUARTER = 1002,DVRESOLUTION_DC = 1003") 2664cpp_quote(" };") 2665cpp_quote("") 2666cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0356_v0_0_c_ifspec;") 2667cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0356_v0_0_s_ifspec;") 2668cpp_quote("#ifndef __IIPDVDec_INTERFACE_DEFINED__") 2669cpp_quote("#define __IIPDVDec_INTERFACE_DEFINED__") 2670cpp_quote(" EXTERN_C const IID IID_IIPDVDec;") 2671cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 2672cpp_quote(" struct IIPDVDec : public IUnknown {") 2673cpp_quote(" public:") 2674cpp_quote(" virtual HRESULT WINAPI get_IPDisplay(int *displayPix) = 0;") 2675cpp_quote(" virtual HRESULT WINAPI put_IPDisplay(int displayPix) = 0;") 2676cpp_quote(" };") 2677cpp_quote("#else") 2678cpp_quote(" typedef struct IIPDVDecVtbl {") 2679cpp_quote(" BEGIN_INTERFACE") 2680cpp_quote(" HRESULT (WINAPI *QueryInterface)(IIPDVDec *This,REFIID riid,void **ppvObject);") 2681cpp_quote(" ULONG (WINAPI *AddRef)(IIPDVDec *This);") 2682cpp_quote(" ULONG (WINAPI *Release)(IIPDVDec *This);") 2683cpp_quote(" HRESULT (WINAPI *get_IPDisplay)(IIPDVDec *This,int *displayPix);") 2684cpp_quote(" HRESULT (WINAPI *put_IPDisplay)(IIPDVDec *This,int displayPix);") 2685cpp_quote(" END_INTERFACE") 2686cpp_quote(" } IIPDVDecVtbl;") 2687cpp_quote(" struct IIPDVDec {") 2688cpp_quote(" CONST_VTBL struct IIPDVDecVtbl *lpVtbl;") 2689cpp_quote(" };") 2690cpp_quote("#ifdef COBJMACROS") 2691cpp_quote("#define IIPDVDec_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 2692cpp_quote("#define IIPDVDec_AddRef(This) (This)->lpVtbl->AddRef(This)") 2693cpp_quote("#define IIPDVDec_Release(This) (This)->lpVtbl->Release(This)") 2694cpp_quote("#define IIPDVDec_get_IPDisplay(This,displayPix) (This)->lpVtbl->get_IPDisplay(This,displayPix)") 2695cpp_quote("#define IIPDVDec_put_IPDisplay(This,displayPix) (This)->lpVtbl->put_IPDisplay(This,displayPix)") 2696cpp_quote("#endif") 2697cpp_quote("#endif") 2698cpp_quote(" HRESULT WINAPI IIPDVDec_get_IPDisplay_Proxy(IIPDVDec *This,int *displayPix);") 2699cpp_quote(" void __RPC_STUB IIPDVDec_get_IPDisplay_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2700cpp_quote(" HRESULT WINAPI IIPDVDec_put_IPDisplay_Proxy(IIPDVDec *This,int displayPix);") 2701cpp_quote(" void __RPC_STUB IIPDVDec_put_IPDisplay_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2702cpp_quote("#endif") 2703cpp_quote("") 2704cpp_quote("#ifndef __IDVRGB219_INTERFACE_DEFINED__") 2705cpp_quote("#define __IDVRGB219_INTERFACE_DEFINED__") 2706cpp_quote(" EXTERN_C const IID IID_IDVRGB219;") 2707cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 2708cpp_quote(" struct IDVRGB219 : public IUnknown {") 2709cpp_quote(" public:") 2710cpp_quote(" virtual HRESULT WINAPI SetRGB219(WINBOOL bState) = 0;") 2711cpp_quote(" };") 2712cpp_quote("#else") 2713cpp_quote(" typedef struct IDVRGB219Vtbl {") 2714cpp_quote(" BEGIN_INTERFACE") 2715cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDVRGB219 *This,REFIID riid,void **ppvObject);") 2716cpp_quote(" ULONG (WINAPI *AddRef)(IDVRGB219 *This);") 2717cpp_quote(" ULONG (WINAPI *Release)(IDVRGB219 *This);") 2718cpp_quote(" HRESULT (WINAPI *SetRGB219)(IDVRGB219 *This,WINBOOL bState);") 2719cpp_quote(" END_INTERFACE") 2720cpp_quote(" } IDVRGB219Vtbl;") 2721cpp_quote(" struct IDVRGB219 {") 2722cpp_quote(" CONST_VTBL struct IDVRGB219Vtbl *lpVtbl;") 2723cpp_quote(" };") 2724cpp_quote("#ifdef COBJMACROS") 2725cpp_quote("#define IDVRGB219_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 2726cpp_quote("#define IDVRGB219_AddRef(This) (This)->lpVtbl->AddRef(This)") 2727cpp_quote("#define IDVRGB219_Release(This) (This)->lpVtbl->Release(This)") 2728cpp_quote("#define IDVRGB219_SetRGB219(This,bState) (This)->lpVtbl->SetRGB219(This,bState)") 2729cpp_quote("#endif") 2730cpp_quote("#endif") 2731cpp_quote(" HRESULT WINAPI IDVRGB219_SetRGB219_Proxy(IDVRGB219 *This,WINBOOL bState);") 2732cpp_quote(" void __RPC_STUB IDVRGB219_SetRGB219_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2733cpp_quote("#endif") 2734cpp_quote("") 2735cpp_quote("#ifndef __IDVSplitter_INTERFACE_DEFINED__") 2736cpp_quote("#define __IDVSplitter_INTERFACE_DEFINED__") 2737cpp_quote(" EXTERN_C const IID IID_IDVSplitter;") 2738cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 2739cpp_quote(" struct IDVSplitter : public IUnknown {") 2740cpp_quote(" public:") 2741cpp_quote(" virtual HRESULT WINAPI DiscardAlternateVideoFrames(int nDiscard) = 0;") 2742cpp_quote(" };") 2743cpp_quote("#else") 2744cpp_quote(" typedef struct IDVSplitterVtbl {") 2745cpp_quote(" BEGIN_INTERFACE") 2746cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDVSplitter *This,REFIID riid,void **ppvObject);") 2747cpp_quote(" ULONG (WINAPI *AddRef)(IDVSplitter *This);") 2748cpp_quote(" ULONG (WINAPI *Release)(IDVSplitter *This);") 2749cpp_quote(" HRESULT (WINAPI *DiscardAlternateVideoFrames)(IDVSplitter *This,int nDiscard);") 2750cpp_quote(" END_INTERFACE") 2751cpp_quote(" } IDVSplitterVtbl;") 2752cpp_quote(" struct IDVSplitter {") 2753cpp_quote(" CONST_VTBL struct IDVSplitterVtbl *lpVtbl;") 2754cpp_quote(" };") 2755cpp_quote("#ifdef COBJMACROS") 2756cpp_quote("#define IDVSplitter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 2757cpp_quote("#define IDVSplitter_AddRef(This) (This)->lpVtbl->AddRef(This)") 2758cpp_quote("#define IDVSplitter_Release(This) (This)->lpVtbl->Release(This)") 2759cpp_quote("#define IDVSplitter_DiscardAlternateVideoFrames(This,nDiscard) (This)->lpVtbl->DiscardAlternateVideoFrames(This,nDiscard)") 2760cpp_quote("#endif") 2761cpp_quote("#endif") 2762cpp_quote(" HRESULT WINAPI IDVSplitter_DiscardAlternateVideoFrames_Proxy(IDVSplitter *This,int nDiscard);") 2763cpp_quote(" void __RPC_STUB IDVSplitter_DiscardAlternateVideoFrames_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2764cpp_quote("#endif") 2765cpp_quote("") 2766cpp_quote(" enum _AM_AUDIO_RENDERER_STAT_PARAM {") 2767cpp_quote(" AM_AUDREND_STAT_PARAM_BREAK_COUNT = 1,") 2768cpp_quote(" AM_AUDREND_STAT_PARAM_SLAVE_MODE,AM_AUDREND_STAT_PARAM_SILENCE_DUR,") 2769cpp_quote(" AM_AUDREND_STAT_PARAM_LAST_BUFFER_DUR,AM_AUDREND_STAT_PARAM_DISCONTINUITIES,") 2770cpp_quote(" AM_AUDREND_STAT_PARAM_SLAVE_RATE,AM_AUDREND_STAT_PARAM_SLAVE_DROPWRITE_DUR,") 2771cpp_quote(" AM_AUDREND_STAT_PARAM_SLAVE_HIGHLOWERROR,AM_AUDREND_STAT_PARAM_SLAVE_LASTHIGHLOWERROR,") 2772cpp_quote(" AM_AUDREND_STAT_PARAM_SLAVE_ACCUMERROR,AM_AUDREND_STAT_PARAM_BUFFERFULLNESS,") 2773cpp_quote(" AM_AUDREND_STAT_PARAM_JITTER") 2774cpp_quote(" };") 2775cpp_quote("") 2776cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0359_v0_0_c_ifspec;") 2777cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0359_v0_0_s_ifspec;") 2778cpp_quote("#ifndef __IAMAudioRendererStats_INTERFACE_DEFINED__") 2779cpp_quote("#define __IAMAudioRendererStats_INTERFACE_DEFINED__") 2780cpp_quote(" EXTERN_C const IID IID_IAMAudioRendererStats;") 2781cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 2782cpp_quote(" struct IAMAudioRendererStats : public IUnknown {") 2783cpp_quote(" public:") 2784cpp_quote(" virtual HRESULT WINAPI GetStatParam(DWORD dwParam,DWORD *pdwParam1,DWORD *pdwParam2) = 0;") 2785cpp_quote(" };") 2786cpp_quote("#else") 2787cpp_quote(" typedef struct IAMAudioRendererStatsVtbl {") 2788cpp_quote(" BEGIN_INTERFACE") 2789cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMAudioRendererStats *This,REFIID riid,void **ppvObject);") 2790cpp_quote(" ULONG (WINAPI *AddRef)(IAMAudioRendererStats *This);") 2791cpp_quote(" ULONG (WINAPI *Release)(IAMAudioRendererStats *This);") 2792cpp_quote(" HRESULT (WINAPI *GetStatParam)(IAMAudioRendererStats *This,DWORD dwParam,DWORD *pdwParam1,DWORD *pdwParam2);") 2793cpp_quote(" END_INTERFACE") 2794cpp_quote(" } IAMAudioRendererStatsVtbl;") 2795cpp_quote(" struct IAMAudioRendererStats {") 2796cpp_quote(" CONST_VTBL struct IAMAudioRendererStatsVtbl *lpVtbl;") 2797cpp_quote(" };") 2798cpp_quote("#ifdef COBJMACROS") 2799cpp_quote("#define IAMAudioRendererStats_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 2800cpp_quote("#define IAMAudioRendererStats_AddRef(This) (This)->lpVtbl->AddRef(This)") 2801cpp_quote("#define IAMAudioRendererStats_Release(This) (This)->lpVtbl->Release(This)") 2802cpp_quote("#define IAMAudioRendererStats_GetStatParam(This,dwParam,pdwParam1,pdwParam2) (This)->lpVtbl->GetStatParam(This,dwParam,pdwParam1,pdwParam2)") 2803cpp_quote("#endif") 2804cpp_quote("#endif") 2805cpp_quote(" HRESULT WINAPI IAMAudioRendererStats_GetStatParam_Proxy(IAMAudioRendererStats *This,DWORD dwParam,DWORD *pdwParam1,DWORD *pdwParam2);") 2806cpp_quote(" void __RPC_STUB IAMAudioRendererStats_GetStatParam_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2807cpp_quote("#endif") 2808cpp_quote("") 2809cpp_quote(" enum _AM_INTF_SEARCH_FLAGS {") 2810cpp_quote(" AM_INTF_SEARCH_INPUT_PIN = 0x1,AM_INTF_SEARCH_OUTPUT_PIN = 0x2,AM_INTF_SEARCH_FILTER = 0x4") 2811cpp_quote(" };") 2812cpp_quote("") 2813cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0361_v0_0_c_ifspec;") 2814cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0361_v0_0_s_ifspec;") 2815cpp_quote("#ifndef __IAMGraphStreams_INTERFACE_DEFINED__") 2816cpp_quote("#define __IAMGraphStreams_INTERFACE_DEFINED__") 2817cpp_quote(" EXTERN_C const IID IID_IAMGraphStreams;") 2818cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 2819cpp_quote(" struct IAMGraphStreams : public IUnknown {") 2820cpp_quote(" public:") 2821cpp_quote(" virtual HRESULT WINAPI FindUpstreamInterface(IPin *pPin,REFIID riid,void **ppvInterface,DWORD dwFlags) = 0;") 2822cpp_quote(" virtual HRESULT WINAPI SyncUsingStreamOffset(WINBOOL bUseStreamOffset) = 0;") 2823cpp_quote(" virtual HRESULT WINAPI SetMaxGraphLatency(REFERENCE_TIME rtMaxGraphLatency) = 0;") 2824cpp_quote(" };") 2825cpp_quote("#else") 2826cpp_quote(" typedef struct IAMGraphStreamsVtbl {") 2827cpp_quote(" BEGIN_INTERFACE") 2828cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMGraphStreams *This,REFIID riid,void **ppvObject);") 2829cpp_quote(" ULONG (WINAPI *AddRef)(IAMGraphStreams *This);") 2830cpp_quote(" ULONG (WINAPI *Release)(IAMGraphStreams *This);") 2831cpp_quote(" HRESULT (WINAPI *FindUpstreamInterface)(IAMGraphStreams *This,IPin *pPin,REFIID riid,void **ppvInterface,DWORD dwFlags);") 2832cpp_quote(" HRESULT (WINAPI *SyncUsingStreamOffset)(IAMGraphStreams *This,WINBOOL bUseStreamOffset);") 2833cpp_quote(" HRESULT (WINAPI *SetMaxGraphLatency)(IAMGraphStreams *This,REFERENCE_TIME rtMaxGraphLatency);") 2834cpp_quote(" END_INTERFACE") 2835cpp_quote(" } IAMGraphStreamsVtbl;") 2836cpp_quote(" struct IAMGraphStreams {") 2837cpp_quote(" CONST_VTBL struct IAMGraphStreamsVtbl *lpVtbl;") 2838cpp_quote(" };") 2839cpp_quote("#ifdef COBJMACROS") 2840cpp_quote("#define IAMGraphStreams_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 2841cpp_quote("#define IAMGraphStreams_AddRef(This) (This)->lpVtbl->AddRef(This)") 2842cpp_quote("#define IAMGraphStreams_Release(This) (This)->lpVtbl->Release(This)") 2843cpp_quote("#define IAMGraphStreams_FindUpstreamInterface(This,pPin,riid,ppvInterface,dwFlags) (This)->lpVtbl->FindUpstreamInterface(This,pPin,riid,ppvInterface,dwFlags)") 2844cpp_quote("#define IAMGraphStreams_SyncUsingStreamOffset(This,bUseStreamOffset) (This)->lpVtbl->SyncUsingStreamOffset(This,bUseStreamOffset)") 2845cpp_quote("#define IAMGraphStreams_SetMaxGraphLatency(This,rtMaxGraphLatency) (This)->lpVtbl->SetMaxGraphLatency(This,rtMaxGraphLatency)") 2846cpp_quote("#endif") 2847cpp_quote("#endif") 2848cpp_quote(" HRESULT WINAPI IAMGraphStreams_FindUpstreamInterface_Proxy(IAMGraphStreams *This,IPin *pPin,REFIID riid,void **ppvInterface,DWORD dwFlags);") 2849cpp_quote(" void __RPC_STUB IAMGraphStreams_FindUpstreamInterface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2850cpp_quote(" HRESULT WINAPI IAMGraphStreams_SyncUsingStreamOffset_Proxy(IAMGraphStreams *This,WINBOOL bUseStreamOffset);") 2851cpp_quote(" void __RPC_STUB IAMGraphStreams_SyncUsingStreamOffset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2852cpp_quote(" HRESULT WINAPI IAMGraphStreams_SetMaxGraphLatency_Proxy(IAMGraphStreams *This,REFERENCE_TIME rtMaxGraphLatency);") 2853cpp_quote(" void __RPC_STUB IAMGraphStreams_SetMaxGraphLatency_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2854cpp_quote("#endif") 2855cpp_quote("") 2856cpp_quote(" enum AMOVERLAYFX {") 2857cpp_quote(" AMOVERFX_NOFX = 0,AMOVERFX_MIRRORLEFTRIGHT = 0x2,AMOVERFX_MIRRORUPDOWN = 0x4,AMOVERFX_DEINTERLACE = 0x8") 2858cpp_quote(" };") 2859cpp_quote("") 2860cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0362_v0_0_c_ifspec;") 2861cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0362_v0_0_s_ifspec;") 2862cpp_quote("#ifndef __IAMOverlayFX_INTERFACE_DEFINED__") 2863cpp_quote("#define __IAMOverlayFX_INTERFACE_DEFINED__") 2864cpp_quote(" EXTERN_C const IID IID_IAMOverlayFX;") 2865cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 2866cpp_quote(" struct IAMOverlayFX : public IUnknown {") 2867cpp_quote(" public:") 2868cpp_quote(" virtual HRESULT WINAPI QueryOverlayFXCaps(DWORD *lpdwOverlayFXCaps) = 0;") 2869cpp_quote(" virtual HRESULT WINAPI SetOverlayFX(DWORD dwOverlayFX) = 0;") 2870cpp_quote(" virtual HRESULT WINAPI GetOverlayFX(DWORD *lpdwOverlayFX) = 0;") 2871cpp_quote(" };") 2872cpp_quote("#else") 2873cpp_quote(" typedef struct IAMOverlayFXVtbl {") 2874cpp_quote(" BEGIN_INTERFACE") 2875cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMOverlayFX *This,REFIID riid,void **ppvObject);") 2876cpp_quote(" ULONG (WINAPI *AddRef)(IAMOverlayFX *This);") 2877cpp_quote(" ULONG (WINAPI *Release)(IAMOverlayFX *This);") 2878cpp_quote(" HRESULT (WINAPI *QueryOverlayFXCaps)(IAMOverlayFX *This,DWORD *lpdwOverlayFXCaps);") 2879cpp_quote(" HRESULT (WINAPI *SetOverlayFX)(IAMOverlayFX *This,DWORD dwOverlayFX);") 2880cpp_quote(" HRESULT (WINAPI *GetOverlayFX)(IAMOverlayFX *This,DWORD *lpdwOverlayFX);") 2881cpp_quote(" END_INTERFACE") 2882cpp_quote(" } IAMOverlayFXVtbl;") 2883cpp_quote(" struct IAMOverlayFX {") 2884cpp_quote(" CONST_VTBL struct IAMOverlayFXVtbl *lpVtbl;") 2885cpp_quote(" };") 2886cpp_quote("#ifdef COBJMACROS") 2887cpp_quote("#define IAMOverlayFX_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 2888cpp_quote("#define IAMOverlayFX_AddRef(This) (This)->lpVtbl->AddRef(This)") 2889cpp_quote("#define IAMOverlayFX_Release(This) (This)->lpVtbl->Release(This)") 2890cpp_quote("#define IAMOverlayFX_QueryOverlayFXCaps(This,lpdwOverlayFXCaps) (This)->lpVtbl->QueryOverlayFXCaps(This,lpdwOverlayFXCaps)") 2891cpp_quote("#define IAMOverlayFX_SetOverlayFX(This,dwOverlayFX) (This)->lpVtbl->SetOverlayFX(This,dwOverlayFX)") 2892cpp_quote("#define IAMOverlayFX_GetOverlayFX(This,lpdwOverlayFX) (This)->lpVtbl->GetOverlayFX(This,lpdwOverlayFX)") 2893cpp_quote("#endif") 2894cpp_quote("#endif") 2895cpp_quote(" HRESULT WINAPI IAMOverlayFX_QueryOverlayFXCaps_Proxy(IAMOverlayFX *This,DWORD *lpdwOverlayFXCaps);") 2896cpp_quote(" void __RPC_STUB IAMOverlayFX_QueryOverlayFXCaps_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2897cpp_quote(" HRESULT WINAPI IAMOverlayFX_SetOverlayFX_Proxy(IAMOverlayFX *This,DWORD dwOverlayFX);") 2898cpp_quote(" void __RPC_STUB IAMOverlayFX_SetOverlayFX_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2899cpp_quote(" HRESULT WINAPI IAMOverlayFX_GetOverlayFX_Proxy(IAMOverlayFX *This,DWORD *lpdwOverlayFX);") 2900cpp_quote(" void __RPC_STUB IAMOverlayFX_GetOverlayFX_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2901cpp_quote("#endif") 2902cpp_quote("") 2903cpp_quote("#ifndef __IAMOpenProgress_INTERFACE_DEFINED__") 2904cpp_quote("#define __IAMOpenProgress_INTERFACE_DEFINED__") 2905cpp_quote(" EXTERN_C const IID IID_IAMOpenProgress;") 2906cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 2907cpp_quote(" struct IAMOpenProgress : public IUnknown {") 2908cpp_quote(" public:") 2909cpp_quote(" virtual HRESULT WINAPI QueryProgress(LONGLONG *pllTotal,LONGLONG *pllCurrent) = 0;") 2910cpp_quote(" virtual HRESULT WINAPI AbortOperation(void) = 0;") 2911cpp_quote(" };") 2912cpp_quote("#else") 2913cpp_quote(" typedef struct IAMOpenProgressVtbl {") 2914cpp_quote(" BEGIN_INTERFACE") 2915cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMOpenProgress *This,REFIID riid,void **ppvObject);") 2916cpp_quote(" ULONG (WINAPI *AddRef)(IAMOpenProgress *This);") 2917cpp_quote(" ULONG (WINAPI *Release)(IAMOpenProgress *This);") 2918cpp_quote(" HRESULT (WINAPI *QueryProgress)(IAMOpenProgress *This,LONGLONG *pllTotal,LONGLONG *pllCurrent);") 2919cpp_quote(" HRESULT (WINAPI *AbortOperation)(IAMOpenProgress *This);") 2920cpp_quote(" END_INTERFACE") 2921cpp_quote(" } IAMOpenProgressVtbl;") 2922cpp_quote(" struct IAMOpenProgress {") 2923cpp_quote(" CONST_VTBL struct IAMOpenProgressVtbl *lpVtbl;") 2924cpp_quote(" };") 2925cpp_quote("#ifdef COBJMACROS") 2926cpp_quote("#define IAMOpenProgress_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 2927cpp_quote("#define IAMOpenProgress_AddRef(This) (This)->lpVtbl->AddRef(This)") 2928cpp_quote("#define IAMOpenProgress_Release(This) (This)->lpVtbl->Release(This)") 2929cpp_quote("#define IAMOpenProgress_QueryProgress(This,pllTotal,pllCurrent) (This)->lpVtbl->QueryProgress(This,pllTotal,pllCurrent)") 2930cpp_quote("#define IAMOpenProgress_AbortOperation(This) (This)->lpVtbl->AbortOperation(This)") 2931cpp_quote("#endif") 2932cpp_quote("#endif") 2933cpp_quote(" HRESULT WINAPI IAMOpenProgress_QueryProgress_Proxy(IAMOpenProgress *This,LONGLONG *pllTotal,LONGLONG *pllCurrent);") 2934cpp_quote(" void __RPC_STUB IAMOpenProgress_QueryProgress_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2935cpp_quote(" HRESULT WINAPI IAMOpenProgress_AbortOperation_Proxy(IAMOpenProgress *This);") 2936cpp_quote(" void __RPC_STUB IAMOpenProgress_AbortOperation_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2937cpp_quote("#endif") 2938cpp_quote("") 2939cpp_quote("#ifdef __CRT_UUID_DECL") 2940cpp_quote("__CRT_UUID_DECL(IMpeg2Demultiplexer,0x436eee9c,0x264f,0x4242,0x90,0xe1,0x4e,0x33,0x0c,0x10,0x75,0x12);") 2941cpp_quote("#endif") 2942cpp_quote("") 2943cpp_quote("#ifndef __IMpeg2Demultiplexer_INTERFACE_DEFINED__") 2944cpp_quote("#define __IMpeg2Demultiplexer_INTERFACE_DEFINED__") 2945cpp_quote(" EXTERN_C const IID IID_IMpeg2Demultiplexer;") 2946cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 2947cpp_quote(" struct IMpeg2Demultiplexer : public IUnknown {") 2948cpp_quote(" public:") 2949cpp_quote(" virtual HRESULT WINAPI CreateOutputPin(AM_MEDIA_TYPE *pMediaType,LPWSTR pszPinName,IPin **ppIPin) = 0;") 2950cpp_quote(" virtual HRESULT WINAPI SetOutputPinMediaType(LPWSTR pszPinName,AM_MEDIA_TYPE *pMediaType) = 0;") 2951cpp_quote(" virtual HRESULT WINAPI DeleteOutputPin(LPWSTR pszPinName) = 0;") 2952cpp_quote(" };") 2953cpp_quote("#else") 2954cpp_quote(" typedef struct IMpeg2DemultiplexerVtbl {") 2955cpp_quote(" BEGIN_INTERFACE") 2956cpp_quote(" HRESULT (WINAPI *QueryInterface)(IMpeg2Demultiplexer *This,REFIID riid,void **ppvObject);") 2957cpp_quote(" ULONG (WINAPI *AddRef)(IMpeg2Demultiplexer *This);") 2958cpp_quote(" ULONG (WINAPI *Release)(IMpeg2Demultiplexer *This);") 2959cpp_quote(" HRESULT (WINAPI *CreateOutputPin)(IMpeg2Demultiplexer *This,AM_MEDIA_TYPE *pMediaType,LPWSTR pszPinName,IPin **ppIPin);") 2960cpp_quote(" HRESULT (WINAPI *SetOutputPinMediaType)(IMpeg2Demultiplexer *This,LPWSTR pszPinName,AM_MEDIA_TYPE *pMediaType);") 2961cpp_quote(" HRESULT (WINAPI *DeleteOutputPin)(IMpeg2Demultiplexer *This,LPWSTR pszPinName);") 2962cpp_quote(" END_INTERFACE") 2963cpp_quote(" } IMpeg2DemultiplexerVtbl;") 2964cpp_quote(" struct IMpeg2Demultiplexer {") 2965cpp_quote(" CONST_VTBL struct IMpeg2DemultiplexerVtbl *lpVtbl;") 2966cpp_quote(" };") 2967cpp_quote("#ifdef COBJMACROS") 2968cpp_quote("#define IMpeg2Demultiplexer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 2969cpp_quote("#define IMpeg2Demultiplexer_AddRef(This) (This)->lpVtbl->AddRef(This)") 2970cpp_quote("#define IMpeg2Demultiplexer_Release(This) (This)->lpVtbl->Release(This)") 2971cpp_quote("#define IMpeg2Demultiplexer_CreateOutputPin(This,pMediaType,pszPinName,ppIPin) (This)->lpVtbl->CreateOutputPin(This,pMediaType,pszPinName,ppIPin)") 2972cpp_quote("#define IMpeg2Demultiplexer_SetOutputPinMediaType(This,pszPinName,pMediaType) (This)->lpVtbl->SetOutputPinMediaType(This,pszPinName,pMediaType)") 2973cpp_quote("#define IMpeg2Demultiplexer_DeleteOutputPin(This,pszPinName) (This)->lpVtbl->DeleteOutputPin(This,pszPinName)") 2974cpp_quote("#endif") 2975cpp_quote("#endif") 2976cpp_quote(" HRESULT WINAPI IMpeg2Demultiplexer_CreateOutputPin_Proxy(IMpeg2Demultiplexer *This,AM_MEDIA_TYPE *pMediaType,LPWSTR pszPinName,IPin **ppIPin);") 2977cpp_quote(" void __RPC_STUB IMpeg2Demultiplexer_CreateOutputPin_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2978cpp_quote(" HRESULT WINAPI IMpeg2Demultiplexer_SetOutputPinMediaType_Proxy(IMpeg2Demultiplexer *This,LPWSTR pszPinName,AM_MEDIA_TYPE *pMediaType);") 2979cpp_quote(" void __RPC_STUB IMpeg2Demultiplexer_SetOutputPinMediaType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2980cpp_quote(" HRESULT WINAPI IMpeg2Demultiplexer_DeleteOutputPin_Proxy(IMpeg2Demultiplexer *This,LPWSTR pszPinName);") 2981cpp_quote(" void __RPC_STUB IMpeg2Demultiplexer_DeleteOutputPin_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 2982cpp_quote("#endif") 2983cpp_quote("") 2984cpp_quote("#define MPEG2_PROGRAM_STREAM_MAP 0x00000000") 2985cpp_quote("#define MPEG2_PROGRAM_ELEMENTARY_STREAM 0x00000001") 2986cpp_quote("#define MPEG2_PROGRAM_DIRECTORY_PES_PACKET 0x00000002") 2987cpp_quote("#define MPEG2_PROGRAM_PACK_HEADER 0x00000003") 2988cpp_quote("#define MPEG2_PROGRAM_PES_STREAM 0x00000004") 2989cpp_quote("#define MPEG2_PROGRAM_SYSTEM_HEADER 0x00000005") 2990cpp_quote("#define SUBSTREAM_FILTER_VAL_NONE 0x10000000") 2991cpp_quote("") 2992cpp_quote(" typedef struct __MIDL___MIDL_itf_strmif_0365_0001 {") 2993cpp_quote(" ULONG stream_id;") 2994cpp_quote(" DWORD dwMediaSampleContent;") 2995cpp_quote(" ULONG ulSubstreamFilterValue;") 2996cpp_quote(" int iDataOffset;") 2997cpp_quote(" } STREAM_ID_MAP;") 2998cpp_quote("") 2999cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0365_v0_0_c_ifspec;") 3000cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0365_v0_0_s_ifspec;") 3001cpp_quote("#ifndef __IEnumStreamIdMap_INTERFACE_DEFINED__") 3002cpp_quote("#define __IEnumStreamIdMap_INTERFACE_DEFINED__") 3003cpp_quote(" EXTERN_C const IID IID_IEnumStreamIdMap;") 3004cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 3005cpp_quote(" struct IEnumStreamIdMap : public IUnknown {") 3006cpp_quote(" public:") 3007cpp_quote(" virtual HRESULT WINAPI Next(ULONG cRequest,STREAM_ID_MAP *pStreamIdMap,ULONG *pcReceived) = 0;") 3008cpp_quote(" virtual HRESULT WINAPI Skip(ULONG cRecords) = 0;") 3009cpp_quote(" virtual HRESULT WINAPI Reset(void) = 0;") 3010cpp_quote(" virtual HRESULT WINAPI Clone(IEnumStreamIdMap **ppIEnumStreamIdMap) = 0;") 3011cpp_quote(" };") 3012cpp_quote("#else") 3013cpp_quote(" typedef struct IEnumStreamIdMapVtbl {") 3014cpp_quote(" BEGIN_INTERFACE") 3015cpp_quote(" HRESULT (WINAPI *QueryInterface)(IEnumStreamIdMap *This,REFIID riid,void **ppvObject);") 3016cpp_quote(" ULONG (WINAPI *AddRef)(IEnumStreamIdMap *This);") 3017cpp_quote(" ULONG (WINAPI *Release)(IEnumStreamIdMap *This);") 3018cpp_quote(" HRESULT (WINAPI *Next)(IEnumStreamIdMap *This,ULONG cRequest,STREAM_ID_MAP *pStreamIdMap,ULONG *pcReceived);") 3019cpp_quote(" HRESULT (WINAPI *Skip)(IEnumStreamIdMap *This,ULONG cRecords);") 3020cpp_quote(" HRESULT (WINAPI *Reset)(IEnumStreamIdMap *This);") 3021cpp_quote(" HRESULT (WINAPI *Clone)(IEnumStreamIdMap *This,IEnumStreamIdMap **ppIEnumStreamIdMap);") 3022cpp_quote(" END_INTERFACE") 3023cpp_quote(" } IEnumStreamIdMapVtbl;") 3024cpp_quote(" struct IEnumStreamIdMap {") 3025cpp_quote(" CONST_VTBL struct IEnumStreamIdMapVtbl *lpVtbl;") 3026cpp_quote(" };") 3027cpp_quote("#ifdef COBJMACROS") 3028cpp_quote("#define IEnumStreamIdMap_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 3029cpp_quote("#define IEnumStreamIdMap_AddRef(This) (This)->lpVtbl->AddRef(This)") 3030cpp_quote("#define IEnumStreamIdMap_Release(This) (This)->lpVtbl->Release(This)") 3031cpp_quote("#define IEnumStreamIdMap_Next(This,cRequest,pStreamIdMap,pcReceived) (This)->lpVtbl->Next(This,cRequest,pStreamIdMap,pcReceived)") 3032cpp_quote("#define IEnumStreamIdMap_Skip(This,cRecords) (This)->lpVtbl->Skip(This,cRecords)") 3033cpp_quote("#define IEnumStreamIdMap_Reset(This) (This)->lpVtbl->Reset(This)") 3034cpp_quote("#define IEnumStreamIdMap_Clone(This,ppIEnumStreamIdMap) (This)->lpVtbl->Clone(This,ppIEnumStreamIdMap)") 3035cpp_quote("#endif") 3036cpp_quote("#endif") 3037cpp_quote(" HRESULT WINAPI IEnumStreamIdMap_Next_Proxy(IEnumStreamIdMap *This,ULONG cRequest,STREAM_ID_MAP *pStreamIdMap,ULONG *pcReceived);") 3038cpp_quote(" void __RPC_STUB IEnumStreamIdMap_Next_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3039cpp_quote(" HRESULT WINAPI IEnumStreamIdMap_Skip_Proxy(IEnumStreamIdMap *This,ULONG cRecords);") 3040cpp_quote(" void __RPC_STUB IEnumStreamIdMap_Skip_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3041cpp_quote(" HRESULT WINAPI IEnumStreamIdMap_Reset_Proxy(IEnumStreamIdMap *This);") 3042cpp_quote(" void __RPC_STUB IEnumStreamIdMap_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3043cpp_quote(" HRESULT WINAPI IEnumStreamIdMap_Clone_Proxy(IEnumStreamIdMap *This,IEnumStreamIdMap **ppIEnumStreamIdMap);") 3044cpp_quote(" void __RPC_STUB IEnumStreamIdMap_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3045cpp_quote("#endif") 3046cpp_quote("") 3047cpp_quote("#ifndef __IMPEG2StreamIdMap_INTERFACE_DEFINED__") 3048cpp_quote("#define __IMPEG2StreamIdMap_INTERFACE_DEFINED__") 3049cpp_quote(" EXTERN_C const IID IID_IMPEG2StreamIdMap;") 3050cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 3051cpp_quote(" struct IMPEG2StreamIdMap : public IUnknown {") 3052cpp_quote(" public:") 3053cpp_quote(" virtual HRESULT WINAPI MapStreamId(ULONG ulStreamId,DWORD MediaSampleContent,ULONG ulSubstreamFilterValue,int iDataOffset) = 0;") 3054cpp_quote(" virtual HRESULT WINAPI UnmapStreamId(ULONG culStreamId,ULONG *pulStreamId) = 0;") 3055cpp_quote(" virtual HRESULT WINAPI EnumStreamIdMap(IEnumStreamIdMap **ppIEnumStreamIdMap) = 0;") 3056cpp_quote(" };") 3057cpp_quote("#else") 3058cpp_quote(" typedef struct IMPEG2StreamIdMapVtbl {") 3059cpp_quote(" BEGIN_INTERFACE") 3060cpp_quote(" HRESULT (WINAPI *QueryInterface)(IMPEG2StreamIdMap *This,REFIID riid,void **ppvObject);") 3061cpp_quote(" ULONG (WINAPI *AddRef)(IMPEG2StreamIdMap *This);") 3062cpp_quote(" ULONG (WINAPI *Release)(IMPEG2StreamIdMap *This);") 3063cpp_quote(" HRESULT (WINAPI *MapStreamId)(IMPEG2StreamIdMap *This,ULONG ulStreamId,DWORD MediaSampleContent,ULONG ulSubstreamFilterValue,int iDataOffset);") 3064cpp_quote(" HRESULT (WINAPI *UnmapStreamId)(IMPEG2StreamIdMap *This,ULONG culStreamId,ULONG *pulStreamId);") 3065cpp_quote(" HRESULT (WINAPI *EnumStreamIdMap)(IMPEG2StreamIdMap *This,IEnumStreamIdMap **ppIEnumStreamIdMap);") 3066cpp_quote(" END_INTERFACE") 3067cpp_quote(" } IMPEG2StreamIdMapVtbl;") 3068cpp_quote(" struct IMPEG2StreamIdMap {") 3069cpp_quote(" CONST_VTBL struct IMPEG2StreamIdMapVtbl *lpVtbl;") 3070cpp_quote(" };") 3071cpp_quote("#ifdef COBJMACROS") 3072cpp_quote("#define IMPEG2StreamIdMap_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 3073cpp_quote("#define IMPEG2StreamIdMap_AddRef(This) (This)->lpVtbl->AddRef(This)") 3074cpp_quote("#define IMPEG2StreamIdMap_Release(This) (This)->lpVtbl->Release(This)") 3075cpp_quote("#define IMPEG2StreamIdMap_MapStreamId(This,ulStreamId,MediaSampleContent,ulSubstreamFilterValue,iDataOffset) (This)->lpVtbl->MapStreamId(This,ulStreamId,MediaSampleContent,ulSubstreamFilterValue,iDataOffset)") 3076cpp_quote("#define IMPEG2StreamIdMap_UnmapStreamId(This,culStreamId,pulStreamId) (This)->lpVtbl->UnmapStreamId(This,culStreamId,pulStreamId)") 3077cpp_quote("#define IMPEG2StreamIdMap_EnumStreamIdMap(This,ppIEnumStreamIdMap) (This)->lpVtbl->EnumStreamIdMap(This,ppIEnumStreamIdMap)") 3078cpp_quote("#endif") 3079cpp_quote("#endif") 3080cpp_quote(" HRESULT WINAPI IMPEG2StreamIdMap_MapStreamId_Proxy(IMPEG2StreamIdMap *This,ULONG ulStreamId,DWORD MediaSampleContent,ULONG ulSubstreamFilterValue,int iDataOffset);") 3081cpp_quote(" void __RPC_STUB IMPEG2StreamIdMap_MapStreamId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3082cpp_quote(" HRESULT WINAPI IMPEG2StreamIdMap_UnmapStreamId_Proxy(IMPEG2StreamIdMap *This,ULONG culStreamId,ULONG *pulStreamId);") 3083cpp_quote(" void __RPC_STUB IMPEG2StreamIdMap_UnmapStreamId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3084cpp_quote(" HRESULT WINAPI IMPEG2StreamIdMap_EnumStreamIdMap_Proxy(IMPEG2StreamIdMap *This,IEnumStreamIdMap **ppIEnumStreamIdMap);") 3085cpp_quote(" void __RPC_STUB IMPEG2StreamIdMap_EnumStreamIdMap_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3086cpp_quote("#endif") 3087cpp_quote("") 3088cpp_quote("#ifndef __IRegisterServiceProvider_INTERFACE_DEFINED__") 3089cpp_quote("#define __IRegisterServiceProvider_INTERFACE_DEFINED__") 3090cpp_quote(" EXTERN_C const IID IID_IRegisterServiceProvider;") 3091cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 3092cpp_quote(" struct IRegisterServiceProvider : public IUnknown {") 3093cpp_quote(" public:") 3094cpp_quote(" virtual HRESULT WINAPI RegisterService(REFGUID guidService,IUnknown *pUnkObject) = 0;") 3095cpp_quote(" };") 3096cpp_quote("#else") 3097cpp_quote(" typedef struct IRegisterServiceProviderVtbl {") 3098cpp_quote(" BEGIN_INTERFACE") 3099cpp_quote(" HRESULT (WINAPI *QueryInterface)(IRegisterServiceProvider *This,REFIID riid,void **ppvObject);") 3100cpp_quote(" ULONG (WINAPI *AddRef)(IRegisterServiceProvider *This);") 3101cpp_quote(" ULONG (WINAPI *Release)(IRegisterServiceProvider *This);") 3102cpp_quote(" HRESULT (WINAPI *RegisterService)(IRegisterServiceProvider *This,REFGUID guidService,IUnknown *pUnkObject);") 3103cpp_quote(" END_INTERFACE") 3104cpp_quote(" } IRegisterServiceProviderVtbl;") 3105cpp_quote(" struct IRegisterServiceProvider {") 3106cpp_quote(" CONST_VTBL struct IRegisterServiceProviderVtbl *lpVtbl;") 3107cpp_quote(" };") 3108cpp_quote("#ifdef COBJMACROS") 3109cpp_quote("#define IRegisterServiceProvider_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 3110cpp_quote("#define IRegisterServiceProvider_AddRef(This) (This)->lpVtbl->AddRef(This)") 3111cpp_quote("#define IRegisterServiceProvider_Release(This) (This)->lpVtbl->Release(This)") 3112cpp_quote("#define IRegisterServiceProvider_RegisterService(This,guidService,pUnkObject) (This)->lpVtbl->RegisterService(This,guidService,pUnkObject)") 3113cpp_quote("#endif") 3114cpp_quote("#endif") 3115cpp_quote(" HRESULT WINAPI IRegisterServiceProvider_RegisterService_Proxy(IRegisterServiceProvider *This,REFGUID guidService,IUnknown *pUnkObject);") 3116cpp_quote(" void __RPC_STUB IRegisterServiceProvider_RegisterService_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3117cpp_quote("#endif") 3118cpp_quote("") 3119cpp_quote("#ifdef __cplusplus") 3120cpp_quote("#ifndef _IAMFilterGraphCallback_") 3121cpp_quote("#define _IAMFilterGraphCallback_") 3122cpp_quote(" EXTERN_GUID(IID_IAMFilterGraphCallback,0x56a868fd,0x0ad4,0x11ce,0xb0,0xa3,0x0,0x20,0xaf,0x0b,0xa7,0x70);") 3123cpp_quote(" struct IAMFilterGraphCallback : public IUnknown {") 3124cpp_quote(" virtual HRESULT UnableToRender(IPin *pPin) = 0;") 3125cpp_quote(" };") 3126cpp_quote("#endif") 3127cpp_quote("#endif") 3128cpp_quote(" struct CodecAPIEventData {") 3129cpp_quote(" GUID guid;") 3130cpp_quote(" DWORD dataLength;") 3131cpp_quote(" DWORD reserved[3];") 3132cpp_quote(" };") 3133cpp_quote("") 3134cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0370_v0_0_c_ifspec;") 3135cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0370_v0_0_s_ifspec;") 3136cpp_quote("#ifndef __ICodecAPI_INTERFACE_DEFINED__") 3137cpp_quote("#define __ICodecAPI_INTERFACE_DEFINED__") 3138cpp_quote(" EXTERN_C const IID IID_ICodecAPI;") 3139cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 3140cpp_quote(" struct ICodecAPI : public IUnknown {") 3141cpp_quote(" public:") 3142cpp_quote(" virtual HRESULT WINAPI IsSupported(const GUID *Api) = 0;") 3143cpp_quote(" virtual HRESULT WINAPI IsModifiable(const GUID *Api) = 0;") 3144cpp_quote(" virtual HRESULT WINAPI GetParameterRange(const GUID *Api,VARIANT *ValueMin,VARIANT *ValueMax,VARIANT *SteppingDelta) = 0;") 3145cpp_quote(" virtual HRESULT WINAPI GetParameterValues(const GUID *Api,VARIANT **Values,ULONG *ValuesCount) = 0;") 3146cpp_quote(" virtual HRESULT WINAPI GetDefaultValue(const GUID *Api,VARIANT *Value) = 0;") 3147cpp_quote(" virtual HRESULT WINAPI GetValue(const GUID *Api,VARIANT *Value) = 0;") 3148cpp_quote(" virtual HRESULT WINAPI SetValue(const GUID *Api,VARIANT *Value) = 0;") 3149cpp_quote(" virtual HRESULT WINAPI RegisterForEvent(const GUID *Api,LONG_PTR userData) = 0;") 3150cpp_quote(" virtual HRESULT WINAPI UnregisterForEvent(const GUID *Api) = 0;") 3151cpp_quote(" virtual HRESULT WINAPI SetAllDefaults(void) = 0;") 3152cpp_quote(" virtual HRESULT WINAPI SetValueWithNotify(const GUID *Api,VARIANT *Value,GUID **ChangedParam,ULONG *ChangedParamCount) = 0;") 3153cpp_quote(" virtual HRESULT WINAPI SetAllDefaultsWithNotify(GUID **ChangedParam,ULONG *ChangedParamCount) = 0;") 3154cpp_quote(" virtual HRESULT WINAPI GetAllSettings(IStream *__MIDL_0016) = 0;") 3155cpp_quote(" virtual HRESULT WINAPI SetAllSettings(IStream *__MIDL_0017) = 0;") 3156cpp_quote(" virtual HRESULT WINAPI SetAllSettingsWithNotify(IStream *__MIDL_0018,GUID **ChangedParam,ULONG *ChangedParamCount) = 0;") 3157cpp_quote(" };") 3158cpp_quote("#else") 3159cpp_quote(" typedef struct ICodecAPIVtbl {") 3160cpp_quote(" BEGIN_INTERFACE") 3161cpp_quote(" HRESULT (WINAPI *QueryInterface)(ICodecAPI *This,REFIID riid,void **ppvObject);") 3162cpp_quote(" ULONG (WINAPI *AddRef)(ICodecAPI *This);") 3163cpp_quote(" ULONG (WINAPI *Release)(ICodecAPI *This);") 3164cpp_quote(" HRESULT (WINAPI *IsSupported)(ICodecAPI *This,const GUID *Api);") 3165cpp_quote(" HRESULT (WINAPI *IsModifiable)(ICodecAPI *This,const GUID *Api);") 3166cpp_quote(" HRESULT (WINAPI *GetParameterRange)(ICodecAPI *This,const GUID *Api,VARIANT *ValueMin,VARIANT *ValueMax,VARIANT *SteppingDelta);") 3167cpp_quote(" HRESULT (WINAPI *GetParameterValues)(ICodecAPI *This,const GUID *Api,VARIANT **Values,ULONG *ValuesCount);") 3168cpp_quote(" HRESULT (WINAPI *GetDefaultValue)(ICodecAPI *This,const GUID *Api,VARIANT *Value);") 3169cpp_quote(" HRESULT (WINAPI *GetValue)(ICodecAPI *This,const GUID *Api,VARIANT *Value);") 3170cpp_quote(" HRESULT (WINAPI *SetValue)(ICodecAPI *This,const GUID *Api,VARIANT *Value);") 3171cpp_quote(" HRESULT (WINAPI *RegisterForEvent)(ICodecAPI *This,const GUID *Api,LONG_PTR userData);") 3172cpp_quote(" HRESULT (WINAPI *UnregisterForEvent)(ICodecAPI *This,const GUID *Api);") 3173cpp_quote(" HRESULT (WINAPI *SetAllDefaults)(ICodecAPI *This);") 3174cpp_quote(" HRESULT (WINAPI *SetValueWithNotify)(ICodecAPI *This,const GUID *Api,VARIANT *Value,GUID **ChangedParam,ULONG *ChangedParamCount);") 3175cpp_quote(" HRESULT (WINAPI *SetAllDefaultsWithNotify)(ICodecAPI *This,GUID **ChangedParam,ULONG *ChangedParamCount);") 3176cpp_quote(" HRESULT (WINAPI *GetAllSettings)(ICodecAPI *This,IStream *__MIDL_0016);") 3177cpp_quote(" HRESULT (WINAPI *SetAllSettings)(ICodecAPI *This,IStream *__MIDL_0017);") 3178cpp_quote(" HRESULT (WINAPI *SetAllSettingsWithNotify)(ICodecAPI *This,IStream *__MIDL_0018,GUID **ChangedParam,ULONG *ChangedParamCount);") 3179cpp_quote(" END_INTERFACE") 3180cpp_quote(" } ICodecAPIVtbl;") 3181cpp_quote(" struct ICodecAPI {") 3182cpp_quote(" CONST_VTBL struct ICodecAPIVtbl *lpVtbl;") 3183cpp_quote(" };") 3184cpp_quote("#ifdef COBJMACROS") 3185cpp_quote("#define ICodecAPI_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 3186cpp_quote("#define ICodecAPI_AddRef(This) (This)->lpVtbl->AddRef(This)") 3187cpp_quote("#define ICodecAPI_Release(This) (This)->lpVtbl->Release(This)") 3188cpp_quote("#define ICodecAPI_IsSupported(This,Api) (This)->lpVtbl->IsSupported(This,Api)") 3189cpp_quote("#define ICodecAPI_IsModifiable(This,Api) (This)->lpVtbl->IsModifiable(This,Api)") 3190cpp_quote("#define ICodecAPI_GetParameterRange(This,Api,ValueMin,ValueMax,SteppingDelta) (This)->lpVtbl->GetParameterRange(This,Api,ValueMin,ValueMax,SteppingDelta)") 3191cpp_quote("#define ICodecAPI_GetParameterValues(This,Api,Values,ValuesCount) (This)->lpVtbl->GetParameterValues(This,Api,Values,ValuesCount)") 3192cpp_quote("#define ICodecAPI_GetDefaultValue(This,Api,Value) (This)->lpVtbl->GetDefaultValue(This,Api,Value)") 3193cpp_quote("#define ICodecAPI_GetValue(This,Api,Value) (This)->lpVtbl->GetValue(This,Api,Value)") 3194cpp_quote("#define ICodecAPI_SetValue(This,Api,Value) (This)->lpVtbl->SetValue(This,Api,Value)") 3195cpp_quote("#define ICodecAPI_RegisterForEvent(This,Api,userData) (This)->lpVtbl->RegisterForEvent(This,Api,userData)") 3196cpp_quote("#define ICodecAPI_UnregisterForEvent(This,Api) (This)->lpVtbl->UnregisterForEvent(This,Api)") 3197cpp_quote("#define ICodecAPI_SetAllDefaults(This) (This)->lpVtbl->SetAllDefaults(This)") 3198cpp_quote("#define ICodecAPI_SetValueWithNotify(This,Api,Value,ChangedParam,ChangedParamCount) (This)->lpVtbl->SetValueWithNotify(This,Api,Value,ChangedParam,ChangedParamCount)") 3199cpp_quote("#define ICodecAPI_SetAllDefaultsWithNotify(This,ChangedParam,ChangedParamCount) (This)->lpVtbl->SetAllDefaultsWithNotify(This,ChangedParam,ChangedParamCount)") 3200cpp_quote("#define ICodecAPI_GetAllSettings(This,__MIDL_0016) (This)->lpVtbl->GetAllSettings(This,__MIDL_0016)") 3201cpp_quote("#define ICodecAPI_SetAllSettings(This,__MIDL_0017) (This)->lpVtbl->SetAllSettings(This,__MIDL_0017)") 3202cpp_quote("#define ICodecAPI_SetAllSettingsWithNotify(This,__MIDL_0018,ChangedParam,ChangedParamCount) (This)->lpVtbl->SetAllSettingsWithNotify(This,__MIDL_0018,ChangedParam,ChangedParamCount)") 3203cpp_quote("#endif") 3204cpp_quote("#endif") 3205cpp_quote(" HRESULT WINAPI ICodecAPI_IsSupported_Proxy(ICodecAPI *This,const GUID *Api);") 3206cpp_quote(" void __RPC_STUB ICodecAPI_IsSupported_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3207cpp_quote(" HRESULT WINAPI ICodecAPI_IsModifiable_Proxy(ICodecAPI *This,const GUID *Api);") 3208cpp_quote(" void __RPC_STUB ICodecAPI_IsModifiable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3209cpp_quote(" HRESULT WINAPI ICodecAPI_GetParameterRange_Proxy(ICodecAPI *This,const GUID *Api,VARIANT *ValueMin,VARIANT *ValueMax,VARIANT *SteppingDelta);") 3210cpp_quote(" void __RPC_STUB ICodecAPI_GetParameterRange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3211cpp_quote(" HRESULT WINAPI ICodecAPI_GetParameterValues_Proxy(ICodecAPI *This,const GUID *Api,VARIANT **Values,ULONG *ValuesCount);") 3212cpp_quote(" void __RPC_STUB ICodecAPI_GetParameterValues_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3213cpp_quote(" HRESULT WINAPI ICodecAPI_GetDefaultValue_Proxy(ICodecAPI *This,const GUID *Api,VARIANT *Value);") 3214cpp_quote(" void __RPC_STUB ICodecAPI_GetDefaultValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3215cpp_quote(" HRESULT WINAPI ICodecAPI_GetValue_Proxy(ICodecAPI *This,const GUID *Api,VARIANT *Value);") 3216cpp_quote(" void __RPC_STUB ICodecAPI_GetValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3217cpp_quote(" HRESULT WINAPI ICodecAPI_SetValue_Proxy(ICodecAPI *This,const GUID *Api,VARIANT *Value);") 3218cpp_quote(" void __RPC_STUB ICodecAPI_SetValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3219cpp_quote(" HRESULT WINAPI ICodecAPI_RegisterForEvent_Proxy(ICodecAPI *This,const GUID *Api,LONG_PTR userData);") 3220cpp_quote(" void __RPC_STUB ICodecAPI_RegisterForEvent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3221cpp_quote(" HRESULT WINAPI ICodecAPI_UnregisterForEvent_Proxy(ICodecAPI *This,const GUID *Api);") 3222cpp_quote(" void __RPC_STUB ICodecAPI_UnregisterForEvent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3223cpp_quote(" HRESULT WINAPI ICodecAPI_SetAllDefaults_Proxy(ICodecAPI *This);") 3224cpp_quote(" void __RPC_STUB ICodecAPI_SetAllDefaults_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3225cpp_quote(" HRESULT WINAPI ICodecAPI_SetValueWithNotify_Proxy(ICodecAPI *This,const GUID *Api,VARIANT *Value,GUID **ChangedParam,ULONG *ChangedParamCount);") 3226cpp_quote(" void __RPC_STUB ICodecAPI_SetValueWithNotify_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3227cpp_quote(" HRESULT WINAPI ICodecAPI_SetAllDefaultsWithNotify_Proxy(ICodecAPI *This,GUID **ChangedParam,ULONG *ChangedParamCount);") 3228cpp_quote(" void __RPC_STUB ICodecAPI_SetAllDefaultsWithNotify_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3229cpp_quote(" HRESULT WINAPI ICodecAPI_GetAllSettings_Proxy(ICodecAPI *This,IStream *__MIDL_0016);") 3230cpp_quote(" void __RPC_STUB ICodecAPI_GetAllSettings_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3231cpp_quote(" HRESULT WINAPI ICodecAPI_SetAllSettings_Proxy(ICodecAPI *This,IStream *__MIDL_0017);") 3232cpp_quote(" void __RPC_STUB ICodecAPI_SetAllSettings_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3233cpp_quote(" HRESULT WINAPI ICodecAPI_SetAllSettingsWithNotify_Proxy(ICodecAPI *This,IStream *__MIDL_0018,GUID **ChangedParam,ULONG *ChangedParamCount);") 3234cpp_quote(" void __RPC_STUB ICodecAPI_SetAllSettingsWithNotify_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3235cpp_quote("#endif") 3236cpp_quote("") 3237cpp_quote("#ifndef __IGetCapabilitiesKey_INTERFACE_DEFINED__") 3238cpp_quote("#define __IGetCapabilitiesKey_INTERFACE_DEFINED__") 3239cpp_quote(" EXTERN_C const IID IID_IGetCapabilitiesKey;") 3240cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 3241cpp_quote(" struct IGetCapabilitiesKey : public IUnknown {") 3242cpp_quote(" public:") 3243cpp_quote(" virtual HRESULT WINAPI GetCapabilitiesKey(HKEY *pHKey) = 0;") 3244cpp_quote(" };") 3245cpp_quote("#else") 3246cpp_quote(" typedef struct IGetCapabilitiesKeyVtbl {") 3247cpp_quote(" BEGIN_INTERFACE") 3248cpp_quote(" HRESULT (WINAPI *QueryInterface)(IGetCapabilitiesKey *This,REFIID riid,void **ppvObject);") 3249cpp_quote(" ULONG (WINAPI *AddRef)(IGetCapabilitiesKey *This);") 3250cpp_quote(" ULONG (WINAPI *Release)(IGetCapabilitiesKey *This);") 3251cpp_quote(" HRESULT (WINAPI *GetCapabilitiesKey)(IGetCapabilitiesKey *This,HKEY *pHKey);") 3252cpp_quote(" END_INTERFACE") 3253cpp_quote(" } IGetCapabilitiesKeyVtbl;") 3254cpp_quote(" struct IGetCapabilitiesKey {") 3255cpp_quote(" CONST_VTBL struct IGetCapabilitiesKeyVtbl *lpVtbl;") 3256cpp_quote(" };") 3257cpp_quote("#ifdef COBJMACROS") 3258cpp_quote("#define IGetCapabilitiesKey_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 3259cpp_quote("#define IGetCapabilitiesKey_AddRef(This) (This)->lpVtbl->AddRef(This)") 3260cpp_quote("#define IGetCapabilitiesKey_Release(This) (This)->lpVtbl->Release(This)") 3261cpp_quote("#define IGetCapabilitiesKey_GetCapabilitiesKey(This,pHKey) (This)->lpVtbl->GetCapabilitiesKey(This,pHKey)") 3262cpp_quote("#endif") 3263cpp_quote("#endif") 3264cpp_quote(" HRESULT WINAPI IGetCapabilitiesKey_GetCapabilitiesKey_Proxy(IGetCapabilitiesKey *This,HKEY *pHKey);") 3265cpp_quote(" void __RPC_STUB IGetCapabilitiesKey_GetCapabilitiesKey_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3266cpp_quote("#endif") 3267cpp_quote("") 3268cpp_quote("#ifndef __IEncoderAPI_INTERFACE_DEFINED__") 3269cpp_quote("#define __IEncoderAPI_INTERFACE_DEFINED__") 3270cpp_quote(" EXTERN_C const IID IID_IEncoderAPI;") 3271cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 3272cpp_quote(" struct IEncoderAPI : public IUnknown {") 3273cpp_quote(" public:") 3274cpp_quote(" virtual HRESULT WINAPI IsSupported(const GUID *Api) = 0;") 3275cpp_quote(" virtual HRESULT WINAPI IsAvailable(const GUID *Api) = 0;") 3276cpp_quote(" virtual HRESULT WINAPI GetParameterRange(const GUID *Api,VARIANT *ValueMin,VARIANT *ValueMax,VARIANT *SteppingDelta) = 0;") 3277cpp_quote(" virtual HRESULT WINAPI GetParameterValues(const GUID *Api,VARIANT **Values,ULONG *ValuesCount) = 0;") 3278cpp_quote(" virtual HRESULT WINAPI GetDefaultValue(const GUID *Api,VARIANT *Value) = 0;") 3279cpp_quote(" virtual HRESULT WINAPI GetValue(const GUID *Api,VARIANT *Value) = 0;") 3280cpp_quote(" virtual HRESULT WINAPI SetValue(const GUID *Api,VARIANT *Value) = 0;") 3281cpp_quote(" };") 3282cpp_quote("#else") 3283cpp_quote(" typedef struct IEncoderAPIVtbl {") 3284cpp_quote(" BEGIN_INTERFACE") 3285cpp_quote(" HRESULT (WINAPI *QueryInterface)(IEncoderAPI *This,REFIID riid,void **ppvObject);") 3286cpp_quote(" ULONG (WINAPI *AddRef)(IEncoderAPI *This);") 3287cpp_quote(" ULONG (WINAPI *Release)(IEncoderAPI *This);") 3288cpp_quote(" HRESULT (WINAPI *IsSupported)(IEncoderAPI *This,const GUID *Api);") 3289cpp_quote(" HRESULT (WINAPI *IsAvailable)(IEncoderAPI *This,const GUID *Api);") 3290cpp_quote(" HRESULT (WINAPI *GetParameterRange)(IEncoderAPI *This,const GUID *Api,VARIANT *ValueMin,VARIANT *ValueMax,VARIANT *SteppingDelta);") 3291cpp_quote(" HRESULT (WINAPI *GetParameterValues)(IEncoderAPI *This,const GUID *Api,VARIANT **Values,ULONG *ValuesCount);") 3292cpp_quote(" HRESULT (WINAPI *GetDefaultValue)(IEncoderAPI *This,const GUID *Api,VARIANT *Value);") 3293cpp_quote(" HRESULT (WINAPI *GetValue)(IEncoderAPI *This,const GUID *Api,VARIANT *Value);") 3294cpp_quote(" HRESULT (WINAPI *SetValue)(IEncoderAPI *This,const GUID *Api,VARIANT *Value);") 3295cpp_quote(" END_INTERFACE") 3296cpp_quote(" } IEncoderAPIVtbl;") 3297cpp_quote(" struct IEncoderAPI {") 3298cpp_quote(" CONST_VTBL struct IEncoderAPIVtbl *lpVtbl;") 3299cpp_quote(" };") 3300cpp_quote("#ifdef COBJMACROS") 3301cpp_quote("#define IEncoderAPI_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 3302cpp_quote("#define IEncoderAPI_AddRef(This) (This)->lpVtbl->AddRef(This)") 3303cpp_quote("#define IEncoderAPI_Release(This) (This)->lpVtbl->Release(This)") 3304cpp_quote("#define IEncoderAPI_IsSupported(This,Api) (This)->lpVtbl->IsSupported(This,Api)") 3305cpp_quote("#define IEncoderAPI_IsAvailable(This,Api) (This)->lpVtbl->IsAvailable(This,Api)") 3306cpp_quote("#define IEncoderAPI_GetParameterRange(This,Api,ValueMin,ValueMax,SteppingDelta) (This)->lpVtbl->GetParameterRange(This,Api,ValueMin,ValueMax,SteppingDelta)") 3307cpp_quote("#define IEncoderAPI_GetParameterValues(This,Api,Values,ValuesCount) (This)->lpVtbl->GetParameterValues(This,Api,Values,ValuesCount)") 3308cpp_quote("#define IEncoderAPI_GetDefaultValue(This,Api,Value) (This)->lpVtbl->GetDefaultValue(This,Api,Value)") 3309cpp_quote("#define IEncoderAPI_GetValue(This,Api,Value) (This)->lpVtbl->GetValue(This,Api,Value)") 3310cpp_quote("#define IEncoderAPI_SetValue(This,Api,Value) (This)->lpVtbl->SetValue(This,Api,Value)") 3311cpp_quote("#endif") 3312cpp_quote("#endif") 3313cpp_quote(" HRESULT WINAPI IEncoderAPI_IsSupported_Proxy(IEncoderAPI *This,const GUID *Api);") 3314cpp_quote(" void __RPC_STUB IEncoderAPI_IsSupported_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3315cpp_quote(" HRESULT WINAPI IEncoderAPI_IsAvailable_Proxy(IEncoderAPI *This,const GUID *Api);") 3316cpp_quote(" void __RPC_STUB IEncoderAPI_IsAvailable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3317cpp_quote(" HRESULT WINAPI IEncoderAPI_GetParameterRange_Proxy(IEncoderAPI *This,const GUID *Api,VARIANT *ValueMin,VARIANT *ValueMax,VARIANT *SteppingDelta);") 3318cpp_quote(" void __RPC_STUB IEncoderAPI_GetParameterRange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3319cpp_quote(" HRESULT WINAPI IEncoderAPI_GetParameterValues_Proxy(IEncoderAPI *This,const GUID *Api,VARIANT **Values,ULONG *ValuesCount);") 3320cpp_quote(" void __RPC_STUB IEncoderAPI_GetParameterValues_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3321cpp_quote(" HRESULT WINAPI IEncoderAPI_GetDefaultValue_Proxy(IEncoderAPI *This,const GUID *Api,VARIANT *Value);") 3322cpp_quote(" void __RPC_STUB IEncoderAPI_GetDefaultValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3323cpp_quote(" HRESULT WINAPI IEncoderAPI_GetValue_Proxy(IEncoderAPI *This,const GUID *Api,VARIANT *Value);") 3324cpp_quote(" void __RPC_STUB IEncoderAPI_GetValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3325cpp_quote(" HRESULT WINAPI IEncoderAPI_SetValue_Proxy(IEncoderAPI *This,const GUID *Api,VARIANT *Value);") 3326cpp_quote(" void __RPC_STUB IEncoderAPI_SetValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3327cpp_quote("#endif") 3328cpp_quote("") 3329cpp_quote("#ifndef __IVideoEncoder_INTERFACE_DEFINED__") 3330cpp_quote("#define __IVideoEncoder_INTERFACE_DEFINED__") 3331cpp_quote(" EXTERN_C const IID IID_IVideoEncoder;") 3332cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 3333cpp_quote(" struct IVideoEncoder : public IEncoderAPI {") 3334cpp_quote(" public:") 3335cpp_quote(" };") 3336cpp_quote("#else") 3337cpp_quote(" typedef struct IVideoEncoderVtbl {") 3338cpp_quote(" BEGIN_INTERFACE") 3339cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVideoEncoder *This,REFIID riid,void **ppvObject);") 3340cpp_quote(" ULONG (WINAPI *AddRef)(IVideoEncoder *This);") 3341cpp_quote(" ULONG (WINAPI *Release)(IVideoEncoder *This);") 3342cpp_quote(" HRESULT (WINAPI *IsSupported)(IVideoEncoder *This,const GUID *Api);") 3343cpp_quote(" HRESULT (WINAPI *IsAvailable)(IVideoEncoder *This,const GUID *Api);") 3344cpp_quote(" HRESULT (WINAPI *GetParameterRange)(IVideoEncoder *This,const GUID *Api,VARIANT *ValueMin,VARIANT *ValueMax,VARIANT *SteppingDelta);") 3345cpp_quote(" HRESULT (WINAPI *GetParameterValues)(IVideoEncoder *This,const GUID *Api,VARIANT **Values,ULONG *ValuesCount);") 3346cpp_quote(" HRESULT (WINAPI *GetDefaultValue)(IVideoEncoder *This,const GUID *Api,VARIANT *Value);") 3347cpp_quote(" HRESULT (WINAPI *GetValue)(IVideoEncoder *This,const GUID *Api,VARIANT *Value);") 3348cpp_quote(" HRESULT (WINAPI *SetValue)(IVideoEncoder *This,const GUID *Api,VARIANT *Value);") 3349cpp_quote(" END_INTERFACE") 3350cpp_quote(" } IVideoEncoderVtbl;") 3351cpp_quote(" struct IVideoEncoder {") 3352cpp_quote(" CONST_VTBL struct IVideoEncoderVtbl *lpVtbl;") 3353cpp_quote(" };") 3354cpp_quote("#ifdef COBJMACROS") 3355cpp_quote("#define IVideoEncoder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 3356cpp_quote("#define IVideoEncoder_AddRef(This) (This)->lpVtbl->AddRef(This)") 3357cpp_quote("#define IVideoEncoder_Release(This) (This)->lpVtbl->Release(This)") 3358cpp_quote("#define IVideoEncoder_IsSupported(This,Api) (This)->lpVtbl->IsSupported(This,Api)") 3359cpp_quote("#define IVideoEncoder_IsAvailable(This,Api) (This)->lpVtbl->IsAvailable(This,Api)") 3360cpp_quote("#define IVideoEncoder_GetParameterRange(This,Api,ValueMin,ValueMax,SteppingDelta) (This)->lpVtbl->GetParameterRange(This,Api,ValueMin,ValueMax,SteppingDelta)") 3361cpp_quote("#define IVideoEncoder_GetParameterValues(This,Api,Values,ValuesCount) (This)->lpVtbl->GetParameterValues(This,Api,Values,ValuesCount)") 3362cpp_quote("#define IVideoEncoder_GetDefaultValue(This,Api,Value) (This)->lpVtbl->GetDefaultValue(This,Api,Value)") 3363cpp_quote("#define IVideoEncoder_GetValue(This,Api,Value) (This)->lpVtbl->GetValue(This,Api,Value)") 3364cpp_quote("#define IVideoEncoder_SetValue(This,Api,Value) (This)->lpVtbl->SetValue(This,Api,Value)") 3365cpp_quote("#endif") 3366cpp_quote("#endif") 3367cpp_quote("#endif") 3368cpp_quote("") 3369cpp_quote("#ifndef __ENCODER_API_DEFINES__") 3370cpp_quote("#define __ENCODER_API_DEFINES__") 3371cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0374_0001 {") 3372cpp_quote(" ConstantBitRate = 0,") 3373cpp_quote(" VariableBitRateAverage,VariableBitRatePeak") 3374cpp_quote(" } VIDEOENCODER_BITRATE_MODE;") 3375cpp_quote("#endif") 3376cpp_quote("#define AM_GETDECODERCAP_QUERY_VMR_SUPPORT 0x00000001") 3377cpp_quote("#define VMR_NOTSUPPORTED 0x00000000") 3378cpp_quote("#define VMR_SUPPORTED 0x00000001") 3379cpp_quote("#define AM_QUERY_DECODER_VMR_SUPPORT 0x00000001") 3380cpp_quote("#define AM_QUERY_DECODER_DXVA_1_SUPPORT 0x00000002") 3381cpp_quote("#define AM_QUERY_DECODER_DVD_SUPPORT 0x00000003") 3382cpp_quote("#define AM_QUERY_DECODER_ATSC_SD_SUPPORT 0x00000004") 3383cpp_quote("#define AM_QUERY_DECODER_ATSC_HD_SUPPORT 0x00000005") 3384cpp_quote("#define AM_GETDECODERCAP_QUERY_VMR9_SUPPORT 0x00000006") 3385cpp_quote("#define DECODER_CAP_NOTSUPPORTED 0x00000000") 3386cpp_quote("#define DECODER_CAP_SUPPORTED 0x00000001") 3387cpp_quote("") 3388cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0374_v0_0_c_ifspec;") 3389cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0374_v0_0_s_ifspec;") 3390cpp_quote("#ifndef __IAMDecoderCaps_INTERFACE_DEFINED__") 3391cpp_quote("#define __IAMDecoderCaps_INTERFACE_DEFINED__") 3392cpp_quote(" EXTERN_C const IID IID_IAMDecoderCaps;") 3393cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 3394cpp_quote(" struct IAMDecoderCaps : public IUnknown {") 3395cpp_quote(" public:") 3396cpp_quote(" virtual HRESULT WINAPI GetDecoderCaps(DWORD dwCapIndex,DWORD *lpdwCap) = 0;") 3397cpp_quote(" };") 3398cpp_quote("#else") 3399cpp_quote(" typedef struct IAMDecoderCapsVtbl {") 3400cpp_quote(" BEGIN_INTERFACE") 3401cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMDecoderCaps *This,REFIID riid,void **ppvObject);") 3402cpp_quote(" ULONG (WINAPI *AddRef)(IAMDecoderCaps *This);") 3403cpp_quote(" ULONG (WINAPI *Release)(IAMDecoderCaps *This);") 3404cpp_quote(" HRESULT (WINAPI *GetDecoderCaps)(IAMDecoderCaps *This,DWORD dwCapIndex,DWORD *lpdwCap);") 3405cpp_quote(" END_INTERFACE") 3406cpp_quote(" } IAMDecoderCapsVtbl;") 3407cpp_quote(" struct IAMDecoderCaps {") 3408cpp_quote(" CONST_VTBL struct IAMDecoderCapsVtbl *lpVtbl;") 3409cpp_quote(" };") 3410cpp_quote("#ifdef COBJMACROS") 3411cpp_quote("#define IAMDecoderCaps_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 3412cpp_quote("#define IAMDecoderCaps_AddRef(This) (This)->lpVtbl->AddRef(This)") 3413cpp_quote("#define IAMDecoderCaps_Release(This) (This)->lpVtbl->Release(This)") 3414cpp_quote("#define IAMDecoderCaps_GetDecoderCaps(This,dwCapIndex,lpdwCap) (This)->lpVtbl->GetDecoderCaps(This,dwCapIndex,lpdwCap)") 3415cpp_quote("#endif") 3416cpp_quote("#endif") 3417cpp_quote(" HRESULT WINAPI IAMDecoderCaps_GetDecoderCaps_Proxy(IAMDecoderCaps *This,DWORD dwCapIndex,DWORD *lpdwCap);") 3418cpp_quote(" void __RPC_STUB IAMDecoderCaps_GetDecoderCaps_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3419cpp_quote("#endif") 3420cpp_quote("") 3421cpp_quote("#ifdef MINGW_HAS_DDRAW_H") 3422cpp_quote("#include <ddraw.h>") 3423cpp_quote("#else") 3424cpp_quote(" typedef void *IDirectDraw;") 3425cpp_quote(" typedef void *IDirectDrawSurface;") 3426cpp_quote(" typedef void *LPDIRECTDRAWSURFACE7;") 3427cpp_quote(" typedef void *LPDIRECTDRAW7;") 3428cpp_quote(" typedef void *LPDDPIXELFORMAT;") 3429cpp_quote(" typedef struct DDCOLORKEY {") 3430cpp_quote(" DWORD dw1;") 3431cpp_quote(" DWORD dw2;") 3432cpp_quote(" } DDCOLORKEY;") 3433cpp_quote(" typedef DDCOLORKEY *LPDDCOLORKEY;") 3434cpp_quote("#endif") 3435cpp_quote("") 3436cpp_quote(" typedef enum tagDVD_DOMAIN {") 3437cpp_quote(" DVD_DOMAIN_FirstPlay = 1,") 3438cpp_quote(" DVD_DOMAIN_VideoManagerMenu,DVD_DOMAIN_VideoTitleSetMenu,DVD_DOMAIN_Title,") 3439cpp_quote(" DVD_DOMAIN_Stop") 3440cpp_quote(" } DVD_DOMAIN;") 3441cpp_quote("") 3442cpp_quote(" typedef enum tagDVD_MENU_ID {") 3443cpp_quote(" DVD_MENU_Title = 2,DVD_MENU_Root = 3,DVD_MENU_Subpicture = 4,DVD_MENU_Audio = 5,") 3444cpp_quote(" DVD_MENU_Angle = 6,DVD_MENU_Chapter = 7") 3445cpp_quote(" } DVD_MENU_ID;") 3446cpp_quote("") 3447cpp_quote(" typedef enum tagDVD_DISC_SIDE {") 3448cpp_quote(" DVD_SIDE_A = 1,DVD_SIDE_B = 2") 3449cpp_quote(" } DVD_DISC_SIDE;") 3450cpp_quote("") 3451cpp_quote(" typedef enum tagDVD_PREFERRED_DISPLAY_MODE {") 3452cpp_quote(" DISPLAY_CONTENT_DEFAULT = 0,DISPLAY_16x9 = 1,DISPLAY_4x3_PANSCAN_PREFERRED = 2,DISPLAY_4x3_LETTERBOX_PREFERRED = 3") 3453cpp_quote(" } DVD_PREFERRED_DISPLAY_MODE;") 3454cpp_quote("") 3455cpp_quote(" typedef WORD DVD_REGISTER;") 3456cpp_quote(" typedef DVD_REGISTER GPRMARRAY[16];") 3457cpp_quote(" typedef DVD_REGISTER SPRMARRAY[24];") 3458cpp_quote("") 3459cpp_quote(" typedef struct tagDVD_ATR {") 3460cpp_quote(" ULONG ulCAT;") 3461cpp_quote(" BYTE pbATRI[768];") 3462cpp_quote(" } DVD_ATR;") 3463cpp_quote("") 3464cpp_quote(" typedef BYTE DVD_VideoATR[2];") 3465cpp_quote(" typedef BYTE DVD_AudioATR[8];") 3466cpp_quote(" typedef BYTE DVD_SubpictureATR[6];") 3467cpp_quote("") 3468cpp_quote(" typedef enum tagDVD_FRAMERATE {") 3469cpp_quote(" DVD_FPS_25 = 1,DVD_FPS_30NonDrop = 3") 3470cpp_quote(" } DVD_FRAMERATE;") 3471cpp_quote("") 3472cpp_quote(" typedef struct tagDVD_TIMECODE {") 3473cpp_quote(" ULONG Hours1 :4;") 3474cpp_quote(" ULONG Hours10 :4;") 3475cpp_quote(" ULONG Minutes1 :4;") 3476cpp_quote(" ULONG Minutes10:4;") 3477cpp_quote(" ULONG Seconds1 :4;") 3478cpp_quote(" ULONG Seconds10:4;") 3479cpp_quote(" ULONG Frames1 :4;") 3480cpp_quote(" ULONG Frames10 :2;") 3481cpp_quote(" ULONG FrameRateCode: 2;") 3482cpp_quote(" } DVD_TIMECODE;") 3483cpp_quote("") 3484cpp_quote(" typedef enum tagDVD_TIMECODE_FLAGS {") 3485cpp_quote(" DVD_TC_FLAG_25fps = 0x1,DVD_TC_FLAG_30fps = 0x2,DVD_TC_FLAG_DropFrame = 0x4,DVD_TC_FLAG_Interpolated = 0x8") 3486cpp_quote(" } DVD_TIMECODE_FLAGS;") 3487cpp_quote("") 3488cpp_quote(" typedef struct tagDVD_HMSF_TIMECODE {") 3489cpp_quote(" BYTE bHours;") 3490cpp_quote(" BYTE bMinutes;") 3491cpp_quote(" BYTE bSeconds;") 3492cpp_quote(" BYTE bFrames;") 3493cpp_quote(" } DVD_HMSF_TIMECODE;") 3494cpp_quote("") 3495cpp_quote(" typedef struct tagDVD_PLAYBACK_LOCATION2 {") 3496cpp_quote(" ULONG TitleNum;") 3497cpp_quote(" ULONG ChapterNum;") 3498cpp_quote(" DVD_HMSF_TIMECODE TimeCode;") 3499cpp_quote(" ULONG TimeCodeFlags;") 3500cpp_quote(" } DVD_PLAYBACK_LOCATION2;") 3501cpp_quote("") 3502cpp_quote(" typedef struct tagDVD_PLAYBACK_LOCATION {") 3503cpp_quote(" ULONG TitleNum;") 3504cpp_quote(" ULONG ChapterNum;") 3505cpp_quote(" ULONG TimeCode;") 3506cpp_quote(" } DVD_PLAYBACK_LOCATION;") 3507cpp_quote("") 3508cpp_quote(" typedef DWORD VALID_UOP_SOMTHING_OR_OTHER;") 3509cpp_quote("") 3510cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0376_0001 {") 3511cpp_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,") 3512cpp_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,") 3513cpp_quote(" UOP_FLAG_Play_Backwards = 0x200,UOP_FLAG_ShowMenu_Title = 0x400,UOP_FLAG_ShowMenu_Root = 0x800,UOP_FLAG_ShowMenu_SubPic = 0x1000,") 3514cpp_quote(" UOP_FLAG_ShowMenu_Audio = 0x2000,UOP_FLAG_ShowMenu_Angle = 0x4000,UOP_FLAG_ShowMenu_Chapter = 0x8000,UOP_FLAG_Resume = 0x10000,") 3515cpp_quote(" UOP_FLAG_Select_Or_Activate_Button = 0x20000,UOP_FLAG_Still_Off = 0x40000,UOP_FLAG_Pause_On = 0x80000,UOP_FLAG_Select_Audio_Stream = 0x100000,") 3516cpp_quote(" UOP_FLAG_Select_SubPic_Stream = 0x200000,UOP_FLAG_Select_Angle = 0x400000,UOP_FLAG_Select_Karaoke_Audio_Presentation_Mode = 0x800000,") 3517cpp_quote(" UOP_FLAG_Select_Video_Mode_Preference = 0x1000000") 3518cpp_quote(" } VALID_UOP_FLAG;") 3519cpp_quote("") 3520cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0376_0002 {") 3521cpp_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,") 3522cpp_quote(" DVD_CMD_FLAG_EndAfterRendered = 0x10") 3523cpp_quote(" } DVD_CMD_FLAGS;") 3524cpp_quote("") 3525cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0376_0003 {") 3526cpp_quote(" DVD_ResetOnStop = 1,DVD_NotifyParentalLevelChange = 2,DVD_HMSF_TimeCodeEvents = 3,DVD_AudioDuringFFwdRew = 4") 3527cpp_quote(" } DVD_OPTION_FLAG;") 3528cpp_quote("") 3529cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0376_0004 {") 3530cpp_quote(" DVD_Relative_Upper = 1,DVD_Relative_Lower = 2,DVD_Relative_Left = 3,DVD_Relative_Right = 4") 3531cpp_quote(" } DVD_RELATIVE_BUTTON;") 3532cpp_quote("") 3533cpp_quote(" typedef enum tagDVD_PARENTAL_LEVEL {") 3534cpp_quote(" DVD_PARENTAL_LEVEL_8 = 0x8000,DVD_PARENTAL_LEVEL_7 = 0x4000,DVD_PARENTAL_LEVEL_6 = 0x2000,DVD_PARENTAL_LEVEL_5 = 0x1000,") 3535cpp_quote(" DVD_PARENTAL_LEVEL_4 = 0x800,DVD_PARENTAL_LEVEL_3 = 0x400,DVD_PARENTAL_LEVEL_2 = 0x200,DVD_PARENTAL_LEVEL_1 = 0x100") 3536cpp_quote(" } DVD_PARENTAL_LEVEL;") 3537cpp_quote("") 3538cpp_quote(" typedef enum tagDVD_AUDIO_LANG_EXT {") 3539cpp_quote(" DVD_AUD_EXT_NotSpecified = 0,DVD_AUD_EXT_Captions = 1,DVD_AUD_EXT_VisuallyImpaired = 2,DVD_AUD_EXT_DirectorComments1 = 3,") 3540cpp_quote(" DVD_AUD_EXT_DirectorComments2 = 4") 3541cpp_quote(" } DVD_AUDIO_LANG_EXT;") 3542cpp_quote("") 3543cpp_quote(" typedef enum tagDVD_SUBPICTURE_LANG_EXT {") 3544cpp_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,") 3545cpp_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,") 3546cpp_quote(" DVD_SP_EXT_DirectorComments_Children = 15") 3547cpp_quote(" } DVD_SUBPICTURE_LANG_EXT;") 3548cpp_quote("") 3549cpp_quote(" typedef enum tagDVD_AUDIO_APPMODE {") 3550cpp_quote(" DVD_AudioMode_None = 0,DVD_AudioMode_Karaoke = 1,DVD_AudioMode_Surround = 2,DVD_AudioMode_Other = 3") 3551cpp_quote(" } DVD_AUDIO_APPMODE;") 3552cpp_quote("") 3553cpp_quote(" typedef enum tagDVD_AUDIO_FORMAT {") 3554cpp_quote(" DVD_AudioFormat_AC3 = 0,DVD_AudioFormat_MPEG1 = 1,DVD_AudioFormat_MPEG1_DRC = 2,DVD_AudioFormat_MPEG2 = 3,DVD_AudioFormat_MPEG2_DRC = 4,") 3555cpp_quote(" DVD_AudioFormat_LPCM = 5,DVD_AudioFormat_DTS = 6,DVD_AudioFormat_SDDS = 7,DVD_AudioFormat_Other = 8") 3556cpp_quote(" } DVD_AUDIO_FORMAT;") 3557cpp_quote("") 3558cpp_quote(" typedef enum tagDVD_KARAOKE_DOWNMIX {") 3559cpp_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,") 3560cpp_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,") 3561cpp_quote(" DVD_Mix_Rto1 = 0x4000") 3562cpp_quote(" } DVD_KARAOKE_DOWNMIX;") 3563cpp_quote("") 3564cpp_quote(" typedef struct tagDVD_AudioAttributes {") 3565cpp_quote(" DVD_AUDIO_APPMODE AppMode;") 3566cpp_quote(" BYTE AppModeData;") 3567cpp_quote(" DVD_AUDIO_FORMAT AudioFormat;") 3568cpp_quote(" LCID Language;") 3569cpp_quote(" DVD_AUDIO_LANG_EXT LanguageExtension;") 3570cpp_quote(" WINBOOL fHasMultichannelInfo;") 3571cpp_quote(" DWORD dwFrequency;") 3572cpp_quote(" BYTE bQuantization;") 3573cpp_quote(" BYTE bNumberOfChannels;") 3574cpp_quote(" DWORD dwReserved[2];") 3575cpp_quote(" } DVD_AudioAttributes;") 3576cpp_quote("") 3577cpp_quote(" typedef struct tagDVD_MUA_MixingInfo {") 3578cpp_quote(" WINBOOL fMixTo0;") 3579cpp_quote(" WINBOOL fMixTo1;") 3580cpp_quote(" WINBOOL fMix0InPhase;") 3581cpp_quote(" WINBOOL fMix1InPhase;") 3582cpp_quote(" DWORD dwSpeakerPosition;") 3583cpp_quote(" } DVD_MUA_MixingInfo;") 3584cpp_quote("") 3585cpp_quote(" typedef struct tagDVD_MUA_Coeff {") 3586cpp_quote(" double log2_alpha;") 3587cpp_quote(" double log2_beta;") 3588cpp_quote(" } DVD_MUA_Coeff;") 3589cpp_quote("") 3590cpp_quote(" typedef struct tagDVD_MultichannelAudioAttributes {") 3591cpp_quote(" DVD_MUA_MixingInfo Info[8];") 3592cpp_quote(" DVD_MUA_Coeff Coeff[8];") 3593cpp_quote(" } DVD_MultichannelAudioAttributes;") 3594cpp_quote("") 3595cpp_quote(" typedef enum tagDVD_KARAOKE_CONTENTS {") 3596cpp_quote(" DVD_Karaoke_GuideVocal1 = 0x1,DVD_Karaoke_GuideVocal2 = 0x2,DVD_Karaoke_GuideMelody1 = 0x4,DVD_Karaoke_GuideMelody2 = 0x8,") 3597cpp_quote(" DVD_Karaoke_GuideMelodyA = 0x10,DVD_Karaoke_GuideMelodyB = 0x20,DVD_Karaoke_SoundEffectA = 0x40,DVD_Karaoke_SoundEffectB = 0x80") 3598cpp_quote(" } DVD_KARAOKE_CONTENTS;") 3599cpp_quote("") 3600cpp_quote(" typedef enum tagDVD_KARAOKE_ASSIGNMENT {") 3601cpp_quote(" DVD_Assignment_reserved0 = 0,DVD_Assignment_reserved1 = 1,DVD_Assignment_LR = 2,DVD_Assignment_LRM = 3,DVD_Assignment_LR1 = 4,") 3602cpp_quote(" DVD_Assignment_LRM1 = 5,DVD_Assignment_LR12 = 6,DVD_Assignment_LRM12 = 7") 3603cpp_quote(" } DVD_KARAOKE_ASSIGNMENT;") 3604cpp_quote("") 3605cpp_quote(" typedef struct tagDVD_KaraokeAttributes {") 3606cpp_quote(" BYTE bVersion;") 3607cpp_quote(" WINBOOL fMasterOfCeremoniesInGuideVocal1;") 3608cpp_quote(" WINBOOL fDuet;") 3609cpp_quote(" DVD_KARAOKE_ASSIGNMENT ChannelAssignment;") 3610cpp_quote(" WORD wChannelContents[8];") 3611cpp_quote(" } DVD_KaraokeAttributes;") 3612cpp_quote("") 3613cpp_quote(" typedef enum tagDVD_VIDEO_COMPRESSION {") 3614cpp_quote(" DVD_VideoCompression_Other = 0,DVD_VideoCompression_MPEG1 = 1,DVD_VideoCompression_MPEG2 = 2") 3615cpp_quote(" } DVD_VIDEO_COMPRESSION;") 3616cpp_quote("") 3617cpp_quote(" typedef struct tagDVD_VideoAttributes {") 3618cpp_quote(" WINBOOL fPanscanPermitted;") 3619cpp_quote(" WINBOOL fLetterboxPermitted;") 3620cpp_quote(" ULONG ulAspectX;") 3621cpp_quote(" ULONG ulAspectY;") 3622cpp_quote(" ULONG ulFrameRate;") 3623cpp_quote(" ULONG ulFrameHeight;") 3624cpp_quote(" DVD_VIDEO_COMPRESSION Compression;") 3625cpp_quote(" WINBOOL fLine21Field1InGOP;") 3626cpp_quote(" WINBOOL fLine21Field2InGOP;") 3627cpp_quote(" ULONG ulSourceResolutionX;") 3628cpp_quote(" ULONG ulSourceResolutionY;") 3629cpp_quote(" WINBOOL fIsSourceLetterboxed;") 3630cpp_quote(" WINBOOL fIsFilmMode;") 3631cpp_quote(" } DVD_VideoAttributes;") 3632cpp_quote("") 3633cpp_quote(" typedef enum tagDVD_SUBPICTURE_TYPE {") 3634cpp_quote(" DVD_SPType_NotSpecified = 0,DVD_SPType_Language = 1,DVD_SPType_Other = 2") 3635cpp_quote(" } DVD_SUBPICTURE_TYPE;") 3636cpp_quote("") 3637cpp_quote(" typedef enum tagDVD_SUBPICTURE_CODING {") 3638cpp_quote(" DVD_SPCoding_RunLength = 0,DVD_SPCoding_Extended = 1,DVD_SPCoding_Other = 2") 3639cpp_quote(" } DVD_SUBPICTURE_CODING;") 3640cpp_quote("") 3641cpp_quote(" typedef struct tagDVD_SubpictureAttributes {") 3642cpp_quote(" DVD_SUBPICTURE_TYPE Type;") 3643cpp_quote(" DVD_SUBPICTURE_CODING CodingMode;") 3644cpp_quote(" LCID Language;") 3645cpp_quote(" DVD_SUBPICTURE_LANG_EXT LanguageExtension;") 3646cpp_quote(" } DVD_SubpictureAttributes;") 3647cpp_quote("") 3648cpp_quote(" typedef enum tagDVD_TITLE_APPMODE {") 3649cpp_quote(" DVD_AppMode_Not_Specified = 0,DVD_AppMode_Karaoke = 1,DVD_AppMode_Other = 3") 3650cpp_quote(" } DVD_TITLE_APPMODE;") 3651cpp_quote("") 3652cpp_quote(" typedef struct tagDVD_TitleMainAttributes {") 3653cpp_quote(" DVD_TITLE_APPMODE AppMode;") 3654cpp_quote(" DVD_VideoAttributes VideoAttributes;") 3655cpp_quote(" ULONG ulNumberOfAudioStreams;") 3656cpp_quote(" DVD_AudioAttributes AudioAttributes[8];") 3657cpp_quote(" DVD_MultichannelAudioAttributes MultichannelAudioAttributes[8];") 3658cpp_quote(" ULONG ulNumberOfSubpictureStreams;") 3659cpp_quote(" DVD_SubpictureAttributes SubpictureAttributes[32];") 3660cpp_quote(" } DVD_TitleAttributes;") 3661cpp_quote("") 3662cpp_quote(" typedef struct tagDVD_MenuAttributes {") 3663cpp_quote(" WINBOOL fCompatibleRegion[8];") 3664cpp_quote(" DVD_VideoAttributes VideoAttributes;") 3665cpp_quote(" WINBOOL fAudioPresent;") 3666cpp_quote(" DVD_AudioAttributes AudioAttributes;") 3667cpp_quote(" WINBOOL fSubpicturePresent;") 3668cpp_quote(" DVD_SubpictureAttributes SubpictureAttributes;") 3669cpp_quote(" } DVD_MenuAttributes;") 3670cpp_quote("") 3671cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0376_v0_0_c_ifspec;") 3672cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0376_v0_0_s_ifspec;") 3673cpp_quote("#ifndef __IDvdControl_INTERFACE_DEFINED__") 3674cpp_quote("#define __IDvdControl_INTERFACE_DEFINED__") 3675cpp_quote(" EXTERN_C const IID IID_IDvdControl;") 3676cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 3677cpp_quote(" struct IDvdControl : public IUnknown {") 3678cpp_quote(" public:") 3679cpp_quote(" virtual HRESULT WINAPI TitlePlay(ULONG ulTitle) = 0;") 3680cpp_quote(" virtual HRESULT WINAPI ChapterPlay(ULONG ulTitle,ULONG ulChapter) = 0;") 3681cpp_quote(" virtual HRESULT WINAPI TimePlay(ULONG ulTitle,ULONG bcdTime) = 0;") 3682cpp_quote(" virtual HRESULT WINAPI StopForResume(void) = 0;") 3683cpp_quote(" virtual HRESULT WINAPI GoUp(void) = 0;") 3684cpp_quote(" virtual HRESULT WINAPI TimeSearch(ULONG bcdTime) = 0;") 3685cpp_quote(" virtual HRESULT WINAPI ChapterSearch(ULONG ulChapter) = 0;") 3686cpp_quote(" virtual HRESULT WINAPI PrevPGSearch(void) = 0;") 3687cpp_quote(" virtual HRESULT WINAPI TopPGSearch(void) = 0;") 3688cpp_quote(" virtual HRESULT WINAPI NextPGSearch(void) = 0;") 3689cpp_quote(" virtual HRESULT WINAPI ForwardScan(double dwSpeed) = 0;") 3690cpp_quote(" virtual HRESULT WINAPI BackwardScan(double dwSpeed) = 0;") 3691cpp_quote(" virtual HRESULT WINAPI MenuCall(DVD_MENU_ID MenuID) = 0;") 3692cpp_quote(" virtual HRESULT WINAPI Resume(void) = 0;") 3693cpp_quote(" virtual HRESULT WINAPI UpperButtonSelect(void) = 0;") 3694cpp_quote(" virtual HRESULT WINAPI LowerButtonSelect(void) = 0;") 3695cpp_quote(" virtual HRESULT WINAPI LeftButtonSelect(void) = 0;") 3696cpp_quote(" virtual HRESULT WINAPI RightButtonSelect(void) = 0;") 3697cpp_quote(" virtual HRESULT WINAPI ButtonActivate(void) = 0;") 3698cpp_quote(" virtual HRESULT WINAPI ButtonSelectAndActivate(ULONG ulButton) = 0;") 3699cpp_quote(" virtual HRESULT WINAPI StillOff(void) = 0;") 3700cpp_quote(" virtual HRESULT WINAPI PauseOn(void) = 0;") 3701cpp_quote(" virtual HRESULT WINAPI PauseOff(void) = 0;") 3702cpp_quote(" virtual HRESULT WINAPI MenuLanguageSelect(LCID Language) = 0;") 3703cpp_quote(" virtual HRESULT WINAPI AudioStreamChange(ULONG ulAudio) = 0;") 3704cpp_quote(" virtual HRESULT WINAPI SubpictureStreamChange(ULONG ulSubPicture,WINBOOL bDisplay) = 0;") 3705cpp_quote(" virtual HRESULT WINAPI AngleChange(ULONG ulAngle) = 0;") 3706cpp_quote(" virtual HRESULT WINAPI ParentalLevelSelect(ULONG ulParentalLevel) = 0;") 3707cpp_quote(" virtual HRESULT WINAPI ParentalCountrySelect(WORD wCountry) = 0;") 3708cpp_quote(" virtual HRESULT WINAPI KaraokeAudioPresentationModeChange(ULONG ulMode) = 0;") 3709cpp_quote(" virtual HRESULT WINAPI VideoModePreferrence(ULONG ulPreferredDisplayMode) = 0;") 3710cpp_quote(" virtual HRESULT WINAPI SetRoot(LPCWSTR pszPath) = 0;") 3711cpp_quote(" virtual HRESULT WINAPI MouseActivate(POINT point) = 0;") 3712cpp_quote(" virtual HRESULT WINAPI MouseSelect(POINT point) = 0;") 3713cpp_quote(" virtual HRESULT WINAPI ChapterPlayAutoStop(ULONG ulTitle,ULONG ulChapter,ULONG ulChaptersToPlay) = 0;") 3714cpp_quote(" };") 3715cpp_quote("#else") 3716cpp_quote(" typedef struct IDvdControlVtbl {") 3717cpp_quote(" BEGIN_INTERFACE") 3718cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDvdControl *This,REFIID riid,void **ppvObject);") 3719cpp_quote(" ULONG (WINAPI *AddRef)(IDvdControl *This);") 3720cpp_quote(" ULONG (WINAPI *Release)(IDvdControl *This);") 3721cpp_quote(" HRESULT (WINAPI *TitlePlay)(IDvdControl *This,ULONG ulTitle);") 3722cpp_quote(" HRESULT (WINAPI *ChapterPlay)(IDvdControl *This,ULONG ulTitle,ULONG ulChapter);") 3723cpp_quote(" HRESULT (WINAPI *TimePlay)(IDvdControl *This,ULONG ulTitle,ULONG bcdTime);") 3724cpp_quote(" HRESULT (WINAPI *StopForResume)(IDvdControl *This);") 3725cpp_quote(" HRESULT (WINAPI *GoUp)(IDvdControl *This);") 3726cpp_quote(" HRESULT (WINAPI *TimeSearch)(IDvdControl *This,ULONG bcdTime);") 3727cpp_quote(" HRESULT (WINAPI *ChapterSearch)(IDvdControl *This,ULONG ulChapter);") 3728cpp_quote(" HRESULT (WINAPI *PrevPGSearch)(IDvdControl *This);") 3729cpp_quote(" HRESULT (WINAPI *TopPGSearch)(IDvdControl *This);") 3730cpp_quote(" HRESULT (WINAPI *NextPGSearch)(IDvdControl *This);") 3731cpp_quote(" HRESULT (WINAPI *ForwardScan)(IDvdControl *This,double dwSpeed);") 3732cpp_quote(" HRESULT (WINAPI *BackwardScan)(IDvdControl *This,double dwSpeed);") 3733cpp_quote(" HRESULT (WINAPI *MenuCall)(IDvdControl *This,DVD_MENU_ID MenuID);") 3734cpp_quote(" HRESULT (WINAPI *Resume)(IDvdControl *This);") 3735cpp_quote(" HRESULT (WINAPI *UpperButtonSelect)(IDvdControl *This);") 3736cpp_quote(" HRESULT (WINAPI *LowerButtonSelect)(IDvdControl *This);") 3737cpp_quote(" HRESULT (WINAPI *LeftButtonSelect)(IDvdControl *This);") 3738cpp_quote(" HRESULT (WINAPI *RightButtonSelect)(IDvdControl *This);") 3739cpp_quote(" HRESULT (WINAPI *ButtonActivate)(IDvdControl *This);") 3740cpp_quote(" HRESULT (WINAPI *ButtonSelectAndActivate)(IDvdControl *This,ULONG ulButton);") 3741cpp_quote(" HRESULT (WINAPI *StillOff)(IDvdControl *This);") 3742cpp_quote(" HRESULT (WINAPI *PauseOn)(IDvdControl *This);") 3743cpp_quote(" HRESULT (WINAPI *PauseOff)(IDvdControl *This);") 3744cpp_quote(" HRESULT (WINAPI *MenuLanguageSelect)(IDvdControl *This,LCID Language);") 3745cpp_quote(" HRESULT (WINAPI *AudioStreamChange)(IDvdControl *This,ULONG ulAudio);") 3746cpp_quote(" HRESULT (WINAPI *SubpictureStreamChange)(IDvdControl *This,ULONG ulSubPicture,WINBOOL bDisplay);") 3747cpp_quote(" HRESULT (WINAPI *AngleChange)(IDvdControl *This,ULONG ulAngle);") 3748cpp_quote(" HRESULT (WINAPI *ParentalLevelSelect)(IDvdControl *This,ULONG ulParentalLevel);") 3749cpp_quote(" HRESULT (WINAPI *ParentalCountrySelect)(IDvdControl *This,WORD wCountry);") 3750cpp_quote(" HRESULT (WINAPI *KaraokeAudioPresentationModeChange)(IDvdControl *This,ULONG ulMode);") 3751cpp_quote(" HRESULT (WINAPI *VideoModePreferrence)(IDvdControl *This,ULONG ulPreferredDisplayMode);") 3752cpp_quote(" HRESULT (WINAPI *SetRoot)(IDvdControl *This,LPCWSTR pszPath);") 3753cpp_quote(" HRESULT (WINAPI *MouseActivate)(IDvdControl *This,POINT point);") 3754cpp_quote(" HRESULT (WINAPI *MouseSelect)(IDvdControl *This,POINT point);") 3755cpp_quote(" HRESULT (WINAPI *ChapterPlayAutoStop)(IDvdControl *This,ULONG ulTitle,ULONG ulChapter,ULONG ulChaptersToPlay);") 3756cpp_quote(" END_INTERFACE") 3757cpp_quote(" } IDvdControlVtbl;") 3758cpp_quote(" struct IDvdControl {") 3759cpp_quote(" CONST_VTBL struct IDvdControlVtbl *lpVtbl;") 3760cpp_quote(" };") 3761cpp_quote("#ifdef COBJMACROS") 3762cpp_quote("#define IDvdControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 3763cpp_quote("#define IDvdControl_AddRef(This) (This)->lpVtbl->AddRef(This)") 3764cpp_quote("#define IDvdControl_Release(This) (This)->lpVtbl->Release(This)") 3765cpp_quote("#define IDvdControl_TitlePlay(This,ulTitle) (This)->lpVtbl->TitlePlay(This,ulTitle)") 3766cpp_quote("#define IDvdControl_ChapterPlay(This,ulTitle,ulChapter) (This)->lpVtbl->ChapterPlay(This,ulTitle,ulChapter)") 3767cpp_quote("#define IDvdControl_TimePlay(This,ulTitle,bcdTime) (This)->lpVtbl->TimePlay(This,ulTitle,bcdTime)") 3768cpp_quote("#define IDvdControl_StopForResume(This) (This)->lpVtbl->StopForResume(This)") 3769cpp_quote("#define IDvdControl_GoUp(This) (This)->lpVtbl->GoUp(This)") 3770cpp_quote("#define IDvdControl_TimeSearch(This,bcdTime) (This)->lpVtbl->TimeSearch(This,bcdTime)") 3771cpp_quote("#define IDvdControl_ChapterSearch(This,ulChapter) (This)->lpVtbl->ChapterSearch(This,ulChapter)") 3772cpp_quote("#define IDvdControl_PrevPGSearch(This) (This)->lpVtbl->PrevPGSearch(This)") 3773cpp_quote("#define IDvdControl_TopPGSearch(This) (This)->lpVtbl->TopPGSearch(This)") 3774cpp_quote("#define IDvdControl_NextPGSearch(This) (This)->lpVtbl->NextPGSearch(This)") 3775cpp_quote("#define IDvdControl_ForwardScan(This,dwSpeed) (This)->lpVtbl->ForwardScan(This,dwSpeed)") 3776cpp_quote("#define IDvdControl_BackwardScan(This,dwSpeed) (This)->lpVtbl->BackwardScan(This,dwSpeed)") 3777cpp_quote("#define IDvdControl_MenuCall(This,MenuID) (This)->lpVtbl->MenuCall(This,MenuID)") 3778cpp_quote("#define IDvdControl_Resume(This) (This)->lpVtbl->Resume(This)") 3779cpp_quote("#define IDvdControl_UpperButtonSelect(This) (This)->lpVtbl->UpperButtonSelect(This)") 3780cpp_quote("#define IDvdControl_LowerButtonSelect(This) (This)->lpVtbl->LowerButtonSelect(This)") 3781cpp_quote("#define IDvdControl_LeftButtonSelect(This) (This)->lpVtbl->LeftButtonSelect(This)") 3782cpp_quote("#define IDvdControl_RightButtonSelect(This) (This)->lpVtbl->RightButtonSelect(This)") 3783cpp_quote("#define IDvdControl_ButtonActivate(This) (This)->lpVtbl->ButtonActivate(This)") 3784cpp_quote("#define IDvdControl_ButtonSelectAndActivate(This,ulButton) (This)->lpVtbl->ButtonSelectAndActivate(This,ulButton)") 3785cpp_quote("#define IDvdControl_StillOff(This) (This)->lpVtbl->StillOff(This)") 3786cpp_quote("#define IDvdControl_PauseOn(This) (This)->lpVtbl->PauseOn(This)") 3787cpp_quote("#define IDvdControl_PauseOff(This) (This)->lpVtbl->PauseOff(This)") 3788cpp_quote("#define IDvdControl_MenuLanguageSelect(This,Language) (This)->lpVtbl->MenuLanguageSelect(This,Language)") 3789cpp_quote("#define IDvdControl_AudioStreamChange(This,ulAudio) (This)->lpVtbl->AudioStreamChange(This,ulAudio)") 3790cpp_quote("#define IDvdControl_SubpictureStreamChange(This,ulSubPicture,bDisplay) (This)->lpVtbl->SubpictureStreamChange(This,ulSubPicture,bDisplay)") 3791cpp_quote("#define IDvdControl_AngleChange(This,ulAngle) (This)->lpVtbl->AngleChange(This,ulAngle)") 3792cpp_quote("#define IDvdControl_ParentalLevelSelect(This,ulParentalLevel) (This)->lpVtbl->ParentalLevelSelect(This,ulParentalLevel)") 3793cpp_quote("#define IDvdControl_ParentalCountrySelect(This,wCountry) (This)->lpVtbl->ParentalCountrySelect(This,wCountry)") 3794cpp_quote("#define IDvdControl_KaraokeAudioPresentationModeChange(This,ulMode) (This)->lpVtbl->KaraokeAudioPresentationModeChange(This,ulMode)") 3795cpp_quote("#define IDvdControl_VideoModePreferrence(This,ulPreferredDisplayMode) (This)->lpVtbl->VideoModePreferrence(This,ulPreferredDisplayMode)") 3796cpp_quote("#define IDvdControl_SetRoot(This,pszPath) (This)->lpVtbl->SetRoot(This,pszPath)") 3797cpp_quote("#define IDvdControl_MouseActivate(This,point) (This)->lpVtbl->MouseActivate(This,point)") 3798cpp_quote("#define IDvdControl_MouseSelect(This,point) (This)->lpVtbl->MouseSelect(This,point)") 3799cpp_quote("#define IDvdControl_ChapterPlayAutoStop(This,ulTitle,ulChapter,ulChaptersToPlay) (This)->lpVtbl->ChapterPlayAutoStop(This,ulTitle,ulChapter,ulChaptersToPlay)") 3800cpp_quote("#endif") 3801cpp_quote("#endif") 3802cpp_quote(" HRESULT WINAPI IDvdControl_TitlePlay_Proxy(IDvdControl *This,ULONG ulTitle);") 3803cpp_quote(" void __RPC_STUB IDvdControl_TitlePlay_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3804cpp_quote(" HRESULT WINAPI IDvdControl_ChapterPlay_Proxy(IDvdControl *This,ULONG ulTitle,ULONG ulChapter);") 3805cpp_quote(" void __RPC_STUB IDvdControl_ChapterPlay_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3806cpp_quote(" HRESULT WINAPI IDvdControl_TimePlay_Proxy(IDvdControl *This,ULONG ulTitle,ULONG bcdTime);") 3807cpp_quote(" void __RPC_STUB IDvdControl_TimePlay_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3808cpp_quote(" HRESULT WINAPI IDvdControl_StopForResume_Proxy(IDvdControl *This);") 3809cpp_quote(" void __RPC_STUB IDvdControl_StopForResume_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3810cpp_quote(" HRESULT WINAPI IDvdControl_GoUp_Proxy(IDvdControl *This);") 3811cpp_quote(" void __RPC_STUB IDvdControl_GoUp_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3812cpp_quote(" HRESULT WINAPI IDvdControl_TimeSearch_Proxy(IDvdControl *This,ULONG bcdTime);") 3813cpp_quote(" void __RPC_STUB IDvdControl_TimeSearch_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3814cpp_quote(" HRESULT WINAPI IDvdControl_ChapterSearch_Proxy(IDvdControl *This,ULONG ulChapter);") 3815cpp_quote(" void __RPC_STUB IDvdControl_ChapterSearch_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3816cpp_quote(" HRESULT WINAPI IDvdControl_PrevPGSearch_Proxy(IDvdControl *This);") 3817cpp_quote(" void __RPC_STUB IDvdControl_PrevPGSearch_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3818cpp_quote(" HRESULT WINAPI IDvdControl_TopPGSearch_Proxy(IDvdControl *This);") 3819cpp_quote(" void __RPC_STUB IDvdControl_TopPGSearch_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3820cpp_quote(" HRESULT WINAPI IDvdControl_NextPGSearch_Proxy(IDvdControl *This);") 3821cpp_quote(" void __RPC_STUB IDvdControl_NextPGSearch_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3822cpp_quote(" HRESULT WINAPI IDvdControl_ForwardScan_Proxy(IDvdControl *This,double dwSpeed);") 3823cpp_quote(" void __RPC_STUB IDvdControl_ForwardScan_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3824cpp_quote(" HRESULT WINAPI IDvdControl_BackwardScan_Proxy(IDvdControl *This,double dwSpeed);") 3825cpp_quote(" void __RPC_STUB IDvdControl_BackwardScan_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3826cpp_quote(" HRESULT WINAPI IDvdControl_MenuCall_Proxy(IDvdControl *This,DVD_MENU_ID MenuID);") 3827cpp_quote(" void __RPC_STUB IDvdControl_MenuCall_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3828cpp_quote(" HRESULT WINAPI IDvdControl_Resume_Proxy(IDvdControl *This);") 3829cpp_quote(" void __RPC_STUB IDvdControl_Resume_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3830cpp_quote(" HRESULT WINAPI IDvdControl_UpperButtonSelect_Proxy(IDvdControl *This);") 3831cpp_quote(" void __RPC_STUB IDvdControl_UpperButtonSelect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3832cpp_quote(" HRESULT WINAPI IDvdControl_LowerButtonSelect_Proxy(IDvdControl *This);") 3833cpp_quote(" void __RPC_STUB IDvdControl_LowerButtonSelect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3834cpp_quote(" HRESULT WINAPI IDvdControl_LeftButtonSelect_Proxy(IDvdControl *This);") 3835cpp_quote(" void __RPC_STUB IDvdControl_LeftButtonSelect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3836cpp_quote(" HRESULT WINAPI IDvdControl_RightButtonSelect_Proxy(IDvdControl *This);") 3837cpp_quote(" void __RPC_STUB IDvdControl_RightButtonSelect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3838cpp_quote(" HRESULT WINAPI IDvdControl_ButtonActivate_Proxy(IDvdControl *This);") 3839cpp_quote(" void __RPC_STUB IDvdControl_ButtonActivate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3840cpp_quote(" HRESULT WINAPI IDvdControl_ButtonSelectAndActivate_Proxy(IDvdControl *This,ULONG ulButton);") 3841cpp_quote(" void __RPC_STUB IDvdControl_ButtonSelectAndActivate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3842cpp_quote(" HRESULT WINAPI IDvdControl_StillOff_Proxy(IDvdControl *This);") 3843cpp_quote(" void __RPC_STUB IDvdControl_StillOff_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3844cpp_quote(" HRESULT WINAPI IDvdControl_PauseOn_Proxy(IDvdControl *This);") 3845cpp_quote(" void __RPC_STUB IDvdControl_PauseOn_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3846cpp_quote(" HRESULT WINAPI IDvdControl_PauseOff_Proxy(IDvdControl *This);") 3847cpp_quote(" void __RPC_STUB IDvdControl_PauseOff_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3848cpp_quote(" HRESULT WINAPI IDvdControl_MenuLanguageSelect_Proxy(IDvdControl *This,LCID Language);") 3849cpp_quote(" void __RPC_STUB IDvdControl_MenuLanguageSelect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3850cpp_quote(" HRESULT WINAPI IDvdControl_AudioStreamChange_Proxy(IDvdControl *This,ULONG ulAudio);") 3851cpp_quote(" void __RPC_STUB IDvdControl_AudioStreamChange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3852cpp_quote(" HRESULT WINAPI IDvdControl_SubpictureStreamChange_Proxy(IDvdControl *This,ULONG ulSubPicture,WINBOOL bDisplay);") 3853cpp_quote(" void __RPC_STUB IDvdControl_SubpictureStreamChange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3854cpp_quote(" HRESULT WINAPI IDvdControl_AngleChange_Proxy(IDvdControl *This,ULONG ulAngle);") 3855cpp_quote(" void __RPC_STUB IDvdControl_AngleChange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3856cpp_quote(" HRESULT WINAPI IDvdControl_ParentalLevelSelect_Proxy(IDvdControl *This,ULONG ulParentalLevel);") 3857cpp_quote(" void __RPC_STUB IDvdControl_ParentalLevelSelect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3858cpp_quote(" HRESULT WINAPI IDvdControl_ParentalCountrySelect_Proxy(IDvdControl *This,WORD wCountry);") 3859cpp_quote(" void __RPC_STUB IDvdControl_ParentalCountrySelect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3860cpp_quote(" HRESULT WINAPI IDvdControl_KaraokeAudioPresentationModeChange_Proxy(IDvdControl *This,ULONG ulMode);") 3861cpp_quote(" void __RPC_STUB IDvdControl_KaraokeAudioPresentationModeChange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3862cpp_quote(" HRESULT WINAPI IDvdControl_VideoModePreferrence_Proxy(IDvdControl *This,ULONG ulPreferredDisplayMode);") 3863cpp_quote(" void __RPC_STUB IDvdControl_VideoModePreferrence_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3864cpp_quote(" HRESULT WINAPI IDvdControl_SetRoot_Proxy(IDvdControl *This,LPCWSTR pszPath);") 3865cpp_quote(" void __RPC_STUB IDvdControl_SetRoot_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3866cpp_quote(" HRESULT WINAPI IDvdControl_MouseActivate_Proxy(IDvdControl *This,POINT point);") 3867cpp_quote(" void __RPC_STUB IDvdControl_MouseActivate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3868cpp_quote(" HRESULT WINAPI IDvdControl_MouseSelect_Proxy(IDvdControl *This,POINT point);") 3869cpp_quote(" void __RPC_STUB IDvdControl_MouseSelect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3870cpp_quote(" HRESULT WINAPI IDvdControl_ChapterPlayAutoStop_Proxy(IDvdControl *This,ULONG ulTitle,ULONG ulChapter,ULONG ulChaptersToPlay);") 3871cpp_quote(" void __RPC_STUB IDvdControl_ChapterPlayAutoStop_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3872cpp_quote("#endif") 3873cpp_quote("") 3874cpp_quote("#ifndef __IDvdInfo_INTERFACE_DEFINED__") 3875cpp_quote("#define __IDvdInfo_INTERFACE_DEFINED__") 3876cpp_quote(" EXTERN_C const IID IID_IDvdInfo;") 3877cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 3878cpp_quote(" struct IDvdInfo : public IUnknown {") 3879cpp_quote(" public:") 3880cpp_quote(" virtual HRESULT WINAPI GetCurrentDomain(DVD_DOMAIN *pDomain) = 0;") 3881cpp_quote(" virtual HRESULT WINAPI GetCurrentLocation(DVD_PLAYBACK_LOCATION *pLocation) = 0;") 3882cpp_quote(" virtual HRESULT WINAPI GetTotalTitleTime(ULONG *pulTotalTime) = 0;") 3883cpp_quote(" virtual HRESULT WINAPI GetCurrentButton(ULONG *pulButtonsAvailable,ULONG *pulCurrentButton) = 0;") 3884cpp_quote(" virtual HRESULT WINAPI GetCurrentAngle(ULONG *pulAnglesAvailable,ULONG *pulCurrentAngle) = 0;") 3885cpp_quote(" virtual HRESULT WINAPI GetCurrentAudio(ULONG *pulStreamsAvailable,ULONG *pulCurrentStream) = 0;") 3886cpp_quote(" virtual HRESULT WINAPI GetCurrentSubpicture(ULONG *pulStreamsAvailable,ULONG *pulCurrentStream,WINBOOL *pIsDisabled) = 0;") 3887cpp_quote(" virtual HRESULT WINAPI GetCurrentUOPS(VALID_UOP_SOMTHING_OR_OTHER *pUOP) = 0;") 3888cpp_quote(" virtual HRESULT WINAPI GetAllSPRMs(SPRMARRAY *pRegisterArray) = 0;") 3889cpp_quote(" virtual HRESULT WINAPI GetAllGPRMs(GPRMARRAY *pRegisterArray) = 0;") 3890cpp_quote(" virtual HRESULT WINAPI GetAudioLanguage(ULONG ulStream,LCID *pLanguage) = 0;") 3891cpp_quote(" virtual HRESULT WINAPI GetSubpictureLanguage(ULONG ulStream,LCID *pLanguage) = 0;") 3892cpp_quote(" virtual HRESULT WINAPI GetTitleAttributes(ULONG ulTitle,DVD_ATR *pATR) = 0;") 3893cpp_quote(" virtual HRESULT WINAPI GetVMGAttributes(DVD_ATR *pATR) = 0;") 3894cpp_quote(" virtual HRESULT WINAPI GetCurrentVideoAttributes(DVD_VideoATR *pATR) = 0;") 3895cpp_quote(" virtual HRESULT WINAPI GetCurrentAudioAttributes(DVD_AudioATR *pATR) = 0;") 3896cpp_quote(" virtual HRESULT WINAPI GetCurrentSubpictureAttributes(DVD_SubpictureATR *pATR) = 0;") 3897cpp_quote(" virtual HRESULT WINAPI GetCurrentVolumeInfo(ULONG *pulNumOfVol,ULONG *pulThisVolNum,DVD_DISC_SIDE *pSide,ULONG *pulNumOfTitles) = 0;") 3898cpp_quote(" virtual HRESULT WINAPI GetDVDTextInfo(BYTE *pTextManager,ULONG ulBufSize,ULONG *pulActualSize) = 0;") 3899cpp_quote(" virtual HRESULT WINAPI GetPlayerParentalLevel(ULONG *pulParentalLevel,ULONG *pulCountryCode) = 0;") 3900cpp_quote(" virtual HRESULT WINAPI GetNumberOfChapters(ULONG ulTitle,ULONG *pulNumberOfChapters) = 0;") 3901cpp_quote(" virtual HRESULT WINAPI GetTitleParentalLevels(ULONG ulTitle,ULONG *pulParentalLevels) = 0;") 3902cpp_quote(" virtual HRESULT WINAPI GetRoot(LPSTR pRoot,ULONG ulBufSize,ULONG *pulActualSize) = 0;") 3903cpp_quote(" };") 3904cpp_quote("#else") 3905cpp_quote(" typedef struct IDvdInfoVtbl {") 3906cpp_quote(" BEGIN_INTERFACE") 3907cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDvdInfo *This,REFIID riid,void **ppvObject);") 3908cpp_quote(" ULONG (WINAPI *AddRef)(IDvdInfo *This);") 3909cpp_quote(" ULONG (WINAPI *Release)(IDvdInfo *This);") 3910cpp_quote(" HRESULT (WINAPI *GetCurrentDomain)(IDvdInfo *This,DVD_DOMAIN *pDomain);") 3911cpp_quote(" HRESULT (WINAPI *GetCurrentLocation)(IDvdInfo *This,DVD_PLAYBACK_LOCATION *pLocation);") 3912cpp_quote(" HRESULT (WINAPI *GetTotalTitleTime)(IDvdInfo *This,ULONG *pulTotalTime);") 3913cpp_quote(" HRESULT (WINAPI *GetCurrentButton)(IDvdInfo *This,ULONG *pulButtonsAvailable,ULONG *pulCurrentButton);") 3914cpp_quote(" HRESULT (WINAPI *GetCurrentAngle)(IDvdInfo *This,ULONG *pulAnglesAvailable,ULONG *pulCurrentAngle);") 3915cpp_quote(" HRESULT (WINAPI *GetCurrentAudio)(IDvdInfo *This,ULONG *pulStreamsAvailable,ULONG *pulCurrentStream);") 3916cpp_quote(" HRESULT (WINAPI *GetCurrentSubpicture)(IDvdInfo *This,ULONG *pulStreamsAvailable,ULONG *pulCurrentStream,WINBOOL *pIsDisabled);") 3917cpp_quote(" HRESULT (WINAPI *GetCurrentUOPS)(IDvdInfo *This,VALID_UOP_SOMTHING_OR_OTHER *pUOP);") 3918cpp_quote(" HRESULT (WINAPI *GetAllSPRMs)(IDvdInfo *This,SPRMARRAY *pRegisterArray);") 3919cpp_quote(" HRESULT (WINAPI *GetAllGPRMs)(IDvdInfo *This,GPRMARRAY *pRegisterArray);") 3920cpp_quote(" HRESULT (WINAPI *GetAudioLanguage)(IDvdInfo *This,ULONG ulStream,LCID *pLanguage);") 3921cpp_quote(" HRESULT (WINAPI *GetSubpictureLanguage)(IDvdInfo *This,ULONG ulStream,LCID *pLanguage);") 3922cpp_quote(" HRESULT (WINAPI *GetTitleAttributes)(IDvdInfo *This,ULONG ulTitle,DVD_ATR *pATR);") 3923cpp_quote(" HRESULT (WINAPI *GetVMGAttributes)(IDvdInfo *This,DVD_ATR *pATR);") 3924cpp_quote(" HRESULT (WINAPI *GetCurrentVideoAttributes)(IDvdInfo *This,DVD_VideoATR *pATR);") 3925cpp_quote(" HRESULT (WINAPI *GetCurrentAudioAttributes)(IDvdInfo *This,DVD_AudioATR *pATR);") 3926cpp_quote(" HRESULT (WINAPI *GetCurrentSubpictureAttributes)(IDvdInfo *This,DVD_SubpictureATR *pATR);") 3927cpp_quote(" HRESULT (WINAPI *GetCurrentVolumeInfo)(IDvdInfo *This,ULONG *pulNumOfVol,ULONG *pulThisVolNum,DVD_DISC_SIDE *pSide,ULONG *pulNumOfTitles);") 3928cpp_quote(" HRESULT (WINAPI *GetDVDTextInfo)(IDvdInfo *This,BYTE *pTextManager,ULONG ulBufSize,ULONG *pulActualSize);") 3929cpp_quote(" HRESULT (WINAPI *GetPlayerParentalLevel)(IDvdInfo *This,ULONG *pulParentalLevel,ULONG *pulCountryCode);") 3930cpp_quote(" HRESULT (WINAPI *GetNumberOfChapters)(IDvdInfo *This,ULONG ulTitle,ULONG *pulNumberOfChapters);") 3931cpp_quote(" HRESULT (WINAPI *GetTitleParentalLevels)(IDvdInfo *This,ULONG ulTitle,ULONG *pulParentalLevels);") 3932cpp_quote(" HRESULT (WINAPI *GetRoot)(IDvdInfo *This,LPSTR pRoot,ULONG ulBufSize,ULONG *pulActualSize);") 3933cpp_quote(" END_INTERFACE") 3934cpp_quote(" } IDvdInfoVtbl;") 3935cpp_quote(" struct IDvdInfo {") 3936cpp_quote(" CONST_VTBL struct IDvdInfoVtbl *lpVtbl;") 3937cpp_quote(" };") 3938cpp_quote("#ifdef COBJMACROS") 3939cpp_quote("#define IDvdInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 3940cpp_quote("#define IDvdInfo_AddRef(This) (This)->lpVtbl->AddRef(This)") 3941cpp_quote("#define IDvdInfo_Release(This) (This)->lpVtbl->Release(This)") 3942cpp_quote("#define IDvdInfo_GetCurrentDomain(This,pDomain) (This)->lpVtbl->GetCurrentDomain(This,pDomain)") 3943cpp_quote("#define IDvdInfo_GetCurrentLocation(This,pLocation) (This)->lpVtbl->GetCurrentLocation(This,pLocation)") 3944cpp_quote("#define IDvdInfo_GetTotalTitleTime(This,pulTotalTime) (This)->lpVtbl->GetTotalTitleTime(This,pulTotalTime)") 3945cpp_quote("#define IDvdInfo_GetCurrentButton(This,pulButtonsAvailable,pulCurrentButton) (This)->lpVtbl->GetCurrentButton(This,pulButtonsAvailable,pulCurrentButton)") 3946cpp_quote("#define IDvdInfo_GetCurrentAngle(This,pulAnglesAvailable,pulCurrentAngle) (This)->lpVtbl->GetCurrentAngle(This,pulAnglesAvailable,pulCurrentAngle)") 3947cpp_quote("#define IDvdInfo_GetCurrentAudio(This,pulStreamsAvailable,pulCurrentStream) (This)->lpVtbl->GetCurrentAudio(This,pulStreamsAvailable,pulCurrentStream)") 3948cpp_quote("#define IDvdInfo_GetCurrentSubpicture(This,pulStreamsAvailable,pulCurrentStream,pIsDisabled) (This)->lpVtbl->GetCurrentSubpicture(This,pulStreamsAvailable,pulCurrentStream,pIsDisabled)") 3949cpp_quote("#define IDvdInfo_GetCurrentUOPS(This,pUOP) (This)->lpVtbl->GetCurrentUOPS(This,pUOP)") 3950cpp_quote("#define IDvdInfo_GetAllSPRMs(This,pRegisterArray) (This)->lpVtbl->GetAllSPRMs(This,pRegisterArray)") 3951cpp_quote("#define IDvdInfo_GetAllGPRMs(This,pRegisterArray) (This)->lpVtbl->GetAllGPRMs(This,pRegisterArray)") 3952cpp_quote("#define IDvdInfo_GetAudioLanguage(This,ulStream,pLanguage) (This)->lpVtbl->GetAudioLanguage(This,ulStream,pLanguage)") 3953cpp_quote("#define IDvdInfo_GetSubpictureLanguage(This,ulStream,pLanguage) (This)->lpVtbl->GetSubpictureLanguage(This,ulStream,pLanguage)") 3954cpp_quote("#define IDvdInfo_GetTitleAttributes(This,ulTitle,pATR) (This)->lpVtbl->GetTitleAttributes(This,ulTitle,pATR)") 3955cpp_quote("#define IDvdInfo_GetVMGAttributes(This,pATR) (This)->lpVtbl->GetVMGAttributes(This,pATR)") 3956cpp_quote("#define IDvdInfo_GetCurrentVideoAttributes(This,pATR) (This)->lpVtbl->GetCurrentVideoAttributes(This,pATR)") 3957cpp_quote("#define IDvdInfo_GetCurrentAudioAttributes(This,pATR) (This)->lpVtbl->GetCurrentAudioAttributes(This,pATR)") 3958cpp_quote("#define IDvdInfo_GetCurrentSubpictureAttributes(This,pATR) (This)->lpVtbl->GetCurrentSubpictureAttributes(This,pATR)") 3959cpp_quote("#define IDvdInfo_GetCurrentVolumeInfo(This,pulNumOfVol,pulThisVolNum,pSide,pulNumOfTitles) (This)->lpVtbl->GetCurrentVolumeInfo(This,pulNumOfVol,pulThisVolNum,pSide,pulNumOfTitles)") 3960cpp_quote("#define IDvdInfo_GetDVDTextInfo(This,pTextManager,ulBufSize,pulActualSize) (This)->lpVtbl->GetDVDTextInfo(This,pTextManager,ulBufSize,pulActualSize)") 3961cpp_quote("#define IDvdInfo_GetPlayerParentalLevel(This,pulParentalLevel,pulCountryCode) (This)->lpVtbl->GetPlayerParentalLevel(This,pulParentalLevel,pulCountryCode)") 3962cpp_quote("#define IDvdInfo_GetNumberOfChapters(This,ulTitle,pulNumberOfChapters) (This)->lpVtbl->GetNumberOfChapters(This,ulTitle,pulNumberOfChapters)") 3963cpp_quote("#define IDvdInfo_GetTitleParentalLevels(This,ulTitle,pulParentalLevels) (This)->lpVtbl->GetTitleParentalLevels(This,ulTitle,pulParentalLevels)") 3964cpp_quote("#define IDvdInfo_GetRoot(This,pRoot,ulBufSize,pulActualSize) (This)->lpVtbl->GetRoot(This,pRoot,ulBufSize,pulActualSize)") 3965cpp_quote("#endif") 3966cpp_quote("#endif") 3967cpp_quote(" HRESULT WINAPI IDvdInfo_GetCurrentDomain_Proxy(IDvdInfo *This,DVD_DOMAIN *pDomain);") 3968cpp_quote(" void __RPC_STUB IDvdInfo_GetCurrentDomain_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3969cpp_quote(" HRESULT WINAPI IDvdInfo_GetCurrentLocation_Proxy(IDvdInfo *This,DVD_PLAYBACK_LOCATION *pLocation);") 3970cpp_quote(" void __RPC_STUB IDvdInfo_GetCurrentLocation_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3971cpp_quote(" HRESULT WINAPI IDvdInfo_GetTotalTitleTime_Proxy(IDvdInfo *This,ULONG *pulTotalTime);") 3972cpp_quote(" void __RPC_STUB IDvdInfo_GetTotalTitleTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3973cpp_quote(" HRESULT WINAPI IDvdInfo_GetCurrentButton_Proxy(IDvdInfo *This,ULONG *pulButtonsAvailable,ULONG *pulCurrentButton);") 3974cpp_quote(" void __RPC_STUB IDvdInfo_GetCurrentButton_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3975cpp_quote(" HRESULT WINAPI IDvdInfo_GetCurrentAngle_Proxy(IDvdInfo *This,ULONG *pulAnglesAvailable,ULONG *pulCurrentAngle);") 3976cpp_quote(" void __RPC_STUB IDvdInfo_GetCurrentAngle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3977cpp_quote(" HRESULT WINAPI IDvdInfo_GetCurrentAudio_Proxy(IDvdInfo *This,ULONG *pulStreamsAvailable,ULONG *pulCurrentStream);") 3978cpp_quote(" void __RPC_STUB IDvdInfo_GetCurrentAudio_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3979cpp_quote(" HRESULT WINAPI IDvdInfo_GetCurrentSubpicture_Proxy(IDvdInfo *This,ULONG *pulStreamsAvailable,ULONG *pulCurrentStream,WINBOOL *pIsDisabled);") 3980cpp_quote(" void __RPC_STUB IDvdInfo_GetCurrentSubpicture_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3981cpp_quote(" HRESULT WINAPI IDvdInfo_GetCurrentUOPS_Proxy(IDvdInfo *This,VALID_UOP_SOMTHING_OR_OTHER *pUOP);") 3982cpp_quote(" void __RPC_STUB IDvdInfo_GetCurrentUOPS_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3983cpp_quote(" HRESULT WINAPI IDvdInfo_GetAllSPRMs_Proxy(IDvdInfo *This,SPRMARRAY *pRegisterArray);") 3984cpp_quote(" void __RPC_STUB IDvdInfo_GetAllSPRMs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3985cpp_quote(" HRESULT WINAPI IDvdInfo_GetAllGPRMs_Proxy(IDvdInfo *This,GPRMARRAY *pRegisterArray);") 3986cpp_quote(" void __RPC_STUB IDvdInfo_GetAllGPRMs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3987cpp_quote(" HRESULT WINAPI IDvdInfo_GetAudioLanguage_Proxy(IDvdInfo *This,ULONG ulStream,LCID *pLanguage);") 3988cpp_quote(" void __RPC_STUB IDvdInfo_GetAudioLanguage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3989cpp_quote(" HRESULT WINAPI IDvdInfo_GetSubpictureLanguage_Proxy(IDvdInfo *This,ULONG ulStream,LCID *pLanguage);") 3990cpp_quote(" void __RPC_STUB IDvdInfo_GetSubpictureLanguage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3991cpp_quote(" HRESULT WINAPI IDvdInfo_GetTitleAttributes_Proxy(IDvdInfo *This,ULONG ulTitle,DVD_ATR *pATR);") 3992cpp_quote(" void __RPC_STUB IDvdInfo_GetTitleAttributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3993cpp_quote(" HRESULT WINAPI IDvdInfo_GetVMGAttributes_Proxy(IDvdInfo *This,DVD_ATR *pATR);") 3994cpp_quote(" void __RPC_STUB IDvdInfo_GetVMGAttributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3995cpp_quote(" HRESULT WINAPI IDvdInfo_GetCurrentVideoAttributes_Proxy(IDvdInfo *This,DVD_VideoATR *pATR);") 3996cpp_quote(" void __RPC_STUB IDvdInfo_GetCurrentVideoAttributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3997cpp_quote(" HRESULT WINAPI IDvdInfo_GetCurrentAudioAttributes_Proxy(IDvdInfo *This,DVD_AudioATR *pATR);") 3998cpp_quote(" void __RPC_STUB IDvdInfo_GetCurrentAudioAttributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 3999cpp_quote(" HRESULT WINAPI IDvdInfo_GetCurrentSubpictureAttributes_Proxy(IDvdInfo *This,DVD_SubpictureATR *pATR);") 4000cpp_quote(" void __RPC_STUB IDvdInfo_GetCurrentSubpictureAttributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4001cpp_quote(" HRESULT WINAPI IDvdInfo_GetCurrentVolumeInfo_Proxy(IDvdInfo *This,ULONG *pulNumOfVol,ULONG *pulThisVolNum,DVD_DISC_SIDE *pSide,ULONG *pulNumOfTitles);") 4002cpp_quote(" void __RPC_STUB IDvdInfo_GetCurrentVolumeInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4003cpp_quote(" HRESULT WINAPI IDvdInfo_GetDVDTextInfo_Proxy(IDvdInfo *This,BYTE *pTextManager,ULONG ulBufSize,ULONG *pulActualSize);") 4004cpp_quote(" void __RPC_STUB IDvdInfo_GetDVDTextInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4005cpp_quote(" HRESULT WINAPI IDvdInfo_GetPlayerParentalLevel_Proxy(IDvdInfo *This,ULONG *pulParentalLevel,ULONG *pulCountryCode);") 4006cpp_quote(" void __RPC_STUB IDvdInfo_GetPlayerParentalLevel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4007cpp_quote(" HRESULT WINAPI IDvdInfo_GetNumberOfChapters_Proxy(IDvdInfo *This,ULONG ulTitle,ULONG *pulNumberOfChapters);") 4008cpp_quote(" void __RPC_STUB IDvdInfo_GetNumberOfChapters_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4009cpp_quote(" HRESULT WINAPI IDvdInfo_GetTitleParentalLevels_Proxy(IDvdInfo *This,ULONG ulTitle,ULONG *pulParentalLevels);") 4010cpp_quote(" void __RPC_STUB IDvdInfo_GetTitleParentalLevels_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4011cpp_quote(" HRESULT WINAPI IDvdInfo_GetRoot_Proxy(IDvdInfo *This,LPSTR pRoot,ULONG ulBufSize,ULONG *pulActualSize);") 4012cpp_quote(" void __RPC_STUB IDvdInfo_GetRoot_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4013cpp_quote("#endif") 4014cpp_quote("") 4015cpp_quote("#ifndef __IDvdCmd_INTERFACE_DEFINED__") 4016cpp_quote("#define __IDvdCmd_INTERFACE_DEFINED__") 4017cpp_quote(" EXTERN_C const IID IID_IDvdCmd;") 4018cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 4019cpp_quote(" struct IDvdCmd : public IUnknown {") 4020cpp_quote(" public:") 4021cpp_quote(" virtual HRESULT WINAPI WaitForStart(void) = 0;") 4022cpp_quote(" virtual HRESULT WINAPI WaitForEnd(void) = 0;") 4023cpp_quote(" };") 4024cpp_quote("#else") 4025cpp_quote(" typedef struct IDvdCmdVtbl {") 4026cpp_quote(" BEGIN_INTERFACE") 4027cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDvdCmd *This,REFIID riid,void **ppvObject);") 4028cpp_quote(" ULONG (WINAPI *AddRef)(IDvdCmd *This);") 4029cpp_quote(" ULONG (WINAPI *Release)(IDvdCmd *This);") 4030cpp_quote(" HRESULT (WINAPI *WaitForStart)(IDvdCmd *This);") 4031cpp_quote(" HRESULT (WINAPI *WaitForEnd)(IDvdCmd *This);") 4032cpp_quote(" END_INTERFACE") 4033cpp_quote(" } IDvdCmdVtbl;") 4034cpp_quote(" struct IDvdCmd {") 4035cpp_quote(" CONST_VTBL struct IDvdCmdVtbl *lpVtbl;") 4036cpp_quote(" };") 4037cpp_quote("#ifdef COBJMACROS") 4038cpp_quote("#define IDvdCmd_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 4039cpp_quote("#define IDvdCmd_AddRef(This) (This)->lpVtbl->AddRef(This)") 4040cpp_quote("#define IDvdCmd_Release(This) (This)->lpVtbl->Release(This)") 4041cpp_quote("#define IDvdCmd_WaitForStart(This) (This)->lpVtbl->WaitForStart(This)") 4042cpp_quote("#define IDvdCmd_WaitForEnd(This) (This)->lpVtbl->WaitForEnd(This)") 4043cpp_quote("#endif") 4044cpp_quote("#endif") 4045cpp_quote(" HRESULT WINAPI IDvdCmd_WaitForStart_Proxy(IDvdCmd *This);") 4046cpp_quote(" void __RPC_STUB IDvdCmd_WaitForStart_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4047cpp_quote(" HRESULT WINAPI IDvdCmd_WaitForEnd_Proxy(IDvdCmd *This);") 4048cpp_quote(" void __RPC_STUB IDvdCmd_WaitForEnd_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4049cpp_quote("#endif") 4050cpp_quote("") 4051cpp_quote("#ifndef __IDvdState_INTERFACE_DEFINED__") 4052cpp_quote("#define __IDvdState_INTERFACE_DEFINED__") 4053cpp_quote(" EXTERN_C const IID IID_IDvdState;") 4054cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 4055cpp_quote(" struct IDvdState : public IUnknown {") 4056cpp_quote(" public:") 4057cpp_quote(" virtual HRESULT WINAPI GetDiscID(ULONGLONG *pullUniqueID) = 0;") 4058cpp_quote(" virtual HRESULT WINAPI GetParentalLevel(ULONG *pulParentalLevel) = 0;") 4059cpp_quote(" };") 4060cpp_quote("#else") 4061cpp_quote(" typedef struct IDvdStateVtbl {") 4062cpp_quote(" BEGIN_INTERFACE") 4063cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDvdState *This,REFIID riid,void **ppvObject);") 4064cpp_quote(" ULONG (WINAPI *AddRef)(IDvdState *This);") 4065cpp_quote(" ULONG (WINAPI *Release)(IDvdState *This);") 4066cpp_quote(" HRESULT (WINAPI *GetDiscID)(IDvdState *This,ULONGLONG *pullUniqueID);") 4067cpp_quote(" HRESULT (WINAPI *GetParentalLevel)(IDvdState *This,ULONG *pulParentalLevel);") 4068cpp_quote(" END_INTERFACE") 4069cpp_quote(" } IDvdStateVtbl;") 4070cpp_quote(" struct IDvdState {") 4071cpp_quote(" CONST_VTBL struct IDvdStateVtbl *lpVtbl;") 4072cpp_quote(" };") 4073cpp_quote("#ifdef COBJMACROS") 4074cpp_quote("#define IDvdState_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 4075cpp_quote("#define IDvdState_AddRef(This) (This)->lpVtbl->AddRef(This)") 4076cpp_quote("#define IDvdState_Release(This) (This)->lpVtbl->Release(This)") 4077cpp_quote("#define IDvdState_GetDiscID(This,pullUniqueID) (This)->lpVtbl->GetDiscID(This,pullUniqueID)") 4078cpp_quote("#define IDvdState_GetParentalLevel(This,pulParentalLevel) (This)->lpVtbl->GetParentalLevel(This,pulParentalLevel)") 4079cpp_quote("#endif") 4080cpp_quote("#endif") 4081cpp_quote(" HRESULT WINAPI IDvdState_GetDiscID_Proxy(IDvdState *This,ULONGLONG *pullUniqueID);") 4082cpp_quote(" void __RPC_STUB IDvdState_GetDiscID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4083cpp_quote(" HRESULT WINAPI IDvdState_GetParentalLevel_Proxy(IDvdState *This,ULONG *pulParentalLevel);") 4084cpp_quote(" void __RPC_STUB IDvdState_GetParentalLevel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4085cpp_quote("#endif") 4086cpp_quote("") 4087cpp_quote("#ifndef __IDvdControl2_INTERFACE_DEFINED__") 4088cpp_quote("#define __IDvdControl2_INTERFACE_DEFINED__") 4089cpp_quote(" EXTERN_C const IID IID_IDvdControl2;") 4090cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 4091cpp_quote(" struct IDvdControl2 : public IUnknown {") 4092cpp_quote(" public:") 4093cpp_quote(" virtual HRESULT WINAPI PlayTitle(ULONG ulTitle,DWORD dwFlags,IDvdCmd **ppCmd) = 0;") 4094cpp_quote(" virtual HRESULT WINAPI PlayChapterInTitle(ULONG ulTitle,ULONG ulChapter,DWORD dwFlags,IDvdCmd **ppCmd) = 0;") 4095cpp_quote(" virtual HRESULT WINAPI PlayAtTimeInTitle(ULONG ulTitle,DVD_HMSF_TIMECODE *pStartTime,DWORD dwFlags,IDvdCmd **ppCmd) = 0;") 4096cpp_quote(" virtual HRESULT WINAPI Stop(void) = 0;") 4097cpp_quote(" virtual HRESULT WINAPI ReturnFromSubmenu(DWORD dwFlags,IDvdCmd **ppCmd) = 0;") 4098cpp_quote(" virtual HRESULT WINAPI PlayAtTime(DVD_HMSF_TIMECODE *pTime,DWORD dwFlags,IDvdCmd **ppCmd) = 0;") 4099cpp_quote(" virtual HRESULT WINAPI PlayChapter(ULONG ulChapter,DWORD dwFlags,IDvdCmd **ppCmd) = 0;") 4100cpp_quote(" virtual HRESULT WINAPI PlayPrevChapter(DWORD dwFlags,IDvdCmd **ppCmd) = 0;") 4101cpp_quote(" virtual HRESULT WINAPI ReplayChapter(DWORD dwFlags,IDvdCmd **ppCmd) = 0;") 4102cpp_quote(" virtual HRESULT WINAPI PlayNextChapter(DWORD dwFlags,IDvdCmd **ppCmd) = 0;") 4103cpp_quote(" virtual HRESULT WINAPI PlayForwards(double dSpeed,DWORD dwFlags,IDvdCmd **ppCmd) = 0;") 4104cpp_quote(" virtual HRESULT WINAPI PlayBackwards(double dSpeed,DWORD dwFlags,IDvdCmd **ppCmd) = 0;") 4105cpp_quote(" virtual HRESULT WINAPI ShowMenu(DVD_MENU_ID MenuID,DWORD dwFlags,IDvdCmd **ppCmd) = 0;") 4106cpp_quote(" virtual HRESULT WINAPI Resume(DWORD dwFlags,IDvdCmd **ppCmd) = 0;") 4107cpp_quote(" virtual HRESULT WINAPI SelectRelativeButton(DVD_RELATIVE_BUTTON buttonDir) = 0;") 4108cpp_quote(" virtual HRESULT WINAPI ActivateButton(void) = 0;") 4109cpp_quote(" virtual HRESULT WINAPI SelectButton(ULONG ulButton) = 0;") 4110cpp_quote(" virtual HRESULT WINAPI SelectAndActivateButton(ULONG ulButton) = 0;") 4111cpp_quote(" virtual HRESULT WINAPI StillOff(void) = 0;") 4112cpp_quote(" virtual HRESULT WINAPI Pause(WINBOOL bState) = 0;") 4113cpp_quote(" virtual HRESULT WINAPI SelectAudioStream(ULONG ulAudio,DWORD dwFlags,IDvdCmd **ppCmd) = 0;") 4114cpp_quote(" virtual HRESULT WINAPI SelectSubpictureStream(ULONG ulSubPicture,DWORD dwFlags,IDvdCmd **ppCmd) = 0;") 4115cpp_quote(" virtual HRESULT WINAPI SetSubpictureState(WINBOOL bState,DWORD dwFlags,IDvdCmd **ppCmd) = 0;") 4116cpp_quote(" virtual HRESULT WINAPI SelectAngle(ULONG ulAngle,DWORD dwFlags,IDvdCmd **ppCmd) = 0;") 4117cpp_quote(" virtual HRESULT WINAPI SelectParentalLevel(ULONG ulParentalLevel) = 0;") 4118cpp_quote(" virtual HRESULT WINAPI SelectParentalCountry(BYTE bCountry[2]) = 0;") 4119cpp_quote(" virtual HRESULT WINAPI SelectKaraokeAudioPresentationMode(ULONG ulMode) = 0;") 4120cpp_quote(" virtual HRESULT WINAPI SelectVideoModePreference(ULONG ulPreferredDisplayMode) = 0;") 4121cpp_quote(" virtual HRESULT WINAPI SetDVDDirectory(LPCWSTR pszwPath) = 0;") 4122cpp_quote(" virtual HRESULT WINAPI ActivateAtPosition(POINT point) = 0;") 4123cpp_quote(" virtual HRESULT WINAPI SelectAtPosition(POINT point) = 0;") 4124cpp_quote(" virtual HRESULT WINAPI PlayChaptersAutoStop(ULONG ulTitle,ULONG ulChapter,ULONG ulChaptersToPlay,DWORD dwFlags,IDvdCmd **ppCmd) = 0;") 4125cpp_quote(" virtual HRESULT WINAPI AcceptParentalLevelChange(WINBOOL bAccept) = 0;") 4126cpp_quote(" virtual HRESULT WINAPI SetOption(DVD_OPTION_FLAG flag,WINBOOL fState) = 0;") 4127cpp_quote(" virtual HRESULT WINAPI SetState(IDvdState *pState,DWORD dwFlags,IDvdCmd **ppCmd) = 0;") 4128cpp_quote(" virtual HRESULT WINAPI PlayPeriodInTitleAutoStop(ULONG ulTitle,DVD_HMSF_TIMECODE *pStartTime,DVD_HMSF_TIMECODE *pEndTime,DWORD dwFlags,IDvdCmd **ppCmd) = 0;") 4129cpp_quote(" virtual HRESULT WINAPI SetGPRM(ULONG ulIndex,WORD wValue,DWORD dwFlags,IDvdCmd **ppCmd) = 0;") 4130cpp_quote(" virtual HRESULT WINAPI SelectDefaultMenuLanguage(LCID Language) = 0;") 4131cpp_quote(" virtual HRESULT WINAPI SelectDefaultAudioLanguage(LCID Language,DVD_AUDIO_LANG_EXT audioExtension) = 0;") 4132cpp_quote(" virtual HRESULT WINAPI SelectDefaultSubpictureLanguage(LCID Language,DVD_SUBPICTURE_LANG_EXT subpictureExtension) = 0;") 4133cpp_quote(" };") 4134cpp_quote("#else") 4135cpp_quote(" typedef struct IDvdControl2Vtbl {") 4136cpp_quote(" BEGIN_INTERFACE") 4137cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDvdControl2 *This,REFIID riid,void **ppvObject);") 4138cpp_quote(" ULONG (WINAPI *AddRef)(IDvdControl2 *This);") 4139cpp_quote(" ULONG (WINAPI *Release)(IDvdControl2 *This);") 4140cpp_quote(" HRESULT (WINAPI *PlayTitle)(IDvdControl2 *This,ULONG ulTitle,DWORD dwFlags,IDvdCmd **ppCmd);") 4141cpp_quote(" HRESULT (WINAPI *PlayChapterInTitle)(IDvdControl2 *This,ULONG ulTitle,ULONG ulChapter,DWORD dwFlags,IDvdCmd **ppCmd);") 4142cpp_quote(" HRESULT (WINAPI *PlayAtTimeInTitle)(IDvdControl2 *This,ULONG ulTitle,DVD_HMSF_TIMECODE *pStartTime,DWORD dwFlags,IDvdCmd **ppCmd);") 4143cpp_quote(" HRESULT (WINAPI *Stop)(IDvdControl2 *This);") 4144cpp_quote(" HRESULT (WINAPI *ReturnFromSubmenu)(IDvdControl2 *This,DWORD dwFlags,IDvdCmd **ppCmd);") 4145cpp_quote(" HRESULT (WINAPI *PlayAtTime)(IDvdControl2 *This,DVD_HMSF_TIMECODE *pTime,DWORD dwFlags,IDvdCmd **ppCmd);") 4146cpp_quote(" HRESULT (WINAPI *PlayChapter)(IDvdControl2 *This,ULONG ulChapter,DWORD dwFlags,IDvdCmd **ppCmd);") 4147cpp_quote(" HRESULT (WINAPI *PlayPrevChapter)(IDvdControl2 *This,DWORD dwFlags,IDvdCmd **ppCmd);") 4148cpp_quote(" HRESULT (WINAPI *ReplayChapter)(IDvdControl2 *This,DWORD dwFlags,IDvdCmd **ppCmd);") 4149cpp_quote(" HRESULT (WINAPI *PlayNextChapter)(IDvdControl2 *This,DWORD dwFlags,IDvdCmd **ppCmd);") 4150cpp_quote(" HRESULT (WINAPI *PlayForwards)(IDvdControl2 *This,double dSpeed,DWORD dwFlags,IDvdCmd **ppCmd);") 4151cpp_quote(" HRESULT (WINAPI *PlayBackwards)(IDvdControl2 *This,double dSpeed,DWORD dwFlags,IDvdCmd **ppCmd);") 4152cpp_quote(" HRESULT (WINAPI *ShowMenu)(IDvdControl2 *This,DVD_MENU_ID MenuID,DWORD dwFlags,IDvdCmd **ppCmd);") 4153cpp_quote(" HRESULT (WINAPI *Resume)(IDvdControl2 *This,DWORD dwFlags,IDvdCmd **ppCmd);") 4154cpp_quote(" HRESULT (WINAPI *SelectRelativeButton)(IDvdControl2 *This,DVD_RELATIVE_BUTTON buttonDir);") 4155cpp_quote(" HRESULT (WINAPI *ActivateButton)(IDvdControl2 *This);") 4156cpp_quote(" HRESULT (WINAPI *SelectButton)(IDvdControl2 *This,ULONG ulButton);") 4157cpp_quote(" HRESULT (WINAPI *SelectAndActivateButton)(IDvdControl2 *This,ULONG ulButton);") 4158cpp_quote(" HRESULT (WINAPI *StillOff)(IDvdControl2 *This);") 4159cpp_quote(" HRESULT (WINAPI *Pause)(IDvdControl2 *This,WINBOOL bState);") 4160cpp_quote(" HRESULT (WINAPI *SelectAudioStream)(IDvdControl2 *This,ULONG ulAudio,DWORD dwFlags,IDvdCmd **ppCmd);") 4161cpp_quote(" HRESULT (WINAPI *SelectSubpictureStream)(IDvdControl2 *This,ULONG ulSubPicture,DWORD dwFlags,IDvdCmd **ppCmd);") 4162cpp_quote(" HRESULT (WINAPI *SetSubpictureState)(IDvdControl2 *This,WINBOOL bState,DWORD dwFlags,IDvdCmd **ppCmd);") 4163cpp_quote(" HRESULT (WINAPI *SelectAngle)(IDvdControl2 *This,ULONG ulAngle,DWORD dwFlags,IDvdCmd **ppCmd);") 4164cpp_quote(" HRESULT (WINAPI *SelectParentalLevel)(IDvdControl2 *This,ULONG ulParentalLevel);") 4165cpp_quote(" HRESULT (WINAPI *SelectParentalCountry)(IDvdControl2 *This,BYTE bCountry[2]);") 4166cpp_quote(" HRESULT (WINAPI *SelectKaraokeAudioPresentationMode)(IDvdControl2 *This,ULONG ulMode);") 4167cpp_quote(" HRESULT (WINAPI *SelectVideoModePreference)(IDvdControl2 *This,ULONG ulPreferredDisplayMode);") 4168cpp_quote(" HRESULT (WINAPI *SetDVDDirectory)(IDvdControl2 *This,LPCWSTR pszwPath);") 4169cpp_quote(" HRESULT (WINAPI *ActivateAtPosition)(IDvdControl2 *This,POINT point);") 4170cpp_quote(" HRESULT (WINAPI *SelectAtPosition)(IDvdControl2 *This,POINT point);") 4171cpp_quote(" HRESULT (WINAPI *PlayChaptersAutoStop)(IDvdControl2 *This,ULONG ulTitle,ULONG ulChapter,ULONG ulChaptersToPlay,DWORD dwFlags,IDvdCmd **ppCmd);") 4172cpp_quote(" HRESULT (WINAPI *AcceptParentalLevelChange)(IDvdControl2 *This,WINBOOL bAccept);") 4173cpp_quote(" HRESULT (WINAPI *SetOption)(IDvdControl2 *This,DVD_OPTION_FLAG flag,WINBOOL fState);") 4174cpp_quote(" HRESULT (WINAPI *SetState)(IDvdControl2 *This,IDvdState *pState,DWORD dwFlags,IDvdCmd **ppCmd);") 4175cpp_quote(" HRESULT (WINAPI *PlayPeriodInTitleAutoStop)(IDvdControl2 *This,ULONG ulTitle,DVD_HMSF_TIMECODE *pStartTime,DVD_HMSF_TIMECODE *pEndTime,DWORD dwFlags,IDvdCmd **ppCmd);") 4176cpp_quote(" HRESULT (WINAPI *SetGPRM)(IDvdControl2 *This,ULONG ulIndex,WORD wValue,DWORD dwFlags,IDvdCmd **ppCmd);") 4177cpp_quote(" HRESULT (WINAPI *SelectDefaultMenuLanguage)(IDvdControl2 *This,LCID Language);") 4178cpp_quote(" HRESULT (WINAPI *SelectDefaultAudioLanguage)(IDvdControl2 *This,LCID Language,DVD_AUDIO_LANG_EXT audioExtension);") 4179cpp_quote(" HRESULT (WINAPI *SelectDefaultSubpictureLanguage)(IDvdControl2 *This,LCID Language,DVD_SUBPICTURE_LANG_EXT subpictureExtension);") 4180cpp_quote(" END_INTERFACE") 4181cpp_quote(" } IDvdControl2Vtbl;") 4182cpp_quote(" struct IDvdControl2 {") 4183cpp_quote(" CONST_VTBL struct IDvdControl2Vtbl *lpVtbl;") 4184cpp_quote(" };") 4185cpp_quote("#ifdef COBJMACROS") 4186cpp_quote("#define IDvdControl2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 4187cpp_quote("#define IDvdControl2_AddRef(This) (This)->lpVtbl->AddRef(This)") 4188cpp_quote("#define IDvdControl2_Release(This) (This)->lpVtbl->Release(This)") 4189cpp_quote("#define IDvdControl2_PlayTitle(This,ulTitle,dwFlags,ppCmd) (This)->lpVtbl->PlayTitle(This,ulTitle,dwFlags,ppCmd)") 4190cpp_quote("#define IDvdControl2_PlayChapterInTitle(This,ulTitle,ulChapter,dwFlags,ppCmd) (This)->lpVtbl->PlayChapterInTitle(This,ulTitle,ulChapter,dwFlags,ppCmd)") 4191cpp_quote("#define IDvdControl2_PlayAtTimeInTitle(This,ulTitle,pStartTime,dwFlags,ppCmd) (This)->lpVtbl->PlayAtTimeInTitle(This,ulTitle,pStartTime,dwFlags,ppCmd)") 4192cpp_quote("#define IDvdControl2_Stop(This) (This)->lpVtbl->Stop(This)") 4193cpp_quote("#define IDvdControl2_ReturnFromSubmenu(This,dwFlags,ppCmd) (This)->lpVtbl->ReturnFromSubmenu(This,dwFlags,ppCmd)") 4194cpp_quote("#define IDvdControl2_PlayAtTime(This,pTime,dwFlags,ppCmd) (This)->lpVtbl->PlayAtTime(This,pTime,dwFlags,ppCmd)") 4195cpp_quote("#define IDvdControl2_PlayChapter(This,ulChapter,dwFlags,ppCmd) (This)->lpVtbl->PlayChapter(This,ulChapter,dwFlags,ppCmd)") 4196cpp_quote("#define IDvdControl2_PlayPrevChapter(This,dwFlags,ppCmd) (This)->lpVtbl->PlayPrevChapter(This,dwFlags,ppCmd)") 4197cpp_quote("#define IDvdControl2_ReplayChapter(This,dwFlags,ppCmd) (This)->lpVtbl->ReplayChapter(This,dwFlags,ppCmd)") 4198cpp_quote("#define IDvdControl2_PlayNextChapter(This,dwFlags,ppCmd) (This)->lpVtbl->PlayNextChapter(This,dwFlags,ppCmd)") 4199cpp_quote("#define IDvdControl2_PlayForwards(This,dSpeed,dwFlags,ppCmd) (This)->lpVtbl->PlayForwards(This,dSpeed,dwFlags,ppCmd)") 4200cpp_quote("#define IDvdControl2_PlayBackwards(This,dSpeed,dwFlags,ppCmd) (This)->lpVtbl->PlayBackwards(This,dSpeed,dwFlags,ppCmd)") 4201cpp_quote("#define IDvdControl2_ShowMenu(This,MenuID,dwFlags,ppCmd) (This)->lpVtbl->ShowMenu(This,MenuID,dwFlags,ppCmd)") 4202cpp_quote("#define IDvdControl2_Resume(This,dwFlags,ppCmd) (This)->lpVtbl->Resume(This,dwFlags,ppCmd)") 4203cpp_quote("#define IDvdControl2_SelectRelativeButton(This,buttonDir) (This)->lpVtbl->SelectRelativeButton(This,buttonDir)") 4204cpp_quote("#define IDvdControl2_ActivateButton(This) (This)->lpVtbl->ActivateButton(This)") 4205cpp_quote("#define IDvdControl2_SelectButton(This,ulButton) (This)->lpVtbl->SelectButton(This,ulButton)") 4206cpp_quote("#define IDvdControl2_SelectAndActivateButton(This,ulButton) (This)->lpVtbl->SelectAndActivateButton(This,ulButton)") 4207cpp_quote("#define IDvdControl2_StillOff(This) (This)->lpVtbl->StillOff(This)") 4208cpp_quote("#define IDvdControl2_Pause(This,bState) (This)->lpVtbl->Pause(This,bState)") 4209cpp_quote("#define IDvdControl2_SelectAudioStream(This,ulAudio,dwFlags,ppCmd) (This)->lpVtbl->SelectAudioStream(This,ulAudio,dwFlags,ppCmd)") 4210cpp_quote("#define IDvdControl2_SelectSubpictureStream(This,ulSubPicture,dwFlags,ppCmd) (This)->lpVtbl->SelectSubpictureStream(This,ulSubPicture,dwFlags,ppCmd)") 4211cpp_quote("#define IDvdControl2_SetSubpictureState(This,bState,dwFlags,ppCmd) (This)->lpVtbl->SetSubpictureState(This,bState,dwFlags,ppCmd)") 4212cpp_quote("#define IDvdControl2_SelectAngle(This,ulAngle,dwFlags,ppCmd) (This)->lpVtbl->SelectAngle(This,ulAngle,dwFlags,ppCmd)") 4213cpp_quote("#define IDvdControl2_SelectParentalLevel(This,ulParentalLevel) (This)->lpVtbl->SelectParentalLevel(This,ulParentalLevel)") 4214cpp_quote("#define IDvdControl2_SelectParentalCountry(This,bCountry) (This)->lpVtbl->SelectParentalCountry(This,bCountry)") 4215cpp_quote("#define IDvdControl2_SelectKaraokeAudioPresentationMode(This,ulMode) (This)->lpVtbl->SelectKaraokeAudioPresentationMode(This,ulMode)") 4216cpp_quote("#define IDvdControl2_SelectVideoModePreference(This,ulPreferredDisplayMode) (This)->lpVtbl->SelectVideoModePreference(This,ulPreferredDisplayMode)") 4217cpp_quote("#define IDvdControl2_SetDVDDirectory(This,pszwPath) (This)->lpVtbl->SetDVDDirectory(This,pszwPath)") 4218cpp_quote("#define IDvdControl2_ActivateAtPosition(This,point) (This)->lpVtbl->ActivateAtPosition(This,point)") 4219cpp_quote("#define IDvdControl2_SelectAtPosition(This,point) (This)->lpVtbl->SelectAtPosition(This,point)") 4220cpp_quote("#define IDvdControl2_PlayChaptersAutoStop(This,ulTitle,ulChapter,ulChaptersToPlay,dwFlags,ppCmd) (This)->lpVtbl->PlayChaptersAutoStop(This,ulTitle,ulChapter,ulChaptersToPlay,dwFlags,ppCmd)") 4221cpp_quote("#define IDvdControl2_AcceptParentalLevelChange(This,bAccept) (This)->lpVtbl->AcceptParentalLevelChange(This,bAccept)") 4222cpp_quote("#define IDvdControl2_SetOption(This,flag,fState) (This)->lpVtbl->SetOption(This,flag,fState)") 4223cpp_quote("#define IDvdControl2_SetState(This,pState,dwFlags,ppCmd) (This)->lpVtbl->SetState(This,pState,dwFlags,ppCmd)") 4224cpp_quote("#define IDvdControl2_PlayPeriodInTitleAutoStop(This,ulTitle,pStartTime,pEndTime,dwFlags,ppCmd) (This)->lpVtbl->PlayPeriodInTitleAutoStop(This,ulTitle,pStartTime,pEndTime,dwFlags,ppCmd)") 4225cpp_quote("#define IDvdControl2_SetGPRM(This,ulIndex,wValue,dwFlags,ppCmd) (This)->lpVtbl->SetGPRM(This,ulIndex,wValue,dwFlags,ppCmd)") 4226cpp_quote("#define IDvdControl2_SelectDefaultMenuLanguage(This,Language) (This)->lpVtbl->SelectDefaultMenuLanguage(This,Language)") 4227cpp_quote("#define IDvdControl2_SelectDefaultAudioLanguage(This,Language,audioExtension) (This)->lpVtbl->SelectDefaultAudioLanguage(This,Language,audioExtension)") 4228cpp_quote("#define IDvdControl2_SelectDefaultSubpictureLanguage(This,Language,subpictureExtension) (This)->lpVtbl->SelectDefaultSubpictureLanguage(This,Language,subpictureExtension)") 4229cpp_quote("#endif") 4230cpp_quote("#endif") 4231cpp_quote(" HRESULT WINAPI IDvdControl2_PlayTitle_Proxy(IDvdControl2 *This,ULONG ulTitle,DWORD dwFlags,IDvdCmd **ppCmd);") 4232cpp_quote(" void __RPC_STUB IDvdControl2_PlayTitle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4233cpp_quote(" HRESULT WINAPI IDvdControl2_PlayChapterInTitle_Proxy(IDvdControl2 *This,ULONG ulTitle,ULONG ulChapter,DWORD dwFlags,IDvdCmd **ppCmd);") 4234cpp_quote(" void __RPC_STUB IDvdControl2_PlayChapterInTitle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4235cpp_quote(" HRESULT WINAPI IDvdControl2_PlayAtTimeInTitle_Proxy(IDvdControl2 *This,ULONG ulTitle,DVD_HMSF_TIMECODE *pStartTime,DWORD dwFlags,IDvdCmd **ppCmd);") 4236cpp_quote(" void __RPC_STUB IDvdControl2_PlayAtTimeInTitle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4237cpp_quote(" HRESULT WINAPI IDvdControl2_Stop_Proxy(IDvdControl2 *This);") 4238cpp_quote(" void __RPC_STUB IDvdControl2_Stop_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4239cpp_quote(" HRESULT WINAPI IDvdControl2_ReturnFromSubmenu_Proxy(IDvdControl2 *This,DWORD dwFlags,IDvdCmd **ppCmd);") 4240cpp_quote(" void __RPC_STUB IDvdControl2_ReturnFromSubmenu_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4241cpp_quote(" HRESULT WINAPI IDvdControl2_PlayAtTime_Proxy(IDvdControl2 *This,DVD_HMSF_TIMECODE *pTime,DWORD dwFlags,IDvdCmd **ppCmd);") 4242cpp_quote(" void __RPC_STUB IDvdControl2_PlayAtTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4243cpp_quote(" HRESULT WINAPI IDvdControl2_PlayChapter_Proxy(IDvdControl2 *This,ULONG ulChapter,DWORD dwFlags,IDvdCmd **ppCmd);") 4244cpp_quote(" void __RPC_STUB IDvdControl2_PlayChapter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4245cpp_quote(" HRESULT WINAPI IDvdControl2_PlayPrevChapter_Proxy(IDvdControl2 *This,DWORD dwFlags,IDvdCmd **ppCmd);") 4246cpp_quote(" void __RPC_STUB IDvdControl2_PlayPrevChapter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4247cpp_quote(" HRESULT WINAPI IDvdControl2_ReplayChapter_Proxy(IDvdControl2 *This,DWORD dwFlags,IDvdCmd **ppCmd);") 4248cpp_quote(" void __RPC_STUB IDvdControl2_ReplayChapter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4249cpp_quote(" HRESULT WINAPI IDvdControl2_PlayNextChapter_Proxy(IDvdControl2 *This,DWORD dwFlags,IDvdCmd **ppCmd);") 4250cpp_quote(" void __RPC_STUB IDvdControl2_PlayNextChapter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4251cpp_quote(" HRESULT WINAPI IDvdControl2_PlayForwards_Proxy(IDvdControl2 *This,double dSpeed,DWORD dwFlags,IDvdCmd **ppCmd);") 4252cpp_quote(" void __RPC_STUB IDvdControl2_PlayForwards_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4253cpp_quote(" HRESULT WINAPI IDvdControl2_PlayBackwards_Proxy(IDvdControl2 *This,double dSpeed,DWORD dwFlags,IDvdCmd **ppCmd);") 4254cpp_quote(" void __RPC_STUB IDvdControl2_PlayBackwards_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4255cpp_quote(" HRESULT WINAPI IDvdControl2_ShowMenu_Proxy(IDvdControl2 *This,DVD_MENU_ID MenuID,DWORD dwFlags,IDvdCmd **ppCmd);") 4256cpp_quote(" void __RPC_STUB IDvdControl2_ShowMenu_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4257cpp_quote(" HRESULT WINAPI IDvdControl2_Resume_Proxy(IDvdControl2 *This,DWORD dwFlags,IDvdCmd **ppCmd);") 4258cpp_quote(" void __RPC_STUB IDvdControl2_Resume_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4259cpp_quote(" HRESULT WINAPI IDvdControl2_SelectRelativeButton_Proxy(IDvdControl2 *This,DVD_RELATIVE_BUTTON buttonDir);") 4260cpp_quote(" void __RPC_STUB IDvdControl2_SelectRelativeButton_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4261cpp_quote(" HRESULT WINAPI IDvdControl2_ActivateButton_Proxy(IDvdControl2 *This);") 4262cpp_quote(" void __RPC_STUB IDvdControl2_ActivateButton_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4263cpp_quote(" HRESULT WINAPI IDvdControl2_SelectButton_Proxy(IDvdControl2 *This,ULONG ulButton);") 4264cpp_quote(" void __RPC_STUB IDvdControl2_SelectButton_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4265cpp_quote(" HRESULT WINAPI IDvdControl2_SelectAndActivateButton_Proxy(IDvdControl2 *This,ULONG ulButton);") 4266cpp_quote(" void __RPC_STUB IDvdControl2_SelectAndActivateButton_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4267cpp_quote(" HRESULT WINAPI IDvdControl2_StillOff_Proxy(IDvdControl2 *This);") 4268cpp_quote(" void __RPC_STUB IDvdControl2_StillOff_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4269cpp_quote(" HRESULT WINAPI IDvdControl2_Pause_Proxy(IDvdControl2 *This,WINBOOL bState);") 4270cpp_quote(" void __RPC_STUB IDvdControl2_Pause_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4271cpp_quote(" HRESULT WINAPI IDvdControl2_SelectAudioStream_Proxy(IDvdControl2 *This,ULONG ulAudio,DWORD dwFlags,IDvdCmd **ppCmd);") 4272cpp_quote(" void __RPC_STUB IDvdControl2_SelectAudioStream_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4273cpp_quote(" HRESULT WINAPI IDvdControl2_SelectSubpictureStream_Proxy(IDvdControl2 *This,ULONG ulSubPicture,DWORD dwFlags,IDvdCmd **ppCmd);") 4274cpp_quote(" void __RPC_STUB IDvdControl2_SelectSubpictureStream_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4275cpp_quote(" HRESULT WINAPI IDvdControl2_SetSubpictureState_Proxy(IDvdControl2 *This,WINBOOL bState,DWORD dwFlags,IDvdCmd **ppCmd);") 4276cpp_quote(" void __RPC_STUB IDvdControl2_SetSubpictureState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4277cpp_quote(" HRESULT WINAPI IDvdControl2_SelectAngle_Proxy(IDvdControl2 *This,ULONG ulAngle,DWORD dwFlags,IDvdCmd **ppCmd);") 4278cpp_quote(" void __RPC_STUB IDvdControl2_SelectAngle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4279cpp_quote(" HRESULT WINAPI IDvdControl2_SelectParentalLevel_Proxy(IDvdControl2 *This,ULONG ulParentalLevel);") 4280cpp_quote(" void __RPC_STUB IDvdControl2_SelectParentalLevel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4281cpp_quote(" HRESULT WINAPI IDvdControl2_SelectParentalCountry_Proxy(IDvdControl2 *This,BYTE bCountry[2]);") 4282cpp_quote(" void __RPC_STUB IDvdControl2_SelectParentalCountry_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4283cpp_quote(" HRESULT WINAPI IDvdControl2_SelectKaraokeAudioPresentationMode_Proxy(IDvdControl2 *This,ULONG ulMode);") 4284cpp_quote(" void __RPC_STUB IDvdControl2_SelectKaraokeAudioPresentationMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4285cpp_quote(" HRESULT WINAPI IDvdControl2_SelectVideoModePreference_Proxy(IDvdControl2 *This,ULONG ulPreferredDisplayMode);") 4286cpp_quote(" void __RPC_STUB IDvdControl2_SelectVideoModePreference_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4287cpp_quote(" HRESULT WINAPI IDvdControl2_SetDVDDirectory_Proxy(IDvdControl2 *This,LPCWSTR pszwPath);") 4288cpp_quote(" void __RPC_STUB IDvdControl2_SetDVDDirectory_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4289cpp_quote(" HRESULT WINAPI IDvdControl2_ActivateAtPosition_Proxy(IDvdControl2 *This,POINT point);") 4290cpp_quote(" void __RPC_STUB IDvdControl2_ActivateAtPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4291cpp_quote(" HRESULT WINAPI IDvdControl2_SelectAtPosition_Proxy(IDvdControl2 *This,POINT point);") 4292cpp_quote(" void __RPC_STUB IDvdControl2_SelectAtPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4293cpp_quote(" HRESULT WINAPI IDvdControl2_PlayChaptersAutoStop_Proxy(IDvdControl2 *This,ULONG ulTitle,ULONG ulChapter,ULONG ulChaptersToPlay,DWORD dwFlags,IDvdCmd **ppCmd);") 4294cpp_quote(" void __RPC_STUB IDvdControl2_PlayChaptersAutoStop_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4295cpp_quote(" HRESULT WINAPI IDvdControl2_AcceptParentalLevelChange_Proxy(IDvdControl2 *This,WINBOOL bAccept);") 4296cpp_quote(" void __RPC_STUB IDvdControl2_AcceptParentalLevelChange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4297cpp_quote(" HRESULT WINAPI IDvdControl2_SetOption_Proxy(IDvdControl2 *This,DVD_OPTION_FLAG flag,WINBOOL fState);") 4298cpp_quote(" void __RPC_STUB IDvdControl2_SetOption_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4299cpp_quote(" HRESULT WINAPI IDvdControl2_SetState_Proxy(IDvdControl2 *This,IDvdState *pState,DWORD dwFlags,IDvdCmd **ppCmd);") 4300cpp_quote(" void __RPC_STUB IDvdControl2_SetState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4301cpp_quote(" HRESULT WINAPI IDvdControl2_PlayPeriodInTitleAutoStop_Proxy(IDvdControl2 *This,ULONG ulTitle,DVD_HMSF_TIMECODE *pStartTime,DVD_HMSF_TIMECODE *pEndTime,DWORD dwFlags,IDvdCmd **ppCmd);") 4302cpp_quote(" void __RPC_STUB IDvdControl2_PlayPeriodInTitleAutoStop_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4303cpp_quote(" HRESULT WINAPI IDvdControl2_SetGPRM_Proxy(IDvdControl2 *This,ULONG ulIndex,WORD wValue,DWORD dwFlags,IDvdCmd **ppCmd);") 4304cpp_quote(" void __RPC_STUB IDvdControl2_SetGPRM_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4305cpp_quote(" HRESULT WINAPI IDvdControl2_SelectDefaultMenuLanguage_Proxy(IDvdControl2 *This,LCID Language);") 4306cpp_quote(" void __RPC_STUB IDvdControl2_SelectDefaultMenuLanguage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4307cpp_quote(" HRESULT WINAPI IDvdControl2_SelectDefaultAudioLanguage_Proxy(IDvdControl2 *This,LCID Language,DVD_AUDIO_LANG_EXT audioExtension);") 4308cpp_quote(" void __RPC_STUB IDvdControl2_SelectDefaultAudioLanguage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4309cpp_quote(" HRESULT WINAPI IDvdControl2_SelectDefaultSubpictureLanguage_Proxy(IDvdControl2 *This,LCID Language,DVD_SUBPICTURE_LANG_EXT subpictureExtension);") 4310cpp_quote(" void __RPC_STUB IDvdControl2_SelectDefaultSubpictureLanguage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4311cpp_quote("#endif") 4312cpp_quote("") 4313cpp_quote(" enum DVD_TextStringType {") 4314cpp_quote(" DVD_Struct_Volume = 0x1,DVD_Struct_Title = 0x2,DVD_Struct_ParentalID = 0x3,DVD_Struct_PartOfTitle = 0x4,DVD_Struct_Cell = 0x5,") 4315cpp_quote(" DVD_Stream_Audio = 0x10,DVD_Stream_Subpicture = 0x11,DVD_Stream_Angle = 0x12,DVD_Channel_Audio = 0x20,DVD_General_Name = 0x30,") 4316cpp_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,") 4317cpp_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,") 4318cpp_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,") 4319cpp_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") 4320cpp_quote(" };") 4321cpp_quote("") 4322cpp_quote(" enum DVD_TextCharSet {") 4323cpp_quote(" DVD_CharSet_Unicode = 0,DVD_CharSet_ISO646 = 1,DVD_CharSet_JIS_Roman_Kanji = 2,DVD_CharSet_ISO8859_1 = 3,") 4324cpp_quote(" DVD_CharSet_ShiftJIS_Kanji_Roman_Katakana = 4") 4325cpp_quote(" };") 4326cpp_quote("#define DVD_TITLE_MENU 0x000") 4327cpp_quote("#define DVD_STREAM_DATA_CURRENT 0x800") 4328cpp_quote("#define DVD_STREAM_DATA_VMGM 0x400") 4329cpp_quote("#define DVD_STREAM_DATA_VTSM 0x401") 4330cpp_quote("#define DVD_DEFAULT_AUDIO_STREAM 0x0f") 4331cpp_quote("") 4332cpp_quote(" typedef struct tagDVD_DECODER_CAPS {") 4333cpp_quote(" DWORD dwSize;") 4334cpp_quote(" DWORD dwAudioCaps;") 4335cpp_quote(" double dFwdMaxRateVideo;") 4336cpp_quote(" double dFwdMaxRateAudio;") 4337cpp_quote(" double dFwdMaxRateSP;") 4338cpp_quote(" double dBwdMaxRateVideo;") 4339cpp_quote(" double dBwdMaxRateAudio;") 4340cpp_quote(" double dBwdMaxRateSP;") 4341cpp_quote(" DWORD dwRes1;") 4342cpp_quote(" DWORD dwRes2;") 4343cpp_quote(" DWORD dwRes3;") 4344cpp_quote(" DWORD dwRes4;") 4345cpp_quote(" } DVD_DECODER_CAPS;") 4346cpp_quote("") 4347cpp_quote("#define DVD_AUDIO_CAPS_AC3 0x00000001") 4348cpp_quote("#define DVD_AUDIO_CAPS_MPEG2 0x00000002") 4349cpp_quote("#define DVD_AUDIO_CAPS_LPCM 0x00000004") 4350cpp_quote("#define DVD_AUDIO_CAPS_DTS 0x00000008") 4351cpp_quote("#define DVD_AUDIO_CAPS_SDDS 0x00000010") 4352cpp_quote("") 4353cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0387_v0_0_c_ifspec;") 4354cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0387_v0_0_s_ifspec;") 4355cpp_quote("#ifndef __IDvdInfo2_INTERFACE_DEFINED__") 4356cpp_quote("#define __IDvdInfo2_INTERFACE_DEFINED__") 4357cpp_quote(" EXTERN_C const IID IID_IDvdInfo2;") 4358cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 4359cpp_quote(" struct IDvdInfo2 : public IUnknown {") 4360cpp_quote(" public:") 4361cpp_quote(" virtual HRESULT WINAPI GetCurrentDomain(DVD_DOMAIN *pDomain) = 0;") 4362cpp_quote(" virtual HRESULT WINAPI GetCurrentLocation(DVD_PLAYBACK_LOCATION2 *pLocation) = 0;") 4363cpp_quote(" virtual HRESULT WINAPI GetTotalTitleTime(DVD_HMSF_TIMECODE *pTotalTime,ULONG *ulTimeCodeFlags) = 0;") 4364cpp_quote(" virtual HRESULT WINAPI GetCurrentButton(ULONG *pulButtonsAvailable,ULONG *pulCurrentButton) = 0;") 4365cpp_quote(" virtual HRESULT WINAPI GetCurrentAngle(ULONG *pulAnglesAvailable,ULONG *pulCurrentAngle) = 0;") 4366cpp_quote(" virtual HRESULT WINAPI GetCurrentAudio(ULONG *pulStreamsAvailable,ULONG *pulCurrentStream) = 0;") 4367cpp_quote(" virtual HRESULT WINAPI GetCurrentSubpicture(ULONG *pulStreamsAvailable,ULONG *pulCurrentStream,WINBOOL *pbIsDisabled) = 0;") 4368cpp_quote(" virtual HRESULT WINAPI GetCurrentUOPS(ULONG *pulUOPs) = 0;") 4369cpp_quote(" virtual HRESULT WINAPI GetAllSPRMs(SPRMARRAY *pRegisterArray) = 0;") 4370cpp_quote(" virtual HRESULT WINAPI GetAllGPRMs(GPRMARRAY *pRegisterArray) = 0;") 4371cpp_quote(" virtual HRESULT WINAPI GetAudioLanguage(ULONG ulStream,LCID *pLanguage) = 0;") 4372cpp_quote(" virtual HRESULT WINAPI GetSubpictureLanguage(ULONG ulStream,LCID *pLanguage) = 0;") 4373cpp_quote(" virtual HRESULT WINAPI GetTitleAttributes(ULONG ulTitle,DVD_MenuAttributes *pMenu,DVD_TitleAttributes *pTitle) = 0;") 4374cpp_quote(" virtual HRESULT WINAPI GetVMGAttributes(DVD_MenuAttributes *pATR) = 0;") 4375cpp_quote(" virtual HRESULT WINAPI GetCurrentVideoAttributes(DVD_VideoAttributes *pATR) = 0;") 4376cpp_quote(" virtual HRESULT WINAPI GetAudioAttributes(ULONG ulStream,DVD_AudioAttributes *pATR) = 0;") 4377cpp_quote(" virtual HRESULT WINAPI GetKaraokeAttributes(ULONG ulStream,DVD_KaraokeAttributes *pAttributes) = 0;") 4378cpp_quote(" virtual HRESULT WINAPI GetSubpictureAttributes(ULONG ulStream,DVD_SubpictureAttributes *pATR) = 0;") 4379cpp_quote(" virtual HRESULT WINAPI GetDVDVolumeInfo(ULONG *pulNumOfVolumes,ULONG *pulVolume,DVD_DISC_SIDE *pSide,ULONG *pulNumOfTitles) = 0;") 4380cpp_quote(" virtual HRESULT WINAPI GetDVDTextNumberOfLanguages(ULONG *pulNumOfLangs) = 0;") 4381cpp_quote(" virtual HRESULT WINAPI GetDVDTextLanguageInfo(ULONG ulLangIndex,ULONG *pulNumOfStrings,LCID *pLangCode,enum DVD_TextCharSet *pbCharacterSet) = 0;") 4382cpp_quote(" virtual HRESULT WINAPI GetDVDTextStringAsNative(ULONG ulLangIndex,ULONG ulStringIndex,BYTE *pbBuffer,ULONG ulMaxBufferSize,ULONG *pulActualSize,enum DVD_TextStringType *pType) = 0;") 4383cpp_quote(" virtual HRESULT WINAPI GetDVDTextStringAsUnicode(ULONG ulLangIndex,ULONG ulStringIndex,WCHAR *pchwBuffer,ULONG ulMaxBufferSize,ULONG *pulActualSize,enum DVD_TextStringType *pType) = 0;") 4384cpp_quote(" virtual HRESULT WINAPI GetPlayerParentalLevel(ULONG *pulParentalLevel,BYTE pbCountryCode[2]) = 0;") 4385cpp_quote(" virtual HRESULT WINAPI GetNumberOfChapters(ULONG ulTitle,ULONG *pulNumOfChapters) = 0;") 4386cpp_quote(" virtual HRESULT WINAPI GetTitleParentalLevels(ULONG ulTitle,ULONG *pulParentalLevels) = 0;") 4387cpp_quote(" virtual HRESULT WINAPI GetDVDDirectory(LPWSTR pszwPath,ULONG ulMaxSize,ULONG *pulActualSize) = 0;") 4388cpp_quote(" virtual HRESULT WINAPI IsAudioStreamEnabled(ULONG ulStreamNum,WINBOOL *pbEnabled) = 0;") 4389cpp_quote(" virtual HRESULT WINAPI GetDiscID(LPCWSTR pszwPath,ULONGLONG *pullDiscID) = 0;") 4390cpp_quote(" virtual HRESULT WINAPI GetState(IDvdState **pStateData) = 0;") 4391cpp_quote(" virtual HRESULT WINAPI GetMenuLanguages(LCID *pLanguages,ULONG ulMaxLanguages,ULONG *pulActualLanguages) = 0;") 4392cpp_quote(" virtual HRESULT WINAPI GetButtonAtPosition(POINT point,ULONG *pulButtonIndex) = 0;") 4393cpp_quote(" virtual HRESULT WINAPI GetCmdFromEvent(LONG_PTR lParam1,IDvdCmd **pCmdObj) = 0;") 4394cpp_quote(" virtual HRESULT WINAPI GetDefaultMenuLanguage(LCID *pLanguage) = 0;") 4395cpp_quote(" virtual HRESULT WINAPI GetDefaultAudioLanguage(LCID *pLanguage,DVD_AUDIO_LANG_EXT *pAudioExtension) = 0;") 4396cpp_quote(" virtual HRESULT WINAPI GetDefaultSubpictureLanguage(LCID *pLanguage,DVD_SUBPICTURE_LANG_EXT *pSubpictureExtension) = 0;") 4397cpp_quote(" virtual HRESULT WINAPI GetDecoderCaps(DVD_DECODER_CAPS *pCaps) = 0;") 4398cpp_quote(" virtual HRESULT WINAPI GetButtonRect(ULONG ulButton,RECT *pRect) = 0;") 4399cpp_quote(" virtual HRESULT WINAPI IsSubpictureStreamEnabled(ULONG ulStreamNum,WINBOOL *pbEnabled) = 0;") 4400cpp_quote(" };") 4401cpp_quote("#else") 4402cpp_quote(" typedef struct IDvdInfo2Vtbl {") 4403cpp_quote(" BEGIN_INTERFACE") 4404cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDvdInfo2 *This,REFIID riid,void **ppvObject);") 4405cpp_quote(" ULONG (WINAPI *AddRef)(IDvdInfo2 *This);") 4406cpp_quote(" ULONG (WINAPI *Release)(IDvdInfo2 *This);") 4407cpp_quote(" HRESULT (WINAPI *GetCurrentDomain)(IDvdInfo2 *This,DVD_DOMAIN *pDomain);") 4408cpp_quote(" HRESULT (WINAPI *GetCurrentLocation)(IDvdInfo2 *This,DVD_PLAYBACK_LOCATION2 *pLocation);") 4409cpp_quote(" HRESULT (WINAPI *GetTotalTitleTime)(IDvdInfo2 *This,DVD_HMSF_TIMECODE *pTotalTime,ULONG *ulTimeCodeFlags);") 4410cpp_quote(" HRESULT (WINAPI *GetCurrentButton)(IDvdInfo2 *This,ULONG *pulButtonsAvailable,ULONG *pulCurrentButton);") 4411cpp_quote(" HRESULT (WINAPI *GetCurrentAngle)(IDvdInfo2 *This,ULONG *pulAnglesAvailable,ULONG *pulCurrentAngle);") 4412cpp_quote(" HRESULT (WINAPI *GetCurrentAudio)(IDvdInfo2 *This,ULONG *pulStreamsAvailable,ULONG *pulCurrentStream);") 4413cpp_quote(" HRESULT (WINAPI *GetCurrentSubpicture)(IDvdInfo2 *This,ULONG *pulStreamsAvailable,ULONG *pulCurrentStream,WINBOOL *pbIsDisabled);") 4414cpp_quote(" HRESULT (WINAPI *GetCurrentUOPS)(IDvdInfo2 *This,ULONG *pulUOPs);") 4415cpp_quote(" HRESULT (WINAPI *GetAllSPRMs)(IDvdInfo2 *This,SPRMARRAY *pRegisterArray);") 4416cpp_quote(" HRESULT (WINAPI *GetAllGPRMs)(IDvdInfo2 *This,GPRMARRAY *pRegisterArray);") 4417cpp_quote(" HRESULT (WINAPI *GetAudioLanguage)(IDvdInfo2 *This,ULONG ulStream,LCID *pLanguage);") 4418cpp_quote(" HRESULT (WINAPI *GetSubpictureLanguage)(IDvdInfo2 *This,ULONG ulStream,LCID *pLanguage);") 4419cpp_quote(" HRESULT (WINAPI *GetTitleAttributes)(IDvdInfo2 *This,ULONG ulTitle,DVD_MenuAttributes *pMenu,DVD_TitleAttributes *pTitle);") 4420cpp_quote(" HRESULT (WINAPI *GetVMGAttributes)(IDvdInfo2 *This,DVD_MenuAttributes *pATR);") 4421cpp_quote(" HRESULT (WINAPI *GetCurrentVideoAttributes)(IDvdInfo2 *This,DVD_VideoAttributes *pATR);") 4422cpp_quote(" HRESULT (WINAPI *GetAudioAttributes)(IDvdInfo2 *This,ULONG ulStream,DVD_AudioAttributes *pATR);") 4423cpp_quote(" HRESULT (WINAPI *GetKaraokeAttributes)(IDvdInfo2 *This,ULONG ulStream,DVD_KaraokeAttributes *pAttributes);") 4424cpp_quote(" HRESULT (WINAPI *GetSubpictureAttributes)(IDvdInfo2 *This,ULONG ulStream,DVD_SubpictureAttributes *pATR);") 4425cpp_quote(" HRESULT (WINAPI *GetDVDVolumeInfo)(IDvdInfo2 *This,ULONG *pulNumOfVolumes,ULONG *pulVolume,DVD_DISC_SIDE *pSide,ULONG *pulNumOfTitles);") 4426cpp_quote(" HRESULT (WINAPI *GetDVDTextNumberOfLanguages)(IDvdInfo2 *This,ULONG *pulNumOfLangs);") 4427cpp_quote(" HRESULT (WINAPI *GetDVDTextLanguageInfo)(IDvdInfo2 *This,ULONG ulLangIndex,ULONG *pulNumOfStrings,LCID *pLangCode,enum DVD_TextCharSet *pbCharacterSet);") 4428cpp_quote(" HRESULT (WINAPI *GetDVDTextStringAsNative)(IDvdInfo2 *This,ULONG ulLangIndex,ULONG ulStringIndex,BYTE *pbBuffer,ULONG ulMaxBufferSize,ULONG *pulActualSize,enum DVD_TextStringType *pType);") 4429cpp_quote(" HRESULT (WINAPI *GetDVDTextStringAsUnicode)(IDvdInfo2 *This,ULONG ulLangIndex,ULONG ulStringIndex,WCHAR *pchwBuffer,ULONG ulMaxBufferSize,ULONG *pulActualSize,enum DVD_TextStringType *pType);") 4430cpp_quote(" HRESULT (WINAPI *GetPlayerParentalLevel)(IDvdInfo2 *This,ULONG *pulParentalLevel,BYTE pbCountryCode[2]);") 4431cpp_quote(" HRESULT (WINAPI *GetNumberOfChapters)(IDvdInfo2 *This,ULONG ulTitle,ULONG *pulNumOfChapters);") 4432cpp_quote(" HRESULT (WINAPI *GetTitleParentalLevels)(IDvdInfo2 *This,ULONG ulTitle,ULONG *pulParentalLevels);") 4433cpp_quote(" HRESULT (WINAPI *GetDVDDirectory)(IDvdInfo2 *This,LPWSTR pszwPath,ULONG ulMaxSize,ULONG *pulActualSize);") 4434cpp_quote(" HRESULT (WINAPI *IsAudioStreamEnabled)(IDvdInfo2 *This,ULONG ulStreamNum,WINBOOL *pbEnabled);") 4435cpp_quote(" HRESULT (WINAPI *GetDiscID)(IDvdInfo2 *This,LPCWSTR pszwPath,ULONGLONG *pullDiscID);") 4436cpp_quote(" HRESULT (WINAPI *GetState)(IDvdInfo2 *This,IDvdState **pStateData);") 4437cpp_quote(" HRESULT (WINAPI *GetMenuLanguages)(IDvdInfo2 *This,LCID *pLanguages,ULONG ulMaxLanguages,ULONG *pulActualLanguages);") 4438cpp_quote(" HRESULT (WINAPI *GetButtonAtPosition)(IDvdInfo2 *This,POINT point,ULONG *pulButtonIndex);") 4439cpp_quote(" HRESULT (WINAPI *GetCmdFromEvent)(IDvdInfo2 *This,LONG_PTR lParam1,IDvdCmd **pCmdObj);") 4440cpp_quote(" HRESULT (WINAPI *GetDefaultMenuLanguage)(IDvdInfo2 *This,LCID *pLanguage);") 4441cpp_quote(" HRESULT (WINAPI *GetDefaultAudioLanguage)(IDvdInfo2 *This,LCID *pLanguage,DVD_AUDIO_LANG_EXT *pAudioExtension);") 4442cpp_quote(" HRESULT (WINAPI *GetDefaultSubpictureLanguage)(IDvdInfo2 *This,LCID *pLanguage,DVD_SUBPICTURE_LANG_EXT *pSubpictureExtension);") 4443cpp_quote(" HRESULT (WINAPI *GetDecoderCaps)(IDvdInfo2 *This,DVD_DECODER_CAPS *pCaps);") 4444cpp_quote(" HRESULT (WINAPI *GetButtonRect)(IDvdInfo2 *This,ULONG ulButton,RECT *pRect);") 4445cpp_quote(" HRESULT (WINAPI *IsSubpictureStreamEnabled)(IDvdInfo2 *This,ULONG ulStreamNum,WINBOOL *pbEnabled);") 4446cpp_quote(" END_INTERFACE") 4447cpp_quote(" } IDvdInfo2Vtbl;") 4448cpp_quote(" struct IDvdInfo2 {") 4449cpp_quote(" CONST_VTBL struct IDvdInfo2Vtbl *lpVtbl;") 4450cpp_quote(" };") 4451cpp_quote("#ifdef COBJMACROS") 4452cpp_quote("#define IDvdInfo2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 4453cpp_quote("#define IDvdInfo2_AddRef(This) (This)->lpVtbl->AddRef(This)") 4454cpp_quote("#define IDvdInfo2_Release(This) (This)->lpVtbl->Release(This)") 4455cpp_quote("#define IDvdInfo2_GetCurrentDomain(This,pDomain) (This)->lpVtbl->GetCurrentDomain(This,pDomain)") 4456cpp_quote("#define IDvdInfo2_GetCurrentLocation(This,pLocation) (This)->lpVtbl->GetCurrentLocation(This,pLocation)") 4457cpp_quote("#define IDvdInfo2_GetTotalTitleTime(This,pTotalTime,ulTimeCodeFlags) (This)->lpVtbl->GetTotalTitleTime(This,pTotalTime,ulTimeCodeFlags)") 4458cpp_quote("#define IDvdInfo2_GetCurrentButton(This,pulButtonsAvailable,pulCurrentButton) (This)->lpVtbl->GetCurrentButton(This,pulButtonsAvailable,pulCurrentButton)") 4459cpp_quote("#define IDvdInfo2_GetCurrentAngle(This,pulAnglesAvailable,pulCurrentAngle) (This)->lpVtbl->GetCurrentAngle(This,pulAnglesAvailable,pulCurrentAngle)") 4460cpp_quote("#define IDvdInfo2_GetCurrentAudio(This,pulStreamsAvailable,pulCurrentStream) (This)->lpVtbl->GetCurrentAudio(This,pulStreamsAvailable,pulCurrentStream)") 4461cpp_quote("#define IDvdInfo2_GetCurrentSubpicture(This,pulStreamsAvailable,pulCurrentStream,pbIsDisabled) (This)->lpVtbl->GetCurrentSubpicture(This,pulStreamsAvailable,pulCurrentStream,pbIsDisabled)") 4462cpp_quote("#define IDvdInfo2_GetCurrentUOPS(This,pulUOPs) (This)->lpVtbl->GetCurrentUOPS(This,pulUOPs)") 4463cpp_quote("#define IDvdInfo2_GetAllSPRMs(This,pRegisterArray) (This)->lpVtbl->GetAllSPRMs(This,pRegisterArray)") 4464cpp_quote("#define IDvdInfo2_GetAllGPRMs(This,pRegisterArray) (This)->lpVtbl->GetAllGPRMs(This,pRegisterArray)") 4465cpp_quote("#define IDvdInfo2_GetAudioLanguage(This,ulStream,pLanguage) (This)->lpVtbl->GetAudioLanguage(This,ulStream,pLanguage)") 4466cpp_quote("#define IDvdInfo2_GetSubpictureLanguage(This,ulStream,pLanguage) (This)->lpVtbl->GetSubpictureLanguage(This,ulStream,pLanguage)") 4467cpp_quote("#define IDvdInfo2_GetTitleAttributes(This,ulTitle,pMenu,pTitle) (This)->lpVtbl->GetTitleAttributes(This,ulTitle,pMenu,pTitle)") 4468cpp_quote("#define IDvdInfo2_GetVMGAttributes(This,pATR) (This)->lpVtbl->GetVMGAttributes(This,pATR)") 4469cpp_quote("#define IDvdInfo2_GetCurrentVideoAttributes(This,pATR) (This)->lpVtbl->GetCurrentVideoAttributes(This,pATR)") 4470cpp_quote("#define IDvdInfo2_GetAudioAttributes(This,ulStream,pATR) (This)->lpVtbl->GetAudioAttributes(This,ulStream,pATR)") 4471cpp_quote("#define IDvdInfo2_GetKaraokeAttributes(This,ulStream,pAttributes) (This)->lpVtbl->GetKaraokeAttributes(This,ulStream,pAttributes)") 4472cpp_quote("#define IDvdInfo2_GetSubpictureAttributes(This,ulStream,pATR) (This)->lpVtbl->GetSubpictureAttributes(This,ulStream,pATR)") 4473cpp_quote("#define IDvdInfo2_GetDVDVolumeInfo(This,pulNumOfVolumes,pulVolume,pSide,pulNumOfTitles) (This)->lpVtbl->GetDVDVolumeInfo(This,pulNumOfVolumes,pulVolume,pSide,pulNumOfTitles)") 4474cpp_quote("#define IDvdInfo2_GetDVDTextNumberOfLanguages(This,pulNumOfLangs) (This)->lpVtbl->GetDVDTextNumberOfLanguages(This,pulNumOfLangs)") 4475cpp_quote("#define IDvdInfo2_GetDVDTextLanguageInfo(This,ulLangIndex,pulNumOfStrings,pLangCode,pbCharacterSet) (This)->lpVtbl->GetDVDTextLanguageInfo(This,ulLangIndex,pulNumOfStrings,pLangCode,pbCharacterSet)") 4476cpp_quote("#define IDvdInfo2_GetDVDTextStringAsNative(This,ulLangIndex,ulStringIndex,pbBuffer,ulMaxBufferSize,pulActualSize,pType) (This)->lpVtbl->GetDVDTextStringAsNative(This,ulLangIndex,ulStringIndex,pbBuffer,ulMaxBufferSize,pulActualSize,pType)") 4477cpp_quote("#define IDvdInfo2_GetDVDTextStringAsUnicode(This,ulLangIndex,ulStringIndex,pchwBuffer,ulMaxBufferSize,pulActualSize,pType) (This)->lpVtbl->GetDVDTextStringAsUnicode(This,ulLangIndex,ulStringIndex,pchwBuffer,ulMaxBufferSize,pulActualSize,pType)") 4478cpp_quote("#define IDvdInfo2_GetPlayerParentalLevel(This,pulParentalLevel,pbCountryCode) (This)->lpVtbl->GetPlayerParentalLevel(This,pulParentalLevel,pbCountryCode)") 4479cpp_quote("#define IDvdInfo2_GetNumberOfChapters(This,ulTitle,pulNumOfChapters) (This)->lpVtbl->GetNumberOfChapters(This,ulTitle,pulNumOfChapters)") 4480cpp_quote("#define IDvdInfo2_GetTitleParentalLevels(This,ulTitle,pulParentalLevels) (This)->lpVtbl->GetTitleParentalLevels(This,ulTitle,pulParentalLevels)") 4481cpp_quote("#define IDvdInfo2_GetDVDDirectory(This,pszwPath,ulMaxSize,pulActualSize) (This)->lpVtbl->GetDVDDirectory(This,pszwPath,ulMaxSize,pulActualSize)") 4482cpp_quote("#define IDvdInfo2_IsAudioStreamEnabled(This,ulStreamNum,pbEnabled) (This)->lpVtbl->IsAudioStreamEnabled(This,ulStreamNum,pbEnabled)") 4483cpp_quote("#define IDvdInfo2_GetDiscID(This,pszwPath,pullDiscID) (This)->lpVtbl->GetDiscID(This,pszwPath,pullDiscID)") 4484cpp_quote("#define IDvdInfo2_GetState(This,pStateData) (This)->lpVtbl->GetState(This,pStateData)") 4485cpp_quote("#define IDvdInfo2_GetMenuLanguages(This,pLanguages,ulMaxLanguages,pulActualLanguages) (This)->lpVtbl->GetMenuLanguages(This,pLanguages,ulMaxLanguages,pulActualLanguages)") 4486cpp_quote("#define IDvdInfo2_GetButtonAtPosition(This,point,pulButtonIndex) (This)->lpVtbl->GetButtonAtPosition(This,point,pulButtonIndex)") 4487cpp_quote("#define IDvdInfo2_GetCmdFromEvent(This,lParam1,pCmdObj) (This)->lpVtbl->GetCmdFromEvent(This,lParam1,pCmdObj)") 4488cpp_quote("#define IDvdInfo2_GetDefaultMenuLanguage(This,pLanguage) (This)->lpVtbl->GetDefaultMenuLanguage(This,pLanguage)") 4489cpp_quote("#define IDvdInfo2_GetDefaultAudioLanguage(This,pLanguage,pAudioExtension) (This)->lpVtbl->GetDefaultAudioLanguage(This,pLanguage,pAudioExtension)") 4490cpp_quote("#define IDvdInfo2_GetDefaultSubpictureLanguage(This,pLanguage,pSubpictureExtension) (This)->lpVtbl->GetDefaultSubpictureLanguage(This,pLanguage,pSubpictureExtension)") 4491cpp_quote("#define IDvdInfo2_GetDecoderCaps(This,pCaps) (This)->lpVtbl->GetDecoderCaps(This,pCaps)") 4492cpp_quote("#define IDvdInfo2_GetButtonRect(This,ulButton,pRect) (This)->lpVtbl->GetButtonRect(This,ulButton,pRect)") 4493cpp_quote("#define IDvdInfo2_IsSubpictureStreamEnabled(This,ulStreamNum,pbEnabled) (This)->lpVtbl->IsSubpictureStreamEnabled(This,ulStreamNum,pbEnabled)") 4494cpp_quote("#endif") 4495cpp_quote("#endif") 4496cpp_quote(" HRESULT WINAPI IDvdInfo2_GetCurrentDomain_Proxy(IDvdInfo2 *This,DVD_DOMAIN *pDomain);") 4497cpp_quote(" void __RPC_STUB IDvdInfo2_GetCurrentDomain_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4498cpp_quote(" HRESULT WINAPI IDvdInfo2_GetCurrentLocation_Proxy(IDvdInfo2 *This,DVD_PLAYBACK_LOCATION2 *pLocation);") 4499cpp_quote(" void __RPC_STUB IDvdInfo2_GetCurrentLocation_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4500cpp_quote(" HRESULT WINAPI IDvdInfo2_GetTotalTitleTime_Proxy(IDvdInfo2 *This,DVD_HMSF_TIMECODE *pTotalTime,ULONG *ulTimeCodeFlags);") 4501cpp_quote(" void __RPC_STUB IDvdInfo2_GetTotalTitleTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4502cpp_quote(" HRESULT WINAPI IDvdInfo2_GetCurrentButton_Proxy(IDvdInfo2 *This,ULONG *pulButtonsAvailable,ULONG *pulCurrentButton);") 4503cpp_quote(" void __RPC_STUB IDvdInfo2_GetCurrentButton_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4504cpp_quote(" HRESULT WINAPI IDvdInfo2_GetCurrentAngle_Proxy(IDvdInfo2 *This,ULONG *pulAnglesAvailable,ULONG *pulCurrentAngle);") 4505cpp_quote(" void __RPC_STUB IDvdInfo2_GetCurrentAngle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4506cpp_quote(" HRESULT WINAPI IDvdInfo2_GetCurrentAudio_Proxy(IDvdInfo2 *This,ULONG *pulStreamsAvailable,ULONG *pulCurrentStream);") 4507cpp_quote(" void __RPC_STUB IDvdInfo2_GetCurrentAudio_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4508cpp_quote(" HRESULT WINAPI IDvdInfo2_GetCurrentSubpicture_Proxy(IDvdInfo2 *This,ULONG *pulStreamsAvailable,ULONG *pulCurrentStream,WINBOOL *pbIsDisabled);") 4509cpp_quote(" void __RPC_STUB IDvdInfo2_GetCurrentSubpicture_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4510cpp_quote(" HRESULT WINAPI IDvdInfo2_GetCurrentUOPS_Proxy(IDvdInfo2 *This,ULONG *pulUOPs);") 4511cpp_quote(" void __RPC_STUB IDvdInfo2_GetCurrentUOPS_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4512cpp_quote(" HRESULT WINAPI IDvdInfo2_GetAllSPRMs_Proxy(IDvdInfo2 *This,SPRMARRAY *pRegisterArray);") 4513cpp_quote(" void __RPC_STUB IDvdInfo2_GetAllSPRMs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4514cpp_quote(" HRESULT WINAPI IDvdInfo2_GetAllGPRMs_Proxy(IDvdInfo2 *This,GPRMARRAY *pRegisterArray);") 4515cpp_quote(" void __RPC_STUB IDvdInfo2_GetAllGPRMs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4516cpp_quote(" HRESULT WINAPI IDvdInfo2_GetAudioLanguage_Proxy(IDvdInfo2 *This,ULONG ulStream,LCID *pLanguage);") 4517cpp_quote(" void __RPC_STUB IDvdInfo2_GetAudioLanguage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4518cpp_quote(" HRESULT WINAPI IDvdInfo2_GetSubpictureLanguage_Proxy(IDvdInfo2 *This,ULONG ulStream,LCID *pLanguage);") 4519cpp_quote(" void __RPC_STUB IDvdInfo2_GetSubpictureLanguage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4520cpp_quote(" HRESULT WINAPI IDvdInfo2_GetTitleAttributes_Proxy(IDvdInfo2 *This,ULONG ulTitle,DVD_MenuAttributes *pMenu,DVD_TitleAttributes *pTitle);") 4521cpp_quote(" void __RPC_STUB IDvdInfo2_GetTitleAttributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4522cpp_quote(" HRESULT WINAPI IDvdInfo2_GetVMGAttributes_Proxy(IDvdInfo2 *This,DVD_MenuAttributes *pATR);") 4523cpp_quote(" void __RPC_STUB IDvdInfo2_GetVMGAttributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4524cpp_quote(" HRESULT WINAPI IDvdInfo2_GetCurrentVideoAttributes_Proxy(IDvdInfo2 *This,DVD_VideoAttributes *pATR);") 4525cpp_quote(" void __RPC_STUB IDvdInfo2_GetCurrentVideoAttributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4526cpp_quote(" HRESULT WINAPI IDvdInfo2_GetAudioAttributes_Proxy(IDvdInfo2 *This,ULONG ulStream,DVD_AudioAttributes *pATR);") 4527cpp_quote(" void __RPC_STUB IDvdInfo2_GetAudioAttributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4528cpp_quote(" HRESULT WINAPI IDvdInfo2_GetKaraokeAttributes_Proxy(IDvdInfo2 *This,ULONG ulStream,DVD_KaraokeAttributes *pAttributes);") 4529cpp_quote(" void __RPC_STUB IDvdInfo2_GetKaraokeAttributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4530cpp_quote(" HRESULT WINAPI IDvdInfo2_GetSubpictureAttributes_Proxy(IDvdInfo2 *This,ULONG ulStream,DVD_SubpictureAttributes *pATR);") 4531cpp_quote(" void __RPC_STUB IDvdInfo2_GetSubpictureAttributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4532cpp_quote(" HRESULT WINAPI IDvdInfo2_GetDVDVolumeInfo_Proxy(IDvdInfo2 *This,ULONG *pulNumOfVolumes,ULONG *pulVolume,DVD_DISC_SIDE *pSide,ULONG *pulNumOfTitles);") 4533cpp_quote(" void __RPC_STUB IDvdInfo2_GetDVDVolumeInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4534cpp_quote(" HRESULT WINAPI IDvdInfo2_GetDVDTextNumberOfLanguages_Proxy(IDvdInfo2 *This,ULONG *pulNumOfLangs);") 4535cpp_quote(" void __RPC_STUB IDvdInfo2_GetDVDTextNumberOfLanguages_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4536cpp_quote(" HRESULT WINAPI IDvdInfo2_GetDVDTextLanguageInfo_Proxy(IDvdInfo2 *This,ULONG ulLangIndex,ULONG *pulNumOfStrings,LCID *pLangCode,enum DVD_TextCharSet *pbCharacterSet);") 4537cpp_quote(" void __RPC_STUB IDvdInfo2_GetDVDTextLanguageInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4538cpp_quote(" HRESULT WINAPI IDvdInfo2_GetDVDTextStringAsNative_Proxy(IDvdInfo2 *This,ULONG ulLangIndex,ULONG ulStringIndex,BYTE *pbBuffer,ULONG ulMaxBufferSize,ULONG *pulActualSize,enum DVD_TextStringType *pType);") 4539cpp_quote(" void __RPC_STUB IDvdInfo2_GetDVDTextStringAsNative_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4540cpp_quote(" HRESULT WINAPI IDvdInfo2_GetDVDTextStringAsUnicode_Proxy(IDvdInfo2 *This,ULONG ulLangIndex,ULONG ulStringIndex,WCHAR *pchwBuffer,ULONG ulMaxBufferSize,ULONG *pulActualSize,enum DVD_TextStringType *pType);") 4541cpp_quote(" void __RPC_STUB IDvdInfo2_GetDVDTextStringAsUnicode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4542cpp_quote(" HRESULT WINAPI IDvdInfo2_GetPlayerParentalLevel_Proxy(IDvdInfo2 *This,ULONG *pulParentalLevel,BYTE pbCountryCode[2]);") 4543cpp_quote(" void __RPC_STUB IDvdInfo2_GetPlayerParentalLevel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4544cpp_quote(" HRESULT WINAPI IDvdInfo2_GetNumberOfChapters_Proxy(IDvdInfo2 *This,ULONG ulTitle,ULONG *pulNumOfChapters);") 4545cpp_quote(" void __RPC_STUB IDvdInfo2_GetNumberOfChapters_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4546cpp_quote(" HRESULT WINAPI IDvdInfo2_GetTitleParentalLevels_Proxy(IDvdInfo2 *This,ULONG ulTitle,ULONG *pulParentalLevels);") 4547cpp_quote(" void __RPC_STUB IDvdInfo2_GetTitleParentalLevels_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4548cpp_quote(" HRESULT WINAPI IDvdInfo2_GetDVDDirectory_Proxy(IDvdInfo2 *This,LPWSTR pszwPath,ULONG ulMaxSize,ULONG *pulActualSize);") 4549cpp_quote(" void __RPC_STUB IDvdInfo2_GetDVDDirectory_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4550cpp_quote(" HRESULT WINAPI IDvdInfo2_IsAudioStreamEnabled_Proxy(IDvdInfo2 *This,ULONG ulStreamNum,WINBOOL *pbEnabled);") 4551cpp_quote(" void __RPC_STUB IDvdInfo2_IsAudioStreamEnabled_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4552cpp_quote(" HRESULT WINAPI IDvdInfo2_GetDiscID_Proxy(IDvdInfo2 *This,LPCWSTR pszwPath,ULONGLONG *pullDiscID);") 4553cpp_quote(" void __RPC_STUB IDvdInfo2_GetDiscID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4554cpp_quote(" HRESULT WINAPI IDvdInfo2_GetState_Proxy(IDvdInfo2 *This,IDvdState **pStateData);") 4555cpp_quote(" void __RPC_STUB IDvdInfo2_GetState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4556cpp_quote(" HRESULT WINAPI IDvdInfo2_GetMenuLanguages_Proxy(IDvdInfo2 *This,LCID *pLanguages,ULONG ulMaxLanguages,ULONG *pulActualLanguages);") 4557cpp_quote(" void __RPC_STUB IDvdInfo2_GetMenuLanguages_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4558cpp_quote(" HRESULT WINAPI IDvdInfo2_GetButtonAtPosition_Proxy(IDvdInfo2 *This,POINT point,ULONG *pulButtonIndex);") 4559cpp_quote(" void __RPC_STUB IDvdInfo2_GetButtonAtPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4560cpp_quote(" HRESULT WINAPI IDvdInfo2_GetCmdFromEvent_Proxy(IDvdInfo2 *This,LONG_PTR lParam1,IDvdCmd **pCmdObj);") 4561cpp_quote(" void __RPC_STUB IDvdInfo2_GetCmdFromEvent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4562cpp_quote(" HRESULT WINAPI IDvdInfo2_GetDefaultMenuLanguage_Proxy(IDvdInfo2 *This,LCID *pLanguage);") 4563cpp_quote(" void __RPC_STUB IDvdInfo2_GetDefaultMenuLanguage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4564cpp_quote(" HRESULT WINAPI IDvdInfo2_GetDefaultAudioLanguage_Proxy(IDvdInfo2 *This,LCID *pLanguage,DVD_AUDIO_LANG_EXT *pAudioExtension);") 4565cpp_quote(" void __RPC_STUB IDvdInfo2_GetDefaultAudioLanguage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4566cpp_quote(" HRESULT WINAPI IDvdInfo2_GetDefaultSubpictureLanguage_Proxy(IDvdInfo2 *This,LCID *pLanguage,DVD_SUBPICTURE_LANG_EXT *pSubpictureExtension);") 4567cpp_quote(" void __RPC_STUB IDvdInfo2_GetDefaultSubpictureLanguage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4568cpp_quote(" HRESULT WINAPI IDvdInfo2_GetDecoderCaps_Proxy(IDvdInfo2 *This,DVD_DECODER_CAPS *pCaps);") 4569cpp_quote(" void __RPC_STUB IDvdInfo2_GetDecoderCaps_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4570cpp_quote(" HRESULT WINAPI IDvdInfo2_GetButtonRect_Proxy(IDvdInfo2 *This,ULONG ulButton,RECT *pRect);") 4571cpp_quote(" void __RPC_STUB IDvdInfo2_GetButtonRect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4572cpp_quote(" HRESULT WINAPI IDvdInfo2_IsSubpictureStreamEnabled_Proxy(IDvdInfo2 *This,ULONG ulStreamNum,WINBOOL *pbEnabled);") 4573cpp_quote(" void __RPC_STUB IDvdInfo2_IsSubpictureStreamEnabled_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4574cpp_quote("#endif") 4575cpp_quote("") 4576cpp_quote(" typedef enum _AM_DVD_GRAPH_FLAGS {") 4577cpp_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,") 4578cpp_quote(" AM_DVD_VMR9_ONLY = 0x800") 4579cpp_quote(" } AM_DVD_GRAPH_FLAGS;") 4580cpp_quote("") 4581cpp_quote(" typedef enum _AM_DVD_STREAM_FLAGS {") 4582cpp_quote(" AM_DVD_STREAM_VIDEO = 0x1,AM_DVD_STREAM_AUDIO = 0x2,AM_DVD_STREAM_SUBPIC = 0x4") 4583cpp_quote(" } AM_DVD_STREAM_FLAGS;") 4584cpp_quote("") 4585cpp_quote(" typedef struct __MIDL___MIDL_itf_strmif_0389_0001 {") 4586cpp_quote(" HRESULT hrVPEStatus;") 4587cpp_quote(" WINBOOL bDvdVolInvalid;") 4588cpp_quote(" WINBOOL bDvdVolUnknown;") 4589cpp_quote(" WINBOOL bNoLine21In;") 4590cpp_quote(" WINBOOL bNoLine21Out;") 4591cpp_quote(" int iNumStreams;") 4592cpp_quote(" int iNumStreamsFailed;") 4593cpp_quote(" DWORD dwFailedStreamsFlag;") 4594cpp_quote(" } AM_DVD_RENDERSTATUS;") 4595cpp_quote("") 4596cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0389_v0_0_c_ifspec;") 4597cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0389_v0_0_s_ifspec;") 4598cpp_quote("#ifndef __IDvdGraphBuilder_INTERFACE_DEFINED__") 4599cpp_quote("#define __IDvdGraphBuilder_INTERFACE_DEFINED__") 4600cpp_quote(" EXTERN_C const IID IID_IDvdGraphBuilder;") 4601cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 4602cpp_quote(" struct IDvdGraphBuilder : public IUnknown {") 4603cpp_quote(" public:") 4604cpp_quote(" virtual HRESULT WINAPI GetFiltergraph(IGraphBuilder **ppGB) = 0;") 4605cpp_quote(" virtual HRESULT WINAPI GetDvdInterface(REFIID riid,void **ppvIF) = 0;") 4606cpp_quote(" virtual HRESULT WINAPI RenderDvdVideoVolume(LPCWSTR lpcwszPathName,DWORD dwFlags,AM_DVD_RENDERSTATUS *pStatus) = 0;") 4607cpp_quote(" };") 4608cpp_quote("#else") 4609cpp_quote(" typedef struct IDvdGraphBuilderVtbl {") 4610cpp_quote(" BEGIN_INTERFACE") 4611cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDvdGraphBuilder *This,REFIID riid,void **ppvObject);") 4612cpp_quote(" ULONG (WINAPI *AddRef)(IDvdGraphBuilder *This);") 4613cpp_quote(" ULONG (WINAPI *Release)(IDvdGraphBuilder *This);") 4614cpp_quote(" HRESULT (WINAPI *GetFiltergraph)(IDvdGraphBuilder *This,IGraphBuilder **ppGB);") 4615cpp_quote(" HRESULT (WINAPI *GetDvdInterface)(IDvdGraphBuilder *This,REFIID riid,void **ppvIF);") 4616cpp_quote(" HRESULT (WINAPI *RenderDvdVideoVolume)(IDvdGraphBuilder *This,LPCWSTR lpcwszPathName,DWORD dwFlags,AM_DVD_RENDERSTATUS *pStatus);") 4617cpp_quote(" END_INTERFACE") 4618cpp_quote(" } IDvdGraphBuilderVtbl;") 4619cpp_quote(" struct IDvdGraphBuilder {") 4620cpp_quote(" CONST_VTBL struct IDvdGraphBuilderVtbl *lpVtbl;") 4621cpp_quote(" };") 4622cpp_quote("#ifdef COBJMACROS") 4623cpp_quote("#define IDvdGraphBuilder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 4624cpp_quote("#define IDvdGraphBuilder_AddRef(This) (This)->lpVtbl->AddRef(This)") 4625cpp_quote("#define IDvdGraphBuilder_Release(This) (This)->lpVtbl->Release(This)") 4626cpp_quote("#define IDvdGraphBuilder_GetFiltergraph(This,ppGB) (This)->lpVtbl->GetFiltergraph(This,ppGB)") 4627cpp_quote("#define IDvdGraphBuilder_GetDvdInterface(This,riid,ppvIF) (This)->lpVtbl->GetDvdInterface(This,riid,ppvIF)") 4628cpp_quote("#define IDvdGraphBuilder_RenderDvdVideoVolume(This,lpcwszPathName,dwFlags,pStatus) (This)->lpVtbl->RenderDvdVideoVolume(This,lpcwszPathName,dwFlags,pStatus)") 4629cpp_quote("#endif") 4630cpp_quote("#endif") 4631cpp_quote(" HRESULT WINAPI IDvdGraphBuilder_GetFiltergraph_Proxy(IDvdGraphBuilder *This,IGraphBuilder **ppGB);") 4632cpp_quote(" void __RPC_STUB IDvdGraphBuilder_GetFiltergraph_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4633cpp_quote(" HRESULT WINAPI IDvdGraphBuilder_GetDvdInterface_Proxy(IDvdGraphBuilder *This,REFIID riid,void **ppvIF);") 4634cpp_quote(" void __RPC_STUB IDvdGraphBuilder_GetDvdInterface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4635cpp_quote(" HRESULT WINAPI IDvdGraphBuilder_RenderDvdVideoVolume_Proxy(IDvdGraphBuilder *This,LPCWSTR lpcwszPathName,DWORD dwFlags,AM_DVD_RENDERSTATUS *pStatus);") 4636cpp_quote(" void __RPC_STUB IDvdGraphBuilder_RenderDvdVideoVolume_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4637cpp_quote("#endif") 4638cpp_quote("") 4639cpp_quote("#ifndef __IDDrawExclModeVideo_INTERFACE_DEFINED__") 4640cpp_quote("#define __IDDrawExclModeVideo_INTERFACE_DEFINED__") 4641cpp_quote(" EXTERN_C const IID IID_IDDrawExclModeVideo;") 4642cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 4643cpp_quote(" struct IDDrawExclModeVideo : public IUnknown {") 4644cpp_quote(" public:") 4645cpp_quote(" virtual HRESULT WINAPI SetDDrawObject(IDirectDraw *pDDrawObject) = 0;") 4646cpp_quote(" virtual HRESULT WINAPI GetDDrawObject(IDirectDraw **ppDDrawObject,WINBOOL *pbUsingExternal) = 0;") 4647cpp_quote(" virtual HRESULT WINAPI SetDDrawSurface(IDirectDrawSurface *pDDrawSurface) = 0;") 4648cpp_quote(" virtual HRESULT WINAPI GetDDrawSurface(IDirectDrawSurface **ppDDrawSurface,WINBOOL *pbUsingExternal) = 0;") 4649cpp_quote(" virtual HRESULT WINAPI SetDrawParameters(const RECT *prcSource,const RECT *prcTarget) = 0;") 4650cpp_quote(" virtual HRESULT WINAPI GetNativeVideoProps(DWORD *pdwVideoWidth,DWORD *pdwVideoHeight,DWORD *pdwPictAspectRatioX,DWORD *pdwPictAspectRatioY) = 0;") 4651cpp_quote(" virtual HRESULT WINAPI SetCallbackInterface(IDDrawExclModeVideoCallback *pCallback,DWORD dwFlags) = 0;") 4652cpp_quote(" };") 4653cpp_quote("#else") 4654cpp_quote(" typedef struct IDDrawExclModeVideoVtbl {") 4655cpp_quote(" BEGIN_INTERFACE") 4656cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDDrawExclModeVideo *This,REFIID riid,void **ppvObject);") 4657cpp_quote(" ULONG (WINAPI *AddRef)(IDDrawExclModeVideo *This);") 4658cpp_quote(" ULONG (WINAPI *Release)(IDDrawExclModeVideo *This);") 4659cpp_quote(" HRESULT (WINAPI *SetDDrawObject)(IDDrawExclModeVideo *This,IDirectDraw *pDDrawObject);") 4660cpp_quote(" HRESULT (WINAPI *GetDDrawObject)(IDDrawExclModeVideo *This,IDirectDraw **ppDDrawObject,WINBOOL *pbUsingExternal);") 4661cpp_quote(" HRESULT (WINAPI *SetDDrawSurface)(IDDrawExclModeVideo *This,IDirectDrawSurface *pDDrawSurface);") 4662cpp_quote(" HRESULT (WINAPI *GetDDrawSurface)(IDDrawExclModeVideo *This,IDirectDrawSurface **ppDDrawSurface,WINBOOL *pbUsingExternal);") 4663cpp_quote(" HRESULT (WINAPI *SetDrawParameters)(IDDrawExclModeVideo *This,const RECT *prcSource,const RECT *prcTarget);") 4664cpp_quote(" HRESULT (WINAPI *GetNativeVideoProps)(IDDrawExclModeVideo *This,DWORD *pdwVideoWidth,DWORD *pdwVideoHeight,DWORD *pdwPictAspectRatioX,DWORD *pdwPictAspectRatioY);") 4665cpp_quote(" HRESULT (WINAPI *SetCallbackInterface)(IDDrawExclModeVideo *This,IDDrawExclModeVideoCallback *pCallback,DWORD dwFlags);") 4666cpp_quote(" END_INTERFACE") 4667cpp_quote(" } IDDrawExclModeVideoVtbl;") 4668cpp_quote(" struct IDDrawExclModeVideo {") 4669cpp_quote(" CONST_VTBL struct IDDrawExclModeVideoVtbl *lpVtbl;") 4670cpp_quote(" };") 4671cpp_quote("#ifdef COBJMACROS") 4672cpp_quote("#define IDDrawExclModeVideo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 4673cpp_quote("#define IDDrawExclModeVideo_AddRef(This) (This)->lpVtbl->AddRef(This)") 4674cpp_quote("#define IDDrawExclModeVideo_Release(This) (This)->lpVtbl->Release(This)") 4675cpp_quote("#define IDDrawExclModeVideo_SetDDrawObject(This,pDDrawObject) (This)->lpVtbl->SetDDrawObject(This,pDDrawObject)") 4676cpp_quote("#define IDDrawExclModeVideo_GetDDrawObject(This,ppDDrawObject,pbUsingExternal) (This)->lpVtbl->GetDDrawObject(This,ppDDrawObject,pbUsingExternal)") 4677cpp_quote("#define IDDrawExclModeVideo_SetDDrawSurface(This,pDDrawSurface) (This)->lpVtbl->SetDDrawSurface(This,pDDrawSurface)") 4678cpp_quote("#define IDDrawExclModeVideo_GetDDrawSurface(This,ppDDrawSurface,pbUsingExternal) (This)->lpVtbl->GetDDrawSurface(This,ppDDrawSurface,pbUsingExternal)") 4679cpp_quote("#define IDDrawExclModeVideo_SetDrawParameters(This,prcSource,prcTarget) (This)->lpVtbl->SetDrawParameters(This,prcSource,prcTarget)") 4680cpp_quote("#define IDDrawExclModeVideo_GetNativeVideoProps(This,pdwVideoWidth,pdwVideoHeight,pdwPictAspectRatioX,pdwPictAspectRatioY) (This)->lpVtbl->GetNativeVideoProps(This,pdwVideoWidth,pdwVideoHeight,pdwPictAspectRatioX,pdwPictAspectRatioY)") 4681cpp_quote("#define IDDrawExclModeVideo_SetCallbackInterface(This,pCallback,dwFlags) (This)->lpVtbl->SetCallbackInterface(This,pCallback,dwFlags)") 4682cpp_quote("#endif") 4683cpp_quote("#endif") 4684cpp_quote(" HRESULT WINAPI IDDrawExclModeVideo_SetDDrawObject_Proxy(IDDrawExclModeVideo *This,IDirectDraw *pDDrawObject);") 4685cpp_quote(" void __RPC_STUB IDDrawExclModeVideo_SetDDrawObject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4686cpp_quote(" HRESULT WINAPI IDDrawExclModeVideo_GetDDrawObject_Proxy(IDDrawExclModeVideo *This,IDirectDraw **ppDDrawObject,WINBOOL *pbUsingExternal);") 4687cpp_quote(" void __RPC_STUB IDDrawExclModeVideo_GetDDrawObject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4688cpp_quote(" HRESULT WINAPI IDDrawExclModeVideo_SetDDrawSurface_Proxy(IDDrawExclModeVideo *This,IDirectDrawSurface *pDDrawSurface);") 4689cpp_quote(" void __RPC_STUB IDDrawExclModeVideo_SetDDrawSurface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4690cpp_quote(" HRESULT WINAPI IDDrawExclModeVideo_GetDDrawSurface_Proxy(IDDrawExclModeVideo *This,IDirectDrawSurface **ppDDrawSurface,WINBOOL *pbUsingExternal);") 4691cpp_quote(" void __RPC_STUB IDDrawExclModeVideo_GetDDrawSurface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4692cpp_quote(" HRESULT WINAPI IDDrawExclModeVideo_SetDrawParameters_Proxy(IDDrawExclModeVideo *This,const RECT *prcSource,const RECT *prcTarget);") 4693cpp_quote(" void __RPC_STUB IDDrawExclModeVideo_SetDrawParameters_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4694cpp_quote(" HRESULT WINAPI IDDrawExclModeVideo_GetNativeVideoProps_Proxy(IDDrawExclModeVideo *This,DWORD *pdwVideoWidth,DWORD *pdwVideoHeight,DWORD *pdwPictAspectRatioX,DWORD *pdwPictAspectRatioY);") 4695cpp_quote(" void __RPC_STUB IDDrawExclModeVideo_GetNativeVideoProps_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4696cpp_quote(" HRESULT WINAPI IDDrawExclModeVideo_SetCallbackInterface_Proxy(IDDrawExclModeVideo *This,IDDrawExclModeVideoCallback *pCallback,DWORD dwFlags);") 4697cpp_quote(" void __RPC_STUB IDDrawExclModeVideo_SetCallbackInterface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4698cpp_quote("#endif") 4699cpp_quote("") 4700cpp_quote(" enum _AM_OVERLAY_NOTIFY_FLAGS {") 4701cpp_quote(" AM_OVERLAY_NOTIFY_VISIBLE_CHANGE = 0x1,AM_OVERLAY_NOTIFY_SOURCE_CHANGE = 0x2,AM_OVERLAY_NOTIFY_DEST_CHANGE = 0x4") 4702cpp_quote(" };") 4703cpp_quote("") 4704cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0391_v0_0_c_ifspec;") 4705cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0391_v0_0_s_ifspec;") 4706cpp_quote("#ifndef __IDDrawExclModeVideoCallback_INTERFACE_DEFINED__") 4707cpp_quote("#define __IDDrawExclModeVideoCallback_INTERFACE_DEFINED__") 4708cpp_quote(" EXTERN_C const IID IID_IDDrawExclModeVideoCallback;") 4709cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 4710cpp_quote(" struct IDDrawExclModeVideoCallback : public IUnknown {") 4711cpp_quote(" public:") 4712cpp_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;") 4713cpp_quote(" virtual HRESULT WINAPI OnUpdateColorKey(const COLORKEY *pKey,DWORD dwColor) = 0;") 4714cpp_quote(" virtual HRESULT WINAPI OnUpdateSize(DWORD dwWidth,DWORD dwHeight,DWORD dwARWidth,DWORD dwARHeight) = 0;") 4715cpp_quote(" };") 4716cpp_quote("#else") 4717cpp_quote(" typedef struct IDDrawExclModeVideoCallbackVtbl {") 4718cpp_quote(" BEGIN_INTERFACE") 4719cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDDrawExclModeVideoCallback *This,REFIID riid,void **ppvObject);") 4720cpp_quote(" ULONG (WINAPI *AddRef)(IDDrawExclModeVideoCallback *This);") 4721cpp_quote(" ULONG (WINAPI *Release)(IDDrawExclModeVideoCallback *This);") 4722cpp_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);") 4723cpp_quote(" HRESULT (WINAPI *OnUpdateColorKey)(IDDrawExclModeVideoCallback *This,const COLORKEY *pKey,DWORD dwColor);") 4724cpp_quote(" HRESULT (WINAPI *OnUpdateSize)(IDDrawExclModeVideoCallback *This,DWORD dwWidth,DWORD dwHeight,DWORD dwARWidth,DWORD dwARHeight);") 4725cpp_quote(" END_INTERFACE") 4726cpp_quote(" } IDDrawExclModeVideoCallbackVtbl;") 4727cpp_quote(" struct IDDrawExclModeVideoCallback {") 4728cpp_quote(" CONST_VTBL struct IDDrawExclModeVideoCallbackVtbl *lpVtbl;") 4729cpp_quote(" };") 4730cpp_quote("#ifdef COBJMACROS") 4731cpp_quote("#define IDDrawExclModeVideoCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 4732cpp_quote("#define IDDrawExclModeVideoCallback_AddRef(This) (This)->lpVtbl->AddRef(This)") 4733cpp_quote("#define IDDrawExclModeVideoCallback_Release(This) (This)->lpVtbl->Release(This)") 4734cpp_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)") 4735cpp_quote("#define IDDrawExclModeVideoCallback_OnUpdateColorKey(This,pKey,dwColor) (This)->lpVtbl->OnUpdateColorKey(This,pKey,dwColor)") 4736cpp_quote("#define IDDrawExclModeVideoCallback_OnUpdateSize(This,dwWidth,dwHeight,dwARWidth,dwARHeight) (This)->lpVtbl->OnUpdateSize(This,dwWidth,dwHeight,dwARWidth,dwARHeight)") 4737cpp_quote("#endif") 4738cpp_quote("#endif") 4739cpp_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);") 4740cpp_quote(" void __RPC_STUB IDDrawExclModeVideoCallback_OnUpdateOverlay_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4741cpp_quote(" HRESULT WINAPI IDDrawExclModeVideoCallback_OnUpdateColorKey_Proxy(IDDrawExclModeVideoCallback *This,const COLORKEY *pKey,DWORD dwColor);") 4742cpp_quote(" void __RPC_STUB IDDrawExclModeVideoCallback_OnUpdateColorKey_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4743cpp_quote(" HRESULT WINAPI IDDrawExclModeVideoCallback_OnUpdateSize_Proxy(IDDrawExclModeVideoCallback *This,DWORD dwWidth,DWORD dwHeight,DWORD dwARWidth,DWORD dwARHeight);") 4744cpp_quote(" void __RPC_STUB IDDrawExclModeVideoCallback_OnUpdateSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4745cpp_quote("#endif") 4746cpp_quote("") 4747cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0392_v0_0_c_ifspec;") 4748cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0392_v0_0_s_ifspec;") 4749cpp_quote("#ifndef __IPinConnection_INTERFACE_DEFINED__") 4750cpp_quote("#define __IPinConnection_INTERFACE_DEFINED__") 4751cpp_quote(" EXTERN_C const IID IID_IPinConnection;") 4752cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 4753cpp_quote(" struct IPinConnection : public IUnknown {") 4754cpp_quote(" public:") 4755cpp_quote(" virtual HRESULT WINAPI DynamicQueryAccept(const AM_MEDIA_TYPE *pmt) = 0;") 4756cpp_quote(" virtual HRESULT WINAPI NotifyEndOfStream(HANDLE hNotifyEvent) = 0;") 4757cpp_quote(" virtual HRESULT WINAPI IsEndPin(void) = 0;") 4758cpp_quote(" virtual HRESULT WINAPI DynamicDisconnect(void) = 0;") 4759cpp_quote(" };") 4760cpp_quote("#else") 4761cpp_quote(" typedef struct IPinConnectionVtbl {") 4762cpp_quote(" BEGIN_INTERFACE") 4763cpp_quote(" HRESULT (WINAPI *QueryInterface)(IPinConnection *This,REFIID riid,void **ppvObject);") 4764cpp_quote(" ULONG (WINAPI *AddRef)(IPinConnection *This);") 4765cpp_quote(" ULONG (WINAPI *Release)(IPinConnection *This);") 4766cpp_quote(" HRESULT (WINAPI *DynamicQueryAccept)(IPinConnection *This,const AM_MEDIA_TYPE *pmt);") 4767cpp_quote(" HRESULT (WINAPI *NotifyEndOfStream)(IPinConnection *This,HANDLE hNotifyEvent);") 4768cpp_quote(" HRESULT (WINAPI *IsEndPin)(IPinConnection *This);") 4769cpp_quote(" HRESULT (WINAPI *DynamicDisconnect)(IPinConnection *This);") 4770cpp_quote(" END_INTERFACE") 4771cpp_quote(" } IPinConnectionVtbl;") 4772cpp_quote(" struct IPinConnection {") 4773cpp_quote(" CONST_VTBL struct IPinConnectionVtbl *lpVtbl;") 4774cpp_quote(" };") 4775cpp_quote("#ifdef COBJMACROS") 4776cpp_quote("#define IPinConnection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 4777cpp_quote("#define IPinConnection_AddRef(This) (This)->lpVtbl->AddRef(This)") 4778cpp_quote("#define IPinConnection_Release(This) (This)->lpVtbl->Release(This)") 4779cpp_quote("#define IPinConnection_DynamicQueryAccept(This,pmt) (This)->lpVtbl->DynamicQueryAccept(This,pmt)") 4780cpp_quote("#define IPinConnection_NotifyEndOfStream(This,hNotifyEvent) (This)->lpVtbl->NotifyEndOfStream(This,hNotifyEvent)") 4781cpp_quote("#define IPinConnection_IsEndPin(This) (This)->lpVtbl->IsEndPin(This)") 4782cpp_quote("#define IPinConnection_DynamicDisconnect(This) (This)->lpVtbl->DynamicDisconnect(This)") 4783cpp_quote("#endif") 4784cpp_quote("#endif") 4785cpp_quote(" HRESULT WINAPI IPinConnection_DynamicQueryAccept_Proxy(IPinConnection *This,const AM_MEDIA_TYPE *pmt);") 4786cpp_quote(" void __RPC_STUB IPinConnection_DynamicQueryAccept_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4787cpp_quote(" HRESULT WINAPI IPinConnection_NotifyEndOfStream_Proxy(IPinConnection *This,HANDLE hNotifyEvent);") 4788cpp_quote(" void __RPC_STUB IPinConnection_NotifyEndOfStream_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4789cpp_quote(" HRESULT WINAPI IPinConnection_IsEndPin_Proxy(IPinConnection *This);") 4790cpp_quote(" void __RPC_STUB IPinConnection_IsEndPin_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4791cpp_quote(" HRESULT WINAPI IPinConnection_DynamicDisconnect_Proxy(IPinConnection *This);") 4792cpp_quote(" void __RPC_STUB IPinConnection_DynamicDisconnect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4793cpp_quote("#endif") 4794cpp_quote("") 4795cpp_quote("#ifndef __IPinFlowControl_INTERFACE_DEFINED__") 4796cpp_quote("#define __IPinFlowControl_INTERFACE_DEFINED__") 4797cpp_quote(" EXTERN_C const IID IID_IPinFlowControl;") 4798cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 4799cpp_quote(" struct IPinFlowControl : public IUnknown {") 4800cpp_quote(" public:") 4801cpp_quote(" virtual HRESULT WINAPI Block(DWORD dwBlockFlags,HANDLE hEvent) = 0;") 4802cpp_quote(" };") 4803cpp_quote("#else") 4804cpp_quote(" typedef struct IPinFlowControlVtbl {") 4805cpp_quote(" BEGIN_INTERFACE") 4806cpp_quote(" HRESULT (WINAPI *QueryInterface)(IPinFlowControl *This,REFIID riid,void **ppvObject);") 4807cpp_quote(" ULONG (WINAPI *AddRef)(IPinFlowControl *This);") 4808cpp_quote(" ULONG (WINAPI *Release)(IPinFlowControl *This);") 4809cpp_quote(" HRESULT (WINAPI *Block)(IPinFlowControl *This,DWORD dwBlockFlags,HANDLE hEvent);") 4810cpp_quote(" END_INTERFACE") 4811cpp_quote(" } IPinFlowControlVtbl;") 4812cpp_quote(" struct IPinFlowControl {") 4813cpp_quote(" CONST_VTBL struct IPinFlowControlVtbl *lpVtbl;") 4814cpp_quote(" };") 4815cpp_quote("#ifdef COBJMACROS") 4816cpp_quote("#define IPinFlowControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 4817cpp_quote("#define IPinFlowControl_AddRef(This) (This)->lpVtbl->AddRef(This)") 4818cpp_quote("#define IPinFlowControl_Release(This) (This)->lpVtbl->Release(This)") 4819cpp_quote("#define IPinFlowControl_Block(This,dwBlockFlags,hEvent) (This)->lpVtbl->Block(This,dwBlockFlags,hEvent)") 4820cpp_quote("#endif") 4821cpp_quote("#endif") 4822cpp_quote(" HRESULT WINAPI IPinFlowControl_Block_Proxy(IPinFlowControl *This,DWORD dwBlockFlags,HANDLE hEvent);") 4823cpp_quote(" void __RPC_STUB IPinFlowControl_Block_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4824cpp_quote("#endif") 4825cpp_quote("") 4826cpp_quote(" enum _AM_PIN_FLOW_CONTROL_BLOCK_FLAGS {") 4827cpp_quote(" AM_PIN_FLOW_CONTROL_BLOCK = 0x1") 4828cpp_quote(" };") 4829cpp_quote(" typedef enum _AM_GRAPH_CONFIG_RECONNECT_FLAGS {") 4830cpp_quote(" AM_GRAPH_CONFIG_RECONNECT_DIRECTCONNECT = 0x1,AM_GRAPH_CONFIG_RECONNECT_CACHE_REMOVED_FILTERS = 0x2,") 4831cpp_quote(" AM_GRAPH_CONFIG_RECONNECT_USE_ONLY_CACHED_FILTERS = 0x4") 4832cpp_quote(" } AM_GRAPH_CONFIG_RECONNECT_FLAGS;") 4833cpp_quote("") 4834cpp_quote(" enum _REM_FILTER_FLAGS {") 4835cpp_quote(" REMFILTERF_LEAVECONNECTED = 0x1") 4836cpp_quote(" };") 4837cpp_quote("") 4838cpp_quote(" typedef enum _AM_FILTER_FLAGS {") 4839cpp_quote(" AM_FILTER_FLAGS_REMOVABLE = 0x1") 4840cpp_quote(" } AM_FILTER_FLAGS;") 4841cpp_quote("") 4842cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0394_v0_0_c_ifspec;") 4843cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0394_v0_0_s_ifspec;") 4844cpp_quote("#ifndef __IGraphConfig_INTERFACE_DEFINED__") 4845cpp_quote("#define __IGraphConfig_INTERFACE_DEFINED__") 4846cpp_quote(" EXTERN_C const IID IID_IGraphConfig;") 4847cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 4848cpp_quote(" struct IGraphConfig : public IUnknown {") 4849cpp_quote(" public:") 4850cpp_quote(" virtual HRESULT WINAPI Reconnect(IPin *pOutputPin,IPin *pInputPin,const AM_MEDIA_TYPE *pmtFirstConnection,IBaseFilter *pUsingFilter,HANDLE hAbortEvent,DWORD dwFlags) = 0;") 4851cpp_quote(" virtual HRESULT WINAPI Reconfigure(IGraphConfigCallback *pCallback,PVOID pvContext,DWORD dwFlags,HANDLE hAbortEvent) = 0;") 4852cpp_quote(" virtual HRESULT WINAPI AddFilterToCache(IBaseFilter *pFilter) = 0;") 4853cpp_quote(" virtual HRESULT WINAPI EnumCacheFilter(IEnumFilters **pEnum) = 0;") 4854cpp_quote(" virtual HRESULT WINAPI RemoveFilterFromCache(IBaseFilter *pFilter) = 0;") 4855cpp_quote(" virtual HRESULT WINAPI GetStartTime(REFERENCE_TIME *prtStart) = 0;") 4856cpp_quote(" virtual HRESULT WINAPI PushThroughData(IPin *pOutputPin,IPinConnection *pConnection,HANDLE hEventAbort) = 0;") 4857cpp_quote(" virtual HRESULT WINAPI SetFilterFlags(IBaseFilter *pFilter,DWORD dwFlags) = 0;") 4858cpp_quote(" virtual HRESULT WINAPI GetFilterFlags(IBaseFilter *pFilter,DWORD *pdwFlags) = 0;") 4859cpp_quote(" virtual HRESULT WINAPI RemoveFilterEx(IBaseFilter *pFilter,DWORD Flags) = 0;") 4860cpp_quote(" };") 4861cpp_quote("#else") 4862cpp_quote(" typedef struct IGraphConfigVtbl {") 4863cpp_quote(" BEGIN_INTERFACE") 4864cpp_quote(" HRESULT (WINAPI *QueryInterface)(IGraphConfig *This,REFIID riid,void **ppvObject);") 4865cpp_quote(" ULONG (WINAPI *AddRef)(IGraphConfig *This);") 4866cpp_quote(" ULONG (WINAPI *Release)(IGraphConfig *This);") 4867cpp_quote(" HRESULT (WINAPI *Reconnect)(IGraphConfig *This,IPin *pOutputPin,IPin *pInputPin,const AM_MEDIA_TYPE *pmtFirstConnection,IBaseFilter *pUsingFilter,HANDLE hAbortEvent,DWORD dwFlags);") 4868cpp_quote(" HRESULT (WINAPI *Reconfigure)(IGraphConfig *This,IGraphConfigCallback *pCallback,PVOID pvContext,DWORD dwFlags,HANDLE hAbortEvent);") 4869cpp_quote(" HRESULT (WINAPI *AddFilterToCache)(IGraphConfig *This,IBaseFilter *pFilter);") 4870cpp_quote(" HRESULT (WINAPI *EnumCacheFilter)(IGraphConfig *This,IEnumFilters **pEnum);") 4871cpp_quote(" HRESULT (WINAPI *RemoveFilterFromCache)(IGraphConfig *This,IBaseFilter *pFilter);") 4872cpp_quote(" HRESULT (WINAPI *GetStartTime)(IGraphConfig *This,REFERENCE_TIME *prtStart);") 4873cpp_quote(" HRESULT (WINAPI *PushThroughData)(IGraphConfig *This,IPin *pOutputPin,IPinConnection *pConnection,HANDLE hEventAbort);") 4874cpp_quote(" HRESULT (WINAPI *SetFilterFlags)(IGraphConfig *This,IBaseFilter *pFilter,DWORD dwFlags);") 4875cpp_quote(" HRESULT (WINAPI *GetFilterFlags)(IGraphConfig *This,IBaseFilter *pFilter,DWORD *pdwFlags);") 4876cpp_quote(" HRESULT (WINAPI *RemoveFilterEx)(IGraphConfig *This,IBaseFilter *pFilter,DWORD Flags);") 4877cpp_quote(" END_INTERFACE") 4878cpp_quote(" } IGraphConfigVtbl;") 4879cpp_quote(" struct IGraphConfig {") 4880cpp_quote(" CONST_VTBL struct IGraphConfigVtbl *lpVtbl;") 4881cpp_quote(" };") 4882cpp_quote("#ifdef COBJMACROS") 4883cpp_quote("#define IGraphConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 4884cpp_quote("#define IGraphConfig_AddRef(This) (This)->lpVtbl->AddRef(This)") 4885cpp_quote("#define IGraphConfig_Release(This) (This)->lpVtbl->Release(This)") 4886cpp_quote("#define IGraphConfig_Reconnect(This,pOutputPin,pInputPin,pmtFirstConnection,pUsingFilter,hAbortEvent,dwFlags) (This)->lpVtbl->Reconnect(This,pOutputPin,pInputPin,pmtFirstConnection,pUsingFilter,hAbortEvent,dwFlags)") 4887cpp_quote("#define IGraphConfig_Reconfigure(This,pCallback,pvContext,dwFlags,hAbortEvent) (This)->lpVtbl->Reconfigure(This,pCallback,pvContext,dwFlags,hAbortEvent)") 4888cpp_quote("#define IGraphConfig_AddFilterToCache(This,pFilter) (This)->lpVtbl->AddFilterToCache(This,pFilter)") 4889cpp_quote("#define IGraphConfig_EnumCacheFilter(This,pEnum) (This)->lpVtbl->EnumCacheFilter(This,pEnum)") 4890cpp_quote("#define IGraphConfig_RemoveFilterFromCache(This,pFilter) (This)->lpVtbl->RemoveFilterFromCache(This,pFilter)") 4891cpp_quote("#define IGraphConfig_GetStartTime(This,prtStart) (This)->lpVtbl->GetStartTime(This,prtStart)") 4892cpp_quote("#define IGraphConfig_PushThroughData(This,pOutputPin,pConnection,hEventAbort) (This)->lpVtbl->PushThroughData(This,pOutputPin,pConnection,hEventAbort)") 4893cpp_quote("#define IGraphConfig_SetFilterFlags(This,pFilter,dwFlags) (This)->lpVtbl->SetFilterFlags(This,pFilter,dwFlags)") 4894cpp_quote("#define IGraphConfig_GetFilterFlags(This,pFilter,pdwFlags) (This)->lpVtbl->GetFilterFlags(This,pFilter,pdwFlags)") 4895cpp_quote("#define IGraphConfig_RemoveFilterEx(This,pFilter,Flags) (This)->lpVtbl->RemoveFilterEx(This,pFilter,Flags)") 4896cpp_quote("#endif") 4897cpp_quote("#endif") 4898cpp_quote(" HRESULT WINAPI IGraphConfig_Reconnect_Proxy(IGraphConfig *This,IPin *pOutputPin,IPin *pInputPin,const AM_MEDIA_TYPE *pmtFirstConnection,IBaseFilter *pUsingFilter,HANDLE hAbortEvent,DWORD dwFlags);") 4899cpp_quote(" void __RPC_STUB IGraphConfig_Reconnect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4900cpp_quote(" HRESULT WINAPI IGraphConfig_Reconfigure_Proxy(IGraphConfig *This,IGraphConfigCallback *pCallback,PVOID pvContext,DWORD dwFlags,HANDLE hAbortEvent);") 4901cpp_quote(" void __RPC_STUB IGraphConfig_Reconfigure_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4902cpp_quote(" HRESULT WINAPI IGraphConfig_AddFilterToCache_Proxy(IGraphConfig *This,IBaseFilter *pFilter);") 4903cpp_quote(" void __RPC_STUB IGraphConfig_AddFilterToCache_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4904cpp_quote(" HRESULT WINAPI IGraphConfig_EnumCacheFilter_Proxy(IGraphConfig *This,IEnumFilters **pEnum);") 4905cpp_quote(" void __RPC_STUB IGraphConfig_EnumCacheFilter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4906cpp_quote(" HRESULT WINAPI IGraphConfig_RemoveFilterFromCache_Proxy(IGraphConfig *This,IBaseFilter *pFilter);") 4907cpp_quote(" void __RPC_STUB IGraphConfig_RemoveFilterFromCache_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4908cpp_quote(" HRESULT WINAPI IGraphConfig_GetStartTime_Proxy(IGraphConfig *This,REFERENCE_TIME *prtStart);") 4909cpp_quote(" void __RPC_STUB IGraphConfig_GetStartTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4910cpp_quote(" HRESULT WINAPI IGraphConfig_PushThroughData_Proxy(IGraphConfig *This,IPin *pOutputPin,IPinConnection *pConnection,HANDLE hEventAbort);") 4911cpp_quote(" void __RPC_STUB IGraphConfig_PushThroughData_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4912cpp_quote(" HRESULT WINAPI IGraphConfig_SetFilterFlags_Proxy(IGraphConfig *This,IBaseFilter *pFilter,DWORD dwFlags);") 4913cpp_quote(" void __RPC_STUB IGraphConfig_SetFilterFlags_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4914cpp_quote(" HRESULT WINAPI IGraphConfig_GetFilterFlags_Proxy(IGraphConfig *This,IBaseFilter *pFilter,DWORD *pdwFlags);") 4915cpp_quote(" void __RPC_STUB IGraphConfig_GetFilterFlags_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4916cpp_quote(" HRESULT WINAPI IGraphConfig_RemoveFilterEx_Proxy(IGraphConfig *This,IBaseFilter *pFilter,DWORD Flags);") 4917cpp_quote(" void __RPC_STUB IGraphConfig_RemoveFilterEx_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4918cpp_quote("#endif") 4919cpp_quote("") 4920cpp_quote("#ifndef __IGraphConfigCallback_INTERFACE_DEFINED__") 4921cpp_quote("#define __IGraphConfigCallback_INTERFACE_DEFINED__") 4922cpp_quote(" EXTERN_C const IID IID_IGraphConfigCallback;") 4923cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 4924cpp_quote(" struct IGraphConfigCallback : public IUnknown {") 4925cpp_quote(" public:") 4926cpp_quote(" virtual HRESULT WINAPI Reconfigure(PVOID pvContext,DWORD dwFlags) = 0;") 4927cpp_quote(" };") 4928cpp_quote("#else") 4929cpp_quote(" typedef struct IGraphConfigCallbackVtbl {") 4930cpp_quote(" BEGIN_INTERFACE") 4931cpp_quote(" HRESULT (WINAPI *QueryInterface)(IGraphConfigCallback *This,REFIID riid,void **ppvObject);") 4932cpp_quote(" ULONG (WINAPI *AddRef)(IGraphConfigCallback *This);") 4933cpp_quote(" ULONG (WINAPI *Release)(IGraphConfigCallback *This);") 4934cpp_quote(" HRESULT (WINAPI *Reconfigure)(IGraphConfigCallback *This,PVOID pvContext,DWORD dwFlags);") 4935cpp_quote(" END_INTERFACE") 4936cpp_quote(" } IGraphConfigCallbackVtbl;") 4937cpp_quote(" struct IGraphConfigCallback {") 4938cpp_quote(" CONST_VTBL struct IGraphConfigCallbackVtbl *lpVtbl;") 4939cpp_quote(" };") 4940cpp_quote("#ifdef COBJMACROS") 4941cpp_quote("#define IGraphConfigCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 4942cpp_quote("#define IGraphConfigCallback_AddRef(This) (This)->lpVtbl->AddRef(This)") 4943cpp_quote("#define IGraphConfigCallback_Release(This) (This)->lpVtbl->Release(This)") 4944cpp_quote("#define IGraphConfigCallback_Reconfigure(This,pvContext,dwFlags) (This)->lpVtbl->Reconfigure(This,pvContext,dwFlags)") 4945cpp_quote("#endif") 4946cpp_quote("#endif") 4947cpp_quote(" HRESULT WINAPI IGraphConfigCallback_Reconfigure_Proxy(IGraphConfigCallback *This,PVOID pvContext,DWORD dwFlags);") 4948cpp_quote(" void __RPC_STUB IGraphConfigCallback_Reconfigure_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4949cpp_quote("#endif") 4950cpp_quote("") 4951cpp_quote("#ifndef __IFilterChain_INTERFACE_DEFINED__") 4952cpp_quote("#define __IFilterChain_INTERFACE_DEFINED__") 4953cpp_quote(" EXTERN_C const IID IID_IFilterChain;") 4954cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 4955cpp_quote(" struct IFilterChain : public IUnknown {") 4956cpp_quote(" public:") 4957cpp_quote(" virtual HRESULT WINAPI StartChain(IBaseFilter *pStartFilter,IBaseFilter *pEndFilter) = 0;") 4958cpp_quote(" virtual HRESULT WINAPI PauseChain(IBaseFilter *pStartFilter,IBaseFilter *pEndFilter) = 0;") 4959cpp_quote(" virtual HRESULT WINAPI StopChain(IBaseFilter *pStartFilter,IBaseFilter *pEndFilter) = 0;") 4960cpp_quote(" virtual HRESULT WINAPI RemoveChain(IBaseFilter *pStartFilter,IBaseFilter *pEndFilter) = 0;") 4961cpp_quote(" };") 4962cpp_quote("#else") 4963cpp_quote(" typedef struct IFilterChainVtbl {") 4964cpp_quote(" BEGIN_INTERFACE") 4965cpp_quote(" HRESULT (WINAPI *QueryInterface)(IFilterChain *This,REFIID riid,void **ppvObject);") 4966cpp_quote(" ULONG (WINAPI *AddRef)(IFilterChain *This);") 4967cpp_quote(" ULONG (WINAPI *Release)(IFilterChain *This);") 4968cpp_quote(" HRESULT (WINAPI *StartChain)(IFilterChain *This,IBaseFilter *pStartFilter,IBaseFilter *pEndFilter);") 4969cpp_quote(" HRESULT (WINAPI *PauseChain)(IFilterChain *This,IBaseFilter *pStartFilter,IBaseFilter *pEndFilter);") 4970cpp_quote(" HRESULT (WINAPI *StopChain)(IFilterChain *This,IBaseFilter *pStartFilter,IBaseFilter *pEndFilter);") 4971cpp_quote(" HRESULT (WINAPI *RemoveChain)(IFilterChain *This,IBaseFilter *pStartFilter,IBaseFilter *pEndFilter);") 4972cpp_quote(" END_INTERFACE") 4973cpp_quote(" } IFilterChainVtbl;") 4974cpp_quote(" struct IFilterChain {") 4975cpp_quote(" CONST_VTBL struct IFilterChainVtbl *lpVtbl;") 4976cpp_quote(" };") 4977cpp_quote("#ifdef COBJMACROS") 4978cpp_quote("#define IFilterChain_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 4979cpp_quote("#define IFilterChain_AddRef(This) (This)->lpVtbl->AddRef(This)") 4980cpp_quote("#define IFilterChain_Release(This) (This)->lpVtbl->Release(This)") 4981cpp_quote("#define IFilterChain_StartChain(This,pStartFilter,pEndFilter) (This)->lpVtbl->StartChain(This,pStartFilter,pEndFilter)") 4982cpp_quote("#define IFilterChain_PauseChain(This,pStartFilter,pEndFilter) (This)->lpVtbl->PauseChain(This,pStartFilter,pEndFilter)") 4983cpp_quote("#define IFilterChain_StopChain(This,pStartFilter,pEndFilter) (This)->lpVtbl->StopChain(This,pStartFilter,pEndFilter)") 4984cpp_quote("#define IFilterChain_RemoveChain(This,pStartFilter,pEndFilter) (This)->lpVtbl->RemoveChain(This,pStartFilter,pEndFilter)") 4985cpp_quote("#endif") 4986cpp_quote("#endif") 4987cpp_quote(" HRESULT WINAPI IFilterChain_StartChain_Proxy(IFilterChain *This,IBaseFilter *pStartFilter,IBaseFilter *pEndFilter);") 4988cpp_quote(" void __RPC_STUB IFilterChain_StartChain_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4989cpp_quote(" HRESULT WINAPI IFilterChain_PauseChain_Proxy(IFilterChain *This,IBaseFilter *pStartFilter,IBaseFilter *pEndFilter);") 4990cpp_quote(" void __RPC_STUB IFilterChain_PauseChain_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4991cpp_quote(" HRESULT WINAPI IFilterChain_StopChain_Proxy(IFilterChain *This,IBaseFilter *pStartFilter,IBaseFilter *pEndFilter);") 4992cpp_quote(" void __RPC_STUB IFilterChain_StopChain_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4993cpp_quote(" HRESULT WINAPI IFilterChain_RemoveChain_Proxy(IFilterChain *This,IBaseFilter *pStartFilter,IBaseFilter *pEndFilter);") 4994cpp_quote(" void __RPC_STUB IFilterChain_RemoveChain_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 4995cpp_quote("#endif") 4996cpp_quote("") 4997cpp_quote("#ifdef MINGW_HAS_DDRAW_H") 4998cpp_quote("#include <ddraw.h>") 4999cpp_quote("#endif") 5000cpp_quote("") 5001cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0397_0002 {") 5002cpp_quote(" VMRSample_SyncPoint = 0x1,VMRSample_Preroll = 0x2,VMRSample_Discontinuity = 0x4,VMRSample_TimeValid = 0x8,VMRSample_SrcDstRectsValid = 0x10") 5003cpp_quote(" } VMRPresentationFlags;") 5004cpp_quote("") 5005cpp_quote(" typedef struct tagVMRPRESENTATIONINFO {") 5006cpp_quote(" DWORD dwFlags;") 5007cpp_quote(" LPDIRECTDRAWSURFACE7 lpSurf;") 5008cpp_quote(" REFERENCE_TIME rtStart;") 5009cpp_quote(" REFERENCE_TIME rtEnd;") 5010cpp_quote(" SIZE szAspectRatio;") 5011cpp_quote(" RECT rcSrc;") 5012cpp_quote(" RECT rcDst;") 5013cpp_quote(" DWORD dwTypeSpecificFlags;") 5014cpp_quote(" DWORD dwInterlaceFlags;") 5015cpp_quote(" } VMRPRESENTATIONINFO;") 5016cpp_quote("") 5017cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0397_v0_0_c_ifspec;") 5018cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0397_v0_0_s_ifspec;") 5019cpp_quote("#ifndef __IVMRImagePresenter_INTERFACE_DEFINED__") 5020cpp_quote("#define __IVMRImagePresenter_INTERFACE_DEFINED__") 5021cpp_quote(" EXTERN_C const IID IID_IVMRImagePresenter;") 5022cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 5023cpp_quote(" struct IVMRImagePresenter : public IUnknown {") 5024cpp_quote(" public:") 5025cpp_quote(" virtual HRESULT WINAPI StartPresenting(DWORD_PTR dwUserID) = 0;") 5026cpp_quote(" virtual HRESULT WINAPI StopPresenting(DWORD_PTR dwUserID) = 0;") 5027cpp_quote(" virtual HRESULT WINAPI PresentImage(DWORD_PTR dwUserID,VMRPRESENTATIONINFO *lpPresInfo) = 0;") 5028cpp_quote(" };") 5029cpp_quote("#else") 5030cpp_quote(" typedef struct IVMRImagePresenterVtbl {") 5031cpp_quote(" BEGIN_INTERFACE") 5032cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRImagePresenter *This,REFIID riid,void **ppvObject);") 5033cpp_quote(" ULONG (WINAPI *AddRef)(IVMRImagePresenter *This);") 5034cpp_quote(" ULONG (WINAPI *Release)(IVMRImagePresenter *This);") 5035cpp_quote(" HRESULT (WINAPI *StartPresenting)(IVMRImagePresenter *This,DWORD_PTR dwUserID);") 5036cpp_quote(" HRESULT (WINAPI *StopPresenting)(IVMRImagePresenter *This,DWORD_PTR dwUserID);") 5037cpp_quote(" HRESULT (WINAPI *PresentImage)(IVMRImagePresenter *This,DWORD_PTR dwUserID,VMRPRESENTATIONINFO *lpPresInfo);") 5038cpp_quote(" END_INTERFACE") 5039cpp_quote(" } IVMRImagePresenterVtbl;") 5040cpp_quote(" struct IVMRImagePresenter {") 5041cpp_quote(" CONST_VTBL struct IVMRImagePresenterVtbl *lpVtbl;") 5042cpp_quote(" };") 5043cpp_quote("#ifdef COBJMACROS") 5044cpp_quote("#define IVMRImagePresenter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 5045cpp_quote("#define IVMRImagePresenter_AddRef(This) (This)->lpVtbl->AddRef(This)") 5046cpp_quote("#define IVMRImagePresenter_Release(This) (This)->lpVtbl->Release(This)") 5047cpp_quote("#define IVMRImagePresenter_StartPresenting(This,dwUserID) (This)->lpVtbl->StartPresenting(This,dwUserID)") 5048cpp_quote("#define IVMRImagePresenter_StopPresenting(This,dwUserID) (This)->lpVtbl->StopPresenting(This,dwUserID)") 5049cpp_quote("#define IVMRImagePresenter_PresentImage(This,dwUserID,lpPresInfo) (This)->lpVtbl->PresentImage(This,dwUserID,lpPresInfo)") 5050cpp_quote("#endif") 5051cpp_quote("#endif") 5052cpp_quote(" HRESULT WINAPI IVMRImagePresenter_StartPresenting_Proxy(IVMRImagePresenter *This,DWORD_PTR dwUserID);") 5053cpp_quote(" void __RPC_STUB IVMRImagePresenter_StartPresenting_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5054cpp_quote(" HRESULT WINAPI IVMRImagePresenter_StopPresenting_Proxy(IVMRImagePresenter *This,DWORD_PTR dwUserID);") 5055cpp_quote(" void __RPC_STUB IVMRImagePresenter_StopPresenting_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5056cpp_quote(" HRESULT WINAPI IVMRImagePresenter_PresentImage_Proxy(IVMRImagePresenter *This,DWORD_PTR dwUserID,VMRPRESENTATIONINFO *lpPresInfo);") 5057cpp_quote(" void __RPC_STUB IVMRImagePresenter_PresentImage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5058cpp_quote("#endif") 5059cpp_quote("") 5060cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0398_0001 {") 5061cpp_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") 5062cpp_quote(" } VMRSurfaceAllocationFlags;") 5063cpp_quote("") 5064cpp_quote(" typedef struct tagVMRALLOCATIONINFO {") 5065cpp_quote(" DWORD dwFlags;") 5066cpp_quote(" LPBITMAPINFOHEADER lpHdr;") 5067cpp_quote(" LPDDPIXELFORMAT lpPixFmt;") 5068cpp_quote(" SIZE szAspectRatio;") 5069cpp_quote(" DWORD dwMinBuffers;") 5070cpp_quote(" DWORD dwMaxBuffers;") 5071cpp_quote(" DWORD dwInterlaceFlags;") 5072cpp_quote(" SIZE szNativeSize;") 5073cpp_quote(" } VMRALLOCATIONINFO;") 5074cpp_quote("") 5075cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0398_v0_0_c_ifspec;") 5076cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0398_v0_0_s_ifspec;") 5077cpp_quote("#ifndef __IVMRSurfaceAllocator_INTERFACE_DEFINED__") 5078cpp_quote("#define __IVMRSurfaceAllocator_INTERFACE_DEFINED__") 5079cpp_quote(" EXTERN_C const IID IID_IVMRSurfaceAllocator;") 5080cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 5081cpp_quote(" struct IVMRSurfaceAllocator : public IUnknown {") 5082cpp_quote(" public:") 5083cpp_quote(" virtual HRESULT WINAPI AllocateSurface(DWORD_PTR dwUserID,VMRALLOCATIONINFO *lpAllocInfo,DWORD *lpdwActualBuffers,LPDIRECTDRAWSURFACE7 *lplpSurface) = 0;") 5084cpp_quote(" virtual HRESULT WINAPI FreeSurface(DWORD_PTR dwID) = 0;") 5085cpp_quote(" virtual HRESULT WINAPI PrepareSurface(DWORD_PTR dwUserID,LPDIRECTDRAWSURFACE7 lpSurface,DWORD dwSurfaceFlags) = 0;") 5086cpp_quote(" virtual HRESULT WINAPI AdviseNotify(IVMRSurfaceAllocatorNotify *lpIVMRSurfAllocNotify) = 0;") 5087cpp_quote(" };") 5088cpp_quote("#else") 5089cpp_quote(" typedef struct IVMRSurfaceAllocatorVtbl {") 5090cpp_quote(" BEGIN_INTERFACE") 5091cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRSurfaceAllocator *This,REFIID riid,void **ppvObject);") 5092cpp_quote(" ULONG (WINAPI *AddRef)(IVMRSurfaceAllocator *This);") 5093cpp_quote(" ULONG (WINAPI *Release)(IVMRSurfaceAllocator *This);") 5094cpp_quote(" HRESULT (WINAPI *AllocateSurface)(IVMRSurfaceAllocator *This,DWORD_PTR dwUserID,VMRALLOCATIONINFO *lpAllocInfo,DWORD *lpdwActualBuffers,LPDIRECTDRAWSURFACE7 *lplpSurface);") 5095cpp_quote(" HRESULT (WINAPI *FreeSurface)(IVMRSurfaceAllocator *This,DWORD_PTR dwID);") 5096cpp_quote(" HRESULT (WINAPI *PrepareSurface)(IVMRSurfaceAllocator *This,DWORD_PTR dwUserID,LPDIRECTDRAWSURFACE7 lpSurface,DWORD dwSurfaceFlags);") 5097cpp_quote(" HRESULT (WINAPI *AdviseNotify)(IVMRSurfaceAllocator *This,IVMRSurfaceAllocatorNotify *lpIVMRSurfAllocNotify);") 5098cpp_quote(" END_INTERFACE") 5099cpp_quote(" } IVMRSurfaceAllocatorVtbl;") 5100cpp_quote(" struct IVMRSurfaceAllocator {") 5101cpp_quote(" CONST_VTBL struct IVMRSurfaceAllocatorVtbl *lpVtbl;") 5102cpp_quote(" };") 5103cpp_quote("#ifdef COBJMACROS") 5104cpp_quote("#define IVMRSurfaceAllocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 5105cpp_quote("#define IVMRSurfaceAllocator_AddRef(This) (This)->lpVtbl->AddRef(This)") 5106cpp_quote("#define IVMRSurfaceAllocator_Release(This) (This)->lpVtbl->Release(This)") 5107cpp_quote("#define IVMRSurfaceAllocator_AllocateSurface(This,dwUserID,lpAllocInfo,lpdwActualBuffers,lplpSurface) (This)->lpVtbl->AllocateSurface(This,dwUserID,lpAllocInfo,lpdwActualBuffers,lplpSurface)") 5108cpp_quote("#define IVMRSurfaceAllocator_FreeSurface(This,dwID) (This)->lpVtbl->FreeSurface(This,dwID)") 5109cpp_quote("#define IVMRSurfaceAllocator_PrepareSurface(This,dwUserID,lpSurface,dwSurfaceFlags) (This)->lpVtbl->PrepareSurface(This,dwUserID,lpSurface,dwSurfaceFlags)") 5110cpp_quote("#define IVMRSurfaceAllocator_AdviseNotify(This,lpIVMRSurfAllocNotify) (This)->lpVtbl->AdviseNotify(This,lpIVMRSurfAllocNotify)") 5111cpp_quote("#endif") 5112cpp_quote("#endif") 5113cpp_quote(" HRESULT WINAPI IVMRSurfaceAllocator_AllocateSurface_Proxy(IVMRSurfaceAllocator *This,DWORD_PTR dwUserID,VMRALLOCATIONINFO *lpAllocInfo,DWORD *lpdwActualBuffers,LPDIRECTDRAWSURFACE7 *lplpSurface);") 5114cpp_quote(" void __RPC_STUB IVMRSurfaceAllocator_AllocateSurface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5115cpp_quote(" HRESULT WINAPI IVMRSurfaceAllocator_FreeSurface_Proxy(IVMRSurfaceAllocator *This,DWORD_PTR dwID);") 5116cpp_quote(" void __RPC_STUB IVMRSurfaceAllocator_FreeSurface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5117cpp_quote(" HRESULT WINAPI IVMRSurfaceAllocator_PrepareSurface_Proxy(IVMRSurfaceAllocator *This,DWORD_PTR dwUserID,LPDIRECTDRAWSURFACE7 lpSurface,DWORD dwSurfaceFlags);") 5118cpp_quote(" void __RPC_STUB IVMRSurfaceAllocator_PrepareSurface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5119cpp_quote(" HRESULT WINAPI IVMRSurfaceAllocator_AdviseNotify_Proxy(IVMRSurfaceAllocator *This,IVMRSurfaceAllocatorNotify *lpIVMRSurfAllocNotify);") 5120cpp_quote(" void __RPC_STUB IVMRSurfaceAllocator_AdviseNotify_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5121cpp_quote("#endif") 5122cpp_quote("") 5123cpp_quote("#ifndef __IVMRSurfaceAllocatorNotify_INTERFACE_DEFINED__") 5124cpp_quote("#define __IVMRSurfaceAllocatorNotify_INTERFACE_DEFINED__") 5125cpp_quote(" EXTERN_C const IID IID_IVMRSurfaceAllocatorNotify;") 5126cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 5127cpp_quote(" struct IVMRSurfaceAllocatorNotify : public IUnknown {") 5128cpp_quote(" public:") 5129cpp_quote(" virtual HRESULT WINAPI AdviseSurfaceAllocator(DWORD_PTR dwUserID,IVMRSurfaceAllocator *lpIVRMSurfaceAllocator) = 0;") 5130cpp_quote(" virtual HRESULT WINAPI SetDDrawDevice(LPDIRECTDRAW7 lpDDrawDevice,HMONITOR hMonitor) = 0;") 5131cpp_quote(" virtual HRESULT WINAPI ChangeDDrawDevice(LPDIRECTDRAW7 lpDDrawDevice,HMONITOR hMonitor) = 0;") 5132cpp_quote(" virtual HRESULT WINAPI RestoreDDrawSurfaces(void) = 0;") 5133cpp_quote(" virtual HRESULT WINAPI NotifyEvent(LONG EventCode,LONG_PTR Param1,LONG_PTR Param2) = 0;") 5134cpp_quote(" virtual HRESULT WINAPI SetBorderColor(COLORREF clrBorder) = 0;") 5135cpp_quote(" };") 5136cpp_quote("#else") 5137cpp_quote(" typedef struct IVMRSurfaceAllocatorNotifyVtbl {") 5138cpp_quote(" BEGIN_INTERFACE") 5139cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRSurfaceAllocatorNotify *This,REFIID riid,void **ppvObject);") 5140cpp_quote(" ULONG (WINAPI *AddRef)(IVMRSurfaceAllocatorNotify *This);") 5141cpp_quote(" ULONG (WINAPI *Release)(IVMRSurfaceAllocatorNotify *This);") 5142cpp_quote(" HRESULT (WINAPI *AdviseSurfaceAllocator)(IVMRSurfaceAllocatorNotify *This,DWORD_PTR dwUserID,IVMRSurfaceAllocator *lpIVRMSurfaceAllocator);") 5143cpp_quote(" HRESULT (WINAPI *SetDDrawDevice)(IVMRSurfaceAllocatorNotify *This,LPDIRECTDRAW7 lpDDrawDevice,HMONITOR hMonitor);") 5144cpp_quote(" HRESULT (WINAPI *ChangeDDrawDevice)(IVMRSurfaceAllocatorNotify *This,LPDIRECTDRAW7 lpDDrawDevice,HMONITOR hMonitor);") 5145cpp_quote(" HRESULT (WINAPI *RestoreDDrawSurfaces)(IVMRSurfaceAllocatorNotify *This);") 5146cpp_quote(" HRESULT (WINAPI *NotifyEvent)(IVMRSurfaceAllocatorNotify *This,LONG EventCode,LONG_PTR Param1,LONG_PTR Param2);") 5147cpp_quote(" HRESULT (WINAPI *SetBorderColor)(IVMRSurfaceAllocatorNotify *This,COLORREF clrBorder);") 5148cpp_quote(" END_INTERFACE") 5149cpp_quote(" } IVMRSurfaceAllocatorNotifyVtbl;") 5150cpp_quote(" struct IVMRSurfaceAllocatorNotify {") 5151cpp_quote(" CONST_VTBL struct IVMRSurfaceAllocatorNotifyVtbl *lpVtbl;") 5152cpp_quote(" };") 5153cpp_quote("#ifdef COBJMACROS") 5154cpp_quote("#define IVMRSurfaceAllocatorNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 5155cpp_quote("#define IVMRSurfaceAllocatorNotify_AddRef(This) (This)->lpVtbl->AddRef(This)") 5156cpp_quote("#define IVMRSurfaceAllocatorNotify_Release(This) (This)->lpVtbl->Release(This)") 5157cpp_quote("#define IVMRSurfaceAllocatorNotify_AdviseSurfaceAllocator(This,dwUserID,lpIVRMSurfaceAllocator) (This)->lpVtbl->AdviseSurfaceAllocator(This,dwUserID,lpIVRMSurfaceAllocator)") 5158cpp_quote("#define IVMRSurfaceAllocatorNotify_SetDDrawDevice(This,lpDDrawDevice,hMonitor) (This)->lpVtbl->SetDDrawDevice(This,lpDDrawDevice,hMonitor)") 5159cpp_quote("#define IVMRSurfaceAllocatorNotify_ChangeDDrawDevice(This,lpDDrawDevice,hMonitor) (This)->lpVtbl->ChangeDDrawDevice(This,lpDDrawDevice,hMonitor)") 5160cpp_quote("#define IVMRSurfaceAllocatorNotify_RestoreDDrawSurfaces(This) (This)->lpVtbl->RestoreDDrawSurfaces(This)") 5161cpp_quote("#define IVMRSurfaceAllocatorNotify_NotifyEvent(This,EventCode,Param1,Param2) (This)->lpVtbl->NotifyEvent(This,EventCode,Param1,Param2)") 5162cpp_quote("#define IVMRSurfaceAllocatorNotify_SetBorderColor(This,clrBorder) (This)->lpVtbl->SetBorderColor(This,clrBorder)") 5163cpp_quote("#endif") 5164cpp_quote("#endif") 5165cpp_quote(" HRESULT WINAPI IVMRSurfaceAllocatorNotify_AdviseSurfaceAllocator_Proxy(IVMRSurfaceAllocatorNotify *This,DWORD_PTR dwUserID,IVMRSurfaceAllocator *lpIVRMSurfaceAllocator);") 5166cpp_quote(" void __RPC_STUB IVMRSurfaceAllocatorNotify_AdviseSurfaceAllocator_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5167cpp_quote(" HRESULT WINAPI IVMRSurfaceAllocatorNotify_SetDDrawDevice_Proxy(IVMRSurfaceAllocatorNotify *This,LPDIRECTDRAW7 lpDDrawDevice,HMONITOR hMonitor);") 5168cpp_quote(" void __RPC_STUB IVMRSurfaceAllocatorNotify_SetDDrawDevice_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5169cpp_quote(" HRESULT WINAPI IVMRSurfaceAllocatorNotify_ChangeDDrawDevice_Proxy(IVMRSurfaceAllocatorNotify *This,LPDIRECTDRAW7 lpDDrawDevice,HMONITOR hMonitor);") 5170cpp_quote(" void __RPC_STUB IVMRSurfaceAllocatorNotify_ChangeDDrawDevice_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5171cpp_quote(" HRESULT WINAPI IVMRSurfaceAllocatorNotify_RestoreDDrawSurfaces_Proxy(IVMRSurfaceAllocatorNotify *This);") 5172cpp_quote(" void __RPC_STUB IVMRSurfaceAllocatorNotify_RestoreDDrawSurfaces_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5173cpp_quote(" HRESULT WINAPI IVMRSurfaceAllocatorNotify_NotifyEvent_Proxy(IVMRSurfaceAllocatorNotify *This,LONG EventCode,LONG_PTR Param1,LONG_PTR Param2);") 5174cpp_quote(" void __RPC_STUB IVMRSurfaceAllocatorNotify_NotifyEvent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5175cpp_quote(" HRESULT WINAPI IVMRSurfaceAllocatorNotify_SetBorderColor_Proxy(IVMRSurfaceAllocatorNotify *This,COLORREF clrBorder);") 5176cpp_quote(" void __RPC_STUB IVMRSurfaceAllocatorNotify_SetBorderColor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5177cpp_quote("#endif") 5178cpp_quote("") 5179cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0400_0001 {") 5180cpp_quote(" VMR_ARMODE_NONE = 0,VMR_ARMODE_LETTER_BOX = VMR_ARMODE_NONE + 1") 5181cpp_quote(" } VMR_ASPECT_RATIO_MODE;") 5182cpp_quote("") 5183cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0400_v0_0_c_ifspec;") 5184cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0400_v0_0_s_ifspec;") 5185cpp_quote("#ifndef __IVMRWindowlessControl_INTERFACE_DEFINED__") 5186cpp_quote("#define __IVMRWindowlessControl_INTERFACE_DEFINED__") 5187cpp_quote(" EXTERN_C const IID IID_IVMRWindowlessControl;") 5188cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 5189cpp_quote(" struct IVMRWindowlessControl : public IUnknown {") 5190cpp_quote(" public:") 5191cpp_quote(" virtual HRESULT WINAPI GetNativeVideoSize(LONG *lpWidth,LONG *lpHeight,LONG *lpARWidth,LONG *lpARHeight) = 0;") 5192cpp_quote(" virtual HRESULT WINAPI GetMinIdealVideoSize(LONG *lpWidth,LONG *lpHeight) = 0;") 5193cpp_quote(" virtual HRESULT WINAPI GetMaxIdealVideoSize(LONG *lpWidth,LONG *lpHeight) = 0;") 5194cpp_quote(" virtual HRESULT WINAPI SetVideoPosition(const LPRECT lpSRCRect,const LPRECT lpDSTRect) = 0;") 5195cpp_quote(" virtual HRESULT WINAPI GetVideoPosition(LPRECT lpSRCRect,LPRECT lpDSTRect) = 0;") 5196cpp_quote(" virtual HRESULT WINAPI GetAspectRatioMode(DWORD *lpAspectRatioMode) = 0;") 5197cpp_quote(" virtual HRESULT WINAPI SetAspectRatioMode(DWORD AspectRatioMode) = 0;") 5198cpp_quote(" virtual HRESULT WINAPI SetVideoClippingWindow(HWND hwnd) = 0;") 5199cpp_quote(" virtual HRESULT WINAPI RepaintVideo(HWND hwnd,HDC hdc) = 0;") 5200cpp_quote(" virtual HRESULT WINAPI DisplayModeChanged(void) = 0;") 5201cpp_quote(" virtual HRESULT WINAPI GetCurrentImage(BYTE **lpDib) = 0;") 5202cpp_quote(" virtual HRESULT WINAPI SetBorderColor(COLORREF Clr) = 0;") 5203cpp_quote(" virtual HRESULT WINAPI GetBorderColor(COLORREF *lpClr) = 0;") 5204cpp_quote(" virtual HRESULT WINAPI SetColorKey(COLORREF Clr) = 0;") 5205cpp_quote(" virtual HRESULT WINAPI GetColorKey(COLORREF *lpClr) = 0;") 5206cpp_quote(" };") 5207cpp_quote("#else") 5208cpp_quote(" typedef struct IVMRWindowlessControlVtbl {") 5209cpp_quote(" BEGIN_INTERFACE") 5210cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRWindowlessControl *This,REFIID riid,void **ppvObject);") 5211cpp_quote(" ULONG (WINAPI *AddRef)(IVMRWindowlessControl *This);") 5212cpp_quote(" ULONG (WINAPI *Release)(IVMRWindowlessControl *This);") 5213cpp_quote(" HRESULT (WINAPI *GetNativeVideoSize)(IVMRWindowlessControl *This,LONG *lpWidth,LONG *lpHeight,LONG *lpARWidth,LONG *lpARHeight);") 5214cpp_quote(" HRESULT (WINAPI *GetMinIdealVideoSize)(IVMRWindowlessControl *This,LONG *lpWidth,LONG *lpHeight);") 5215cpp_quote(" HRESULT (WINAPI *GetMaxIdealVideoSize)(IVMRWindowlessControl *This,LONG *lpWidth,LONG *lpHeight);") 5216cpp_quote(" HRESULT (WINAPI *SetVideoPosition)(IVMRWindowlessControl *This,const LPRECT lpSRCRect,const LPRECT lpDSTRect);") 5217cpp_quote(" HRESULT (WINAPI *GetVideoPosition)(IVMRWindowlessControl *This,LPRECT lpSRCRect,LPRECT lpDSTRect);") 5218cpp_quote(" HRESULT (WINAPI *GetAspectRatioMode)(IVMRWindowlessControl *This,DWORD *lpAspectRatioMode);") 5219cpp_quote(" HRESULT (WINAPI *SetAspectRatioMode)(IVMRWindowlessControl *This,DWORD AspectRatioMode);") 5220cpp_quote(" HRESULT (WINAPI *SetVideoClippingWindow)(IVMRWindowlessControl *This,HWND hwnd);") 5221cpp_quote(" HRESULT (WINAPI *RepaintVideo)(IVMRWindowlessControl *This,HWND hwnd,HDC hdc);") 5222cpp_quote(" HRESULT (WINAPI *DisplayModeChanged)(IVMRWindowlessControl *This);") 5223cpp_quote(" HRESULT (WINAPI *GetCurrentImage)(IVMRWindowlessControl *This,BYTE **lpDib);") 5224cpp_quote(" HRESULT (WINAPI *SetBorderColor)(IVMRWindowlessControl *This,COLORREF Clr);") 5225cpp_quote(" HRESULT (WINAPI *GetBorderColor)(IVMRWindowlessControl *This,COLORREF *lpClr);") 5226cpp_quote(" HRESULT (WINAPI *SetColorKey)(IVMRWindowlessControl *This,COLORREF Clr);") 5227cpp_quote(" HRESULT (WINAPI *GetColorKey)(IVMRWindowlessControl *This,COLORREF *lpClr);") 5228cpp_quote(" END_INTERFACE") 5229cpp_quote(" } IVMRWindowlessControlVtbl;") 5230cpp_quote(" struct IVMRWindowlessControl {") 5231cpp_quote(" CONST_VTBL struct IVMRWindowlessControlVtbl *lpVtbl;") 5232cpp_quote(" };") 5233cpp_quote("#ifdef COBJMACROS") 5234cpp_quote("#define IVMRWindowlessControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 5235cpp_quote("#define IVMRWindowlessControl_AddRef(This) (This)->lpVtbl->AddRef(This)") 5236cpp_quote("#define IVMRWindowlessControl_Release(This) (This)->lpVtbl->Release(This)") 5237cpp_quote("#define IVMRWindowlessControl_GetNativeVideoSize(This,lpWidth,lpHeight,lpARWidth,lpARHeight) (This)->lpVtbl->GetNativeVideoSize(This,lpWidth,lpHeight,lpARWidth,lpARHeight)") 5238cpp_quote("#define IVMRWindowlessControl_GetMinIdealVideoSize(This,lpWidth,lpHeight) (This)->lpVtbl->GetMinIdealVideoSize(This,lpWidth,lpHeight)") 5239cpp_quote("#define IVMRWindowlessControl_GetMaxIdealVideoSize(This,lpWidth,lpHeight) (This)->lpVtbl->GetMaxIdealVideoSize(This,lpWidth,lpHeight)") 5240cpp_quote("#define IVMRWindowlessControl_SetVideoPosition(This,lpSRCRect,lpDSTRect) (This)->lpVtbl->SetVideoPosition(This,lpSRCRect,lpDSTRect)") 5241cpp_quote("#define IVMRWindowlessControl_GetVideoPosition(This,lpSRCRect,lpDSTRect) (This)->lpVtbl->GetVideoPosition(This,lpSRCRect,lpDSTRect)") 5242cpp_quote("#define IVMRWindowlessControl_GetAspectRatioMode(This,lpAspectRatioMode) (This)->lpVtbl->GetAspectRatioMode(This,lpAspectRatioMode)") 5243cpp_quote("#define IVMRWindowlessControl_SetAspectRatioMode(This,AspectRatioMode) (This)->lpVtbl->SetAspectRatioMode(This,AspectRatioMode)") 5244cpp_quote("#define IVMRWindowlessControl_SetVideoClippingWindow(This,hwnd) (This)->lpVtbl->SetVideoClippingWindow(This,hwnd)") 5245cpp_quote("#define IVMRWindowlessControl_RepaintVideo(This,hwnd,hdc) (This)->lpVtbl->RepaintVideo(This,hwnd,hdc)") 5246cpp_quote("#define IVMRWindowlessControl_DisplayModeChanged(This) (This)->lpVtbl->DisplayModeChanged(This)") 5247cpp_quote("#define IVMRWindowlessControl_GetCurrentImage(This,lpDib) (This)->lpVtbl->GetCurrentImage(This,lpDib)") 5248cpp_quote("#define IVMRWindowlessControl_SetBorderColor(This,Clr) (This)->lpVtbl->SetBorderColor(This,Clr)") 5249cpp_quote("#define IVMRWindowlessControl_GetBorderColor(This,lpClr) (This)->lpVtbl->GetBorderColor(This,lpClr)") 5250cpp_quote("#define IVMRWindowlessControl_SetColorKey(This,Clr) (This)->lpVtbl->SetColorKey(This,Clr)") 5251cpp_quote("#define IVMRWindowlessControl_GetColorKey(This,lpClr) (This)->lpVtbl->GetColorKey(This,lpClr)") 5252cpp_quote("#endif") 5253cpp_quote("#endif") 5254cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_GetNativeVideoSize_Proxy(IVMRWindowlessControl *This,LONG *lpWidth,LONG *lpHeight,LONG *lpARWidth,LONG *lpARHeight);") 5255cpp_quote(" void __RPC_STUB IVMRWindowlessControl_GetNativeVideoSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5256cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_GetMinIdealVideoSize_Proxy(IVMRWindowlessControl *This,LONG *lpWidth,LONG *lpHeight);") 5257cpp_quote(" void __RPC_STUB IVMRWindowlessControl_GetMinIdealVideoSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5258cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_GetMaxIdealVideoSize_Proxy(IVMRWindowlessControl *This,LONG *lpWidth,LONG *lpHeight);") 5259cpp_quote(" void __RPC_STUB IVMRWindowlessControl_GetMaxIdealVideoSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5260cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_SetVideoPosition_Proxy(IVMRWindowlessControl *This,const LPRECT lpSRCRect,const LPRECT lpDSTRect);") 5261cpp_quote(" void __RPC_STUB IVMRWindowlessControl_SetVideoPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5262cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_GetVideoPosition_Proxy(IVMRWindowlessControl *This,LPRECT lpSRCRect,LPRECT lpDSTRect);") 5263cpp_quote(" void __RPC_STUB IVMRWindowlessControl_GetVideoPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5264cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_GetAspectRatioMode_Proxy(IVMRWindowlessControl *This,DWORD *lpAspectRatioMode);") 5265cpp_quote(" void __RPC_STUB IVMRWindowlessControl_GetAspectRatioMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5266cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_SetAspectRatioMode_Proxy(IVMRWindowlessControl *This,DWORD AspectRatioMode);") 5267cpp_quote(" void __RPC_STUB IVMRWindowlessControl_SetAspectRatioMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5268cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_SetVideoClippingWindow_Proxy(IVMRWindowlessControl *This,HWND hwnd);") 5269cpp_quote(" void __RPC_STUB IVMRWindowlessControl_SetVideoClippingWindow_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5270cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_RepaintVideo_Proxy(IVMRWindowlessControl *This,HWND hwnd,HDC hdc);") 5271cpp_quote(" void __RPC_STUB IVMRWindowlessControl_RepaintVideo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5272cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_DisplayModeChanged_Proxy(IVMRWindowlessControl *This);") 5273cpp_quote(" void __RPC_STUB IVMRWindowlessControl_DisplayModeChanged_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5274cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_GetCurrentImage_Proxy(IVMRWindowlessControl *This,BYTE **lpDib);") 5275cpp_quote(" void __RPC_STUB IVMRWindowlessControl_GetCurrentImage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5276cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_SetBorderColor_Proxy(IVMRWindowlessControl *This,COLORREF Clr);") 5277cpp_quote(" void __RPC_STUB IVMRWindowlessControl_SetBorderColor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5278cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_GetBorderColor_Proxy(IVMRWindowlessControl *This,COLORREF *lpClr);") 5279cpp_quote(" void __RPC_STUB IVMRWindowlessControl_GetBorderColor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5280cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_SetColorKey_Proxy(IVMRWindowlessControl *This,COLORREF Clr);") 5281cpp_quote(" void __RPC_STUB IVMRWindowlessControl_SetColorKey_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5282cpp_quote(" HRESULT WINAPI IVMRWindowlessControl_GetColorKey_Proxy(IVMRWindowlessControl *This,COLORREF *lpClr);") 5283cpp_quote(" void __RPC_STUB IVMRWindowlessControl_GetColorKey_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5284cpp_quote("#endif") 5285cpp_quote("") 5286cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0401_0001 {") 5287cpp_quote(" MixerPref_NoDecimation = 0x1,MixerPref_DecimateOutput = 0x2,MixerPref_ARAdjustXorY = 0x4,MixerPref_DecimationReserved = 0x8,") 5288cpp_quote(" MixerPref_DecimateMask = 0xf,MixerPref_BiLinearFiltering = 0x10,MixerPref_PointFiltering = 0x20,MixerPref_FilteringMask = 0xf0,") 5289cpp_quote(" MixerPref_RenderTargetRGB = 0x100,MixerPref_RenderTargetYUV = 0x1000,MixerPref_RenderTargetYUV420 = 0x200,MixerPref_RenderTargetYUV422 = 0x400,") 5290cpp_quote(" MixerPref_RenderTargetYUV444 = 0x800,MixerPref_RenderTargetReserved = 0xe000,MixerPref_RenderTargetMask = 0xff00,") 5291cpp_quote(" MixerPref_DynamicSwitchToBOB = 0x10000,MixerPref_DynamicDecimateBy2 = 0x20000,MixerPref_DynamicReserved = 0xc0000,") 5292cpp_quote(" MixerPref_DynamicMask = 0xf0000") 5293cpp_quote(" } VMRMixerPrefs;") 5294cpp_quote("") 5295cpp_quote(" typedef struct _NORMALIZEDRECT {") 5296cpp_quote(" float left;") 5297cpp_quote(" float top;") 5298cpp_quote(" float right;") 5299cpp_quote(" float bottom;") 5300cpp_quote(" } NORMALIZEDRECT;") 5301cpp_quote("") 5302cpp_quote(" typedef struct _NORMALIZEDRECT *PNORMALIZEDRECT;") 5303cpp_quote("") 5304cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0401_v0_0_c_ifspec;") 5305cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0401_v0_0_s_ifspec;") 5306cpp_quote("#ifndef __IVMRMixerControl_INTERFACE_DEFINED__") 5307cpp_quote("#define __IVMRMixerControl_INTERFACE_DEFINED__") 5308cpp_quote(" EXTERN_C const IID IID_IVMRMixerControl;") 5309cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 5310cpp_quote(" struct IVMRMixerControl : public IUnknown {") 5311cpp_quote(" public:") 5312cpp_quote(" virtual HRESULT WINAPI SetAlpha(DWORD dwStreamID,float Alpha) = 0;") 5313cpp_quote(" virtual HRESULT WINAPI GetAlpha(DWORD dwStreamID,float *pAlpha) = 0;") 5314cpp_quote(" virtual HRESULT WINAPI SetZOrder(DWORD dwStreamID,DWORD dwZ) = 0;") 5315cpp_quote(" virtual HRESULT WINAPI GetZOrder(DWORD dwStreamID,DWORD *pZ) = 0;") 5316cpp_quote(" virtual HRESULT WINAPI SetOutputRect(DWORD dwStreamID,const NORMALIZEDRECT *pRect) = 0;") 5317cpp_quote(" virtual HRESULT WINAPI GetOutputRect(DWORD dwStreamID,NORMALIZEDRECT *pRect) = 0;") 5318cpp_quote(" virtual HRESULT WINAPI SetBackgroundClr(COLORREF ClrBkg) = 0;") 5319cpp_quote(" virtual HRESULT WINAPI GetBackgroundClr(COLORREF *lpClrBkg) = 0;") 5320cpp_quote(" virtual HRESULT WINAPI SetMixingPrefs(DWORD dwMixerPrefs) = 0;") 5321cpp_quote(" virtual HRESULT WINAPI GetMixingPrefs(DWORD *pdwMixerPrefs) = 0;") 5322cpp_quote(" };") 5323cpp_quote("#else") 5324cpp_quote(" typedef struct IVMRMixerControlVtbl {") 5325cpp_quote(" BEGIN_INTERFACE") 5326cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRMixerControl *This,REFIID riid,void **ppvObject);") 5327cpp_quote(" ULONG (WINAPI *AddRef)(IVMRMixerControl *This);") 5328cpp_quote(" ULONG (WINAPI *Release)(IVMRMixerControl *This);") 5329cpp_quote(" HRESULT (WINAPI *SetAlpha)(IVMRMixerControl *This,DWORD dwStreamID,float Alpha);") 5330cpp_quote(" HRESULT (WINAPI *GetAlpha)(IVMRMixerControl *This,DWORD dwStreamID,float *pAlpha);") 5331cpp_quote(" HRESULT (WINAPI *SetZOrder)(IVMRMixerControl *This,DWORD dwStreamID,DWORD dwZ);") 5332cpp_quote(" HRESULT (WINAPI *GetZOrder)(IVMRMixerControl *This,DWORD dwStreamID,DWORD *pZ);") 5333cpp_quote(" HRESULT (WINAPI *SetOutputRect)(IVMRMixerControl *This,DWORD dwStreamID,const NORMALIZEDRECT *pRect);") 5334cpp_quote(" HRESULT (WINAPI *GetOutputRect)(IVMRMixerControl *This,DWORD dwStreamID,NORMALIZEDRECT *pRect);") 5335cpp_quote(" HRESULT (WINAPI *SetBackgroundClr)(IVMRMixerControl *This,COLORREF ClrBkg);") 5336cpp_quote(" HRESULT (WINAPI *GetBackgroundClr)(IVMRMixerControl *This,COLORREF *lpClrBkg);") 5337cpp_quote(" HRESULT (WINAPI *SetMixingPrefs)(IVMRMixerControl *This,DWORD dwMixerPrefs);") 5338cpp_quote(" HRESULT (WINAPI *GetMixingPrefs)(IVMRMixerControl *This,DWORD *pdwMixerPrefs);") 5339cpp_quote(" END_INTERFACE") 5340cpp_quote(" } IVMRMixerControlVtbl;") 5341cpp_quote(" struct IVMRMixerControl {") 5342cpp_quote(" CONST_VTBL struct IVMRMixerControlVtbl *lpVtbl;") 5343cpp_quote(" };") 5344cpp_quote("#ifdef COBJMACROS") 5345cpp_quote("#define IVMRMixerControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 5346cpp_quote("#define IVMRMixerControl_AddRef(This) (This)->lpVtbl->AddRef(This)") 5347cpp_quote("#define IVMRMixerControl_Release(This) (This)->lpVtbl->Release(This)") 5348cpp_quote("#define IVMRMixerControl_SetAlpha(This,dwStreamID,Alpha) (This)->lpVtbl->SetAlpha(This,dwStreamID,Alpha)") 5349cpp_quote("#define IVMRMixerControl_GetAlpha(This,dwStreamID,pAlpha) (This)->lpVtbl->GetAlpha(This,dwStreamID,pAlpha)") 5350cpp_quote("#define IVMRMixerControl_SetZOrder(This,dwStreamID,dwZ) (This)->lpVtbl->SetZOrder(This,dwStreamID,dwZ)") 5351cpp_quote("#define IVMRMixerControl_GetZOrder(This,dwStreamID,pZ) (This)->lpVtbl->GetZOrder(This,dwStreamID,pZ)") 5352cpp_quote("#define IVMRMixerControl_SetOutputRect(This,dwStreamID,pRect) (This)->lpVtbl->SetOutputRect(This,dwStreamID,pRect)") 5353cpp_quote("#define IVMRMixerControl_GetOutputRect(This,dwStreamID,pRect) (This)->lpVtbl->GetOutputRect(This,dwStreamID,pRect)") 5354cpp_quote("#define IVMRMixerControl_SetBackgroundClr(This,ClrBkg) (This)->lpVtbl->SetBackgroundClr(This,ClrBkg)") 5355cpp_quote("#define IVMRMixerControl_GetBackgroundClr(This,lpClrBkg) (This)->lpVtbl->GetBackgroundClr(This,lpClrBkg)") 5356cpp_quote("#define IVMRMixerControl_SetMixingPrefs(This,dwMixerPrefs) (This)->lpVtbl->SetMixingPrefs(This,dwMixerPrefs)") 5357cpp_quote("#define IVMRMixerControl_GetMixingPrefs(This,pdwMixerPrefs) (This)->lpVtbl->GetMixingPrefs(This,pdwMixerPrefs)") 5358cpp_quote("#endif") 5359cpp_quote("#endif") 5360cpp_quote(" HRESULT WINAPI IVMRMixerControl_SetAlpha_Proxy(IVMRMixerControl *This,DWORD dwStreamID,float Alpha);") 5361cpp_quote(" void __RPC_STUB IVMRMixerControl_SetAlpha_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5362cpp_quote(" HRESULT WINAPI IVMRMixerControl_GetAlpha_Proxy(IVMRMixerControl *This,DWORD dwStreamID,float *pAlpha);") 5363cpp_quote(" void __RPC_STUB IVMRMixerControl_GetAlpha_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5364cpp_quote(" HRESULT WINAPI IVMRMixerControl_SetZOrder_Proxy(IVMRMixerControl *This,DWORD dwStreamID,DWORD dwZ);") 5365cpp_quote(" void __RPC_STUB IVMRMixerControl_SetZOrder_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5366cpp_quote(" HRESULT WINAPI IVMRMixerControl_GetZOrder_Proxy(IVMRMixerControl *This,DWORD dwStreamID,DWORD *pZ);") 5367cpp_quote(" void __RPC_STUB IVMRMixerControl_GetZOrder_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5368cpp_quote(" HRESULT WINAPI IVMRMixerControl_SetOutputRect_Proxy(IVMRMixerControl *This,DWORD dwStreamID,const NORMALIZEDRECT *pRect);") 5369cpp_quote(" void __RPC_STUB IVMRMixerControl_SetOutputRect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5370cpp_quote(" HRESULT WINAPI IVMRMixerControl_GetOutputRect_Proxy(IVMRMixerControl *This,DWORD dwStreamID,NORMALIZEDRECT *pRect);") 5371cpp_quote(" void __RPC_STUB IVMRMixerControl_GetOutputRect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5372cpp_quote(" HRESULT WINAPI IVMRMixerControl_SetBackgroundClr_Proxy(IVMRMixerControl *This,COLORREF ClrBkg);") 5373cpp_quote(" void __RPC_STUB IVMRMixerControl_SetBackgroundClr_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5374cpp_quote(" HRESULT WINAPI IVMRMixerControl_GetBackgroundClr_Proxy(IVMRMixerControl *This,COLORREF *lpClrBkg);") 5375cpp_quote(" void __RPC_STUB IVMRMixerControl_GetBackgroundClr_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5376cpp_quote(" HRESULT WINAPI IVMRMixerControl_SetMixingPrefs_Proxy(IVMRMixerControl *This,DWORD dwMixerPrefs);") 5377cpp_quote(" void __RPC_STUB IVMRMixerControl_SetMixingPrefs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5378cpp_quote(" HRESULT WINAPI IVMRMixerControl_GetMixingPrefs_Proxy(IVMRMixerControl *This,DWORD *pdwMixerPrefs);") 5379cpp_quote("") 5380cpp_quote(" void __RPC_STUB IVMRMixerControl_GetMixingPrefs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5381cpp_quote("#endif") 5382cpp_quote("") 5383cpp_quote("#ifdef __cplusplus") 5384cpp_quote(" typedef struct tagVMRGUID {") 5385cpp_quote(" ::GUID *pGUID;") 5386cpp_quote(" ::GUID GUID;") 5387cpp_quote(" } VMRGUID;") 5388cpp_quote("#else") 5389cpp_quote(" typedef struct tagVMRGUID {") 5390cpp_quote(" GUID *pGUID;") 5391cpp_quote(" GUID GUID;") 5392cpp_quote(" } VMRGUID;") 5393cpp_quote("#endif") 5394cpp_quote("") 5395cpp_quote(" typedef struct tagVMRMONITORINFO {") 5396cpp_quote(" VMRGUID guid;") 5397cpp_quote(" RECT rcMonitor;") 5398cpp_quote(" HMONITOR hMon;") 5399cpp_quote(" DWORD dwFlags;") 5400cpp_quote(" wchar_t szDevice[32];") 5401cpp_quote(" wchar_t szDescription[256];") 5402cpp_quote(" LARGE_INTEGER liDriverVersion;") 5403cpp_quote(" DWORD dwVendorId;") 5404cpp_quote(" DWORD dwDeviceId;") 5405cpp_quote(" DWORD dwSubSysId;") 5406cpp_quote(" DWORD dwRevision;") 5407cpp_quote(" } VMRMONITORINFO;") 5408cpp_quote("") 5409cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0402_v0_0_c_ifspec;") 5410cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0402_v0_0_s_ifspec;") 5411cpp_quote("#ifndef __IVMRMonitorConfig_INTERFACE_DEFINED__") 5412cpp_quote("#define __IVMRMonitorConfig_INTERFACE_DEFINED__") 5413cpp_quote(" EXTERN_C const IID IID_IVMRMonitorConfig;") 5414cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 5415cpp_quote(" struct IVMRMonitorConfig : public IUnknown {") 5416cpp_quote(" public:") 5417cpp_quote(" virtual HRESULT WINAPI SetMonitor(const VMRGUID *pGUID) = 0;") 5418cpp_quote(" virtual HRESULT WINAPI GetMonitor(VMRGUID *pGUID) = 0;") 5419cpp_quote(" virtual HRESULT WINAPI SetDefaultMonitor(const VMRGUID *pGUID) = 0;") 5420cpp_quote(" virtual HRESULT WINAPI GetDefaultMonitor(VMRGUID *pGUID) = 0;") 5421cpp_quote(" virtual HRESULT WINAPI GetAvailableMonitors(VMRMONITORINFO *pInfo,DWORD dwMaxInfoArraySize,DWORD *pdwNumDevices) = 0;") 5422cpp_quote(" };") 5423cpp_quote("#else") 5424cpp_quote(" typedef struct IVMRMonitorConfigVtbl {") 5425cpp_quote(" BEGIN_INTERFACE") 5426cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRMonitorConfig *This,REFIID riid,void **ppvObject);") 5427cpp_quote(" ULONG (WINAPI *AddRef)(IVMRMonitorConfig *This);") 5428cpp_quote(" ULONG (WINAPI *Release)(IVMRMonitorConfig *This);") 5429cpp_quote(" HRESULT (WINAPI *SetMonitor)(IVMRMonitorConfig *This,const VMRGUID *pGUID);") 5430cpp_quote(" HRESULT (WINAPI *GetMonitor)(IVMRMonitorConfig *This,VMRGUID *pGUID);") 5431cpp_quote(" HRESULT (WINAPI *SetDefaultMonitor)(IVMRMonitorConfig *This,const VMRGUID *pGUID);") 5432cpp_quote(" HRESULT (WINAPI *GetDefaultMonitor)(IVMRMonitorConfig *This,VMRGUID *pGUID);") 5433cpp_quote(" HRESULT (WINAPI *GetAvailableMonitors)(IVMRMonitorConfig *This,VMRMONITORINFO *pInfo,DWORD dwMaxInfoArraySize,DWORD *pdwNumDevices);") 5434cpp_quote(" END_INTERFACE") 5435cpp_quote(" } IVMRMonitorConfigVtbl;") 5436cpp_quote(" struct IVMRMonitorConfig {") 5437cpp_quote(" CONST_VTBL struct IVMRMonitorConfigVtbl *lpVtbl;") 5438cpp_quote(" };") 5439cpp_quote("#ifdef COBJMACROS") 5440cpp_quote("#define IVMRMonitorConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 5441cpp_quote("#define IVMRMonitorConfig_AddRef(This) (This)->lpVtbl->AddRef(This)") 5442cpp_quote("#define IVMRMonitorConfig_Release(This) (This)->lpVtbl->Release(This)") 5443cpp_quote("#define IVMRMonitorConfig_SetMonitor(This,pGUID) (This)->lpVtbl->SetMonitor(This,pGUID)") 5444cpp_quote("#define IVMRMonitorConfig_GetMonitor(This,pGUID) (This)->lpVtbl->GetMonitor(This,pGUID)") 5445cpp_quote("#define IVMRMonitorConfig_SetDefaultMonitor(This,pGUID) (This)->lpVtbl->SetDefaultMonitor(This,pGUID)") 5446cpp_quote("#define IVMRMonitorConfig_GetDefaultMonitor(This,pGUID) (This)->lpVtbl->GetDefaultMonitor(This,pGUID)") 5447cpp_quote("#define IVMRMonitorConfig_GetAvailableMonitors(This,pInfo,dwMaxInfoArraySize,pdwNumDevices) (This)->lpVtbl->GetAvailableMonitors(This,pInfo,dwMaxInfoArraySize,pdwNumDevices)") 5448cpp_quote("#endif") 5449cpp_quote("#endif") 5450cpp_quote(" HRESULT WINAPI IVMRMonitorConfig_SetMonitor_Proxy(IVMRMonitorConfig *This,const VMRGUID *pGUID);") 5451cpp_quote(" void __RPC_STUB IVMRMonitorConfig_SetMonitor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5452cpp_quote(" HRESULT WINAPI IVMRMonitorConfig_GetMonitor_Proxy(IVMRMonitorConfig *This,VMRGUID *pGUID);") 5453cpp_quote(" void __RPC_STUB IVMRMonitorConfig_GetMonitor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5454cpp_quote(" HRESULT WINAPI IVMRMonitorConfig_SetDefaultMonitor_Proxy(IVMRMonitorConfig *This,const VMRGUID *pGUID);") 5455cpp_quote(" void __RPC_STUB IVMRMonitorConfig_SetDefaultMonitor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5456cpp_quote(" HRESULT WINAPI IVMRMonitorConfig_GetDefaultMonitor_Proxy(IVMRMonitorConfig *This,VMRGUID *pGUID);") 5457cpp_quote(" void __RPC_STUB IVMRMonitorConfig_GetDefaultMonitor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5458cpp_quote(" HRESULT WINAPI IVMRMonitorConfig_GetAvailableMonitors_Proxy(IVMRMonitorConfig *This,VMRMONITORINFO *pInfo,DWORD dwMaxInfoArraySize,DWORD *pdwNumDevices);") 5459cpp_quote(" void __RPC_STUB IVMRMonitorConfig_GetAvailableMonitors_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5460cpp_quote("#endif") 5461cpp_quote("") 5462cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0403_0001 {") 5463cpp_quote(" RenderPrefs_RestrictToInitialMonitor = 0,RenderPrefs_ForceOffscreen = 0x1,RenderPrefs_ForceOverlays = 0x2,RenderPrefs_AllowOverlays = 0,") 5464cpp_quote(" RenderPrefs_AllowOffscreen = 0,RenderPrefs_DoNotRenderColorKeyAndBorder = 0x8,RenderPrefs_Reserved = 0x10,RenderPrefs_PreferAGPMemWhenMixing = 0x20,") 5465cpp_quote(" RenderPrefs_Mask = 0x3f") 5466cpp_quote(" } VMRRenderPrefs;") 5467cpp_quote("") 5468cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0403_0002 {") 5469cpp_quote(" VMRMode_Windowed = 0x1,VMRMode_Windowless = 0x2,VMRMode_Renderless = 0x4,VMRMode_Mask = 0x7") 5470cpp_quote(" } VMRMode;") 5471cpp_quote("") 5472cpp_quote(" enum __MIDL___MIDL_itf_strmif_0403_0003 {") 5473cpp_quote(" MAX_NUMBER_OF_STREAMS = 16") 5474cpp_quote(" };") 5475cpp_quote("") 5476cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0403_v0_0_c_ifspec;") 5477cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0403_v0_0_s_ifspec;") 5478cpp_quote("#ifndef __IVMRFilterConfig_INTERFACE_DEFINED__") 5479cpp_quote("#define __IVMRFilterConfig_INTERFACE_DEFINED__") 5480cpp_quote(" EXTERN_C const IID IID_IVMRFilterConfig;") 5481cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 5482cpp_quote(" struct IVMRFilterConfig : public IUnknown {") 5483cpp_quote(" public:") 5484cpp_quote(" virtual HRESULT WINAPI SetImageCompositor(IVMRImageCompositor *lpVMRImgCompositor) = 0;") 5485cpp_quote(" virtual HRESULT WINAPI SetNumberOfStreams(DWORD dwMaxStreams) = 0;") 5486cpp_quote(" virtual HRESULT WINAPI GetNumberOfStreams(DWORD *pdwMaxStreams) = 0;") 5487cpp_quote(" virtual HRESULT WINAPI SetRenderingPrefs(DWORD dwRenderFlags) = 0;") 5488cpp_quote(" virtual HRESULT WINAPI GetRenderingPrefs(DWORD *pdwRenderFlags) = 0;") 5489cpp_quote(" virtual HRESULT WINAPI SetRenderingMode(DWORD Mode) = 0;") 5490cpp_quote(" virtual HRESULT WINAPI GetRenderingMode(DWORD *pMode) = 0;") 5491cpp_quote(" };") 5492cpp_quote("#else") 5493cpp_quote(" typedef struct IVMRFilterConfigVtbl {") 5494cpp_quote(" BEGIN_INTERFACE") 5495cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRFilterConfig *This,REFIID riid,void **ppvObject);") 5496cpp_quote(" ULONG (WINAPI *AddRef)(IVMRFilterConfig *This);") 5497cpp_quote(" ULONG (WINAPI *Release)(IVMRFilterConfig *This);") 5498cpp_quote(" HRESULT (WINAPI *SetImageCompositor)(IVMRFilterConfig *This,IVMRImageCompositor *lpVMRImgCompositor);") 5499cpp_quote(" HRESULT (WINAPI *SetNumberOfStreams)(IVMRFilterConfig *This,DWORD dwMaxStreams);") 5500cpp_quote(" HRESULT (WINAPI *GetNumberOfStreams)(IVMRFilterConfig *This,DWORD *pdwMaxStreams);") 5501cpp_quote(" HRESULT (WINAPI *SetRenderingPrefs)(IVMRFilterConfig *This,DWORD dwRenderFlags);") 5502cpp_quote(" HRESULT (WINAPI *GetRenderingPrefs)(IVMRFilterConfig *This,DWORD *pdwRenderFlags);") 5503cpp_quote(" HRESULT (WINAPI *SetRenderingMode)(IVMRFilterConfig *This,DWORD Mode);") 5504cpp_quote(" HRESULT (WINAPI *GetRenderingMode)(IVMRFilterConfig *This,DWORD *pMode);") 5505cpp_quote(" END_INTERFACE") 5506cpp_quote(" } IVMRFilterConfigVtbl;") 5507cpp_quote(" struct IVMRFilterConfig {") 5508cpp_quote(" CONST_VTBL struct IVMRFilterConfigVtbl *lpVtbl;") 5509cpp_quote(" };") 5510cpp_quote("#ifdef COBJMACROS") 5511cpp_quote("#define IVMRFilterConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 5512cpp_quote("#define IVMRFilterConfig_AddRef(This) (This)->lpVtbl->AddRef(This)") 5513cpp_quote("#define IVMRFilterConfig_Release(This) (This)->lpVtbl->Release(This)") 5514cpp_quote("#define IVMRFilterConfig_SetImageCompositor(This,lpVMRImgCompositor) (This)->lpVtbl->SetImageCompositor(This,lpVMRImgCompositor)") 5515cpp_quote("#define IVMRFilterConfig_SetNumberOfStreams(This,dwMaxStreams) (This)->lpVtbl->SetNumberOfStreams(This,dwMaxStreams)") 5516cpp_quote("#define IVMRFilterConfig_GetNumberOfStreams(This,pdwMaxStreams) (This)->lpVtbl->GetNumberOfStreams(This,pdwMaxStreams)") 5517cpp_quote("#define IVMRFilterConfig_SetRenderingPrefs(This,dwRenderFlags) (This)->lpVtbl->SetRenderingPrefs(This,dwRenderFlags)") 5518cpp_quote("#define IVMRFilterConfig_GetRenderingPrefs(This,pdwRenderFlags) (This)->lpVtbl->GetRenderingPrefs(This,pdwRenderFlags)") 5519cpp_quote("#define IVMRFilterConfig_SetRenderingMode(This,Mode) (This)->lpVtbl->SetRenderingMode(This,Mode)") 5520cpp_quote("#define IVMRFilterConfig_GetRenderingMode(This,pMode) (This)->lpVtbl->GetRenderingMode(This,pMode)") 5521cpp_quote("#endif") 5522cpp_quote("#endif") 5523cpp_quote(" HRESULT WINAPI IVMRFilterConfig_SetImageCompositor_Proxy(IVMRFilterConfig *This,IVMRImageCompositor *lpVMRImgCompositor);") 5524cpp_quote(" void __RPC_STUB IVMRFilterConfig_SetImageCompositor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5525cpp_quote(" HRESULT WINAPI IVMRFilterConfig_SetNumberOfStreams_Proxy(IVMRFilterConfig *This,DWORD dwMaxStreams);") 5526cpp_quote(" void __RPC_STUB IVMRFilterConfig_SetNumberOfStreams_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5527cpp_quote(" HRESULT WINAPI IVMRFilterConfig_GetNumberOfStreams_Proxy(IVMRFilterConfig *This,DWORD *pdwMaxStreams);") 5528cpp_quote(" void __RPC_STUB IVMRFilterConfig_GetNumberOfStreams_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5529cpp_quote(" HRESULT WINAPI IVMRFilterConfig_SetRenderingPrefs_Proxy(IVMRFilterConfig *This,DWORD dwRenderFlags);") 5530cpp_quote(" void __RPC_STUB IVMRFilterConfig_SetRenderingPrefs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5531cpp_quote(" HRESULT WINAPI IVMRFilterConfig_GetRenderingPrefs_Proxy(IVMRFilterConfig *This,DWORD *pdwRenderFlags);") 5532cpp_quote(" void __RPC_STUB IVMRFilterConfig_GetRenderingPrefs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5533cpp_quote(" HRESULT WINAPI IVMRFilterConfig_SetRenderingMode_Proxy(IVMRFilterConfig *This,DWORD Mode);") 5534cpp_quote(" void __RPC_STUB IVMRFilterConfig_SetRenderingMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5535cpp_quote(" HRESULT WINAPI IVMRFilterConfig_GetRenderingMode_Proxy(IVMRFilterConfig *This,DWORD *pMode);") 5536cpp_quote(" void __RPC_STUB IVMRFilterConfig_GetRenderingMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5537cpp_quote("#endif") 5538cpp_quote("") 5539cpp_quote("#ifndef __IVMRAspectRatioControl_INTERFACE_DEFINED__") 5540cpp_quote("#define __IVMRAspectRatioControl_INTERFACE_DEFINED__") 5541cpp_quote(" EXTERN_C const IID IID_IVMRAspectRatioControl;") 5542cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 5543cpp_quote(" struct IVMRAspectRatioControl : public IUnknown {") 5544cpp_quote(" public:") 5545cpp_quote(" virtual HRESULT WINAPI GetAspectRatioMode(LPDWORD lpdwARMode) = 0;") 5546cpp_quote(" virtual HRESULT WINAPI SetAspectRatioMode(DWORD dwARMode) = 0;") 5547cpp_quote(" };") 5548cpp_quote("#else") 5549cpp_quote(" typedef struct IVMRAspectRatioControlVtbl {") 5550cpp_quote(" BEGIN_INTERFACE") 5551cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRAspectRatioControl *This,REFIID riid,void **ppvObject);") 5552cpp_quote(" ULONG (WINAPI *AddRef)(IVMRAspectRatioControl *This);") 5553cpp_quote(" ULONG (WINAPI *Release)(IVMRAspectRatioControl *This);") 5554cpp_quote(" HRESULT (WINAPI *GetAspectRatioMode)(IVMRAspectRatioControl *This,LPDWORD lpdwARMode);") 5555cpp_quote(" HRESULT (WINAPI *SetAspectRatioMode)(IVMRAspectRatioControl *This,DWORD dwARMode);") 5556cpp_quote(" END_INTERFACE") 5557cpp_quote(" } IVMRAspectRatioControlVtbl;") 5558cpp_quote(" struct IVMRAspectRatioControl {") 5559cpp_quote(" CONST_VTBL struct IVMRAspectRatioControlVtbl *lpVtbl;") 5560cpp_quote(" };") 5561cpp_quote("#ifdef COBJMACROS") 5562cpp_quote("#define IVMRAspectRatioControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 5563cpp_quote("#define IVMRAspectRatioControl_AddRef(This) (This)->lpVtbl->AddRef(This)") 5564cpp_quote("#define IVMRAspectRatioControl_Release(This) (This)->lpVtbl->Release(This)") 5565cpp_quote("#define IVMRAspectRatioControl_GetAspectRatioMode(This,lpdwARMode) (This)->lpVtbl->GetAspectRatioMode(This,lpdwARMode)") 5566cpp_quote("#define IVMRAspectRatioControl_SetAspectRatioMode(This,dwARMode) (This)->lpVtbl->SetAspectRatioMode(This,dwARMode)") 5567cpp_quote("#endif") 5568cpp_quote("#endif") 5569cpp_quote(" HRESULT WINAPI IVMRAspectRatioControl_GetAspectRatioMode_Proxy(IVMRAspectRatioControl *This,LPDWORD lpdwARMode);") 5570cpp_quote(" void __RPC_STUB IVMRAspectRatioControl_GetAspectRatioMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5571cpp_quote(" HRESULT WINAPI IVMRAspectRatioControl_SetAspectRatioMode_Proxy(IVMRAspectRatioControl *This,DWORD dwARMode);") 5572cpp_quote(" void __RPC_STUB IVMRAspectRatioControl_SetAspectRatioMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5573cpp_quote("#endif") 5574cpp_quote("") 5575cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0405_0001 {") 5576cpp_quote(" DeinterlacePref_NextBest = 0x1,DeinterlacePref_BOB = 0x2,DeinterlacePref_Weave = 0x4,DeinterlacePref_Mask = 0x7") 5577cpp_quote(" } VMRDeinterlacePrefs;") 5578cpp_quote("") 5579cpp_quote(" typedef enum __MIDL___MIDL_itf_strmif_0405_0002 {") 5580cpp_quote(" DeinterlaceTech_Unknown = 0,DeinterlaceTech_BOBLineReplicate = 0x1,DeinterlaceTech_BOBVerticalStretch = 0x2,DeinterlaceTech_MedianFiltering = 0x4,") 5581cpp_quote(" DeinterlaceTech_EdgeFiltering = 0x10,DeinterlaceTech_FieldAdaptive = 0x20,DeinterlaceTech_PixelAdaptive = 0x40,") 5582cpp_quote(" DeinterlaceTech_MotionVectorSteered = 0x80") 5583cpp_quote(" } VMRDeinterlaceTech;") 5584cpp_quote("") 5585cpp_quote(" typedef struct _VMRFrequency {") 5586cpp_quote(" DWORD dwNumerator;") 5587cpp_quote(" DWORD dwDenominator;") 5588cpp_quote(" } VMRFrequency;") 5589cpp_quote("") 5590cpp_quote(" typedef struct _VMRVideoDesc {") 5591cpp_quote(" DWORD dwSize;") 5592cpp_quote(" DWORD dwSampleWidth;") 5593cpp_quote(" DWORD dwSampleHeight;") 5594cpp_quote(" WINBOOL SingleFieldPerSample;") 5595cpp_quote(" DWORD dwFourCC;") 5596cpp_quote(" VMRFrequency InputSampleFreq;") 5597cpp_quote(" VMRFrequency OutputFrameFreq;") 5598cpp_quote(" } VMRVideoDesc;") 5599cpp_quote("") 5600cpp_quote(" typedef struct _VMRDeinterlaceCaps {") 5601cpp_quote(" DWORD dwSize;") 5602cpp_quote(" DWORD dwNumPreviousOutputFrames;") 5603cpp_quote(" DWORD dwNumForwardRefSamples;") 5604cpp_quote(" DWORD dwNumBackwardRefSamples;") 5605cpp_quote(" VMRDeinterlaceTech DeinterlaceTechnology;") 5606cpp_quote(" } VMRDeinterlaceCaps;") 5607cpp_quote("") 5608cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0405_v0_0_c_ifspec;") 5609cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0405_v0_0_s_ifspec;") 5610cpp_quote("#ifndef __IVMRDeinterlaceControl_INTERFACE_DEFINED__") 5611cpp_quote("#define __IVMRDeinterlaceControl_INTERFACE_DEFINED__") 5612cpp_quote(" EXTERN_C const IID IID_IVMRDeinterlaceControl;") 5613cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 5614cpp_quote(" struct IVMRDeinterlaceControl : public IUnknown {") 5615cpp_quote(" public:") 5616cpp_quote(" virtual HRESULT WINAPI GetNumberOfDeinterlaceModes(VMRVideoDesc *lpVideoDescription,LPDWORD lpdwNumDeinterlaceModes,LPGUID lpDeinterlaceModes) = 0;") 5617cpp_quote(" virtual HRESULT WINAPI GetDeinterlaceModeCaps(LPGUID lpDeinterlaceMode,VMRVideoDesc *lpVideoDescription,VMRDeinterlaceCaps *lpDeinterlaceCaps) = 0;") 5618cpp_quote(" virtual HRESULT WINAPI GetDeinterlaceMode(DWORD dwStreamID,LPGUID lpDeinterlaceMode) = 0;") 5619cpp_quote(" virtual HRESULT WINAPI SetDeinterlaceMode(DWORD dwStreamID,LPGUID lpDeinterlaceMode) = 0;") 5620cpp_quote(" virtual HRESULT WINAPI GetDeinterlacePrefs(LPDWORD lpdwDeinterlacePrefs) = 0;") 5621cpp_quote(" virtual HRESULT WINAPI SetDeinterlacePrefs(DWORD dwDeinterlacePrefs) = 0;") 5622cpp_quote(" virtual HRESULT WINAPI GetActualDeinterlaceMode(DWORD dwStreamID,LPGUID lpDeinterlaceMode) = 0;") 5623cpp_quote(" };") 5624cpp_quote("#else") 5625cpp_quote(" typedef struct IVMRDeinterlaceControlVtbl {") 5626cpp_quote(" BEGIN_INTERFACE") 5627cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRDeinterlaceControl *This,REFIID riid,void **ppvObject);") 5628cpp_quote(" ULONG (WINAPI *AddRef)(IVMRDeinterlaceControl *This);") 5629cpp_quote(" ULONG (WINAPI *Release)(IVMRDeinterlaceControl *This);") 5630cpp_quote(" HRESULT (WINAPI *GetNumberOfDeinterlaceModes)(IVMRDeinterlaceControl *This,VMRVideoDesc *lpVideoDescription,LPDWORD lpdwNumDeinterlaceModes,LPGUID lpDeinterlaceModes);") 5631cpp_quote(" HRESULT (WINAPI *GetDeinterlaceModeCaps)(IVMRDeinterlaceControl *This,LPGUID lpDeinterlaceMode,VMRVideoDesc *lpVideoDescription,VMRDeinterlaceCaps *lpDeinterlaceCaps);") 5632cpp_quote(" HRESULT (WINAPI *GetDeinterlaceMode)(IVMRDeinterlaceControl *This,DWORD dwStreamID,LPGUID lpDeinterlaceMode);") 5633cpp_quote(" HRESULT (WINAPI *SetDeinterlaceMode)(IVMRDeinterlaceControl *This,DWORD dwStreamID,LPGUID lpDeinterlaceMode);") 5634cpp_quote(" HRESULT (WINAPI *GetDeinterlacePrefs)(IVMRDeinterlaceControl *This,LPDWORD lpdwDeinterlacePrefs);") 5635cpp_quote(" HRESULT (WINAPI *SetDeinterlacePrefs)(IVMRDeinterlaceControl *This,DWORD dwDeinterlacePrefs);") 5636cpp_quote(" HRESULT (WINAPI *GetActualDeinterlaceMode)(IVMRDeinterlaceControl *This,DWORD dwStreamID,LPGUID lpDeinterlaceMode);") 5637cpp_quote(" END_INTERFACE") 5638cpp_quote(" } IVMRDeinterlaceControlVtbl;") 5639cpp_quote(" struct IVMRDeinterlaceControl {") 5640cpp_quote(" CONST_VTBL struct IVMRDeinterlaceControlVtbl *lpVtbl;") 5641cpp_quote(" };") 5642cpp_quote("#ifdef COBJMACROS") 5643cpp_quote("#define IVMRDeinterlaceControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 5644cpp_quote("#define IVMRDeinterlaceControl_AddRef(This) (This)->lpVtbl->AddRef(This)") 5645cpp_quote("#define IVMRDeinterlaceControl_Release(This) (This)->lpVtbl->Release(This)") 5646cpp_quote("#define IVMRDeinterlaceControl_GetNumberOfDeinterlaceModes(This,lpVideoDescription,lpdwNumDeinterlaceModes,lpDeinterlaceModes) (This)->lpVtbl->GetNumberOfDeinterlaceModes(This,lpVideoDescription,lpdwNumDeinterlaceModes,lpDeinterlaceModes)") 5647cpp_quote("#define IVMRDeinterlaceControl_GetDeinterlaceModeCaps(This,lpDeinterlaceMode,lpVideoDescription,lpDeinterlaceCaps) (This)->lpVtbl->GetDeinterlaceModeCaps(This,lpDeinterlaceMode,lpVideoDescription,lpDeinterlaceCaps)") 5648cpp_quote("#define IVMRDeinterlaceControl_GetDeinterlaceMode(This,dwStreamID,lpDeinterlaceMode) (This)->lpVtbl->GetDeinterlaceMode(This,dwStreamID,lpDeinterlaceMode)") 5649cpp_quote("#define IVMRDeinterlaceControl_SetDeinterlaceMode(This,dwStreamID,lpDeinterlaceMode) (This)->lpVtbl->SetDeinterlaceMode(This,dwStreamID,lpDeinterlaceMode)") 5650cpp_quote("#define IVMRDeinterlaceControl_GetDeinterlacePrefs(This,lpdwDeinterlacePrefs) (This)->lpVtbl->GetDeinterlacePrefs(This,lpdwDeinterlacePrefs)") 5651cpp_quote("#define IVMRDeinterlaceControl_SetDeinterlacePrefs(This,dwDeinterlacePrefs) (This)->lpVtbl->SetDeinterlacePrefs(This,dwDeinterlacePrefs)") 5652cpp_quote("#define IVMRDeinterlaceControl_GetActualDeinterlaceMode(This,dwStreamID,lpDeinterlaceMode) (This)->lpVtbl->GetActualDeinterlaceMode(This,dwStreamID,lpDeinterlaceMode)") 5653cpp_quote("#endif") 5654cpp_quote("#endif") 5655cpp_quote(" HRESULT WINAPI IVMRDeinterlaceControl_GetNumberOfDeinterlaceModes_Proxy(IVMRDeinterlaceControl *This,VMRVideoDesc *lpVideoDescription,LPDWORD lpdwNumDeinterlaceModes,LPGUID lpDeinterlaceModes);") 5656cpp_quote(" void __RPC_STUB IVMRDeinterlaceControl_GetNumberOfDeinterlaceModes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5657cpp_quote(" HRESULT WINAPI IVMRDeinterlaceControl_GetDeinterlaceModeCaps_Proxy(IVMRDeinterlaceControl *This,LPGUID lpDeinterlaceMode,VMRVideoDesc *lpVideoDescription,VMRDeinterlaceCaps *lpDeinterlaceCaps);") 5658cpp_quote(" void __RPC_STUB IVMRDeinterlaceControl_GetDeinterlaceModeCaps_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5659cpp_quote(" HRESULT WINAPI IVMRDeinterlaceControl_GetDeinterlaceMode_Proxy(IVMRDeinterlaceControl *This,DWORD dwStreamID,LPGUID lpDeinterlaceMode);") 5660cpp_quote(" void __RPC_STUB IVMRDeinterlaceControl_GetDeinterlaceMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5661cpp_quote(" HRESULT WINAPI IVMRDeinterlaceControl_SetDeinterlaceMode_Proxy(IVMRDeinterlaceControl *This,DWORD dwStreamID,LPGUID lpDeinterlaceMode);") 5662cpp_quote(" void __RPC_STUB IVMRDeinterlaceControl_SetDeinterlaceMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5663cpp_quote(" HRESULT WINAPI IVMRDeinterlaceControl_GetDeinterlacePrefs_Proxy(IVMRDeinterlaceControl *This,LPDWORD lpdwDeinterlacePrefs);") 5664cpp_quote(" void __RPC_STUB IVMRDeinterlaceControl_GetDeinterlacePrefs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5665cpp_quote(" HRESULT WINAPI IVMRDeinterlaceControl_SetDeinterlacePrefs_Proxy(IVMRDeinterlaceControl *This,DWORD dwDeinterlacePrefs);") 5666cpp_quote(" void __RPC_STUB IVMRDeinterlaceControl_SetDeinterlacePrefs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5667cpp_quote(" HRESULT WINAPI IVMRDeinterlaceControl_GetActualDeinterlaceMode_Proxy(IVMRDeinterlaceControl *This,DWORD dwStreamID,LPGUID lpDeinterlaceMode);") 5668cpp_quote(" void __RPC_STUB IVMRDeinterlaceControl_GetActualDeinterlaceMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5669cpp_quote("#endif") 5670cpp_quote("") 5671cpp_quote(" typedef struct _VMRALPHABITMAP {") 5672cpp_quote(" DWORD dwFlags;") 5673cpp_quote(" HDC hdc;") 5674cpp_quote(" LPDIRECTDRAWSURFACE7 pDDS;") 5675cpp_quote(" RECT rSrc;") 5676cpp_quote(" NORMALIZEDRECT rDest;") 5677cpp_quote(" FLOAT fAlpha;") 5678cpp_quote(" COLORREF clrSrcKey;") 5679cpp_quote(" } VMRALPHABITMAP;") 5680cpp_quote("") 5681cpp_quote(" typedef struct _VMRALPHABITMAP *PVMRALPHABITMAP;") 5682cpp_quote("") 5683cpp_quote("#define VMRBITMAP_DISABLE 0x00000001") 5684cpp_quote("#define VMRBITMAP_HDC 0x00000002") 5685cpp_quote("#define VMRBITMAP_ENTIREDDS 0x00000004") 5686cpp_quote("#define VMRBITMAP_SRCCOLORKEY 0x00000008") 5687cpp_quote("#define VMRBITMAP_SRCRECT 0x00000010") 5688cpp_quote("") 5689cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0406_v0_0_c_ifspec;") 5690cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0406_v0_0_s_ifspec;") 5691cpp_quote("#ifndef __IVMRMixerBitmap_INTERFACE_DEFINED__") 5692cpp_quote("#define __IVMRMixerBitmap_INTERFACE_DEFINED__") 5693cpp_quote(" EXTERN_C const IID IID_IVMRMixerBitmap;") 5694cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 5695cpp_quote(" struct IVMRMixerBitmap : public IUnknown {") 5696cpp_quote(" public:") 5697cpp_quote(" virtual HRESULT WINAPI SetAlphaBitmap(const VMRALPHABITMAP *pBmpParms) = 0;") 5698cpp_quote(" virtual HRESULT WINAPI UpdateAlphaBitmapParameters(PVMRALPHABITMAP pBmpParms) = 0;") 5699cpp_quote(" virtual HRESULT WINAPI GetAlphaBitmapParameters(PVMRALPHABITMAP pBmpParms) = 0;") 5700cpp_quote(" };") 5701cpp_quote("#else") 5702cpp_quote(" typedef struct IVMRMixerBitmapVtbl {") 5703cpp_quote(" BEGIN_INTERFACE") 5704cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRMixerBitmap *This,REFIID riid,void **ppvObject);") 5705cpp_quote(" ULONG (WINAPI *AddRef)(IVMRMixerBitmap *This);") 5706cpp_quote(" ULONG (WINAPI *Release)(IVMRMixerBitmap *This);") 5707cpp_quote(" HRESULT (WINAPI *SetAlphaBitmap)(IVMRMixerBitmap *This,const VMRALPHABITMAP *pBmpParms);") 5708cpp_quote(" HRESULT (WINAPI *UpdateAlphaBitmapParameters)(IVMRMixerBitmap *This,PVMRALPHABITMAP pBmpParms);") 5709cpp_quote(" HRESULT (WINAPI *GetAlphaBitmapParameters)(IVMRMixerBitmap *This,PVMRALPHABITMAP pBmpParms);") 5710cpp_quote(" END_INTERFACE") 5711cpp_quote(" } IVMRMixerBitmapVtbl;") 5712cpp_quote(" struct IVMRMixerBitmap {") 5713cpp_quote(" CONST_VTBL struct IVMRMixerBitmapVtbl *lpVtbl;") 5714cpp_quote(" };") 5715cpp_quote("#ifdef COBJMACROS") 5716cpp_quote("#define IVMRMixerBitmap_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 5717cpp_quote("#define IVMRMixerBitmap_AddRef(This) (This)->lpVtbl->AddRef(This)") 5718cpp_quote("#define IVMRMixerBitmap_Release(This) (This)->lpVtbl->Release(This)") 5719cpp_quote("#define IVMRMixerBitmap_SetAlphaBitmap(This,pBmpParms) (This)->lpVtbl->SetAlphaBitmap(This,pBmpParms)") 5720cpp_quote("#define IVMRMixerBitmap_UpdateAlphaBitmapParameters(This,pBmpParms) (This)->lpVtbl->UpdateAlphaBitmapParameters(This,pBmpParms)") 5721cpp_quote("#define IVMRMixerBitmap_GetAlphaBitmapParameters(This,pBmpParms) (This)->lpVtbl->GetAlphaBitmapParameters(This,pBmpParms)") 5722cpp_quote("#endif") 5723cpp_quote("#endif") 5724cpp_quote(" HRESULT WINAPI IVMRMixerBitmap_SetAlphaBitmap_Proxy(IVMRMixerBitmap *This,const VMRALPHABITMAP *pBmpParms);") 5725cpp_quote(" void __RPC_STUB IVMRMixerBitmap_SetAlphaBitmap_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5726cpp_quote(" HRESULT WINAPI IVMRMixerBitmap_UpdateAlphaBitmapParameters_Proxy(IVMRMixerBitmap *This,PVMRALPHABITMAP pBmpParms);") 5727cpp_quote(" void __RPC_STUB IVMRMixerBitmap_UpdateAlphaBitmapParameters_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5728cpp_quote(" HRESULT WINAPI IVMRMixerBitmap_GetAlphaBitmapParameters_Proxy(IVMRMixerBitmap *This,PVMRALPHABITMAP pBmpParms);") 5729cpp_quote(" void __RPC_STUB IVMRMixerBitmap_GetAlphaBitmapParameters_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5730cpp_quote("#endif") 5731cpp_quote("") 5732cpp_quote(" typedef struct _VMRVIDEOSTREAMINFO {") 5733cpp_quote(" LPDIRECTDRAWSURFACE7 pddsVideoSurface;") 5734cpp_quote(" DWORD dwWidth;") 5735cpp_quote(" DWORD dwHeight;") 5736cpp_quote(" DWORD dwStrmID;") 5737cpp_quote(" FLOAT fAlpha;") 5738cpp_quote(" DDCOLORKEY ddClrKey;") 5739cpp_quote(" NORMALIZEDRECT rNormal;") 5740cpp_quote(" } VMRVIDEOSTREAMINFO;") 5741cpp_quote("") 5742cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0407_v0_0_c_ifspec;") 5743cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0407_v0_0_s_ifspec;") 5744cpp_quote("#ifndef __IVMRImageCompositor_INTERFACE_DEFINED__") 5745cpp_quote("#define __IVMRImageCompositor_INTERFACE_DEFINED__") 5746cpp_quote(" EXTERN_C const IID IID_IVMRImageCompositor;") 5747cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 5748cpp_quote(" struct IVMRImageCompositor : public IUnknown {") 5749cpp_quote(" public:") 5750cpp_quote(" virtual HRESULT WINAPI InitCompositionTarget(IUnknown *pD3DDevice,LPDIRECTDRAWSURFACE7 pddsRenderTarget) = 0;") 5751cpp_quote(" virtual HRESULT WINAPI TermCompositionTarget(IUnknown *pD3DDevice,LPDIRECTDRAWSURFACE7 pddsRenderTarget) = 0;") 5752cpp_quote(" virtual HRESULT WINAPI SetStreamMediaType(DWORD dwStrmID,AM_MEDIA_TYPE *pmt,WINBOOL fTexture) = 0;") 5753cpp_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;") 5754cpp_quote(" };") 5755cpp_quote("#else") 5756cpp_quote(" typedef struct IVMRImageCompositorVtbl {") 5757cpp_quote(" BEGIN_INTERFACE") 5758cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRImageCompositor *This,REFIID riid,void **ppvObject);") 5759cpp_quote(" ULONG (WINAPI *AddRef)(IVMRImageCompositor *This);") 5760cpp_quote(" ULONG (WINAPI *Release)(IVMRImageCompositor *This);") 5761cpp_quote(" HRESULT (WINAPI *InitCompositionTarget)(IVMRImageCompositor *This,IUnknown *pD3DDevice,LPDIRECTDRAWSURFACE7 pddsRenderTarget);") 5762cpp_quote(" HRESULT (WINAPI *TermCompositionTarget)(IVMRImageCompositor *This,IUnknown *pD3DDevice,LPDIRECTDRAWSURFACE7 pddsRenderTarget);") 5763cpp_quote(" HRESULT (WINAPI *SetStreamMediaType)(IVMRImageCompositor *This,DWORD dwStrmID,AM_MEDIA_TYPE *pmt,WINBOOL fTexture);") 5764cpp_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);") 5765cpp_quote(" END_INTERFACE") 5766cpp_quote(" } IVMRImageCompositorVtbl;") 5767cpp_quote(" struct IVMRImageCompositor {") 5768cpp_quote(" CONST_VTBL struct IVMRImageCompositorVtbl *lpVtbl;") 5769cpp_quote(" };") 5770cpp_quote("#ifdef COBJMACROS") 5771cpp_quote("#define IVMRImageCompositor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 5772cpp_quote("#define IVMRImageCompositor_AddRef(This) (This)->lpVtbl->AddRef(This)") 5773cpp_quote("#define IVMRImageCompositor_Release(This) (This)->lpVtbl->Release(This)") 5774cpp_quote("#define IVMRImageCompositor_InitCompositionTarget(This,pD3DDevice,pddsRenderTarget) (This)->lpVtbl->InitCompositionTarget(This,pD3DDevice,pddsRenderTarget)") 5775cpp_quote("#define IVMRImageCompositor_TermCompositionTarget(This,pD3DDevice,pddsRenderTarget) (This)->lpVtbl->TermCompositionTarget(This,pD3DDevice,pddsRenderTarget)") 5776cpp_quote("#define IVMRImageCompositor_SetStreamMediaType(This,dwStrmID,pmt,fTexture) (This)->lpVtbl->SetStreamMediaType(This,dwStrmID,pmt,fTexture)") 5777cpp_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)") 5778cpp_quote("#endif") 5779cpp_quote("#endif") 5780cpp_quote(" HRESULT WINAPI IVMRImageCompositor_InitCompositionTarget_Proxy(IVMRImageCompositor *This,IUnknown *pD3DDevice,LPDIRECTDRAWSURFACE7 pddsRenderTarget);") 5781cpp_quote(" void __RPC_STUB IVMRImageCompositor_InitCompositionTarget_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5782cpp_quote(" HRESULT WINAPI IVMRImageCompositor_TermCompositionTarget_Proxy(IVMRImageCompositor *This,IUnknown *pD3DDevice,LPDIRECTDRAWSURFACE7 pddsRenderTarget);") 5783cpp_quote(" void __RPC_STUB IVMRImageCompositor_TermCompositionTarget_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5784cpp_quote(" HRESULT WINAPI IVMRImageCompositor_SetStreamMediaType_Proxy(IVMRImageCompositor *This,DWORD dwStrmID,AM_MEDIA_TYPE *pmt,WINBOOL fTexture);") 5785cpp_quote(" void __RPC_STUB IVMRImageCompositor_SetStreamMediaType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5786cpp_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);") 5787cpp_quote(" void __RPC_STUB IVMRImageCompositor_CompositeImage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5788cpp_quote("#endif") 5789cpp_quote("") 5790cpp_quote("#ifndef __IVMRVideoStreamControl_INTERFACE_DEFINED__") 5791cpp_quote("#define __IVMRVideoStreamControl_INTERFACE_DEFINED__") 5792cpp_quote(" EXTERN_C const IID IID_IVMRVideoStreamControl;") 5793cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 5794cpp_quote(" struct IVMRVideoStreamControl : public IUnknown {") 5795cpp_quote(" public:") 5796cpp_quote(" virtual HRESULT WINAPI SetColorKey(LPDDCOLORKEY lpClrKey) = 0;") 5797cpp_quote(" virtual HRESULT WINAPI GetColorKey(LPDDCOLORKEY lpClrKey) = 0;") 5798cpp_quote(" virtual HRESULT WINAPI SetStreamActiveState(WINBOOL fActive) = 0;") 5799cpp_quote(" virtual HRESULT WINAPI GetStreamActiveState(WINBOOL *lpfActive) = 0;") 5800cpp_quote(" };") 5801cpp_quote("#else") 5802cpp_quote(" typedef struct IVMRVideoStreamControlVtbl {") 5803cpp_quote(" BEGIN_INTERFACE") 5804cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRVideoStreamControl *This,REFIID riid,void **ppvObject);") 5805cpp_quote(" ULONG (WINAPI *AddRef)(IVMRVideoStreamControl *This);") 5806cpp_quote(" ULONG (WINAPI *Release)(IVMRVideoStreamControl *This);") 5807cpp_quote(" HRESULT (WINAPI *SetColorKey)(IVMRVideoStreamControl *This,LPDDCOLORKEY lpClrKey);") 5808cpp_quote(" HRESULT (WINAPI *GetColorKey)(IVMRVideoStreamControl *This,LPDDCOLORKEY lpClrKey);") 5809cpp_quote(" HRESULT (WINAPI *SetStreamActiveState)(IVMRVideoStreamControl *This,WINBOOL fActive);") 5810cpp_quote(" HRESULT (WINAPI *GetStreamActiveState)(IVMRVideoStreamControl *This,WINBOOL *lpfActive);") 5811cpp_quote(" END_INTERFACE") 5812cpp_quote(" } IVMRVideoStreamControlVtbl;") 5813cpp_quote(" struct IVMRVideoStreamControl {") 5814cpp_quote(" CONST_VTBL struct IVMRVideoStreamControlVtbl *lpVtbl;") 5815cpp_quote(" };") 5816cpp_quote("#ifdef COBJMACROS") 5817cpp_quote("#define IVMRVideoStreamControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 5818cpp_quote("#define IVMRVideoStreamControl_AddRef(This) (This)->lpVtbl->AddRef(This)") 5819cpp_quote("#define IVMRVideoStreamControl_Release(This) (This)->lpVtbl->Release(This)") 5820cpp_quote("#define IVMRVideoStreamControl_SetColorKey(This,lpClrKey) (This)->lpVtbl->SetColorKey(This,lpClrKey)") 5821cpp_quote("#define IVMRVideoStreamControl_GetColorKey(This,lpClrKey) (This)->lpVtbl->GetColorKey(This,lpClrKey)") 5822cpp_quote("#define IVMRVideoStreamControl_SetStreamActiveState(This,fActive) (This)->lpVtbl->SetStreamActiveState(This,fActive)") 5823cpp_quote("#define IVMRVideoStreamControl_GetStreamActiveState(This,lpfActive) (This)->lpVtbl->GetStreamActiveState(This,lpfActive)") 5824cpp_quote("#endif") 5825cpp_quote("#endif") 5826cpp_quote(" HRESULT WINAPI IVMRVideoStreamControl_SetColorKey_Proxy(IVMRVideoStreamControl *This,LPDDCOLORKEY lpClrKey);") 5827cpp_quote(" void __RPC_STUB IVMRVideoStreamControl_SetColorKey_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5828cpp_quote(" HRESULT WINAPI IVMRVideoStreamControl_GetColorKey_Proxy(IVMRVideoStreamControl *This,LPDDCOLORKEY lpClrKey);") 5829cpp_quote(" void __RPC_STUB IVMRVideoStreamControl_GetColorKey_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5830cpp_quote(" HRESULT WINAPI IVMRVideoStreamControl_SetStreamActiveState_Proxy(IVMRVideoStreamControl *This,WINBOOL fActive);") 5831cpp_quote(" void __RPC_STUB IVMRVideoStreamControl_SetStreamActiveState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5832cpp_quote(" HRESULT WINAPI IVMRVideoStreamControl_GetStreamActiveState_Proxy(IVMRVideoStreamControl *This,WINBOOL *lpfActive);") 5833cpp_quote(" void __RPC_STUB IVMRVideoStreamControl_GetStreamActiveState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5834cpp_quote("#endif") 5835cpp_quote("") 5836cpp_quote("#ifndef __IVMRSurface_INTERFACE_DEFINED__") 5837cpp_quote("#define __IVMRSurface_INTERFACE_DEFINED__") 5838cpp_quote(" EXTERN_C const IID IID_IVMRSurface;") 5839cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 5840cpp_quote(" struct IVMRSurface : public IUnknown {") 5841cpp_quote(" public:") 5842cpp_quote(" virtual HRESULT WINAPI IsSurfaceLocked(void) = 0;") 5843cpp_quote(" virtual HRESULT WINAPI LockSurface(BYTE **lpSurface) = 0;") 5844cpp_quote(" virtual HRESULT WINAPI UnlockSurface(void) = 0;") 5845cpp_quote(" virtual HRESULT WINAPI GetSurface(LPDIRECTDRAWSURFACE7 *lplpSurface) = 0;") 5846cpp_quote(" };") 5847cpp_quote("#else") 5848cpp_quote(" typedef struct IVMRSurfaceVtbl {") 5849cpp_quote(" BEGIN_INTERFACE") 5850cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRSurface *This,REFIID riid,void **ppvObject);") 5851cpp_quote(" ULONG (WINAPI *AddRef)(IVMRSurface *This);") 5852cpp_quote(" ULONG (WINAPI *Release)(IVMRSurface *This);") 5853cpp_quote(" HRESULT (WINAPI *IsSurfaceLocked)(IVMRSurface *This);") 5854cpp_quote(" HRESULT (WINAPI *LockSurface)(IVMRSurface *This,BYTE **lpSurface);") 5855cpp_quote(" HRESULT (WINAPI *UnlockSurface)(IVMRSurface *This);") 5856cpp_quote(" HRESULT (WINAPI *GetSurface)(IVMRSurface *This,LPDIRECTDRAWSURFACE7 *lplpSurface);") 5857cpp_quote(" END_INTERFACE") 5858cpp_quote(" } IVMRSurfaceVtbl;") 5859cpp_quote(" struct IVMRSurface {") 5860cpp_quote(" CONST_VTBL struct IVMRSurfaceVtbl *lpVtbl;") 5861cpp_quote(" };") 5862cpp_quote("#ifdef COBJMACROS") 5863cpp_quote("#define IVMRSurface_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 5864cpp_quote("#define IVMRSurface_AddRef(This) (This)->lpVtbl->AddRef(This)") 5865cpp_quote("#define IVMRSurface_Release(This) (This)->lpVtbl->Release(This)") 5866cpp_quote("#define IVMRSurface_IsSurfaceLocked(This) (This)->lpVtbl->IsSurfaceLocked(This)") 5867cpp_quote("#define IVMRSurface_LockSurface(This,lpSurface) (This)->lpVtbl->LockSurface(This,lpSurface)") 5868cpp_quote("#define IVMRSurface_UnlockSurface(This) (This)->lpVtbl->UnlockSurface(This)") 5869cpp_quote("#define IVMRSurface_GetSurface(This,lplpSurface) (This)->lpVtbl->GetSurface(This,lplpSurface)") 5870cpp_quote("#endif") 5871cpp_quote("#endif") 5872cpp_quote(" HRESULT WINAPI IVMRSurface_IsSurfaceLocked_Proxy(IVMRSurface *This);") 5873cpp_quote(" void __RPC_STUB IVMRSurface_IsSurfaceLocked_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5874cpp_quote(" HRESULT WINAPI IVMRSurface_LockSurface_Proxy(IVMRSurface *This,BYTE **lpSurface);") 5875cpp_quote(" void __RPC_STUB IVMRSurface_LockSurface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5876cpp_quote(" HRESULT WINAPI IVMRSurface_UnlockSurface_Proxy(IVMRSurface *This);") 5877cpp_quote(" void __RPC_STUB IVMRSurface_UnlockSurface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5878cpp_quote(" HRESULT WINAPI IVMRSurface_GetSurface_Proxy(IVMRSurface *This,LPDIRECTDRAWSURFACE7 *lplpSurface);") 5879cpp_quote(" void __RPC_STUB IVMRSurface_GetSurface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5880cpp_quote("#endif") 5881cpp_quote("") 5882cpp_quote("#ifndef __IVMRImagePresenterConfig_INTERFACE_DEFINED__") 5883cpp_quote("#define __IVMRImagePresenterConfig_INTERFACE_DEFINED__") 5884cpp_quote(" EXTERN_C const IID IID_IVMRImagePresenterConfig;") 5885cpp_quote("") 5886cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 5887cpp_quote(" struct IVMRImagePresenterConfig : public IUnknown {") 5888cpp_quote(" public:") 5889cpp_quote(" virtual HRESULT WINAPI SetRenderingPrefs(DWORD dwRenderFlags) = 0;") 5890cpp_quote(" virtual HRESULT WINAPI GetRenderingPrefs(DWORD *dwRenderFlags) = 0;") 5891cpp_quote(" };") 5892cpp_quote("#else") 5893cpp_quote(" typedef struct IVMRImagePresenterConfigVtbl {") 5894cpp_quote(" BEGIN_INTERFACE") 5895cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRImagePresenterConfig *This,REFIID riid,void **ppvObject);") 5896cpp_quote(" ULONG (WINAPI *AddRef)(IVMRImagePresenterConfig *This);") 5897cpp_quote(" ULONG (WINAPI *Release)(IVMRImagePresenterConfig *This);") 5898cpp_quote(" HRESULT (WINAPI *SetRenderingPrefs)(IVMRImagePresenterConfig *This,DWORD dwRenderFlags);") 5899cpp_quote(" HRESULT (WINAPI *GetRenderingPrefs)(IVMRImagePresenterConfig *This,DWORD *dwRenderFlags);") 5900cpp_quote(" END_INTERFACE") 5901cpp_quote(" } IVMRImagePresenterConfigVtbl;") 5902cpp_quote(" struct IVMRImagePresenterConfig {") 5903cpp_quote(" CONST_VTBL struct IVMRImagePresenterConfigVtbl *lpVtbl;") 5904cpp_quote(" };") 5905cpp_quote("#ifdef COBJMACROS") 5906cpp_quote("#define IVMRImagePresenterConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 5907cpp_quote("#define IVMRImagePresenterConfig_AddRef(This) (This)->lpVtbl->AddRef(This)") 5908cpp_quote("#define IVMRImagePresenterConfig_Release(This) (This)->lpVtbl->Release(This)") 5909cpp_quote("#define IVMRImagePresenterConfig_SetRenderingPrefs(This,dwRenderFlags) (This)->lpVtbl->SetRenderingPrefs(This,dwRenderFlags)") 5910cpp_quote("#define IVMRImagePresenterConfig_GetRenderingPrefs(This,dwRenderFlags) (This)->lpVtbl->GetRenderingPrefs(This,dwRenderFlags)") 5911cpp_quote("#endif") 5912cpp_quote("#endif") 5913cpp_quote(" HRESULT WINAPI IVMRImagePresenterConfig_SetRenderingPrefs_Proxy(IVMRImagePresenterConfig *This,DWORD dwRenderFlags);") 5914cpp_quote(" void __RPC_STUB IVMRImagePresenterConfig_SetRenderingPrefs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5915cpp_quote(" HRESULT WINAPI IVMRImagePresenterConfig_GetRenderingPrefs_Proxy(IVMRImagePresenterConfig *This,DWORD *dwRenderFlags);") 5916cpp_quote(" void __RPC_STUB IVMRImagePresenterConfig_GetRenderingPrefs_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5917cpp_quote("#endif") 5918cpp_quote("") 5919cpp_quote("#ifndef __IVMRImagePresenterExclModeConfig_INTERFACE_DEFINED__") 5920cpp_quote("#define __IVMRImagePresenterExclModeConfig_INTERFACE_DEFINED__") 5921cpp_quote(" EXTERN_C const IID IID_IVMRImagePresenterExclModeConfig;") 5922cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 5923cpp_quote(" struct IVMRImagePresenterExclModeConfig : public IVMRImagePresenterConfig {") 5924cpp_quote(" public:") 5925cpp_quote(" virtual HRESULT WINAPI SetXlcModeDDObjAndPrimarySurface(LPDIRECTDRAW7 lpDDObj,LPDIRECTDRAWSURFACE7 lpPrimarySurf) = 0;") 5926cpp_quote(" virtual HRESULT WINAPI GetXlcModeDDObjAndPrimarySurface(LPDIRECTDRAW7 *lpDDObj,LPDIRECTDRAWSURFACE7 *lpPrimarySurf) = 0;") 5927cpp_quote(" };") 5928cpp_quote("#else") 5929cpp_quote(" typedef struct IVMRImagePresenterExclModeConfigVtbl {") 5930cpp_quote(" BEGIN_INTERFACE") 5931cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVMRImagePresenterExclModeConfig *This,REFIID riid,void **ppvObject);") 5932cpp_quote(" ULONG (WINAPI *AddRef)(IVMRImagePresenterExclModeConfig *This);") 5933cpp_quote(" ULONG (WINAPI *Release)(IVMRImagePresenterExclModeConfig *This);") 5934cpp_quote(" HRESULT (WINAPI *SetRenderingPrefs)(IVMRImagePresenterExclModeConfig *This,DWORD dwRenderFlags);") 5935cpp_quote(" HRESULT (WINAPI *GetRenderingPrefs)(IVMRImagePresenterExclModeConfig *This,DWORD *dwRenderFlags);") 5936cpp_quote(" HRESULT (WINAPI *SetXlcModeDDObjAndPrimarySurface)(IVMRImagePresenterExclModeConfig *This,LPDIRECTDRAW7 lpDDObj,LPDIRECTDRAWSURFACE7 lpPrimarySurf);") 5937cpp_quote(" HRESULT (WINAPI *GetXlcModeDDObjAndPrimarySurface)(IVMRImagePresenterExclModeConfig *This,LPDIRECTDRAW7 *lpDDObj,LPDIRECTDRAWSURFACE7 *lpPrimarySurf);") 5938cpp_quote(" END_INTERFACE") 5939cpp_quote(" } IVMRImagePresenterExclModeConfigVtbl;") 5940cpp_quote(" struct IVMRImagePresenterExclModeConfig {") 5941cpp_quote(" CONST_VTBL struct IVMRImagePresenterExclModeConfigVtbl *lpVtbl;") 5942cpp_quote(" };") 5943cpp_quote("#ifdef COBJMACROS") 5944cpp_quote("#define IVMRImagePresenterExclModeConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 5945cpp_quote("#define IVMRImagePresenterExclModeConfig_AddRef(This) (This)->lpVtbl->AddRef(This)") 5946cpp_quote("#define IVMRImagePresenterExclModeConfig_Release(This) (This)->lpVtbl->Release(This)") 5947cpp_quote("#define IVMRImagePresenterExclModeConfig_SetRenderingPrefs(This,dwRenderFlags) (This)->lpVtbl->SetRenderingPrefs(This,dwRenderFlags)") 5948cpp_quote("#define IVMRImagePresenterExclModeConfig_GetRenderingPrefs(This,dwRenderFlags) (This)->lpVtbl->GetRenderingPrefs(This,dwRenderFlags)") 5949cpp_quote("#define IVMRImagePresenterExclModeConfig_SetXlcModeDDObjAndPrimarySurface(This,lpDDObj,lpPrimarySurf) (This)->lpVtbl->SetXlcModeDDObjAndPrimarySurface(This,lpDDObj,lpPrimarySurf)") 5950cpp_quote("#define IVMRImagePresenterExclModeConfig_GetXlcModeDDObjAndPrimarySurface(This,lpDDObj,lpPrimarySurf) (This)->lpVtbl->GetXlcModeDDObjAndPrimarySurface(This,lpDDObj,lpPrimarySurf)") 5951cpp_quote("#endif") 5952cpp_quote("#endif") 5953cpp_quote(" HRESULT WINAPI IVMRImagePresenterExclModeConfig_SetXlcModeDDObjAndPrimarySurface_Proxy(IVMRImagePresenterExclModeConfig *This,LPDIRECTDRAW7 lpDDObj,LPDIRECTDRAWSURFACE7 lpPrimarySurf);") 5954cpp_quote(" void __RPC_STUB IVMRImagePresenterExclModeConfig_SetXlcModeDDObjAndPrimarySurface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5955cpp_quote(" HRESULT WINAPI IVMRImagePresenterExclModeConfig_GetXlcModeDDObjAndPrimarySurface_Proxy(IVMRImagePresenterExclModeConfig *This,LPDIRECTDRAW7 *lpDDObj,LPDIRECTDRAWSURFACE7 *lpPrimarySurf);") 5956cpp_quote(" void __RPC_STUB IVMRImagePresenterExclModeConfig_GetXlcModeDDObjAndPrimarySurface_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5957cpp_quote("#endif") 5958cpp_quote("") 5959cpp_quote("#ifndef __IVPManager_INTERFACE_DEFINED__") 5960cpp_quote("#define __IVPManager_INTERFACE_DEFINED__") 5961cpp_quote(" EXTERN_C const IID IID_IVPManager;") 5962cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)") 5963cpp_quote(" struct IVPManager : public IUnknown {") 5964cpp_quote(" public:") 5965cpp_quote(" virtual HRESULT WINAPI SetVideoPortIndex(DWORD dwVideoPortIndex) = 0;") 5966cpp_quote(" virtual HRESULT WINAPI GetVideoPortIndex(DWORD *pdwVideoPortIndex) = 0;") 5967cpp_quote(" };") 5968cpp_quote("#else") 5969cpp_quote(" typedef struct IVPManagerVtbl {") 5970cpp_quote(" BEGIN_INTERFACE") 5971cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVPManager *This,REFIID riid,void **ppvObject);") 5972cpp_quote(" ULONG (WINAPI *AddRef)(IVPManager *This);") 5973cpp_quote(" ULONG (WINAPI *Release)(IVPManager *This);") 5974cpp_quote(" HRESULT (WINAPI *SetVideoPortIndex)(IVPManager *This,DWORD dwVideoPortIndex);") 5975cpp_quote(" HRESULT (WINAPI *GetVideoPortIndex)(IVPManager *This,DWORD *pdwVideoPortIndex);") 5976cpp_quote(" END_INTERFACE") 5977cpp_quote(" } IVPManagerVtbl;") 5978cpp_quote(" struct IVPManager {") 5979cpp_quote(" CONST_VTBL struct IVPManagerVtbl *lpVtbl;") 5980cpp_quote(" };") 5981cpp_quote("#ifdef COBJMACROS") 5982cpp_quote("#define IVPManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)") 5983cpp_quote("#define IVPManager_AddRef(This) (This)->lpVtbl->AddRef(This)") 5984cpp_quote("#define IVPManager_Release(This) (This)->lpVtbl->Release(This)") 5985cpp_quote("#define IVPManager_SetVideoPortIndex(This,dwVideoPortIndex) (This)->lpVtbl->SetVideoPortIndex(This,dwVideoPortIndex)") 5986cpp_quote("#define IVPManager_GetVideoPortIndex(This,pdwVideoPortIndex) (This)->lpVtbl->GetVideoPortIndex(This,pdwVideoPortIndex)") 5987cpp_quote("#endif") 5988cpp_quote("#endif") 5989cpp_quote(" HRESULT WINAPI IVPManager_SetVideoPortIndex_Proxy(IVPManager *This,DWORD dwVideoPortIndex);") 5990cpp_quote(" void __RPC_STUB IVPManager_SetVideoPortIndex_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5991cpp_quote(" HRESULT WINAPI IVPManager_GetVideoPortIndex_Proxy(IVPManager *This,DWORD *pdwVideoPortIndex);") 5992cpp_quote(" void __RPC_STUB IVPManager_GetVideoPortIndex_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);") 5993cpp_quote("#endif") 5994cpp_quote("") 5995cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0413_v0_0_c_ifspec;") 5996cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_strmif_0413_v0_0_s_ifspec;") 5997