source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/control.idl@ 1167

Last change on this file since 1167 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 124.6 KB
Line 
1cpp_quote("/**")
2cpp_quote(" * This file has no copyright assigned and is placed in the Public Domain.")
3cpp_quote(" * This file is part of the mingw-w64 runtime package.")
4cpp_quote(" * No warranty is given; refer to the file DISCLAIMER.PD within this package.")
5cpp_quote(" */")
6
7import "oaidl.idl";
8
9cpp_quote("#ifndef __IAMCollection_FWD_DEFINED__")
10cpp_quote("#define __IAMCollection_FWD_DEFINED__")
11cpp_quote("typedef struct IAMCollection IAMCollection;")
12cpp_quote("#endif")
13cpp_quote("")
14cpp_quote("#ifndef __IMediaEvent_FWD_DEFINED__")
15cpp_quote("#define __IMediaEvent_FWD_DEFINED__")
16cpp_quote("typedef struct IMediaEvent IMediaEvent;")
17cpp_quote("#endif")
18cpp_quote("")
19cpp_quote("#ifndef __IMediaEventEx_FWD_DEFINED__")
20cpp_quote("#define __IMediaEventEx_FWD_DEFINED__")
21cpp_quote("typedef struct IMediaEventEx IMediaEventEx;")
22cpp_quote("#endif")
23cpp_quote("")
24cpp_quote("#ifndef __IMediaPosition_FWD_DEFINED__")
25cpp_quote("#define __IMediaPosition_FWD_DEFINED__")
26cpp_quote("typedef struct IMediaPosition IMediaPosition;")
27cpp_quote("#endif")
28cpp_quote("")
29cpp_quote("#ifndef __IBasicAudio_FWD_DEFINED__")
30cpp_quote("#define __IBasicAudio_FWD_DEFINED__")
31cpp_quote("typedef struct IBasicAudio IBasicAudio;")
32cpp_quote("#endif")
33cpp_quote("")
34cpp_quote("#ifndef __IVideoWindow_FWD_DEFINED__")
35cpp_quote("#define __IVideoWindow_FWD_DEFINED__")
36cpp_quote("typedef struct IVideoWindow IVideoWindow;")
37cpp_quote("#endif")
38cpp_quote("")
39cpp_quote("#ifndef __IBasicVideo_FWD_DEFINED__")
40cpp_quote("#define __IBasicVideo_FWD_DEFINED__")
41cpp_quote("typedef struct IBasicVideo IBasicVideo;")
42cpp_quote("#endif")
43cpp_quote("")
44cpp_quote("#ifndef __IBasicVideo2_FWD_DEFINED__")
45cpp_quote("#define __IBasicVideo2_FWD_DEFINED__")
46cpp_quote("typedef struct IBasicVideo2 IBasicVideo2;")
47cpp_quote("#endif")
48cpp_quote("")
49cpp_quote("#ifndef __IDeferredCommand_FWD_DEFINED__")
50cpp_quote("#define __IDeferredCommand_FWD_DEFINED__")
51cpp_quote("typedef struct IDeferredCommand IDeferredCommand;")
52cpp_quote("#endif")
53cpp_quote("")
54cpp_quote("#ifndef __IQueueCommand_FWD_DEFINED__")
55cpp_quote("#define __IQueueCommand_FWD_DEFINED__")
56cpp_quote("typedef struct IQueueCommand IQueueCommand;")
57cpp_quote("#endif")
58cpp_quote("")
59cpp_quote("#ifndef __FilgraphManager_FWD_DEFINED__")
60cpp_quote("#define __FilgraphManager_FWD_DEFINED__")
61cpp_quote("")
62cpp_quote("#ifdef __cplusplus")
63cpp_quote("typedef class FilgraphManager FilgraphManager;")
64cpp_quote("#else")
65cpp_quote("typedef struct FilgraphManager FilgraphManager;")
66cpp_quote("#endif")
67cpp_quote("#endif")
68cpp_quote("")
69cpp_quote("#ifndef __IFilterInfo_FWD_DEFINED__")
70cpp_quote("#define __IFilterInfo_FWD_DEFINED__")
71cpp_quote("typedef struct IFilterInfo IFilterInfo;")
72cpp_quote("#endif")
73cpp_quote("")
74cpp_quote("#ifndef __IRegFilterInfo_FWD_DEFINED__")
75cpp_quote("#define __IRegFilterInfo_FWD_DEFINED__")
76cpp_quote("typedef struct IRegFilterInfo IRegFilterInfo;")
77cpp_quote("#endif")
78cpp_quote("")
79cpp_quote("#ifndef __IMediaTypeInfo_FWD_DEFINED__")
80cpp_quote("#define __IMediaTypeInfo_FWD_DEFINED__")
81cpp_quote("typedef struct IMediaTypeInfo IMediaTypeInfo;")
82cpp_quote("#endif")
83cpp_quote("")
84cpp_quote("#ifndef __IPinInfo_FWD_DEFINED__")
85cpp_quote("#define __IPinInfo_FWD_DEFINED__")
86cpp_quote("typedef struct IPinInfo IPinInfo;")
87cpp_quote("#endif")
88cpp_quote("")
89cpp_quote("#ifndef __IAMStats_FWD_DEFINED__")
90cpp_quote("#define __IAMStats_FWD_DEFINED__")
91cpp_quote("typedef struct IAMStats IAMStats;")
92cpp_quote("#endif")
93
94[
95 version(1.0),
96 uuid(56a868b0-0ad4-11ce-b03a-0020af0ba770)
97]
98library QuartzTypeLib
99{
100 importlib("stdole2.tlb");
101
102 typedef LONG OAFilterState;
103 typedef LONG_PTR OAHWND;
104 typedef LONG_PTR OAEVENT;
105
106 cpp_quote("#ifndef REFTIME_DEFINED")
107 cpp_quote("#define REFTIME_DEFINED")
108 typedef DOUBLE REFTIME;
109 cpp_quote("#endif")
110
111 [
112 object,
113 uuid(56a868b1-0ad4-11ce-b03a-0020af0ba770),
114 pointer_default(unique)
115 ]
116 interface IMediaControl : IDispatch {
117 HRESULT Run();
118 HRESULT Pause();
119 HRESULT Stop();
120 HRESULT GetState( [in] LONG msTimeout, [out] OAFilterState *pfs );
121 HRESULT RenderFile( [in] BSTR strFilename );
122 HRESULT AddSourceFilter( [in] BSTR strFilename, [out] IDispatch **ppUnk );
123 [propget] HRESULT FilterCollection( [out] IDispatch **ppUnk );
124 [propget] HRESULT RegFilterCollection( [out] IDispatch **ppUnk );
125 HRESULT StopWhenReady();
126 }
127
128cpp_quote("#ifndef __IAMCollection_INTERFACE_DEFINED__")
129cpp_quote("#define __IAMCollection_INTERFACE_DEFINED__")
130cpp_quote(" DEFINE_GUID(IID_IAMCollection,0x56a868b9,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
131cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
132cpp_quote(" struct IAMCollection : public IDispatch {")
133cpp_quote(" public:")
134cpp_quote(" virtual HRESULT WINAPI get_Count(LONG *plCount) = 0;")
135cpp_quote(" virtual HRESULT WINAPI Item(__LONG32 lItem,IUnknown **ppUnk) = 0;")
136cpp_quote(" virtual HRESULT WINAPI get__NewEnum(IUnknown **ppUnk) = 0;")
137cpp_quote(" };")
138cpp_quote("#else")
139cpp_quote(" typedef struct IAMCollectionVtbl {")
140cpp_quote(" BEGIN_INTERFACE")
141cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMCollection *This,REFIID riid,void **ppvObject);")
142cpp_quote(" ULONG (WINAPI *AddRef)(IAMCollection *This);")
143cpp_quote(" ULONG (WINAPI *Release)(IAMCollection *This);")
144cpp_quote(" HRESULT (WINAPI *GetTypeInfoCount)(IAMCollection *This,UINT *pctinfo);")
145cpp_quote(" HRESULT (WINAPI *GetTypeInfo)(IAMCollection *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);")
146cpp_quote(" HRESULT (WINAPI *GetIDsOfNames)(IAMCollection *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);")
147cpp_quote(" HRESULT (WINAPI *Invoke)(IAMCollection *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);")
148cpp_quote(" HRESULT (WINAPI *get_Count)(IAMCollection *This,LONG *plCount);")
149cpp_quote(" HRESULT (WINAPI *Item)(IAMCollection *This,__LONG32 lItem,IUnknown **ppUnk);")
150cpp_quote(" HRESULT (WINAPI *get__NewEnum)(IAMCollection *This,IUnknown **ppUnk);")
151cpp_quote(" END_INTERFACE")
152cpp_quote(" } IAMCollectionVtbl;")
153cpp_quote(" struct IAMCollection {")
154cpp_quote(" CONST_VTBL struct IAMCollectionVtbl *lpVtbl;")
155cpp_quote(" };")
156cpp_quote("#ifdef COBJMACROS")
157cpp_quote("#define IAMCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
158cpp_quote("#define IAMCollection_AddRef(This) (This)->lpVtbl->AddRef(This)")
159cpp_quote("#define IAMCollection_Release(This) (This)->lpVtbl->Release(This)")
160cpp_quote("#define IAMCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)")
161cpp_quote("#define IAMCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)")
162cpp_quote("#define IAMCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)")
163cpp_quote("#define IAMCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)")
164cpp_quote("#define IAMCollection_get_Count(This,plCount) (This)->lpVtbl->get_Count(This,plCount)")
165cpp_quote("#define IAMCollection_Item(This,lItem,ppUnk) (This)->lpVtbl->Item(This,lItem,ppUnk)")
166cpp_quote("#define IAMCollection_get__NewEnum(This,ppUnk) (This)->lpVtbl->get__NewEnum(This,ppUnk)")
167cpp_quote("#endif")
168cpp_quote("#endif")
169cpp_quote(" HRESULT WINAPI IAMCollection_get_Count_Proxy(IAMCollection *This,LONG *plCount);")
170cpp_quote(" void __RPC_STUB IAMCollection_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
171cpp_quote(" HRESULT WINAPI IAMCollection_Item_Proxy(IAMCollection *This,__LONG32 lItem,IUnknown **ppUnk);")
172cpp_quote(" void __RPC_STUB IAMCollection_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
173cpp_quote(" HRESULT WINAPI IAMCollection_get__NewEnum_Proxy(IAMCollection *This,IUnknown **ppUnk);")
174cpp_quote(" void __RPC_STUB IAMCollection_get__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
175cpp_quote("#endif")
176cpp_quote("#ifndef __IMediaEvent_INTERFACE_DEFINED__")
177cpp_quote("#define __IMediaEvent_INTERFACE_DEFINED__")
178cpp_quote(" DEFINE_GUID(IID_IMediaEvent,0x56a868b6,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
179cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
180cpp_quote(" struct IMediaEvent : public IDispatch {")
181cpp_quote(" public:")
182cpp_quote(" virtual HRESULT WINAPI GetEventHandle(OAEVENT *hEvent) = 0;")
183cpp_quote(" virtual HRESULT WINAPI GetEvent(__LONG32 *lEventCode,LONG_PTR *lParam1,LONG_PTR *lParam2,__LONG32 msTimeout) = 0;")
184cpp_quote(" virtual HRESULT WINAPI WaitForCompletion(__LONG32 msTimeout,__LONG32 *pEvCode) = 0;")
185cpp_quote(" virtual HRESULT WINAPI CancelDefaultHandling(__LONG32 lEvCode) = 0;")
186cpp_quote(" virtual HRESULT WINAPI RestoreDefaultHandling(__LONG32 lEvCode) = 0;")
187cpp_quote(" virtual HRESULT WINAPI FreeEventParams(__LONG32 lEvCode,LONG_PTR lParam1,LONG_PTR lParam2) = 0;")
188cpp_quote(" };")
189cpp_quote("#else")
190cpp_quote(" typedef struct IMediaEventVtbl {")
191cpp_quote(" BEGIN_INTERFACE")
192cpp_quote(" HRESULT (WINAPI *QueryInterface)(IMediaEvent *This,REFIID riid,void **ppvObject);")
193cpp_quote(" ULONG (WINAPI *AddRef)(IMediaEvent *This);")
194cpp_quote(" ULONG (WINAPI *Release)(IMediaEvent *This);")
195cpp_quote(" HRESULT (WINAPI *GetTypeInfoCount)(IMediaEvent *This,UINT *pctinfo);")
196cpp_quote(" HRESULT (WINAPI *GetTypeInfo)(IMediaEvent *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);")
197cpp_quote(" HRESULT (WINAPI *GetIDsOfNames)(IMediaEvent *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);")
198cpp_quote(" HRESULT (WINAPI *Invoke)(IMediaEvent *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);")
199cpp_quote(" HRESULT (WINAPI *GetEventHandle)(IMediaEvent *This,OAEVENT *hEvent);")
200cpp_quote(" HRESULT (WINAPI *GetEvent)(IMediaEvent *This,__LONG32 *lEventCode,LONG_PTR *lParam1,LONG_PTR *lParam2,__LONG32 msTimeout);")
201cpp_quote(" HRESULT (WINAPI *WaitForCompletion)(IMediaEvent *This,__LONG32 msTimeout,__LONG32 *pEvCode);")
202cpp_quote(" HRESULT (WINAPI *CancelDefaultHandling)(IMediaEvent *This,__LONG32 lEvCode);")
203cpp_quote(" HRESULT (WINAPI *RestoreDefaultHandling)(IMediaEvent *This,__LONG32 lEvCode);")
204cpp_quote(" HRESULT (WINAPI *FreeEventParams)(IMediaEvent *This,__LONG32 lEvCode,LONG_PTR lParam1,LONG_PTR lParam2);")
205cpp_quote(" END_INTERFACE")
206cpp_quote(" } IMediaEventVtbl;")
207cpp_quote(" struct IMediaEvent {")
208cpp_quote(" CONST_VTBL struct IMediaEventVtbl *lpVtbl;")
209cpp_quote(" };")
210cpp_quote("#ifdef COBJMACROS")
211cpp_quote("#define IMediaEvent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
212cpp_quote("#define IMediaEvent_AddRef(This) (This)->lpVtbl->AddRef(This)")
213cpp_quote("#define IMediaEvent_Release(This) (This)->lpVtbl->Release(This)")
214cpp_quote("#define IMediaEvent_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)")
215cpp_quote("#define IMediaEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)")
216cpp_quote("#define IMediaEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)")
217cpp_quote("#define IMediaEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)")
218cpp_quote("#define IMediaEvent_GetEventHandle(This,hEvent) (This)->lpVtbl->GetEventHandle(This,hEvent)")
219cpp_quote("#define IMediaEvent_GetEvent(This,lEventCode,lParam1,lParam2,msTimeout) (This)->lpVtbl->GetEvent(This,lEventCode,lParam1,lParam2,msTimeout)")
220cpp_quote("#define IMediaEvent_WaitForCompletion(This,msTimeout,pEvCode) (This)->lpVtbl->WaitForCompletion(This,msTimeout,pEvCode)")
221cpp_quote("#define IMediaEvent_CancelDefaultHandling(This,lEvCode) (This)->lpVtbl->CancelDefaultHandling(This,lEvCode)")
222cpp_quote("#define IMediaEvent_RestoreDefaultHandling(This,lEvCode) (This)->lpVtbl->RestoreDefaultHandling(This,lEvCode)")
223cpp_quote("#define IMediaEvent_FreeEventParams(This,lEvCode,lParam1,lParam2) (This)->lpVtbl->FreeEventParams(This,lEvCode,lParam1,lParam2)")
224cpp_quote("#endif")
225cpp_quote("#endif")
226cpp_quote(" HRESULT WINAPI IMediaEvent_GetEventHandle_Proxy(IMediaEvent *This,OAEVENT *hEvent);")
227cpp_quote(" void __RPC_STUB IMediaEvent_GetEventHandle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
228cpp_quote(" HRESULT WINAPI IMediaEvent_GetEvent_Proxy(IMediaEvent *This,__LONG32 *lEventCode,LONG_PTR *lParam1,LONG_PTR *lParam2,__LONG32 msTimeout);")
229cpp_quote(" void __RPC_STUB IMediaEvent_GetEvent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
230cpp_quote(" HRESULT WINAPI IMediaEvent_WaitForCompletion_Proxy(IMediaEvent *This,__LONG32 msTimeout,__LONG32 *pEvCode);")
231cpp_quote(" void __RPC_STUB IMediaEvent_WaitForCompletion_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
232cpp_quote(" HRESULT WINAPI IMediaEvent_CancelDefaultHandling_Proxy(IMediaEvent *This,__LONG32 lEvCode);")
233cpp_quote(" void __RPC_STUB IMediaEvent_CancelDefaultHandling_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
234cpp_quote(" HRESULT WINAPI IMediaEvent_RestoreDefaultHandling_Proxy(IMediaEvent *This,__LONG32 lEvCode);")
235cpp_quote(" void __RPC_STUB IMediaEvent_RestoreDefaultHandling_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
236cpp_quote(" HRESULT WINAPI IMediaEvent_FreeEventParams_Proxy(IMediaEvent *This,__LONG32 lEvCode,LONG_PTR lParam1,LONG_PTR lParam2);")
237cpp_quote(" void __RPC_STUB IMediaEvent_FreeEventParams_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
238cpp_quote("#endif")
239cpp_quote("")
240cpp_quote("#ifndef __IMediaEventEx_INTERFACE_DEFINED__")
241cpp_quote("#define __IMediaEventEx_INTERFACE_DEFINED__")
242cpp_quote(" DEFINE_GUID(IID_IMediaEventEx,0x56a868c0,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
243cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
244cpp_quote(" struct IMediaEventEx : public IMediaEvent {")
245cpp_quote(" public:")
246cpp_quote(" virtual HRESULT WINAPI SetNotifyWindow(OAHWND hwnd,__LONG32 lMsg,LONG_PTR lInstanceData) = 0;")
247cpp_quote(" virtual HRESULT WINAPI SetNotifyFlags(__LONG32 lNoNotifyFlags) = 0;")
248cpp_quote(" virtual HRESULT WINAPI GetNotifyFlags(__LONG32 *lplNoNotifyFlags) = 0;")
249cpp_quote(" };")
250cpp_quote("#else")
251cpp_quote(" typedef struct IMediaEventExVtbl {")
252cpp_quote(" BEGIN_INTERFACE")
253cpp_quote(" HRESULT (WINAPI *QueryInterface)(IMediaEventEx *This,REFIID riid,void **ppvObject);")
254cpp_quote(" ULONG (WINAPI *AddRef)(IMediaEventEx *This);")
255cpp_quote(" ULONG (WINAPI *Release)(IMediaEventEx *This);")
256cpp_quote(" HRESULT (WINAPI *GetTypeInfoCount)(IMediaEventEx *This,UINT *pctinfo);")
257cpp_quote(" HRESULT (WINAPI *GetTypeInfo)(IMediaEventEx *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);")
258cpp_quote(" HRESULT (WINAPI *GetIDsOfNames)(IMediaEventEx *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);")
259cpp_quote(" HRESULT (WINAPI *Invoke)(IMediaEventEx *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);")
260cpp_quote(" HRESULT (WINAPI *GetEventHandle)(IMediaEventEx *This,OAEVENT *hEvent);")
261cpp_quote(" HRESULT (WINAPI *GetEvent)(IMediaEventEx *This,__LONG32 *lEventCode,LONG_PTR *lParam1,LONG_PTR *lParam2,__LONG32 msTimeout);")
262cpp_quote(" HRESULT (WINAPI *WaitForCompletion)(IMediaEventEx *This,__LONG32 msTimeout,__LONG32 *pEvCode);")
263cpp_quote(" HRESULT (WINAPI *CancelDefaultHandling)(IMediaEventEx *This,__LONG32 lEvCode);")
264cpp_quote(" HRESULT (WINAPI *RestoreDefaultHandling)(IMediaEventEx *This,__LONG32 lEvCode);")
265cpp_quote(" HRESULT (WINAPI *FreeEventParams)(IMediaEventEx *This,__LONG32 lEvCode,LONG_PTR lParam1,LONG_PTR lParam2);")
266cpp_quote(" HRESULT (WINAPI *SetNotifyWindow)(IMediaEventEx *This,OAHWND hwnd,__LONG32 lMsg,LONG_PTR lInstanceData);")
267cpp_quote(" HRESULT (WINAPI *SetNotifyFlags)(IMediaEventEx *This,__LONG32 lNoNotifyFlags);")
268cpp_quote(" HRESULT (WINAPI *GetNotifyFlags)(IMediaEventEx *This,__LONG32 *lplNoNotifyFlags);")
269cpp_quote(" END_INTERFACE")
270cpp_quote(" } IMediaEventExVtbl;")
271cpp_quote(" struct IMediaEventEx {")
272cpp_quote(" CONST_VTBL struct IMediaEventExVtbl *lpVtbl;")
273cpp_quote(" };")
274cpp_quote("#ifdef COBJMACROS")
275cpp_quote("#define IMediaEventEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
276cpp_quote("#define IMediaEventEx_AddRef(This) (This)->lpVtbl->AddRef(This)")
277cpp_quote("#define IMediaEventEx_Release(This) (This)->lpVtbl->Release(This)")
278cpp_quote("#define IMediaEventEx_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)")
279cpp_quote("#define IMediaEventEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)")
280cpp_quote("#define IMediaEventEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)")
281cpp_quote("#define IMediaEventEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)")
282cpp_quote("#define IMediaEventEx_GetEventHandle(This,hEvent) (This)->lpVtbl->GetEventHandle(This,hEvent)")
283cpp_quote("#define IMediaEventEx_GetEvent(This,lEventCode,lParam1,lParam2,msTimeout) (This)->lpVtbl->GetEvent(This,lEventCode,lParam1,lParam2,msTimeout)")
284cpp_quote("#define IMediaEventEx_WaitForCompletion(This,msTimeout,pEvCode) (This)->lpVtbl->WaitForCompletion(This,msTimeout,pEvCode)")
285cpp_quote("#define IMediaEventEx_CancelDefaultHandling(This,lEvCode) (This)->lpVtbl->CancelDefaultHandling(This,lEvCode)")
286cpp_quote("#define IMediaEventEx_RestoreDefaultHandling(This,lEvCode) (This)->lpVtbl->RestoreDefaultHandling(This,lEvCode)")
287cpp_quote("#define IMediaEventEx_FreeEventParams(This,lEvCode,lParam1,lParam2) (This)->lpVtbl->FreeEventParams(This,lEvCode,lParam1,lParam2)")
288cpp_quote("#define IMediaEventEx_SetNotifyWindow(This,hwnd,lMsg,lInstanceData) (This)->lpVtbl->SetNotifyWindow(This,hwnd,lMsg,lInstanceData)")
289cpp_quote("#define IMediaEventEx_SetNotifyFlags(This,lNoNotifyFlags) (This)->lpVtbl->SetNotifyFlags(This,lNoNotifyFlags)")
290cpp_quote("#define IMediaEventEx_GetNotifyFlags(This,lplNoNotifyFlags) (This)->lpVtbl->GetNotifyFlags(This,lplNoNotifyFlags)")
291cpp_quote("#endif")
292cpp_quote("#endif")
293cpp_quote(" HRESULT WINAPI IMediaEventEx_SetNotifyWindow_Proxy(IMediaEventEx *This,OAHWND hwnd,__LONG32 lMsg,LONG_PTR lInstanceData);")
294cpp_quote(" void __RPC_STUB IMediaEventEx_SetNotifyWindow_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
295cpp_quote(" HRESULT WINAPI IMediaEventEx_SetNotifyFlags_Proxy(IMediaEventEx *This,__LONG32 lNoNotifyFlags);")
296cpp_quote(" void __RPC_STUB IMediaEventEx_SetNotifyFlags_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
297cpp_quote(" HRESULT WINAPI IMediaEventEx_GetNotifyFlags_Proxy(IMediaEventEx *This,__LONG32 *lplNoNotifyFlags);")
298cpp_quote(" void __RPC_STUB IMediaEventEx_GetNotifyFlags_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
299cpp_quote("#endif")
300cpp_quote("")
301cpp_quote("#ifndef __IMediaPosition_INTERFACE_DEFINED__")
302cpp_quote("#define __IMediaPosition_INTERFACE_DEFINED__")
303cpp_quote(" DEFINE_GUID(IID_IMediaPosition,0x56a868b2,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
304cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
305cpp_quote(" struct IMediaPosition : public IDispatch {")
306cpp_quote(" public:")
307cpp_quote(" virtual HRESULT WINAPI get_Duration(REFTIME *plength) = 0;")
308cpp_quote(" virtual HRESULT WINAPI put_CurrentPosition(REFTIME llTime) = 0;")
309cpp_quote(" virtual HRESULT WINAPI get_CurrentPosition(REFTIME *pllTime) = 0;")
310cpp_quote(" virtual HRESULT WINAPI get_StopTime(REFTIME *pllTime) = 0;")
311cpp_quote(" virtual HRESULT WINAPI put_StopTime(REFTIME llTime) = 0;")
312cpp_quote(" virtual HRESULT WINAPI get_PrerollTime(REFTIME *pllTime) = 0;")
313cpp_quote(" virtual HRESULT WINAPI put_PrerollTime(REFTIME llTime) = 0;")
314cpp_quote(" virtual HRESULT WINAPI put_Rate(double dRate) = 0;")
315cpp_quote(" virtual HRESULT WINAPI get_Rate(double *pdRate) = 0;")
316cpp_quote(" virtual HRESULT WINAPI CanSeekForward(LONG *pCanSeekForward) = 0;")
317cpp_quote(" virtual HRESULT WINAPI CanSeekBackward(LONG *pCanSeekBackward) = 0;")
318cpp_quote(" };")
319cpp_quote("#else")
320cpp_quote(" typedef struct IMediaPositionVtbl {")
321cpp_quote(" BEGIN_INTERFACE")
322cpp_quote(" HRESULT (WINAPI *QueryInterface)(IMediaPosition *This,REFIID riid,void **ppvObject);")
323cpp_quote(" ULONG (WINAPI *AddRef)(IMediaPosition *This);")
324cpp_quote(" ULONG (WINAPI *Release)(IMediaPosition *This);")
325cpp_quote(" HRESULT (WINAPI *GetTypeInfoCount)(IMediaPosition *This,UINT *pctinfo);")
326cpp_quote(" HRESULT (WINAPI *GetTypeInfo)(IMediaPosition *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);")
327cpp_quote(" HRESULT (WINAPI *GetIDsOfNames)(IMediaPosition *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);")
328cpp_quote(" HRESULT (WINAPI *Invoke)(IMediaPosition *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);")
329cpp_quote(" HRESULT (WINAPI *get_Duration)(IMediaPosition *This,REFTIME *plength);")
330cpp_quote(" HRESULT (WINAPI *put_CurrentPosition)(IMediaPosition *This,REFTIME llTime);")
331cpp_quote(" HRESULT (WINAPI *get_CurrentPosition)(IMediaPosition *This,REFTIME *pllTime);")
332cpp_quote(" HRESULT (WINAPI *get_StopTime)(IMediaPosition *This,REFTIME *pllTime);")
333cpp_quote(" HRESULT (WINAPI *put_StopTime)(IMediaPosition *This,REFTIME llTime);")
334cpp_quote(" HRESULT (WINAPI *get_PrerollTime)(IMediaPosition *This,REFTIME *pllTime);")
335cpp_quote(" HRESULT (WINAPI *put_PrerollTime)(IMediaPosition *This,REFTIME llTime);")
336cpp_quote(" HRESULT (WINAPI *put_Rate)(IMediaPosition *This,double dRate);")
337cpp_quote(" HRESULT (WINAPI *get_Rate)(IMediaPosition *This,double *pdRate);")
338cpp_quote(" HRESULT (WINAPI *CanSeekForward)(IMediaPosition *This,LONG *pCanSeekForward);")
339cpp_quote(" HRESULT (WINAPI *CanSeekBackward)(IMediaPosition *This,LONG *pCanSeekBackward);")
340cpp_quote(" END_INTERFACE")
341cpp_quote(" } IMediaPositionVtbl;")
342cpp_quote(" struct IMediaPosition {")
343cpp_quote(" CONST_VTBL struct IMediaPositionVtbl *lpVtbl;")
344cpp_quote(" };")
345cpp_quote("#ifdef COBJMACROS")
346cpp_quote("#define IMediaPosition_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
347cpp_quote("#define IMediaPosition_AddRef(This) (This)->lpVtbl->AddRef(This)")
348cpp_quote("#define IMediaPosition_Release(This) (This)->lpVtbl->Release(This)")
349cpp_quote("#define IMediaPosition_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)")
350cpp_quote("#define IMediaPosition_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)")
351cpp_quote("#define IMediaPosition_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)")
352cpp_quote("#define IMediaPosition_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)")
353cpp_quote("#define IMediaPosition_get_Duration(This,plength) (This)->lpVtbl->get_Duration(This,plength)")
354cpp_quote("#define IMediaPosition_put_CurrentPosition(This,llTime) (This)->lpVtbl->put_CurrentPosition(This,llTime)")
355cpp_quote("#define IMediaPosition_get_CurrentPosition(This,pllTime) (This)->lpVtbl->get_CurrentPosition(This,pllTime)")
356cpp_quote("#define IMediaPosition_get_StopTime(This,pllTime) (This)->lpVtbl->get_StopTime(This,pllTime)")
357cpp_quote("#define IMediaPosition_put_StopTime(This,llTime) (This)->lpVtbl->put_StopTime(This,llTime)")
358cpp_quote("#define IMediaPosition_get_PrerollTime(This,pllTime) (This)->lpVtbl->get_PrerollTime(This,pllTime)")
359cpp_quote("#define IMediaPosition_put_PrerollTime(This,llTime) (This)->lpVtbl->put_PrerollTime(This,llTime)")
360cpp_quote("#define IMediaPosition_put_Rate(This,dRate) (This)->lpVtbl->put_Rate(This,dRate)")
361cpp_quote("#define IMediaPosition_get_Rate(This,pdRate) (This)->lpVtbl->get_Rate(This,pdRate)")
362cpp_quote("#define IMediaPosition_CanSeekForward(This,pCanSeekForward) (This)->lpVtbl->CanSeekForward(This,pCanSeekForward)")
363cpp_quote("#define IMediaPosition_CanSeekBackward(This,pCanSeekBackward) (This)->lpVtbl->CanSeekBackward(This,pCanSeekBackward)")
364cpp_quote("#endif")
365cpp_quote("#endif")
366cpp_quote(" HRESULT WINAPI IMediaPosition_get_Duration_Proxy(IMediaPosition *This,REFTIME *plength);")
367cpp_quote(" void __RPC_STUB IMediaPosition_get_Duration_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
368cpp_quote(" HRESULT WINAPI IMediaPosition_put_CurrentPosition_Proxy(IMediaPosition *This,REFTIME llTime);")
369cpp_quote(" void __RPC_STUB IMediaPosition_put_CurrentPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
370cpp_quote(" HRESULT WINAPI IMediaPosition_get_CurrentPosition_Proxy(IMediaPosition *This,REFTIME *pllTime);")
371cpp_quote(" void __RPC_STUB IMediaPosition_get_CurrentPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
372cpp_quote(" HRESULT WINAPI IMediaPosition_get_StopTime_Proxy(IMediaPosition *This,REFTIME *pllTime);")
373cpp_quote(" void __RPC_STUB IMediaPosition_get_StopTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
374cpp_quote(" HRESULT WINAPI IMediaPosition_put_StopTime_Proxy(IMediaPosition *This,REFTIME llTime);")
375cpp_quote(" void __RPC_STUB IMediaPosition_put_StopTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
376cpp_quote(" HRESULT WINAPI IMediaPosition_get_PrerollTime_Proxy(IMediaPosition *This,REFTIME *pllTime);")
377cpp_quote(" void __RPC_STUB IMediaPosition_get_PrerollTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
378cpp_quote(" HRESULT WINAPI IMediaPosition_put_PrerollTime_Proxy(IMediaPosition *This,REFTIME llTime);")
379cpp_quote(" void __RPC_STUB IMediaPosition_put_PrerollTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
380cpp_quote(" HRESULT WINAPI IMediaPosition_put_Rate_Proxy(IMediaPosition *This,double dRate);")
381cpp_quote(" void __RPC_STUB IMediaPosition_put_Rate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
382cpp_quote(" HRESULT WINAPI IMediaPosition_get_Rate_Proxy(IMediaPosition *This,double *pdRate);")
383cpp_quote(" void __RPC_STUB IMediaPosition_get_Rate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
384cpp_quote(" HRESULT WINAPI IMediaPosition_CanSeekForward_Proxy(IMediaPosition *This,LONG *pCanSeekForward);")
385cpp_quote(" void __RPC_STUB IMediaPosition_CanSeekForward_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
386cpp_quote(" HRESULT WINAPI IMediaPosition_CanSeekBackward_Proxy(IMediaPosition *This,LONG *pCanSeekBackward);")
387cpp_quote(" void __RPC_STUB IMediaPosition_CanSeekBackward_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
388cpp_quote("#endif")
389cpp_quote("")
390cpp_quote("#ifndef __IBasicAudio_INTERFACE_DEFINED__")
391cpp_quote("#define __IBasicAudio_INTERFACE_DEFINED__")
392cpp_quote(" DEFINE_GUID(IID_IBasicAudio,0x56a868b3,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
393cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
394cpp_quote(" struct IBasicAudio : public IDispatch {")
395cpp_quote(" public:")
396cpp_quote(" virtual HRESULT WINAPI put_Volume(__LONG32 lVolume) = 0;")
397cpp_quote(" virtual HRESULT WINAPI get_Volume(__LONG32 *plVolume) = 0;")
398cpp_quote(" virtual HRESULT WINAPI put_Balance(__LONG32 lBalance) = 0;")
399cpp_quote(" virtual HRESULT WINAPI get_Balance(__LONG32 *plBalance) = 0;")
400cpp_quote(" };")
401cpp_quote("#else")
402cpp_quote(" typedef struct IBasicAudioVtbl {")
403cpp_quote(" BEGIN_INTERFACE")
404cpp_quote(" HRESULT (WINAPI *QueryInterface)(IBasicAudio *This,REFIID riid,void **ppvObject);")
405cpp_quote(" ULONG (WINAPI *AddRef)(IBasicAudio *This);")
406cpp_quote(" ULONG (WINAPI *Release)(IBasicAudio *This);")
407cpp_quote(" HRESULT (WINAPI *GetTypeInfoCount)(IBasicAudio *This,UINT *pctinfo);")
408cpp_quote(" HRESULT (WINAPI *GetTypeInfo)(IBasicAudio *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);")
409cpp_quote(" HRESULT (WINAPI *GetIDsOfNames)(IBasicAudio *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);")
410cpp_quote(" HRESULT (WINAPI *Invoke)(IBasicAudio *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);")
411cpp_quote(" HRESULT (WINAPI *put_Volume)(IBasicAudio *This,__LONG32 lVolume);")
412cpp_quote(" HRESULT (WINAPI *get_Volume)(IBasicAudio *This,__LONG32 *plVolume);")
413cpp_quote(" HRESULT (WINAPI *put_Balance)(IBasicAudio *This,__LONG32 lBalance);")
414cpp_quote(" HRESULT (WINAPI *get_Balance)(IBasicAudio *This,__LONG32 *plBalance);")
415cpp_quote(" END_INTERFACE")
416cpp_quote(" } IBasicAudioVtbl;")
417cpp_quote(" struct IBasicAudio {")
418cpp_quote(" CONST_VTBL struct IBasicAudioVtbl *lpVtbl;")
419cpp_quote(" };")
420cpp_quote("#ifdef COBJMACROS")
421cpp_quote("#define IBasicAudio_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
422cpp_quote("#define IBasicAudio_AddRef(This) (This)->lpVtbl->AddRef(This)")
423cpp_quote("#define IBasicAudio_Release(This) (This)->lpVtbl->Release(This)")
424cpp_quote("#define IBasicAudio_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)")
425cpp_quote("#define IBasicAudio_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)")
426cpp_quote("#define IBasicAudio_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)")
427cpp_quote("#define IBasicAudio_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)")
428cpp_quote("#define IBasicAudio_put_Volume(This,lVolume) (This)->lpVtbl->put_Volume(This,lVolume)")
429cpp_quote("#define IBasicAudio_get_Volume(This,plVolume) (This)->lpVtbl->get_Volume(This,plVolume)")
430cpp_quote("#define IBasicAudio_put_Balance(This,lBalance) (This)->lpVtbl->put_Balance(This,lBalance)")
431cpp_quote("#define IBasicAudio_get_Balance(This,plBalance) (This)->lpVtbl->get_Balance(This,plBalance)")
432cpp_quote("#endif")
433cpp_quote("#endif")
434cpp_quote(" HRESULT WINAPI IBasicAudio_put_Volume_Proxy(IBasicAudio *This,__LONG32 lVolume);")
435cpp_quote(" void __RPC_STUB IBasicAudio_put_Volume_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
436cpp_quote(" HRESULT WINAPI IBasicAudio_get_Volume_Proxy(IBasicAudio *This,__LONG32 *plVolume);")
437cpp_quote(" void __RPC_STUB IBasicAudio_get_Volume_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
438cpp_quote(" HRESULT WINAPI IBasicAudio_put_Balance_Proxy(IBasicAudio *This,__LONG32 lBalance);")
439cpp_quote(" void __RPC_STUB IBasicAudio_put_Balance_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
440cpp_quote(" HRESULT WINAPI IBasicAudio_get_Balance_Proxy(IBasicAudio *This,__LONG32 *plBalance);")
441cpp_quote(" void __RPC_STUB IBasicAudio_get_Balance_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
442cpp_quote("#endif")
443cpp_quote("")
444cpp_quote("#ifndef __IVideoWindow_INTERFACE_DEFINED__")
445cpp_quote("#define __IVideoWindow_INTERFACE_DEFINED__")
446cpp_quote(" DEFINE_GUID(IID_IVideoWindow,0x56a868b4,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
447cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
448cpp_quote(" struct IVideoWindow : public IDispatch {")
449cpp_quote(" public:")
450cpp_quote(" virtual HRESULT WINAPI put_Caption(BSTR strCaption) = 0;")
451cpp_quote(" virtual HRESULT WINAPI get_Caption(BSTR *strCaption) = 0;")
452cpp_quote(" virtual HRESULT WINAPI put_WindowStyle(__LONG32 WindowStyle) = 0;")
453cpp_quote(" virtual HRESULT WINAPI get_WindowStyle(__LONG32 *WindowStyle) = 0;")
454cpp_quote(" virtual HRESULT WINAPI put_WindowStyleEx(__LONG32 WindowStyleEx) = 0;")
455cpp_quote(" virtual HRESULT WINAPI get_WindowStyleEx(__LONG32 *WindowStyleEx) = 0;")
456cpp_quote(" virtual HRESULT WINAPI put_AutoShow(__LONG32 AutoShow) = 0;")
457cpp_quote(" virtual HRESULT WINAPI get_AutoShow(__LONG32 *AutoShow) = 0;")
458cpp_quote(" virtual HRESULT WINAPI put_WindowState(__LONG32 WindowState) = 0;")
459cpp_quote(" virtual HRESULT WINAPI get_WindowState(__LONG32 *WindowState) = 0;")
460cpp_quote(" virtual HRESULT WINAPI put_BackgroundPalette(__LONG32 BackgroundPalette) = 0;")
461cpp_quote(" virtual HRESULT WINAPI get_BackgroundPalette(__LONG32 *pBackgroundPalette) = 0;")
462cpp_quote(" virtual HRESULT WINAPI put_Visible(__LONG32 Visible) = 0;")
463cpp_quote(" virtual HRESULT WINAPI get_Visible(__LONG32 *pVisible) = 0;")
464cpp_quote(" virtual HRESULT WINAPI put_Left(__LONG32 Left) = 0;")
465cpp_quote(" virtual HRESULT WINAPI get_Left(__LONG32 *pLeft) = 0;")
466cpp_quote(" virtual HRESULT WINAPI put_Width(__LONG32 Width) = 0;")
467cpp_quote(" virtual HRESULT WINAPI get_Width(__LONG32 *pWidth) = 0;")
468cpp_quote(" virtual HRESULT WINAPI put_Top(__LONG32 Top) = 0;")
469cpp_quote(" virtual HRESULT WINAPI get_Top(__LONG32 *pTop) = 0;")
470cpp_quote(" virtual HRESULT WINAPI put_Height(__LONG32 Height) = 0;")
471cpp_quote(" virtual HRESULT WINAPI get_Height(__LONG32 *pHeight) = 0;")
472cpp_quote(" virtual HRESULT WINAPI put_Owner(OAHWND Owner) = 0;")
473cpp_quote(" virtual HRESULT WINAPI get_Owner(OAHWND *Owner) = 0;")
474cpp_quote(" virtual HRESULT WINAPI put_MessageDrain(OAHWND Drain) = 0;")
475cpp_quote(" virtual HRESULT WINAPI get_MessageDrain(OAHWND *Drain) = 0;")
476cpp_quote(" virtual HRESULT WINAPI get_BorderColor(__LONG32 *Color) = 0;")
477cpp_quote(" virtual HRESULT WINAPI put_BorderColor(__LONG32 Color) = 0;")
478cpp_quote(" virtual HRESULT WINAPI get_FullScreenMode(__LONG32 *FullScreenMode) = 0;")
479cpp_quote(" virtual HRESULT WINAPI put_FullScreenMode(__LONG32 FullScreenMode) = 0;")
480cpp_quote(" virtual HRESULT WINAPI SetWindowForeground(__LONG32 Focus) = 0;")
481cpp_quote(" virtual HRESULT WINAPI NotifyOwnerMessage(OAHWND hwnd,__LONG32 uMsg,LONG_PTR wParam,LONG_PTR lParam) = 0;")
482cpp_quote(" virtual HRESULT WINAPI SetWindowPosition(__LONG32 Left,__LONG32 Top,__LONG32 Width,__LONG32 Height) = 0;")
483cpp_quote(" virtual HRESULT WINAPI GetWindowPosition(__LONG32 *pLeft,__LONG32 *pTop,__LONG32 *pWidth,__LONG32 *pHeight) = 0;")
484cpp_quote(" virtual HRESULT WINAPI GetMinIdealImageSize(__LONG32 *pWidth,__LONG32 *pHeight) = 0;")
485cpp_quote(" virtual HRESULT WINAPI GetMaxIdealImageSize(__LONG32 *pWidth,__LONG32 *pHeight) = 0;")
486cpp_quote(" virtual HRESULT WINAPI GetRestorePosition(__LONG32 *pLeft,__LONG32 *pTop,__LONG32 *pWidth,__LONG32 *pHeight) = 0;")
487cpp_quote(" virtual HRESULT WINAPI HideCursor(__LONG32 HideCursor) = 0;")
488cpp_quote(" virtual HRESULT WINAPI IsCursorHidden(__LONG32 *CursorHidden) = 0;")
489cpp_quote(" };")
490cpp_quote("#else")
491cpp_quote(" typedef struct IVideoWindowVtbl {")
492cpp_quote(" BEGIN_INTERFACE")
493cpp_quote(" HRESULT (WINAPI *QueryInterface)(IVideoWindow *This,REFIID riid,void **ppvObject);")
494cpp_quote(" ULONG (WINAPI *AddRef)(IVideoWindow *This);")
495cpp_quote(" ULONG (WINAPI *Release)(IVideoWindow *This);")
496cpp_quote(" HRESULT (WINAPI *GetTypeInfoCount)(IVideoWindow *This,UINT *pctinfo);")
497cpp_quote(" HRESULT (WINAPI *GetTypeInfo)(IVideoWindow *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);")
498cpp_quote(" HRESULT (WINAPI *GetIDsOfNames)(IVideoWindow *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);")
499cpp_quote(" HRESULT (WINAPI *Invoke)(IVideoWindow *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);")
500cpp_quote(" HRESULT (WINAPI *put_Caption)(IVideoWindow *This,BSTR strCaption);")
501cpp_quote(" HRESULT (WINAPI *get_Caption)(IVideoWindow *This,BSTR *strCaption);")
502cpp_quote(" HRESULT (WINAPI *put_WindowStyle)(IVideoWindow *This,__LONG32 WindowStyle);")
503cpp_quote(" HRESULT (WINAPI *get_WindowStyle)(IVideoWindow *This,__LONG32 *WindowStyle);")
504cpp_quote(" HRESULT (WINAPI *put_WindowStyleEx)(IVideoWindow *This,__LONG32 WindowStyleEx);")
505cpp_quote(" HRESULT (WINAPI *get_WindowStyleEx)(IVideoWindow *This,__LONG32 *WindowStyleEx);")
506cpp_quote(" HRESULT (WINAPI *put_AutoShow)(IVideoWindow *This,__LONG32 AutoShow);")
507cpp_quote(" HRESULT (WINAPI *get_AutoShow)(IVideoWindow *This,__LONG32 *AutoShow);")
508cpp_quote(" HRESULT (WINAPI *put_WindowState)(IVideoWindow *This,__LONG32 WindowState);")
509cpp_quote(" HRESULT (WINAPI *get_WindowState)(IVideoWindow *This,__LONG32 *WindowState);")
510cpp_quote(" HRESULT (WINAPI *put_BackgroundPalette)(IVideoWindow *This,__LONG32 BackgroundPalette);")
511cpp_quote(" HRESULT (WINAPI *get_BackgroundPalette)(IVideoWindow *This,__LONG32 *pBackgroundPalette);")
512cpp_quote(" HRESULT (WINAPI *put_Visible)(IVideoWindow *This,__LONG32 Visible);")
513cpp_quote(" HRESULT (WINAPI *get_Visible)(IVideoWindow *This,__LONG32 *pVisible);")
514cpp_quote(" HRESULT (WINAPI *put_Left)(IVideoWindow *This,__LONG32 Left);")
515cpp_quote(" HRESULT (WINAPI *get_Left)(IVideoWindow *This,__LONG32 *pLeft);")
516cpp_quote(" HRESULT (WINAPI *put_Width)(IVideoWindow *This,__LONG32 Width);")
517cpp_quote(" HRESULT (WINAPI *get_Width)(IVideoWindow *This,__LONG32 *pWidth);")
518cpp_quote(" HRESULT (WINAPI *put_Top)(IVideoWindow *This,__LONG32 Top);")
519cpp_quote(" HRESULT (WINAPI *get_Top)(IVideoWindow *This,__LONG32 *pTop);")
520cpp_quote(" HRESULT (WINAPI *put_Height)(IVideoWindow *This,__LONG32 Height);")
521cpp_quote(" HRESULT (WINAPI *get_Height)(IVideoWindow *This,__LONG32 *pHeight);")
522cpp_quote(" HRESULT (WINAPI *put_Owner)(IVideoWindow *This,OAHWND Owner);")
523cpp_quote(" HRESULT (WINAPI *get_Owner)(IVideoWindow *This,OAHWND *Owner);")
524cpp_quote(" HRESULT (WINAPI *put_MessageDrain)(IVideoWindow *This,OAHWND Drain);")
525cpp_quote(" HRESULT (WINAPI *get_MessageDrain)(IVideoWindow *This,OAHWND *Drain);")
526cpp_quote(" HRESULT (WINAPI *get_BorderColor)(IVideoWindow *This,__LONG32 *Color);")
527cpp_quote(" HRESULT (WINAPI *put_BorderColor)(IVideoWindow *This,__LONG32 Color);")
528cpp_quote(" HRESULT (WINAPI *get_FullScreenMode)(IVideoWindow *This,__LONG32 *FullScreenMode);")
529cpp_quote(" HRESULT (WINAPI *put_FullScreenMode)(IVideoWindow *This,__LONG32 FullScreenMode);")
530cpp_quote(" HRESULT (WINAPI *SetWindowForeground)(IVideoWindow *This,__LONG32 Focus);")
531cpp_quote(" HRESULT (WINAPI *NotifyOwnerMessage)(IVideoWindow *This,OAHWND hwnd,__LONG32 uMsg,LONG_PTR wParam,LONG_PTR lParam);")
532cpp_quote(" HRESULT (WINAPI *SetWindowPosition)(IVideoWindow *This,__LONG32 Left,__LONG32 Top,__LONG32 Width,__LONG32 Height);")
533cpp_quote(" HRESULT (WINAPI *GetWindowPosition)(IVideoWindow *This,__LONG32 *pLeft,__LONG32 *pTop,__LONG32 *pWidth,__LONG32 *pHeight);")
534cpp_quote(" HRESULT (WINAPI *GetMinIdealImageSize)(IVideoWindow *This,__LONG32 *pWidth,__LONG32 *pHeight);")
535cpp_quote(" HRESULT (WINAPI *GetMaxIdealImageSize)(IVideoWindow *This,__LONG32 *pWidth,__LONG32 *pHeight);")
536cpp_quote(" HRESULT (WINAPI *GetRestorePosition)(IVideoWindow *This,__LONG32 *pLeft,__LONG32 *pTop,__LONG32 *pWidth,__LONG32 *pHeight);")
537cpp_quote(" HRESULT (WINAPI *HideCursor)(IVideoWindow *This,__LONG32 HideCursor);")
538cpp_quote(" HRESULT (WINAPI *IsCursorHidden)(IVideoWindow *This,__LONG32 *CursorHidden);")
539cpp_quote(" END_INTERFACE")
540cpp_quote(" } IVideoWindowVtbl;")
541cpp_quote(" struct IVideoWindow {")
542cpp_quote(" CONST_VTBL struct IVideoWindowVtbl *lpVtbl;")
543cpp_quote(" };")
544cpp_quote("#ifdef COBJMACROS")
545cpp_quote("#define IVideoWindow_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
546cpp_quote("#define IVideoWindow_AddRef(This) (This)->lpVtbl->AddRef(This)")
547cpp_quote("#define IVideoWindow_Release(This) (This)->lpVtbl->Release(This)")
548cpp_quote("#define IVideoWindow_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)")
549cpp_quote("#define IVideoWindow_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)")
550cpp_quote("#define IVideoWindow_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)")
551cpp_quote("#define IVideoWindow_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)")
552cpp_quote("#define IVideoWindow_put_Caption(This,strCaption) (This)->lpVtbl->put_Caption(This,strCaption)")
553cpp_quote("#define IVideoWindow_get_Caption(This,strCaption) (This)->lpVtbl->get_Caption(This,strCaption)")
554cpp_quote("#define IVideoWindow_put_WindowStyle(This,WindowStyle) (This)->lpVtbl->put_WindowStyle(This,WindowStyle)")
555cpp_quote("#define IVideoWindow_get_WindowStyle(This,WindowStyle) (This)->lpVtbl->get_WindowStyle(This,WindowStyle)")
556cpp_quote("#define IVideoWindow_put_WindowStyleEx(This,WindowStyleEx) (This)->lpVtbl->put_WindowStyleEx(This,WindowStyleEx)")
557cpp_quote("#define IVideoWindow_get_WindowStyleEx(This,WindowStyleEx) (This)->lpVtbl->get_WindowStyleEx(This,WindowStyleEx)")
558cpp_quote("#define IVideoWindow_put_AutoShow(This,AutoShow) (This)->lpVtbl->put_AutoShow(This,AutoShow)")
559cpp_quote("#define IVideoWindow_get_AutoShow(This,AutoShow) (This)->lpVtbl->get_AutoShow(This,AutoShow)")
560cpp_quote("#define IVideoWindow_put_WindowState(This,WindowState) (This)->lpVtbl->put_WindowState(This,WindowState)")
561cpp_quote("#define IVideoWindow_get_WindowState(This,WindowState) (This)->lpVtbl->get_WindowState(This,WindowState)")
562cpp_quote("#define IVideoWindow_put_BackgroundPalette(This,BackgroundPalette) (This)->lpVtbl->put_BackgroundPalette(This,BackgroundPalette)")
563cpp_quote("#define IVideoWindow_get_BackgroundPalette(This,pBackgroundPalette) (This)->lpVtbl->get_BackgroundPalette(This,pBackgroundPalette)")
564cpp_quote("#define IVideoWindow_put_Visible(This,Visible) (This)->lpVtbl->put_Visible(This,Visible)")
565cpp_quote("#define IVideoWindow_get_Visible(This,pVisible) (This)->lpVtbl->get_Visible(This,pVisible)")
566cpp_quote("#define IVideoWindow_put_Left(This,Left) (This)->lpVtbl->put_Left(This,Left)")
567cpp_quote("#define IVideoWindow_get_Left(This,pLeft) (This)->lpVtbl->get_Left(This,pLeft)")
568cpp_quote("#define IVideoWindow_put_Width(This,Width) (This)->lpVtbl->put_Width(This,Width)")
569cpp_quote("#define IVideoWindow_get_Width(This,pWidth) (This)->lpVtbl->get_Width(This,pWidth)")
570cpp_quote("#define IVideoWindow_put_Top(This,Top) (This)->lpVtbl->put_Top(This,Top)")
571cpp_quote("#define IVideoWindow_get_Top(This,pTop) (This)->lpVtbl->get_Top(This,pTop)")
572cpp_quote("#define IVideoWindow_put_Height(This,Height) (This)->lpVtbl->put_Height(This,Height)")
573cpp_quote("#define IVideoWindow_get_Height(This,pHeight) (This)->lpVtbl->get_Height(This,pHeight)")
574cpp_quote("#define IVideoWindow_put_Owner(This,Owner) (This)->lpVtbl->put_Owner(This,Owner)")
575cpp_quote("#define IVideoWindow_get_Owner(This,Owner) (This)->lpVtbl->get_Owner(This,Owner)")
576cpp_quote("#define IVideoWindow_put_MessageDrain(This,Drain) (This)->lpVtbl->put_MessageDrain(This,Drain)")
577cpp_quote("#define IVideoWindow_get_MessageDrain(This,Drain) (This)->lpVtbl->get_MessageDrain(This,Drain)")
578cpp_quote("#define IVideoWindow_get_BorderColor(This,Color) (This)->lpVtbl->get_BorderColor(This,Color)")
579cpp_quote("#define IVideoWindow_put_BorderColor(This,Color) (This)->lpVtbl->put_BorderColor(This,Color)")
580cpp_quote("#define IVideoWindow_get_FullScreenMode(This,FullScreenMode) (This)->lpVtbl->get_FullScreenMode(This,FullScreenMode)")
581cpp_quote("#define IVideoWindow_put_FullScreenMode(This,FullScreenMode) (This)->lpVtbl->put_FullScreenMode(This,FullScreenMode)")
582cpp_quote("#define IVideoWindow_SetWindowForeground(This,Focus) (This)->lpVtbl->SetWindowForeground(This,Focus)")
583cpp_quote("#define IVideoWindow_NotifyOwnerMessage(This,hwnd,uMsg,wParam,lParam) (This)->lpVtbl->NotifyOwnerMessage(This,hwnd,uMsg,wParam,lParam)")
584cpp_quote("#define IVideoWindow_SetWindowPosition(This,Left,Top,Width,Height) (This)->lpVtbl->SetWindowPosition(This,Left,Top,Width,Height)")
585cpp_quote("#define IVideoWindow_GetWindowPosition(This,pLeft,pTop,pWidth,pHeight) (This)->lpVtbl->GetWindowPosition(This,pLeft,pTop,pWidth,pHeight)")
586cpp_quote("#define IVideoWindow_GetMinIdealImageSize(This,pWidth,pHeight) (This)->lpVtbl->GetMinIdealImageSize(This,pWidth,pHeight)")
587cpp_quote("#define IVideoWindow_GetMaxIdealImageSize(This,pWidth,pHeight) (This)->lpVtbl->GetMaxIdealImageSize(This,pWidth,pHeight)")
588cpp_quote("#define IVideoWindow_GetRestorePosition(This,pLeft,pTop,pWidth,pHeight) (This)->lpVtbl->GetRestorePosition(This,pLeft,pTop,pWidth,pHeight)")
589cpp_quote("#define IVideoWindow_HideCursor(This,HideCursor) (This)->lpVtbl->HideCursor(This,HideCursor)")
590cpp_quote("#define IVideoWindow_IsCursorHidden(This,CursorHidden) (This)->lpVtbl->IsCursorHidden(This,CursorHidden)")
591cpp_quote("#endif")
592cpp_quote("#endif")
593cpp_quote(" HRESULT WINAPI IVideoWindow_put_Caption_Proxy(IVideoWindow *This,BSTR strCaption);")
594cpp_quote(" void __RPC_STUB IVideoWindow_put_Caption_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
595cpp_quote(" HRESULT WINAPI IVideoWindow_get_Caption_Proxy(IVideoWindow *This,BSTR *strCaption);")
596cpp_quote(" void __RPC_STUB IVideoWindow_get_Caption_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
597cpp_quote(" HRESULT WINAPI IVideoWindow_put_WindowStyle_Proxy(IVideoWindow *This,__LONG32 WindowStyle);")
598cpp_quote(" void __RPC_STUB IVideoWindow_put_WindowStyle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
599cpp_quote(" HRESULT WINAPI IVideoWindow_get_WindowStyle_Proxy(IVideoWindow *This,__LONG32 *WindowStyle);")
600cpp_quote(" void __RPC_STUB IVideoWindow_get_WindowStyle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
601cpp_quote(" HRESULT WINAPI IVideoWindow_put_WindowStyleEx_Proxy(IVideoWindow *This,__LONG32 WindowStyleEx);")
602cpp_quote(" void __RPC_STUB IVideoWindow_put_WindowStyleEx_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
603cpp_quote(" HRESULT WINAPI IVideoWindow_get_WindowStyleEx_Proxy(IVideoWindow *This,__LONG32 *WindowStyleEx);")
604cpp_quote(" void __RPC_STUB IVideoWindow_get_WindowStyleEx_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
605cpp_quote(" HRESULT WINAPI IVideoWindow_put_AutoShow_Proxy(IVideoWindow *This,__LONG32 AutoShow);")
606cpp_quote(" void __RPC_STUB IVideoWindow_put_AutoShow_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
607cpp_quote(" HRESULT WINAPI IVideoWindow_get_AutoShow_Proxy(IVideoWindow *This,__LONG32 *AutoShow);")
608cpp_quote(" void __RPC_STUB IVideoWindow_get_AutoShow_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
609cpp_quote(" HRESULT WINAPI IVideoWindow_put_WindowState_Proxy(IVideoWindow *This,__LONG32 WindowState);")
610cpp_quote(" void __RPC_STUB IVideoWindow_put_WindowState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
611cpp_quote(" HRESULT WINAPI IVideoWindow_get_WindowState_Proxy(IVideoWindow *This,__LONG32 *WindowState);")
612cpp_quote(" void __RPC_STUB IVideoWindow_get_WindowState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
613cpp_quote(" HRESULT WINAPI IVideoWindow_put_BackgroundPalette_Proxy(IVideoWindow *This,__LONG32 BackgroundPalette);")
614cpp_quote(" void __RPC_STUB IVideoWindow_put_BackgroundPalette_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
615cpp_quote(" HRESULT WINAPI IVideoWindow_get_BackgroundPalette_Proxy(IVideoWindow *This,__LONG32 *pBackgroundPalette);")
616cpp_quote(" void __RPC_STUB IVideoWindow_get_BackgroundPalette_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
617cpp_quote(" HRESULT WINAPI IVideoWindow_put_Visible_Proxy(IVideoWindow *This,__LONG32 Visible);")
618cpp_quote(" void __RPC_STUB IVideoWindow_put_Visible_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
619cpp_quote(" HRESULT WINAPI IVideoWindow_get_Visible_Proxy(IVideoWindow *This,__LONG32 *pVisible);")
620cpp_quote(" void __RPC_STUB IVideoWindow_get_Visible_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
621cpp_quote(" HRESULT WINAPI IVideoWindow_put_Left_Proxy(IVideoWindow *This,__LONG32 Left);")
622cpp_quote(" void __RPC_STUB IVideoWindow_put_Left_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
623cpp_quote(" HRESULT WINAPI IVideoWindow_get_Left_Proxy(IVideoWindow *This,__LONG32 *pLeft);")
624cpp_quote(" void __RPC_STUB IVideoWindow_get_Left_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
625cpp_quote(" HRESULT WINAPI IVideoWindow_put_Width_Proxy(IVideoWindow *This,__LONG32 Width);")
626cpp_quote(" void __RPC_STUB IVideoWindow_put_Width_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
627cpp_quote(" HRESULT WINAPI IVideoWindow_get_Width_Proxy(IVideoWindow *This,__LONG32 *pWidth);")
628cpp_quote(" void __RPC_STUB IVideoWindow_get_Width_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
629cpp_quote(" HRESULT WINAPI IVideoWindow_put_Top_Proxy(IVideoWindow *This,__LONG32 Top);")
630cpp_quote(" void __RPC_STUB IVideoWindow_put_Top_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
631cpp_quote(" HRESULT WINAPI IVideoWindow_get_Top_Proxy(IVideoWindow *This,__LONG32 *pTop);")
632cpp_quote(" void __RPC_STUB IVideoWindow_get_Top_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
633cpp_quote(" HRESULT WINAPI IVideoWindow_put_Height_Proxy(IVideoWindow *This,__LONG32 Height);")
634cpp_quote(" void __RPC_STUB IVideoWindow_put_Height_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
635cpp_quote(" HRESULT WINAPI IVideoWindow_get_Height_Proxy(IVideoWindow *This,__LONG32 *pHeight);")
636cpp_quote(" void __RPC_STUB IVideoWindow_get_Height_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
637cpp_quote(" HRESULT WINAPI IVideoWindow_put_Owner_Proxy(IVideoWindow *This,OAHWND Owner);")
638cpp_quote(" void __RPC_STUB IVideoWindow_put_Owner_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
639cpp_quote(" HRESULT WINAPI IVideoWindow_get_Owner_Proxy(IVideoWindow *This,OAHWND *Owner);")
640cpp_quote(" void __RPC_STUB IVideoWindow_get_Owner_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
641cpp_quote(" HRESULT WINAPI IVideoWindow_put_MessageDrain_Proxy(IVideoWindow *This,OAHWND Drain);")
642cpp_quote(" void __RPC_STUB IVideoWindow_put_MessageDrain_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
643cpp_quote(" HRESULT WINAPI IVideoWindow_get_MessageDrain_Proxy(IVideoWindow *This,OAHWND *Drain);")
644cpp_quote(" void __RPC_STUB IVideoWindow_get_MessageDrain_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
645cpp_quote(" HRESULT WINAPI IVideoWindow_get_BorderColor_Proxy(IVideoWindow *This,__LONG32 *Color);")
646cpp_quote(" void __RPC_STUB IVideoWindow_get_BorderColor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
647cpp_quote(" HRESULT WINAPI IVideoWindow_put_BorderColor_Proxy(IVideoWindow *This,__LONG32 Color);")
648cpp_quote(" void __RPC_STUB IVideoWindow_put_BorderColor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
649cpp_quote(" HRESULT WINAPI IVideoWindow_get_FullScreenMode_Proxy(IVideoWindow *This,__LONG32 *FullScreenMode);")
650cpp_quote(" void __RPC_STUB IVideoWindow_get_FullScreenMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
651cpp_quote(" HRESULT WINAPI IVideoWindow_put_FullScreenMode_Proxy(IVideoWindow *This,__LONG32 FullScreenMode);")
652cpp_quote(" void __RPC_STUB IVideoWindow_put_FullScreenMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
653cpp_quote(" HRESULT WINAPI IVideoWindow_SetWindowForeground_Proxy(IVideoWindow *This,__LONG32 Focus);")
654cpp_quote(" void __RPC_STUB IVideoWindow_SetWindowForeground_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
655cpp_quote(" HRESULT WINAPI IVideoWindow_NotifyOwnerMessage_Proxy(IVideoWindow *This,OAHWND hwnd,__LONG32 uMsg,LONG_PTR wParam,LONG_PTR lParam);")
656cpp_quote(" void __RPC_STUB IVideoWindow_NotifyOwnerMessage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
657cpp_quote(" HRESULT WINAPI IVideoWindow_SetWindowPosition_Proxy(IVideoWindow *This,__LONG32 Left,__LONG32 Top,__LONG32 Width,__LONG32 Height);")
658cpp_quote(" void __RPC_STUB IVideoWindow_SetWindowPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
659cpp_quote(" HRESULT WINAPI IVideoWindow_GetWindowPosition_Proxy(IVideoWindow *This,__LONG32 *pLeft,__LONG32 *pTop,__LONG32 *pWidth,__LONG32 *pHeight);")
660cpp_quote(" void __RPC_STUB IVideoWindow_GetWindowPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
661cpp_quote(" HRESULT WINAPI IVideoWindow_GetMinIdealImageSize_Proxy(IVideoWindow *This,__LONG32 *pWidth,__LONG32 *pHeight);")
662cpp_quote(" void __RPC_STUB IVideoWindow_GetMinIdealImageSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
663cpp_quote(" HRESULT WINAPI IVideoWindow_GetMaxIdealImageSize_Proxy(IVideoWindow *This,__LONG32 *pWidth,__LONG32 *pHeight);")
664cpp_quote(" void __RPC_STUB IVideoWindow_GetMaxIdealImageSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
665cpp_quote(" HRESULT WINAPI IVideoWindow_GetRestorePosition_Proxy(IVideoWindow *This,__LONG32 *pLeft,__LONG32 *pTop,__LONG32 *pWidth,__LONG32 *pHeight);")
666cpp_quote(" void __RPC_STUB IVideoWindow_GetRestorePosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
667cpp_quote(" HRESULT WINAPI IVideoWindow_HideCursor_Proxy(IVideoWindow *This,__LONG32 HideCursor);")
668cpp_quote(" void __RPC_STUB IVideoWindow_HideCursor_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
669cpp_quote(" HRESULT WINAPI IVideoWindow_IsCursorHidden_Proxy(IVideoWindow *This,__LONG32 *CursorHidden);")
670cpp_quote(" void __RPC_STUB IVideoWindow_IsCursorHidden_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
671cpp_quote("#endif")
672cpp_quote("")
673cpp_quote("#ifndef __IBasicVideo_INTERFACE_DEFINED__")
674cpp_quote("#define __IBasicVideo_INTERFACE_DEFINED__")
675cpp_quote(" DEFINE_GUID(IID_IBasicVideo,0x56a868b5,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
676cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
677cpp_quote(" struct IBasicVideo : public IDispatch {")
678cpp_quote(" public:")
679cpp_quote(" virtual HRESULT WINAPI get_AvgTimePerFrame(REFTIME *pAvgTimePerFrame) = 0;")
680cpp_quote(" virtual HRESULT WINAPI get_BitRate(__LONG32 *pBitRate) = 0;")
681cpp_quote(" virtual HRESULT WINAPI get_BitErrorRate(__LONG32 *pBitErrorRate) = 0;")
682cpp_quote(" virtual HRESULT WINAPI get_VideoWidth(__LONG32 *pVideoWidth) = 0;")
683cpp_quote(" virtual HRESULT WINAPI get_VideoHeight(__LONG32 *pVideoHeight) = 0;")
684cpp_quote(" virtual HRESULT WINAPI put_SourceLeft(__LONG32 SourceLeft) = 0;")
685cpp_quote(" virtual HRESULT WINAPI get_SourceLeft(__LONG32 *pSourceLeft) = 0;")
686cpp_quote(" virtual HRESULT WINAPI put_SourceWidth(__LONG32 SourceWidth) = 0;")
687cpp_quote(" virtual HRESULT WINAPI get_SourceWidth(__LONG32 *pSourceWidth) = 0;")
688cpp_quote(" virtual HRESULT WINAPI put_SourceTop(__LONG32 SourceTop) = 0;")
689cpp_quote(" virtual HRESULT WINAPI get_SourceTop(__LONG32 *pSourceTop) = 0;")
690cpp_quote(" virtual HRESULT WINAPI put_SourceHeight(__LONG32 SourceHeight) = 0;")
691cpp_quote(" virtual HRESULT WINAPI get_SourceHeight(__LONG32 *pSourceHeight) = 0;")
692cpp_quote(" virtual HRESULT WINAPI put_DestinationLeft(__LONG32 DestinationLeft) = 0;")
693cpp_quote(" virtual HRESULT WINAPI get_DestinationLeft(__LONG32 *pDestinationLeft) = 0;")
694cpp_quote(" virtual HRESULT WINAPI put_DestinationWidth(__LONG32 DestinationWidth) = 0;")
695cpp_quote(" virtual HRESULT WINAPI get_DestinationWidth(__LONG32 *pDestinationWidth) = 0;")
696cpp_quote(" virtual HRESULT WINAPI put_DestinationTop(__LONG32 DestinationTop) = 0;")
697cpp_quote(" virtual HRESULT WINAPI get_DestinationTop(__LONG32 *pDestinationTop) = 0;")
698cpp_quote(" virtual HRESULT WINAPI put_DestinationHeight(__LONG32 DestinationHeight) = 0;")
699cpp_quote(" virtual HRESULT WINAPI get_DestinationHeight(__LONG32 *pDestinationHeight) = 0;")
700cpp_quote(" virtual HRESULT WINAPI SetSourcePosition(__LONG32 Left,__LONG32 Top,__LONG32 Width,__LONG32 Height) = 0;")
701cpp_quote(" virtual HRESULT WINAPI GetSourcePosition(__LONG32 *pLeft,__LONG32 *pTop,__LONG32 *pWidth,__LONG32 *pHeight) = 0;")
702cpp_quote(" virtual HRESULT WINAPI SetDefaultSourcePosition(void) = 0;")
703cpp_quote(" virtual HRESULT WINAPI SetDestinationPosition(__LONG32 Left,__LONG32 Top,__LONG32 Width,__LONG32 Height) = 0;")
704cpp_quote(" virtual HRESULT WINAPI GetDestinationPosition(__LONG32 *pLeft,__LONG32 *pTop,__LONG32 *pWidth,__LONG32 *pHeight) = 0;")
705cpp_quote(" virtual HRESULT WINAPI SetDefaultDestinationPosition(void) = 0;")
706cpp_quote(" virtual HRESULT WINAPI GetVideoSize(__LONG32 *pWidth,__LONG32 *pHeight) = 0;")
707cpp_quote(" virtual HRESULT WINAPI GetVideoPaletteEntries(__LONG32 StartIndex,__LONG32 Entries,__LONG32 *pRetrieved,__LONG32 *pPalette) = 0;")
708cpp_quote(" virtual HRESULT WINAPI GetCurrentImage(__LONG32 *pBufferSize,__LONG32 *pDIBImage) = 0;")
709cpp_quote(" virtual HRESULT WINAPI IsUsingDefaultSource(void) = 0;")
710cpp_quote(" virtual HRESULT WINAPI IsUsingDefaultDestination(void) = 0;")
711cpp_quote(" };")
712cpp_quote("#else")
713cpp_quote(" typedef struct IBasicVideoVtbl {")
714cpp_quote(" BEGIN_INTERFACE")
715cpp_quote(" HRESULT (WINAPI *QueryInterface)(IBasicVideo *This,REFIID riid,void **ppvObject);")
716cpp_quote(" ULONG (WINAPI *AddRef)(IBasicVideo *This);")
717cpp_quote(" ULONG (WINAPI *Release)(IBasicVideo *This);")
718cpp_quote(" HRESULT (WINAPI *GetTypeInfoCount)(IBasicVideo *This,UINT *pctinfo);")
719cpp_quote(" HRESULT (WINAPI *GetTypeInfo)(IBasicVideo *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);")
720cpp_quote(" HRESULT (WINAPI *GetIDsOfNames)(IBasicVideo *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);")
721cpp_quote(" HRESULT (WINAPI *Invoke)(IBasicVideo *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);")
722cpp_quote(" HRESULT (WINAPI *get_AvgTimePerFrame)(IBasicVideo *This,REFTIME *pAvgTimePerFrame);")
723cpp_quote(" HRESULT (WINAPI *get_BitRate)(IBasicVideo *This,__LONG32 *pBitRate);")
724cpp_quote(" HRESULT (WINAPI *get_BitErrorRate)(IBasicVideo *This,__LONG32 *pBitErrorRate);")
725cpp_quote(" HRESULT (WINAPI *get_VideoWidth)(IBasicVideo *This,__LONG32 *pVideoWidth);")
726cpp_quote(" HRESULT (WINAPI *get_VideoHeight)(IBasicVideo *This,__LONG32 *pVideoHeight);")
727cpp_quote(" HRESULT (WINAPI *put_SourceLeft)(IBasicVideo *This,__LONG32 SourceLeft);")
728cpp_quote(" HRESULT (WINAPI *get_SourceLeft)(IBasicVideo *This,__LONG32 *pSourceLeft);")
729cpp_quote(" HRESULT (WINAPI *put_SourceWidth)(IBasicVideo *This,__LONG32 SourceWidth);")
730cpp_quote(" HRESULT (WINAPI *get_SourceWidth)(IBasicVideo *This,__LONG32 *pSourceWidth);")
731cpp_quote(" HRESULT (WINAPI *put_SourceTop)(IBasicVideo *This,__LONG32 SourceTop);")
732cpp_quote(" HRESULT (WINAPI *get_SourceTop)(IBasicVideo *This,__LONG32 *pSourceTop);")
733cpp_quote(" HRESULT (WINAPI *put_SourceHeight)(IBasicVideo *This,__LONG32 SourceHeight);")
734cpp_quote(" HRESULT (WINAPI *get_SourceHeight)(IBasicVideo *This,__LONG32 *pSourceHeight);")
735cpp_quote(" HRESULT (WINAPI *put_DestinationLeft)(IBasicVideo *This,__LONG32 DestinationLeft);")
736cpp_quote(" HRESULT (WINAPI *get_DestinationLeft)(IBasicVideo *This,__LONG32 *pDestinationLeft);")
737cpp_quote(" HRESULT (WINAPI *put_DestinationWidth)(IBasicVideo *This,__LONG32 DestinationWidth);")
738cpp_quote(" HRESULT (WINAPI *get_DestinationWidth)(IBasicVideo *This,__LONG32 *pDestinationWidth);")
739cpp_quote(" HRESULT (WINAPI *put_DestinationTop)(IBasicVideo *This,__LONG32 DestinationTop);")
740cpp_quote(" HRESULT (WINAPI *get_DestinationTop)(IBasicVideo *This,__LONG32 *pDestinationTop);")
741cpp_quote(" HRESULT (WINAPI *put_DestinationHeight)(IBasicVideo *This,__LONG32 DestinationHeight);")
742cpp_quote(" HRESULT (WINAPI *get_DestinationHeight)(IBasicVideo *This,__LONG32 *pDestinationHeight);")
743cpp_quote(" HRESULT (WINAPI *SetSourcePosition)(IBasicVideo *This,__LONG32 Left,__LONG32 Top,__LONG32 Width,__LONG32 Height);")
744cpp_quote(" HRESULT (WINAPI *GetSourcePosition)(IBasicVideo *This,__LONG32 *pLeft,__LONG32 *pTop,__LONG32 *pWidth,__LONG32 *pHeight);")
745cpp_quote(" HRESULT (WINAPI *SetDefaultSourcePosition)(IBasicVideo *This);")
746cpp_quote(" HRESULT (WINAPI *SetDestinationPosition)(IBasicVideo *This,__LONG32 Left,__LONG32 Top,__LONG32 Width,__LONG32 Height);")
747cpp_quote(" HRESULT (WINAPI *GetDestinationPosition)(IBasicVideo *This,__LONG32 *pLeft,__LONG32 *pTop,__LONG32 *pWidth,__LONG32 *pHeight);")
748cpp_quote(" HRESULT (WINAPI *SetDefaultDestinationPosition)(IBasicVideo *This);")
749cpp_quote(" HRESULT (WINAPI *GetVideoSize)(IBasicVideo *This,__LONG32 *pWidth,__LONG32 *pHeight);")
750cpp_quote(" HRESULT (WINAPI *GetVideoPaletteEntries)(IBasicVideo *This,__LONG32 StartIndex,__LONG32 Entries,__LONG32 *pRetrieved,__LONG32 *pPalette);")
751cpp_quote(" HRESULT (WINAPI *GetCurrentImage)(IBasicVideo *This,__LONG32 *pBufferSize,__LONG32 *pDIBImage);")
752cpp_quote(" HRESULT (WINAPI *IsUsingDefaultSource)(IBasicVideo *This);")
753cpp_quote(" HRESULT (WINAPI *IsUsingDefaultDestination)(IBasicVideo *This);")
754cpp_quote(" END_INTERFACE")
755cpp_quote(" } IBasicVideoVtbl;")
756cpp_quote(" struct IBasicVideo {")
757cpp_quote(" CONST_VTBL struct IBasicVideoVtbl *lpVtbl;")
758cpp_quote(" };")
759cpp_quote("#ifdef COBJMACROS")
760cpp_quote("#define IBasicVideo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
761cpp_quote("#define IBasicVideo_AddRef(This) (This)->lpVtbl->AddRef(This)")
762cpp_quote("#define IBasicVideo_Release(This) (This)->lpVtbl->Release(This)")
763cpp_quote("#define IBasicVideo_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)")
764cpp_quote("#define IBasicVideo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)")
765cpp_quote("#define IBasicVideo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)")
766cpp_quote("#define IBasicVideo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)")
767cpp_quote("#define IBasicVideo_get_AvgTimePerFrame(This,pAvgTimePerFrame) (This)->lpVtbl->get_AvgTimePerFrame(This,pAvgTimePerFrame)")
768cpp_quote("#define IBasicVideo_get_BitRate(This,pBitRate) (This)->lpVtbl->get_BitRate(This,pBitRate)")
769cpp_quote("#define IBasicVideo_get_BitErrorRate(This,pBitErrorRate) (This)->lpVtbl->get_BitErrorRate(This,pBitErrorRate)")
770cpp_quote("#define IBasicVideo_get_VideoWidth(This,pVideoWidth) (This)->lpVtbl->get_VideoWidth(This,pVideoWidth)")
771cpp_quote("#define IBasicVideo_get_VideoHeight(This,pVideoHeight) (This)->lpVtbl->get_VideoHeight(This,pVideoHeight)")
772cpp_quote("#define IBasicVideo_put_SourceLeft(This,SourceLeft) (This)->lpVtbl->put_SourceLeft(This,SourceLeft)")
773cpp_quote("#define IBasicVideo_get_SourceLeft(This,pSourceLeft) (This)->lpVtbl->get_SourceLeft(This,pSourceLeft)")
774cpp_quote("#define IBasicVideo_put_SourceWidth(This,SourceWidth) (This)->lpVtbl->put_SourceWidth(This,SourceWidth)")
775cpp_quote("#define IBasicVideo_get_SourceWidth(This,pSourceWidth) (This)->lpVtbl->get_SourceWidth(This,pSourceWidth)")
776cpp_quote("#define IBasicVideo_put_SourceTop(This,SourceTop) (This)->lpVtbl->put_SourceTop(This,SourceTop)")
777cpp_quote("#define IBasicVideo_get_SourceTop(This,pSourceTop) (This)->lpVtbl->get_SourceTop(This,pSourceTop)")
778cpp_quote("#define IBasicVideo_put_SourceHeight(This,SourceHeight) (This)->lpVtbl->put_SourceHeight(This,SourceHeight)")
779cpp_quote("#define IBasicVideo_get_SourceHeight(This,pSourceHeight) (This)->lpVtbl->get_SourceHeight(This,pSourceHeight)")
780cpp_quote("#define IBasicVideo_put_DestinationLeft(This,DestinationLeft) (This)->lpVtbl->put_DestinationLeft(This,DestinationLeft)")
781cpp_quote("#define IBasicVideo_get_DestinationLeft(This,pDestinationLeft) (This)->lpVtbl->get_DestinationLeft(This,pDestinationLeft)")
782cpp_quote("#define IBasicVideo_put_DestinationWidth(This,DestinationWidth) (This)->lpVtbl->put_DestinationWidth(This,DestinationWidth)")
783cpp_quote("#define IBasicVideo_get_DestinationWidth(This,pDestinationWidth) (This)->lpVtbl->get_DestinationWidth(This,pDestinationWidth)")
784cpp_quote("#define IBasicVideo_put_DestinationTop(This,DestinationTop) (This)->lpVtbl->put_DestinationTop(This,DestinationTop)")
785cpp_quote("#define IBasicVideo_get_DestinationTop(This,pDestinationTop) (This)->lpVtbl->get_DestinationTop(This,pDestinationTop)")
786cpp_quote("#define IBasicVideo_put_DestinationHeight(This,DestinationHeight) (This)->lpVtbl->put_DestinationHeight(This,DestinationHeight)")
787cpp_quote("#define IBasicVideo_get_DestinationHeight(This,pDestinationHeight) (This)->lpVtbl->get_DestinationHeight(This,pDestinationHeight)")
788cpp_quote("#define IBasicVideo_SetSourcePosition(This,Left,Top,Width,Height) (This)->lpVtbl->SetSourcePosition(This,Left,Top,Width,Height)")
789cpp_quote("#define IBasicVideo_GetSourcePosition(This,pLeft,pTop,pWidth,pHeight) (This)->lpVtbl->GetSourcePosition(This,pLeft,pTop,pWidth,pHeight)")
790cpp_quote("#define IBasicVideo_SetDefaultSourcePosition(This) (This)->lpVtbl->SetDefaultSourcePosition(This)")
791cpp_quote("#define IBasicVideo_SetDestinationPosition(This,Left,Top,Width,Height) (This)->lpVtbl->SetDestinationPosition(This,Left,Top,Width,Height)")
792cpp_quote("#define IBasicVideo_GetDestinationPosition(This,pLeft,pTop,pWidth,pHeight) (This)->lpVtbl->GetDestinationPosition(This,pLeft,pTop,pWidth,pHeight)")
793cpp_quote("#define IBasicVideo_SetDefaultDestinationPosition(This) (This)->lpVtbl->SetDefaultDestinationPosition(This)")
794cpp_quote("#define IBasicVideo_GetVideoSize(This,pWidth,pHeight) (This)->lpVtbl->GetVideoSize(This,pWidth,pHeight)")
795cpp_quote("#define IBasicVideo_GetVideoPaletteEntries(This,StartIndex,Entries,pRetrieved,pPalette) (This)->lpVtbl->GetVideoPaletteEntries(This,StartIndex,Entries,pRetrieved,pPalette)")
796cpp_quote("#define IBasicVideo_GetCurrentImage(This,pBufferSize,pDIBImage) (This)->lpVtbl->GetCurrentImage(This,pBufferSize,pDIBImage)")
797cpp_quote("#define IBasicVideo_IsUsingDefaultSource(This) (This)->lpVtbl->IsUsingDefaultSource(This)")
798cpp_quote("#define IBasicVideo_IsUsingDefaultDestination(This) (This)->lpVtbl->IsUsingDefaultDestination(This)")
799cpp_quote("#endif")
800cpp_quote("#endif")
801cpp_quote(" HRESULT WINAPI IBasicVideo_get_AvgTimePerFrame_Proxy(IBasicVideo *This,REFTIME *pAvgTimePerFrame);")
802cpp_quote(" void __RPC_STUB IBasicVideo_get_AvgTimePerFrame_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
803cpp_quote(" HRESULT WINAPI IBasicVideo_get_BitRate_Proxy(IBasicVideo *This,__LONG32 *pBitRate);")
804cpp_quote(" void __RPC_STUB IBasicVideo_get_BitRate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
805cpp_quote(" HRESULT WINAPI IBasicVideo_get_BitErrorRate_Proxy(IBasicVideo *This,__LONG32 *pBitErrorRate);")
806cpp_quote(" void __RPC_STUB IBasicVideo_get_BitErrorRate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
807cpp_quote(" HRESULT WINAPI IBasicVideo_get_VideoWidth_Proxy(IBasicVideo *This,__LONG32 *pVideoWidth);")
808cpp_quote(" void __RPC_STUB IBasicVideo_get_VideoWidth_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
809cpp_quote(" HRESULT WINAPI IBasicVideo_get_VideoHeight_Proxy(IBasicVideo *This,__LONG32 *pVideoHeight);")
810cpp_quote(" void __RPC_STUB IBasicVideo_get_VideoHeight_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
811cpp_quote(" HRESULT WINAPI IBasicVideo_put_SourceLeft_Proxy(IBasicVideo *This,__LONG32 SourceLeft);")
812cpp_quote(" void __RPC_STUB IBasicVideo_put_SourceLeft_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
813cpp_quote(" HRESULT WINAPI IBasicVideo_get_SourceLeft_Proxy(IBasicVideo *This,__LONG32 *pSourceLeft);")
814cpp_quote(" void __RPC_STUB IBasicVideo_get_SourceLeft_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
815cpp_quote(" HRESULT WINAPI IBasicVideo_put_SourceWidth_Proxy(IBasicVideo *This,__LONG32 SourceWidth);")
816cpp_quote(" void __RPC_STUB IBasicVideo_put_SourceWidth_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
817cpp_quote(" HRESULT WINAPI IBasicVideo_get_SourceWidth_Proxy(IBasicVideo *This,__LONG32 *pSourceWidth);")
818cpp_quote(" void __RPC_STUB IBasicVideo_get_SourceWidth_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
819cpp_quote(" HRESULT WINAPI IBasicVideo_put_SourceTop_Proxy(IBasicVideo *This,__LONG32 SourceTop);")
820cpp_quote(" void __RPC_STUB IBasicVideo_put_SourceTop_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
821cpp_quote(" HRESULT WINAPI IBasicVideo_get_SourceTop_Proxy(IBasicVideo *This,__LONG32 *pSourceTop);")
822cpp_quote(" void __RPC_STUB IBasicVideo_get_SourceTop_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
823cpp_quote(" HRESULT WINAPI IBasicVideo_put_SourceHeight_Proxy(IBasicVideo *This,__LONG32 SourceHeight);")
824cpp_quote(" void __RPC_STUB IBasicVideo_put_SourceHeight_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
825cpp_quote(" HRESULT WINAPI IBasicVideo_get_SourceHeight_Proxy(IBasicVideo *This,__LONG32 *pSourceHeight);")
826cpp_quote(" void __RPC_STUB IBasicVideo_get_SourceHeight_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
827cpp_quote(" HRESULT WINAPI IBasicVideo_put_DestinationLeft_Proxy(IBasicVideo *This,__LONG32 DestinationLeft);")
828cpp_quote(" void __RPC_STUB IBasicVideo_put_DestinationLeft_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
829cpp_quote(" HRESULT WINAPI IBasicVideo_get_DestinationLeft_Proxy(IBasicVideo *This,__LONG32 *pDestinationLeft);")
830cpp_quote(" void __RPC_STUB IBasicVideo_get_DestinationLeft_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
831cpp_quote(" HRESULT WINAPI IBasicVideo_put_DestinationWidth_Proxy(IBasicVideo *This,__LONG32 DestinationWidth);")
832cpp_quote(" void __RPC_STUB IBasicVideo_put_DestinationWidth_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
833cpp_quote(" HRESULT WINAPI IBasicVideo_get_DestinationWidth_Proxy(IBasicVideo *This,__LONG32 *pDestinationWidth);")
834cpp_quote(" void __RPC_STUB IBasicVideo_get_DestinationWidth_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
835cpp_quote(" HRESULT WINAPI IBasicVideo_put_DestinationTop_Proxy(IBasicVideo *This,__LONG32 DestinationTop);")
836cpp_quote(" void __RPC_STUB IBasicVideo_put_DestinationTop_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
837cpp_quote(" HRESULT WINAPI IBasicVideo_get_DestinationTop_Proxy(IBasicVideo *This,__LONG32 *pDestinationTop);")
838cpp_quote(" void __RPC_STUB IBasicVideo_get_DestinationTop_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
839cpp_quote(" HRESULT WINAPI IBasicVideo_put_DestinationHeight_Proxy(IBasicVideo *This,__LONG32 DestinationHeight);")
840cpp_quote(" void __RPC_STUB IBasicVideo_put_DestinationHeight_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
841cpp_quote(" HRESULT WINAPI IBasicVideo_get_DestinationHeight_Proxy(IBasicVideo *This,__LONG32 *pDestinationHeight);")
842cpp_quote(" void __RPC_STUB IBasicVideo_get_DestinationHeight_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
843cpp_quote(" HRESULT WINAPI IBasicVideo_SetSourcePosition_Proxy(IBasicVideo *This,__LONG32 Left,__LONG32 Top,__LONG32 Width,__LONG32 Height);")
844cpp_quote(" void __RPC_STUB IBasicVideo_SetSourcePosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
845cpp_quote(" HRESULT WINAPI IBasicVideo_GetSourcePosition_Proxy(IBasicVideo *This,__LONG32 *pLeft,__LONG32 *pTop,__LONG32 *pWidth,__LONG32 *pHeight);")
846cpp_quote(" void __RPC_STUB IBasicVideo_GetSourcePosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
847cpp_quote(" HRESULT WINAPI IBasicVideo_SetDefaultSourcePosition_Proxy(IBasicVideo *This);")
848cpp_quote(" void __RPC_STUB IBasicVideo_SetDefaultSourcePosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
849cpp_quote(" HRESULT WINAPI IBasicVideo_SetDestinationPosition_Proxy(IBasicVideo *This,__LONG32 Left,__LONG32 Top,__LONG32 Width,__LONG32 Height);")
850cpp_quote(" void __RPC_STUB IBasicVideo_SetDestinationPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
851cpp_quote(" HRESULT WINAPI IBasicVideo_GetDestinationPosition_Proxy(IBasicVideo *This,__LONG32 *pLeft,__LONG32 *pTop,__LONG32 *pWidth,__LONG32 *pHeight);")
852cpp_quote(" void __RPC_STUB IBasicVideo_GetDestinationPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
853cpp_quote(" HRESULT WINAPI IBasicVideo_SetDefaultDestinationPosition_Proxy(IBasicVideo *This);")
854cpp_quote(" void __RPC_STUB IBasicVideo_SetDefaultDestinationPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
855cpp_quote(" HRESULT WINAPI IBasicVideo_GetVideoSize_Proxy(IBasicVideo *This,__LONG32 *pWidth,__LONG32 *pHeight);")
856cpp_quote(" void __RPC_STUB IBasicVideo_GetVideoSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
857cpp_quote(" HRESULT WINAPI IBasicVideo_GetVideoPaletteEntries_Proxy(IBasicVideo *This,__LONG32 StartIndex,__LONG32 Entries,__LONG32 *pRetrieved,__LONG32 *pPalette);")
858cpp_quote(" void __RPC_STUB IBasicVideo_GetVideoPaletteEntries_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
859cpp_quote(" HRESULT WINAPI IBasicVideo_GetCurrentImage_Proxy(IBasicVideo *This,__LONG32 *pBufferSize,__LONG32 *pDIBImage);")
860cpp_quote(" void __RPC_STUB IBasicVideo_GetCurrentImage_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
861cpp_quote(" HRESULT WINAPI IBasicVideo_IsUsingDefaultSource_Proxy(IBasicVideo *This);")
862cpp_quote(" void __RPC_STUB IBasicVideo_IsUsingDefaultSource_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
863cpp_quote(" HRESULT WINAPI IBasicVideo_IsUsingDefaultDestination_Proxy(IBasicVideo *This);")
864cpp_quote(" void __RPC_STUB IBasicVideo_IsUsingDefaultDestination_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
865cpp_quote("#endif")
866cpp_quote("")
867cpp_quote("#ifndef __IBasicVideo2_INTERFACE_DEFINED__")
868cpp_quote("#define __IBasicVideo2_INTERFACE_DEFINED__")
869cpp_quote(" DEFINE_GUID(IID_IBasicVideo2,0x329bb360,0xf6ea,0x11d1,0x90,0x38,0x00,0xa0,0xc9,0x69,0x72,0x98);")
870cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
871cpp_quote(" struct IBasicVideo2 : public IBasicVideo {")
872cpp_quote(" public:")
873cpp_quote(" virtual HRESULT WINAPI GetPreferredAspectRatio(__LONG32 *plAspectX,__LONG32 *plAspectY) = 0;")
874cpp_quote(" };")
875cpp_quote("#else")
876cpp_quote(" typedef struct IBasicVideo2Vtbl {")
877cpp_quote(" BEGIN_INTERFACE")
878cpp_quote(" HRESULT (WINAPI *QueryInterface)(IBasicVideo2 *This,REFIID riid,void **ppvObject);")
879cpp_quote(" ULONG (WINAPI *AddRef)(IBasicVideo2 *This);")
880cpp_quote(" ULONG (WINAPI *Release)(IBasicVideo2 *This);")
881cpp_quote(" HRESULT (WINAPI *GetTypeInfoCount)(IBasicVideo2 *This,UINT *pctinfo);")
882cpp_quote(" HRESULT (WINAPI *GetTypeInfo)(IBasicVideo2 *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);")
883cpp_quote(" HRESULT (WINAPI *GetIDsOfNames)(IBasicVideo2 *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);")
884cpp_quote(" HRESULT (WINAPI *Invoke)(IBasicVideo2 *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);")
885cpp_quote(" HRESULT (WINAPI *get_AvgTimePerFrame)(IBasicVideo2 *This,REFTIME *pAvgTimePerFrame);")
886cpp_quote(" HRESULT (WINAPI *get_BitRate)(IBasicVideo2 *This,__LONG32 *pBitRate);")
887cpp_quote(" HRESULT (WINAPI *get_BitErrorRate)(IBasicVideo2 *This,__LONG32 *pBitErrorRate);")
888cpp_quote(" HRESULT (WINAPI *get_VideoWidth)(IBasicVideo2 *This,__LONG32 *pVideoWidth);")
889cpp_quote(" HRESULT (WINAPI *get_VideoHeight)(IBasicVideo2 *This,__LONG32 *pVideoHeight);")
890cpp_quote(" HRESULT (WINAPI *put_SourceLeft)(IBasicVideo2 *This,__LONG32 SourceLeft);")
891cpp_quote(" HRESULT (WINAPI *get_SourceLeft)(IBasicVideo2 *This,__LONG32 *pSourceLeft);")
892cpp_quote(" HRESULT (WINAPI *put_SourceWidth)(IBasicVideo2 *This,__LONG32 SourceWidth);")
893cpp_quote(" HRESULT (WINAPI *get_SourceWidth)(IBasicVideo2 *This,__LONG32 *pSourceWidth);")
894cpp_quote(" HRESULT (WINAPI *put_SourceTop)(IBasicVideo2 *This,__LONG32 SourceTop);")
895cpp_quote(" HRESULT (WINAPI *get_SourceTop)(IBasicVideo2 *This,__LONG32 *pSourceTop);")
896cpp_quote(" HRESULT (WINAPI *put_SourceHeight)(IBasicVideo2 *This,__LONG32 SourceHeight);")
897cpp_quote(" HRESULT (WINAPI *get_SourceHeight)(IBasicVideo2 *This,__LONG32 *pSourceHeight);")
898cpp_quote(" HRESULT (WINAPI *put_DestinationLeft)(IBasicVideo2 *This,__LONG32 DestinationLeft);")
899cpp_quote(" HRESULT (WINAPI *get_DestinationLeft)(IBasicVideo2 *This,__LONG32 *pDestinationLeft);")
900cpp_quote(" HRESULT (WINAPI *put_DestinationWidth)(IBasicVideo2 *This,__LONG32 DestinationWidth);")
901cpp_quote(" HRESULT (WINAPI *get_DestinationWidth)(IBasicVideo2 *This,__LONG32 *pDestinationWidth);")
902cpp_quote(" HRESULT (WINAPI *put_DestinationTop)(IBasicVideo2 *This,__LONG32 DestinationTop);")
903cpp_quote(" HRESULT (WINAPI *get_DestinationTop)(IBasicVideo2 *This,__LONG32 *pDestinationTop);")
904cpp_quote(" HRESULT (WINAPI *put_DestinationHeight)(IBasicVideo2 *This,__LONG32 DestinationHeight);")
905cpp_quote(" HRESULT (WINAPI *get_DestinationHeight)(IBasicVideo2 *This,__LONG32 *pDestinationHeight);")
906cpp_quote(" HRESULT (WINAPI *SetSourcePosition)(IBasicVideo2 *This,__LONG32 Left,__LONG32 Top,__LONG32 Width,__LONG32 Height);")
907cpp_quote(" HRESULT (WINAPI *GetSourcePosition)(IBasicVideo2 *This,__LONG32 *pLeft,__LONG32 *pTop,__LONG32 *pWidth,__LONG32 *pHeight);")
908cpp_quote(" HRESULT (WINAPI *SetDefaultSourcePosition)(IBasicVideo2 *This);")
909cpp_quote(" HRESULT (WINAPI *SetDestinationPosition)(IBasicVideo2 *This,__LONG32 Left,__LONG32 Top,__LONG32 Width,__LONG32 Height);")
910cpp_quote(" HRESULT (WINAPI *GetDestinationPosition)(IBasicVideo2 *This,__LONG32 *pLeft,__LONG32 *pTop,__LONG32 *pWidth,__LONG32 *pHeight);")
911cpp_quote(" HRESULT (WINAPI *SetDefaultDestinationPosition)(IBasicVideo2 *This);")
912cpp_quote(" HRESULT (WINAPI *GetVideoSize)(IBasicVideo2 *This,__LONG32 *pWidth,__LONG32 *pHeight);")
913cpp_quote(" HRESULT (WINAPI *GetVideoPaletteEntries)(IBasicVideo2 *This,__LONG32 StartIndex,__LONG32 Entries,__LONG32 *pRetrieved,__LONG32 *pPalette);")
914cpp_quote(" HRESULT (WINAPI *GetCurrentImage)(IBasicVideo2 *This,__LONG32 *pBufferSize,__LONG32 *pDIBImage);")
915cpp_quote(" HRESULT (WINAPI *IsUsingDefaultSource)(IBasicVideo2 *This);")
916cpp_quote(" HRESULT (WINAPI *IsUsingDefaultDestination)(IBasicVideo2 *This);")
917cpp_quote(" HRESULT (WINAPI *GetPreferredAspectRatio)(IBasicVideo2 *This,__LONG32 *plAspectX,__LONG32 *plAspectY);")
918cpp_quote(" END_INTERFACE")
919cpp_quote(" } IBasicVideo2Vtbl;")
920cpp_quote(" struct IBasicVideo2 {")
921cpp_quote(" CONST_VTBL struct IBasicVideo2Vtbl *lpVtbl;")
922cpp_quote(" };")
923cpp_quote("#ifdef COBJMACROS")
924cpp_quote("#define IBasicVideo2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
925cpp_quote("#define IBasicVideo2_AddRef(This) (This)->lpVtbl->AddRef(This)")
926cpp_quote("#define IBasicVideo2_Release(This) (This)->lpVtbl->Release(This)")
927cpp_quote("#define IBasicVideo2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)")
928cpp_quote("#define IBasicVideo2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)")
929cpp_quote("#define IBasicVideo2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)")
930cpp_quote("#define IBasicVideo2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)")
931cpp_quote("#define IBasicVideo2_get_AvgTimePerFrame(This,pAvgTimePerFrame) (This)->lpVtbl->get_AvgTimePerFrame(This,pAvgTimePerFrame)")
932cpp_quote("#define IBasicVideo2_get_BitRate(This,pBitRate) (This)->lpVtbl->get_BitRate(This,pBitRate)")
933cpp_quote("#define IBasicVideo2_get_BitErrorRate(This,pBitErrorRate) (This)->lpVtbl->get_BitErrorRate(This,pBitErrorRate)")
934cpp_quote("#define IBasicVideo2_get_VideoWidth(This,pVideoWidth) (This)->lpVtbl->get_VideoWidth(This,pVideoWidth)")
935cpp_quote("#define IBasicVideo2_get_VideoHeight(This,pVideoHeight) (This)->lpVtbl->get_VideoHeight(This,pVideoHeight)")
936cpp_quote("#define IBasicVideo2_put_SourceLeft(This,SourceLeft) (This)->lpVtbl->put_SourceLeft(This,SourceLeft)")
937cpp_quote("#define IBasicVideo2_get_SourceLeft(This,pSourceLeft) (This)->lpVtbl->get_SourceLeft(This,pSourceLeft)")
938cpp_quote("#define IBasicVideo2_put_SourceWidth(This,SourceWidth) (This)->lpVtbl->put_SourceWidth(This,SourceWidth)")
939cpp_quote("#define IBasicVideo2_get_SourceWidth(This,pSourceWidth) (This)->lpVtbl->get_SourceWidth(This,pSourceWidth)")
940cpp_quote("#define IBasicVideo2_put_SourceTop(This,SourceTop) (This)->lpVtbl->put_SourceTop(This,SourceTop)")
941cpp_quote("#define IBasicVideo2_get_SourceTop(This,pSourceTop) (This)->lpVtbl->get_SourceTop(This,pSourceTop)")
942cpp_quote("#define IBasicVideo2_put_SourceHeight(This,SourceHeight) (This)->lpVtbl->put_SourceHeight(This,SourceHeight)")
943cpp_quote("#define IBasicVideo2_get_SourceHeight(This,pSourceHeight) (This)->lpVtbl->get_SourceHeight(This,pSourceHeight)")
944cpp_quote("#define IBasicVideo2_put_DestinationLeft(This,DestinationLeft) (This)->lpVtbl->put_DestinationLeft(This,DestinationLeft)")
945cpp_quote("#define IBasicVideo2_get_DestinationLeft(This,pDestinationLeft) (This)->lpVtbl->get_DestinationLeft(This,pDestinationLeft)")
946cpp_quote("#define IBasicVideo2_put_DestinationWidth(This,DestinationWidth) (This)->lpVtbl->put_DestinationWidth(This,DestinationWidth)")
947cpp_quote("#define IBasicVideo2_get_DestinationWidth(This,pDestinationWidth) (This)->lpVtbl->get_DestinationWidth(This,pDestinationWidth)")
948cpp_quote("#define IBasicVideo2_put_DestinationTop(This,DestinationTop) (This)->lpVtbl->put_DestinationTop(This,DestinationTop)")
949cpp_quote("#define IBasicVideo2_get_DestinationTop(This,pDestinationTop) (This)->lpVtbl->get_DestinationTop(This,pDestinationTop)")
950cpp_quote("#define IBasicVideo2_put_DestinationHeight(This,DestinationHeight) (This)->lpVtbl->put_DestinationHeight(This,DestinationHeight)")
951cpp_quote("#define IBasicVideo2_get_DestinationHeight(This,pDestinationHeight) (This)->lpVtbl->get_DestinationHeight(This,pDestinationHeight)")
952cpp_quote("#define IBasicVideo2_SetSourcePosition(This,Left,Top,Width,Height) (This)->lpVtbl->SetSourcePosition(This,Left,Top,Width,Height)")
953cpp_quote("#define IBasicVideo2_GetSourcePosition(This,pLeft,pTop,pWidth,pHeight) (This)->lpVtbl->GetSourcePosition(This,pLeft,pTop,pWidth,pHeight)")
954cpp_quote("#define IBasicVideo2_SetDefaultSourcePosition(This) (This)->lpVtbl->SetDefaultSourcePosition(This)")
955cpp_quote("#define IBasicVideo2_SetDestinationPosition(This,Left,Top,Width,Height) (This)->lpVtbl->SetDestinationPosition(This,Left,Top,Width,Height)")
956cpp_quote("#define IBasicVideo2_GetDestinationPosition(This,pLeft,pTop,pWidth,pHeight) (This)->lpVtbl->GetDestinationPosition(This,pLeft,pTop,pWidth,pHeight)")
957cpp_quote("#define IBasicVideo2_SetDefaultDestinationPosition(This) (This)->lpVtbl->SetDefaultDestinationPosition(This)")
958cpp_quote("#define IBasicVideo2_GetVideoSize(This,pWidth,pHeight) (This)->lpVtbl->GetVideoSize(This,pWidth,pHeight)")
959cpp_quote("#define IBasicVideo2_GetVideoPaletteEntries(This,StartIndex,Entries,pRetrieved,pPalette) (This)->lpVtbl->GetVideoPaletteEntries(This,StartIndex,Entries,pRetrieved,pPalette)")
960cpp_quote("#define IBasicVideo2_GetCurrentImage(This,pBufferSize,pDIBImage) (This)->lpVtbl->GetCurrentImage(This,pBufferSize,pDIBImage)")
961cpp_quote("#define IBasicVideo2_IsUsingDefaultSource(This) (This)->lpVtbl->IsUsingDefaultSource(This)")
962cpp_quote("#define IBasicVideo2_IsUsingDefaultDestination(This) (This)->lpVtbl->IsUsingDefaultDestination(This)")
963cpp_quote("#define IBasicVideo2_GetPreferredAspectRatio(This,plAspectX,plAspectY) (This)->lpVtbl->GetPreferredAspectRatio(This,plAspectX,plAspectY)")
964cpp_quote("#endif")
965cpp_quote("#endif")
966cpp_quote(" HRESULT WINAPI IBasicVideo2_GetPreferredAspectRatio_Proxy(IBasicVideo2 *This,__LONG32 *plAspectX,__LONG32 *plAspectY);")
967cpp_quote(" void __RPC_STUB IBasicVideo2_GetPreferredAspectRatio_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
968cpp_quote("#endif")
969cpp_quote("")
970cpp_quote("#ifndef __IDeferredCommand_INTERFACE_DEFINED__")
971cpp_quote("#define __IDeferredCommand_INTERFACE_DEFINED__")
972cpp_quote(" DEFINE_GUID(IID_IDeferredCommand,0x56a868b8,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
973cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
974cpp_quote(" struct IDeferredCommand : public IUnknown {")
975cpp_quote(" public:")
976cpp_quote(" virtual HRESULT WINAPI Cancel(void) = 0;")
977cpp_quote(" virtual HRESULT WINAPI Confidence(LONG *pConfidence) = 0;")
978cpp_quote(" virtual HRESULT WINAPI Postpone(REFTIME newtime) = 0;")
979cpp_quote(" virtual HRESULT WINAPI GetHResult(HRESULT *phrResult) = 0;")
980cpp_quote(" };")
981cpp_quote("#else")
982cpp_quote(" typedef struct IDeferredCommandVtbl {")
983cpp_quote(" BEGIN_INTERFACE")
984cpp_quote(" HRESULT (WINAPI *QueryInterface)(IDeferredCommand *This,REFIID riid,void **ppvObject);")
985cpp_quote(" ULONG (WINAPI *AddRef)(IDeferredCommand *This);")
986cpp_quote(" ULONG (WINAPI *Release)(IDeferredCommand *This);")
987cpp_quote(" HRESULT (WINAPI *Cancel)(IDeferredCommand *This);")
988cpp_quote(" HRESULT (WINAPI *Confidence)(IDeferredCommand *This,LONG *pConfidence);")
989cpp_quote(" HRESULT (WINAPI *Postpone)(IDeferredCommand *This,REFTIME newtime);")
990cpp_quote(" HRESULT (WINAPI *GetHResult)(IDeferredCommand *This,HRESULT *phrResult);")
991cpp_quote(" END_INTERFACE")
992cpp_quote(" } IDeferredCommandVtbl;")
993cpp_quote(" struct IDeferredCommand {")
994cpp_quote(" CONST_VTBL struct IDeferredCommandVtbl *lpVtbl;")
995cpp_quote(" };")
996cpp_quote("#ifdef COBJMACROS")
997cpp_quote("#define IDeferredCommand_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
998cpp_quote("#define IDeferredCommand_AddRef(This) (This)->lpVtbl->AddRef(This)")
999cpp_quote("#define IDeferredCommand_Release(This) (This)->lpVtbl->Release(This)")
1000cpp_quote("#define IDeferredCommand_Cancel(This) (This)->lpVtbl->Cancel(This)")
1001cpp_quote("#define IDeferredCommand_Confidence(This,pConfidence) (This)->lpVtbl->Confidence(This,pConfidence)")
1002cpp_quote("#define IDeferredCommand_Postpone(This,newtime) (This)->lpVtbl->Postpone(This,newtime)")
1003cpp_quote("#define IDeferredCommand_GetHResult(This,phrResult) (This)->lpVtbl->GetHResult(This,phrResult)")
1004cpp_quote("#endif")
1005cpp_quote("#endif")
1006cpp_quote(" HRESULT WINAPI IDeferredCommand_Cancel_Proxy(IDeferredCommand *This);")
1007cpp_quote(" void __RPC_STUB IDeferredCommand_Cancel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1008cpp_quote(" HRESULT WINAPI IDeferredCommand_Confidence_Proxy(IDeferredCommand *This,LONG *pConfidence);")
1009cpp_quote(" void __RPC_STUB IDeferredCommand_Confidence_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1010cpp_quote(" HRESULT WINAPI IDeferredCommand_Postpone_Proxy(IDeferredCommand *This,REFTIME newtime);")
1011cpp_quote(" void __RPC_STUB IDeferredCommand_Postpone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1012cpp_quote(" HRESULT WINAPI IDeferredCommand_GetHResult_Proxy(IDeferredCommand *This,HRESULT *phrResult);")
1013cpp_quote(" void __RPC_STUB IDeferredCommand_GetHResult_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1014cpp_quote("#endif")
1015cpp_quote("")
1016cpp_quote("#ifndef __IQueueCommand_INTERFACE_DEFINED__")
1017cpp_quote("#define __IQueueCommand_INTERFACE_DEFINED__")
1018cpp_quote(" DEFINE_GUID(IID_IQueueCommand,0x56a868b7,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
1019cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1020cpp_quote(" struct IQueueCommand : public IUnknown {")
1021cpp_quote(" public:")
1022cpp_quote(" virtual HRESULT WINAPI InvokeAtStreamTime(IDeferredCommand **pCmd,REFTIME time,GUID *iid,__LONG32 dispidMethod,short wFlags,__LONG32 cArgs,VARIANT *pDispParams,VARIANT *pvarResult,short *puArgErr) = 0;")
1023cpp_quote(" virtual HRESULT WINAPI InvokeAtPresentationTime(IDeferredCommand **pCmd,REFTIME time,GUID *iid,__LONG32 dispidMethod,short wFlags,__LONG32 cArgs,VARIANT *pDispParams,VARIANT *pvarResult,short *puArgErr) = 0;")
1024cpp_quote(" };")
1025cpp_quote("#else")
1026cpp_quote(" typedef struct IQueueCommandVtbl {")
1027cpp_quote(" BEGIN_INTERFACE")
1028cpp_quote(" HRESULT (WINAPI *QueryInterface)(IQueueCommand *This,REFIID riid,void **ppvObject);")
1029cpp_quote(" ULONG (WINAPI *AddRef)(IQueueCommand *This);")
1030cpp_quote(" ULONG (WINAPI *Release)(IQueueCommand *This);")
1031cpp_quote(" HRESULT (WINAPI *InvokeAtStreamTime)(IQueueCommand *This,IDeferredCommand **pCmd,REFTIME time,GUID *iid,__LONG32 dispidMethod,short wFlags,__LONG32 cArgs,VARIANT *pDispParams,VARIANT *pvarResult,short *puArgErr);")
1032cpp_quote(" HRESULT (WINAPI *InvokeAtPresentationTime)(IQueueCommand *This,IDeferredCommand **pCmd,REFTIME time,GUID *iid,__LONG32 dispidMethod,short wFlags,__LONG32 cArgs,VARIANT *pDispParams,VARIANT *pvarResult,short *puArgErr);")
1033cpp_quote(" END_INTERFACE")
1034cpp_quote(" } IQueueCommandVtbl;")
1035cpp_quote(" struct IQueueCommand {")
1036cpp_quote(" CONST_VTBL struct IQueueCommandVtbl *lpVtbl;")
1037cpp_quote(" };")
1038cpp_quote("#ifdef COBJMACROS")
1039cpp_quote("#define IQueueCommand_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1040cpp_quote("#define IQueueCommand_AddRef(This) (This)->lpVtbl->AddRef(This)")
1041cpp_quote("#define IQueueCommand_Release(This) (This)->lpVtbl->Release(This)")
1042cpp_quote("#define IQueueCommand_InvokeAtStreamTime(This,pCmd,time,iid,dispidMethod,wFlags,cArgs,pDispParams,pvarResult,puArgErr) (This)->lpVtbl->InvokeAtStreamTime(This,pCmd,time,iid,dispidMethod,wFlags,cArgs,pDispParams,pvarResult,puArgErr)")
1043cpp_quote("#define IQueueCommand_InvokeAtPresentationTime(This,pCmd,time,iid,dispidMethod,wFlags,cArgs,pDispParams,pvarResult,puArgErr) (This)->lpVtbl->InvokeAtPresentationTime(This,pCmd,time,iid,dispidMethod,wFlags,cArgs,pDispParams,pvarResult,puArgErr)")
1044cpp_quote("#endif")
1045cpp_quote("#endif")
1046cpp_quote(" HRESULT WINAPI IQueueCommand_InvokeAtStreamTime_Proxy(IQueueCommand *This,IDeferredCommand **pCmd,REFTIME time,GUID *iid,__LONG32 dispidMethod,short wFlags,__LONG32 cArgs,VARIANT *pDispParams,VARIANT *pvarResult,short *puArgErr);")
1047cpp_quote(" void __RPC_STUB IQueueCommand_InvokeAtStreamTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1048cpp_quote(" HRESULT WINAPI IQueueCommand_InvokeAtPresentationTime_Proxy(IQueueCommand *This,IDeferredCommand **pCmd,REFTIME time,GUID *iid,__LONG32 dispidMethod,short wFlags,__LONG32 cArgs,VARIANT *pDispParams,VARIANT *pvarResult,short *puArgErr);")
1049cpp_quote(" void __RPC_STUB IQueueCommand_InvokeAtPresentationTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1050cpp_quote("#endif")
1051cpp_quote("")
1052cpp_quote(" DEFINE_GUID(CLSID_FilgraphManager,0xe436ebb3,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
1053cpp_quote("#ifdef __cplusplus")
1054cpp_quote(" class FilgraphManager;")
1055cpp_quote("#endif")
1056cpp_quote("")
1057cpp_quote("#ifndef __IFilterInfo_INTERFACE_DEFINED__")
1058cpp_quote("#define __IFilterInfo_INTERFACE_DEFINED__")
1059cpp_quote(" DEFINE_GUID(IID_IFilterInfo,0x56a868ba,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
1060cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1061cpp_quote(" struct IFilterInfo : public IDispatch {")
1062cpp_quote(" public:")
1063cpp_quote(" virtual HRESULT WINAPI FindPin(BSTR strPinID,IDispatch **ppUnk) = 0;")
1064cpp_quote(" virtual HRESULT WINAPI get_Name(BSTR *strName) = 0;")
1065cpp_quote(" virtual HRESULT WINAPI get_VendorInfo(BSTR *strVendorInfo) = 0;")
1066cpp_quote(" virtual HRESULT WINAPI get_Filter(IUnknown **ppUnk) = 0;")
1067cpp_quote(" virtual HRESULT WINAPI get_Pins(IDispatch **ppUnk) = 0;")
1068cpp_quote(" virtual HRESULT WINAPI get_IsFileSource(LONG *pbIsSource) = 0;")
1069cpp_quote(" virtual HRESULT WINAPI get_Filename(BSTR *pstrFilename) = 0;")
1070cpp_quote(" virtual HRESULT WINAPI put_Filename(BSTR strFilename) = 0;")
1071cpp_quote(" };")
1072cpp_quote("#else")
1073cpp_quote(" typedef struct IFilterInfoVtbl {")
1074cpp_quote(" BEGIN_INTERFACE")
1075cpp_quote(" HRESULT (WINAPI *QueryInterface)(IFilterInfo *This,REFIID riid,void **ppvObject);")
1076cpp_quote(" ULONG (WINAPI *AddRef)(IFilterInfo *This);")
1077cpp_quote(" ULONG (WINAPI *Release)(IFilterInfo *This);")
1078cpp_quote(" HRESULT (WINAPI *GetTypeInfoCount)(IFilterInfo *This,UINT *pctinfo);")
1079cpp_quote(" HRESULT (WINAPI *GetTypeInfo)(IFilterInfo *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);")
1080cpp_quote(" HRESULT (WINAPI *GetIDsOfNames)(IFilterInfo *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);")
1081cpp_quote(" HRESULT (WINAPI *Invoke)(IFilterInfo *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);")
1082cpp_quote(" HRESULT (WINAPI *FindPin)(IFilterInfo *This,BSTR strPinID,IDispatch **ppUnk);")
1083cpp_quote(" HRESULT (WINAPI *get_Name)(IFilterInfo *This,BSTR *strName);")
1084cpp_quote(" HRESULT (WINAPI *get_VendorInfo)(IFilterInfo *This,BSTR *strVendorInfo);")
1085cpp_quote(" HRESULT (WINAPI *get_Filter)(IFilterInfo *This,IUnknown **ppUnk);")
1086cpp_quote(" HRESULT (WINAPI *get_Pins)(IFilterInfo *This,IDispatch **ppUnk);")
1087cpp_quote(" HRESULT (WINAPI *get_IsFileSource)(IFilterInfo *This,LONG *pbIsSource);")
1088cpp_quote(" HRESULT (WINAPI *get_Filename)(IFilterInfo *This,BSTR *pstrFilename);")
1089cpp_quote(" HRESULT (WINAPI *put_Filename)(IFilterInfo *This,BSTR strFilename);")
1090cpp_quote(" END_INTERFACE")
1091cpp_quote(" } IFilterInfoVtbl;")
1092cpp_quote(" struct IFilterInfo {")
1093cpp_quote(" CONST_VTBL struct IFilterInfoVtbl *lpVtbl;")
1094cpp_quote(" };")
1095cpp_quote("#ifdef COBJMACROS")
1096cpp_quote("#define IFilterInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1097cpp_quote("#define IFilterInfo_AddRef(This) (This)->lpVtbl->AddRef(This)")
1098cpp_quote("#define IFilterInfo_Release(This) (This)->lpVtbl->Release(This)")
1099cpp_quote("#define IFilterInfo_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)")
1100cpp_quote("#define IFilterInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)")
1101cpp_quote("#define IFilterInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)")
1102cpp_quote("#define IFilterInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)")
1103cpp_quote("#define IFilterInfo_FindPin(This,strPinID,ppUnk) (This)->lpVtbl->FindPin(This,strPinID,ppUnk)")
1104cpp_quote("#define IFilterInfo_get_Name(This,strName) (This)->lpVtbl->get_Name(This,strName)")
1105cpp_quote("#define IFilterInfo_get_VendorInfo(This,strVendorInfo) (This)->lpVtbl->get_VendorInfo(This,strVendorInfo)")
1106cpp_quote("#define IFilterInfo_get_Filter(This,ppUnk) (This)->lpVtbl->get_Filter(This,ppUnk)")
1107cpp_quote("#define IFilterInfo_get_Pins(This,ppUnk) (This)->lpVtbl->get_Pins(This,ppUnk)")
1108cpp_quote("#define IFilterInfo_get_IsFileSource(This,pbIsSource) (This)->lpVtbl->get_IsFileSource(This,pbIsSource)")
1109cpp_quote("#define IFilterInfo_get_Filename(This,pstrFilename) (This)->lpVtbl->get_Filename(This,pstrFilename)")
1110cpp_quote("#define IFilterInfo_put_Filename(This,strFilename) (This)->lpVtbl->put_Filename(This,strFilename)")
1111cpp_quote("#endif")
1112cpp_quote("#endif")
1113cpp_quote(" HRESULT WINAPI IFilterInfo_FindPin_Proxy(IFilterInfo *This,BSTR strPinID,IDispatch **ppUnk);")
1114cpp_quote(" void __RPC_STUB IFilterInfo_FindPin_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1115cpp_quote(" HRESULT WINAPI IFilterInfo_get_Name_Proxy(IFilterInfo *This,BSTR *strName);")
1116cpp_quote(" void __RPC_STUB IFilterInfo_get_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1117cpp_quote(" HRESULT WINAPI IFilterInfo_get_VendorInfo_Proxy(IFilterInfo *This,BSTR *strVendorInfo);")
1118cpp_quote(" void __RPC_STUB IFilterInfo_get_VendorInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1119cpp_quote(" HRESULT WINAPI IFilterInfo_get_Filter_Proxy(IFilterInfo *This,IUnknown **ppUnk);")
1120cpp_quote(" void __RPC_STUB IFilterInfo_get_Filter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1121cpp_quote(" HRESULT WINAPI IFilterInfo_get_Pins_Proxy(IFilterInfo *This,IDispatch **ppUnk);")
1122cpp_quote(" void __RPC_STUB IFilterInfo_get_Pins_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1123cpp_quote(" HRESULT WINAPI IFilterInfo_get_IsFileSource_Proxy(IFilterInfo *This,LONG *pbIsSource);")
1124cpp_quote(" void __RPC_STUB IFilterInfo_get_IsFileSource_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1125cpp_quote(" HRESULT WINAPI IFilterInfo_get_Filename_Proxy(IFilterInfo *This,BSTR *pstrFilename);")
1126cpp_quote(" void __RPC_STUB IFilterInfo_get_Filename_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1127cpp_quote(" HRESULT WINAPI IFilterInfo_put_Filename_Proxy(IFilterInfo *This,BSTR strFilename);")
1128cpp_quote(" void __RPC_STUB IFilterInfo_put_Filename_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1129cpp_quote("#endif")
1130cpp_quote("")
1131cpp_quote("#ifndef __IRegFilterInfo_INTERFACE_DEFINED__")
1132cpp_quote("#define __IRegFilterInfo_INTERFACE_DEFINED__")
1133cpp_quote(" DEFINE_GUID(IID_IRegFilterInfo,0x56a868bb,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
1134cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1135cpp_quote(" struct IRegFilterInfo : public IDispatch {")
1136cpp_quote(" public:")
1137cpp_quote(" virtual HRESULT WINAPI get_Name(BSTR *strName) = 0;")
1138cpp_quote(" virtual HRESULT WINAPI Filter(IDispatch **ppUnk) = 0;")
1139cpp_quote(" };")
1140cpp_quote("#else")
1141cpp_quote(" typedef struct IRegFilterInfoVtbl {")
1142cpp_quote(" BEGIN_INTERFACE")
1143cpp_quote(" HRESULT (WINAPI *QueryInterface)(IRegFilterInfo *This,REFIID riid,void **ppvObject);")
1144cpp_quote(" ULONG (WINAPI *AddRef)(IRegFilterInfo *This);")
1145cpp_quote(" ULONG (WINAPI *Release)(IRegFilterInfo *This);")
1146cpp_quote(" HRESULT (WINAPI *GetTypeInfoCount)(IRegFilterInfo *This,UINT *pctinfo);")
1147cpp_quote(" HRESULT (WINAPI *GetTypeInfo)(IRegFilterInfo *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);")
1148cpp_quote(" HRESULT (WINAPI *GetIDsOfNames)(IRegFilterInfo *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);")
1149cpp_quote(" HRESULT (WINAPI *Invoke)(IRegFilterInfo *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);")
1150cpp_quote(" HRESULT (WINAPI *get_Name)(IRegFilterInfo *This,BSTR *strName);")
1151cpp_quote(" HRESULT (WINAPI *Filter)(IRegFilterInfo *This,IDispatch **ppUnk);")
1152cpp_quote(" END_INTERFACE")
1153cpp_quote(" } IRegFilterInfoVtbl;")
1154cpp_quote(" struct IRegFilterInfo {")
1155cpp_quote(" CONST_VTBL struct IRegFilterInfoVtbl *lpVtbl;")
1156cpp_quote(" };")
1157cpp_quote("#ifdef COBJMACROS")
1158cpp_quote("#define IRegFilterInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1159cpp_quote("#define IRegFilterInfo_AddRef(This) (This)->lpVtbl->AddRef(This)")
1160cpp_quote("#define IRegFilterInfo_Release(This) (This)->lpVtbl->Release(This)")
1161cpp_quote("#define IRegFilterInfo_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)")
1162cpp_quote("#define IRegFilterInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)")
1163cpp_quote("#define IRegFilterInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)")
1164cpp_quote("#define IRegFilterInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)")
1165cpp_quote("#define IRegFilterInfo_get_Name(This,strName) (This)->lpVtbl->get_Name(This,strName)")
1166cpp_quote("#define IRegFilterInfo_Filter(This,ppUnk) (This)->lpVtbl->Filter(This,ppUnk)")
1167cpp_quote("#endif")
1168cpp_quote("#endif")
1169cpp_quote(" HRESULT WINAPI IRegFilterInfo_get_Name_Proxy(IRegFilterInfo *This,BSTR *strName);")
1170cpp_quote(" void __RPC_STUB IRegFilterInfo_get_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1171cpp_quote(" HRESULT WINAPI IRegFilterInfo_Filter_Proxy(IRegFilterInfo *This,IDispatch **ppUnk);")
1172cpp_quote(" void __RPC_STUB IRegFilterInfo_Filter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1173cpp_quote("#endif")
1174cpp_quote("")
1175cpp_quote("#ifndef __IMediaTypeInfo_INTERFACE_DEFINED__")
1176cpp_quote("#define __IMediaTypeInfo_INTERFACE_DEFINED__")
1177cpp_quote(" DEFINE_GUID(IID_IMediaTypeInfo,0x56a868bc,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
1178cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1179cpp_quote(" struct IMediaTypeInfo : public IDispatch {")
1180cpp_quote(" public:")
1181cpp_quote(" virtual HRESULT WINAPI get_Type(BSTR *strType) = 0;")
1182cpp_quote(" virtual HRESULT WINAPI get_Subtype(BSTR *strType) = 0;")
1183cpp_quote(" };")
1184cpp_quote("#else")
1185cpp_quote(" typedef struct IMediaTypeInfoVtbl {")
1186cpp_quote(" BEGIN_INTERFACE")
1187cpp_quote(" HRESULT (WINAPI *QueryInterface)(IMediaTypeInfo *This,REFIID riid,void **ppvObject);")
1188cpp_quote(" ULONG (WINAPI *AddRef)(IMediaTypeInfo *This);")
1189cpp_quote(" ULONG (WINAPI *Release)(IMediaTypeInfo *This);")
1190cpp_quote(" HRESULT (WINAPI *GetTypeInfoCount)(IMediaTypeInfo *This,UINT *pctinfo);")
1191cpp_quote(" HRESULT (WINAPI *GetTypeInfo)(IMediaTypeInfo *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);")
1192cpp_quote(" HRESULT (WINAPI *GetIDsOfNames)(IMediaTypeInfo *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);")
1193cpp_quote(" HRESULT (WINAPI *Invoke)(IMediaTypeInfo *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);")
1194cpp_quote(" HRESULT (WINAPI *get_Type)(IMediaTypeInfo *This,BSTR *strType);")
1195cpp_quote(" HRESULT (WINAPI *get_Subtype)(IMediaTypeInfo *This,BSTR *strType);")
1196cpp_quote(" END_INTERFACE")
1197cpp_quote(" } IMediaTypeInfoVtbl;")
1198cpp_quote(" struct IMediaTypeInfo {")
1199cpp_quote(" CONST_VTBL struct IMediaTypeInfoVtbl *lpVtbl;")
1200cpp_quote(" };")
1201cpp_quote("#ifdef COBJMACROS")
1202cpp_quote("#define IMediaTypeInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1203cpp_quote("#define IMediaTypeInfo_AddRef(This) (This)->lpVtbl->AddRef(This)")
1204cpp_quote("#define IMediaTypeInfo_Release(This) (This)->lpVtbl->Release(This)")
1205cpp_quote("#define IMediaTypeInfo_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)")
1206cpp_quote("#define IMediaTypeInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)")
1207cpp_quote("#define IMediaTypeInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)")
1208cpp_quote("#define IMediaTypeInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)")
1209cpp_quote("#define IMediaTypeInfo_get_Type(This,strType) (This)->lpVtbl->get_Type(This,strType)")
1210cpp_quote("#define IMediaTypeInfo_get_Subtype(This,strType) (This)->lpVtbl->get_Subtype(This,strType)")
1211cpp_quote("#endif")
1212cpp_quote("#endif")
1213cpp_quote(" HRESULT WINAPI IMediaTypeInfo_get_Type_Proxy(IMediaTypeInfo *This,BSTR *strType);")
1214cpp_quote(" void __RPC_STUB IMediaTypeInfo_get_Type_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1215cpp_quote(" HRESULT WINAPI IMediaTypeInfo_get_Subtype_Proxy(IMediaTypeInfo *This,BSTR *strType);")
1216cpp_quote(" void __RPC_STUB IMediaTypeInfo_get_Subtype_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1217cpp_quote("#endif")
1218cpp_quote("")
1219cpp_quote("#ifndef __IPinInfo_INTERFACE_DEFINED__")
1220cpp_quote("#define __IPinInfo_INTERFACE_DEFINED__")
1221cpp_quote(" DEFINE_GUID(IID_IPinInfo,0x56a868bd,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);")
1222cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1223cpp_quote(" struct IPinInfo : public IDispatch {")
1224cpp_quote(" public:")
1225cpp_quote(" virtual HRESULT WINAPI get_Pin(IUnknown **ppUnk) = 0;")
1226cpp_quote(" virtual HRESULT WINAPI get_ConnectedTo(IDispatch **ppUnk) = 0;")
1227cpp_quote(" virtual HRESULT WINAPI get_ConnectionMediaType(IDispatch **ppUnk) = 0;")
1228cpp_quote(" virtual HRESULT WINAPI get_FilterInfo(IDispatch **ppUnk) = 0;")
1229cpp_quote(" virtual HRESULT WINAPI get_Name(BSTR *ppUnk) = 0;")
1230cpp_quote(" virtual HRESULT WINAPI get_Direction(LONG *ppDirection) = 0;")
1231cpp_quote(" virtual HRESULT WINAPI get_PinID(BSTR *strPinID) = 0;")
1232cpp_quote(" virtual HRESULT WINAPI get_MediaTypes(IDispatch **ppUnk) = 0;")
1233cpp_quote(" virtual HRESULT WINAPI Connect(IUnknown *pPin) = 0;")
1234cpp_quote(" virtual HRESULT WINAPI ConnectDirect(IUnknown *pPin) = 0;")
1235cpp_quote(" virtual HRESULT WINAPI ConnectWithType(IUnknown *pPin,IDispatch *pMediaType) = 0;")
1236cpp_quote(" virtual HRESULT WINAPI Disconnect(void) = 0;")
1237cpp_quote(" virtual HRESULT WINAPI Render(void) = 0;")
1238cpp_quote(" };")
1239cpp_quote("#else")
1240cpp_quote(" typedef struct IPinInfoVtbl {")
1241cpp_quote(" BEGIN_INTERFACE")
1242cpp_quote(" HRESULT (WINAPI *QueryInterface)(IPinInfo *This,REFIID riid,void **ppvObject);")
1243cpp_quote(" ULONG (WINAPI *AddRef)(IPinInfo *This);")
1244cpp_quote(" ULONG (WINAPI *Release)(IPinInfo *This);")
1245cpp_quote(" HRESULT (WINAPI *GetTypeInfoCount)(IPinInfo *This,UINT *pctinfo);")
1246cpp_quote(" HRESULT (WINAPI *GetTypeInfo)(IPinInfo *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);")
1247cpp_quote(" HRESULT (WINAPI *GetIDsOfNames)(IPinInfo *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);")
1248cpp_quote(" HRESULT (WINAPI *Invoke)(IPinInfo *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);")
1249cpp_quote(" HRESULT (WINAPI *get_Pin)(IPinInfo *This,IUnknown **ppUnk);")
1250cpp_quote(" HRESULT (WINAPI *get_ConnectedTo)(IPinInfo *This,IDispatch **ppUnk);")
1251cpp_quote(" HRESULT (WINAPI *get_ConnectionMediaType)(IPinInfo *This,IDispatch **ppUnk);")
1252cpp_quote(" HRESULT (WINAPI *get_FilterInfo)(IPinInfo *This,IDispatch **ppUnk);")
1253cpp_quote(" HRESULT (WINAPI *get_Name)(IPinInfo *This,BSTR *ppUnk);")
1254cpp_quote(" HRESULT (WINAPI *get_Direction)(IPinInfo *This,LONG *ppDirection);")
1255cpp_quote(" HRESULT (WINAPI *get_PinID)(IPinInfo *This,BSTR *strPinID);")
1256cpp_quote(" HRESULT (WINAPI *get_MediaTypes)(IPinInfo *This,IDispatch **ppUnk);")
1257cpp_quote(" HRESULT (WINAPI *Connect)(IPinInfo *This,IUnknown *pPin);")
1258cpp_quote(" HRESULT (WINAPI *ConnectDirect)(IPinInfo *This,IUnknown *pPin);")
1259cpp_quote(" HRESULT (WINAPI *ConnectWithType)(IPinInfo *This,IUnknown *pPin,IDispatch *pMediaType);")
1260cpp_quote(" HRESULT (WINAPI *Disconnect)(IPinInfo *This);")
1261cpp_quote(" HRESULT (WINAPI *Render)(IPinInfo *This);")
1262cpp_quote(" END_INTERFACE")
1263cpp_quote(" } IPinInfoVtbl;")
1264cpp_quote(" struct IPinInfo {")
1265cpp_quote(" CONST_VTBL struct IPinInfoVtbl *lpVtbl;")
1266cpp_quote(" };")
1267cpp_quote("#ifdef COBJMACROS")
1268cpp_quote("#define IPinInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1269cpp_quote("#define IPinInfo_AddRef(This) (This)->lpVtbl->AddRef(This)")
1270cpp_quote("#define IPinInfo_Release(This) (This)->lpVtbl->Release(This)")
1271cpp_quote("#define IPinInfo_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)")
1272cpp_quote("#define IPinInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)")
1273cpp_quote("#define IPinInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)")
1274cpp_quote("#define IPinInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)")
1275cpp_quote("#define IPinInfo_get_Pin(This,ppUnk) (This)->lpVtbl->get_Pin(This,ppUnk)")
1276cpp_quote("#define IPinInfo_get_ConnectedTo(This,ppUnk) (This)->lpVtbl->get_ConnectedTo(This,ppUnk)")
1277cpp_quote("#define IPinInfo_get_ConnectionMediaType(This,ppUnk) (This)->lpVtbl->get_ConnectionMediaType(This,ppUnk)")
1278cpp_quote("#define IPinInfo_get_FilterInfo(This,ppUnk) (This)->lpVtbl->get_FilterInfo(This,ppUnk)")
1279cpp_quote("#define IPinInfo_get_Name(This,ppUnk) (This)->lpVtbl->get_Name(This,ppUnk)")
1280cpp_quote("#define IPinInfo_get_Direction(This,ppDirection) (This)->lpVtbl->get_Direction(This,ppDirection)")
1281cpp_quote("#define IPinInfo_get_PinID(This,strPinID) (This)->lpVtbl->get_PinID(This,strPinID)")
1282cpp_quote("#define IPinInfo_get_MediaTypes(This,ppUnk) (This)->lpVtbl->get_MediaTypes(This,ppUnk)")
1283cpp_quote("#define IPinInfo_Connect(This,pPin) (This)->lpVtbl->Connect(This,pPin)")
1284cpp_quote("#define IPinInfo_ConnectDirect(This,pPin) (This)->lpVtbl->ConnectDirect(This,pPin)")
1285cpp_quote("#define IPinInfo_ConnectWithType(This,pPin,pMediaType) (This)->lpVtbl->ConnectWithType(This,pPin,pMediaType)")
1286cpp_quote("#define IPinInfo_Disconnect(This) (This)->lpVtbl->Disconnect(This)")
1287cpp_quote("#define IPinInfo_Render(This) (This)->lpVtbl->Render(This)")
1288cpp_quote("#endif")
1289cpp_quote("#endif")
1290cpp_quote(" HRESULT WINAPI IPinInfo_get_Pin_Proxy(IPinInfo *This,IUnknown **ppUnk);")
1291cpp_quote(" void __RPC_STUB IPinInfo_get_Pin_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1292cpp_quote(" HRESULT WINAPI IPinInfo_get_ConnectedTo_Proxy(IPinInfo *This,IDispatch **ppUnk);")
1293cpp_quote(" void __RPC_STUB IPinInfo_get_ConnectedTo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1294cpp_quote(" HRESULT WINAPI IPinInfo_get_ConnectionMediaType_Proxy(IPinInfo *This,IDispatch **ppUnk);")
1295cpp_quote(" void __RPC_STUB IPinInfo_get_ConnectionMediaType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1296cpp_quote(" HRESULT WINAPI IPinInfo_get_FilterInfo_Proxy(IPinInfo *This,IDispatch **ppUnk);")
1297cpp_quote(" void __RPC_STUB IPinInfo_get_FilterInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1298cpp_quote(" HRESULT WINAPI IPinInfo_get_Name_Proxy(IPinInfo *This,BSTR *ppUnk);")
1299cpp_quote(" void __RPC_STUB IPinInfo_get_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1300cpp_quote(" HRESULT WINAPI IPinInfo_get_Direction_Proxy(IPinInfo *This,LONG *ppDirection);")
1301cpp_quote(" void __RPC_STUB IPinInfo_get_Direction_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1302cpp_quote(" HRESULT WINAPI IPinInfo_get_PinID_Proxy(IPinInfo *This,BSTR *strPinID);")
1303cpp_quote(" void __RPC_STUB IPinInfo_get_PinID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1304cpp_quote(" HRESULT WINAPI IPinInfo_get_MediaTypes_Proxy(IPinInfo *This,IDispatch **ppUnk);")
1305cpp_quote(" void __RPC_STUB IPinInfo_get_MediaTypes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1306cpp_quote(" HRESULT WINAPI IPinInfo_Connect_Proxy(IPinInfo *This,IUnknown *pPin);")
1307cpp_quote(" void __RPC_STUB IPinInfo_Connect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1308cpp_quote(" HRESULT WINAPI IPinInfo_ConnectDirect_Proxy(IPinInfo *This,IUnknown *pPin);")
1309cpp_quote(" void __RPC_STUB IPinInfo_ConnectDirect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1310cpp_quote(" HRESULT WINAPI IPinInfo_ConnectWithType_Proxy(IPinInfo *This,IUnknown *pPin,IDispatch *pMediaType);")
1311cpp_quote(" void __RPC_STUB IPinInfo_ConnectWithType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1312cpp_quote(" HRESULT WINAPI IPinInfo_Disconnect_Proxy(IPinInfo *This);")
1313cpp_quote(" void __RPC_STUB IPinInfo_Disconnect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1314cpp_quote(" HRESULT WINAPI IPinInfo_Render_Proxy(IPinInfo *This);")
1315cpp_quote(" void __RPC_STUB IPinInfo_Render_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1316cpp_quote("#endif")
1317cpp_quote("")
1318cpp_quote("#ifndef __IAMStats_INTERFACE_DEFINED__")
1319cpp_quote("#define __IAMStats_INTERFACE_DEFINED__")
1320cpp_quote(" DEFINE_GUID(IID_IAMStats,0xbc9bcf80,0xdcd2,0x11d2,0xab,0xf6,0x00,0xa0,0xc9,0x05,0xf3,0x75);")
1321cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
1322cpp_quote(" struct IAMStats : public IDispatch {")
1323cpp_quote(" public:")
1324cpp_quote(" virtual HRESULT WINAPI Reset(void) = 0;")
1325cpp_quote(" virtual HRESULT WINAPI get_Count(LONG *plCount) = 0;")
1326cpp_quote(" virtual HRESULT WINAPI GetValueByIndex(__LONG32 lIndex,BSTR *szName,__LONG32 *lCount,double *dLast,double *dAverage,double *dStdDev,double *dMin,double *dMax) = 0;")
1327cpp_quote(" virtual HRESULT WINAPI GetValueByName(BSTR szName,__LONG32 *lIndex,__LONG32 *lCount,double *dLast,double *dAverage,double *dStdDev,double *dMin,double *dMax) = 0;")
1328cpp_quote(" virtual HRESULT WINAPI GetIndex(BSTR szName,__LONG32 lCreate,__LONG32 *plIndex) = 0;")
1329cpp_quote(" virtual HRESULT WINAPI AddValue(__LONG32 lIndex,double dValue) = 0;")
1330cpp_quote(" };")
1331cpp_quote("#else")
1332cpp_quote(" typedef struct IAMStatsVtbl {")
1333cpp_quote(" BEGIN_INTERFACE")
1334cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAMStats *This,REFIID riid,void **ppvObject);")
1335cpp_quote(" ULONG (WINAPI *AddRef)(IAMStats *This);")
1336cpp_quote(" ULONG (WINAPI *Release)(IAMStats *This);")
1337cpp_quote(" HRESULT (WINAPI *GetTypeInfoCount)(IAMStats *This,UINT *pctinfo);")
1338cpp_quote(" HRESULT (WINAPI *GetTypeInfo)(IAMStats *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);")
1339cpp_quote(" HRESULT (WINAPI *GetIDsOfNames)(IAMStats *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);")
1340cpp_quote(" HRESULT (WINAPI *Invoke)(IAMStats *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);")
1341cpp_quote(" HRESULT (WINAPI *Reset)(IAMStats *This);")
1342cpp_quote(" HRESULT (WINAPI *get_Count)(IAMStats *This,LONG *plCount);")
1343cpp_quote(" HRESULT (WINAPI *GetValueByIndex)(IAMStats *This,__LONG32 lIndex,BSTR *szName,__LONG32 *lCount,double *dLast,double *dAverage,double *dStdDev,double *dMin,double *dMax);")
1344cpp_quote(" HRESULT (WINAPI *GetValueByName)(IAMStats *This,BSTR szName,__LONG32 *lIndex,__LONG32 *lCount,double *dLast,double *dAverage,double *dStdDev,double *dMin,double *dMax);")
1345cpp_quote(" HRESULT (WINAPI *GetIndex)(IAMStats *This,BSTR szName,__LONG32 lCreate,__LONG32 *plIndex);")
1346cpp_quote(" HRESULT (WINAPI *AddValue)(IAMStats *This,__LONG32 lIndex,double dValue);")
1347cpp_quote(" END_INTERFACE")
1348cpp_quote(" } IAMStatsVtbl;")
1349cpp_quote(" struct IAMStats {")
1350cpp_quote(" CONST_VTBL struct IAMStatsVtbl *lpVtbl;")
1351cpp_quote(" };")
1352cpp_quote("#ifdef COBJMACROS")
1353cpp_quote("#define IAMStats_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
1354cpp_quote("#define IAMStats_AddRef(This) (This)->lpVtbl->AddRef(This)")
1355cpp_quote("#define IAMStats_Release(This) (This)->lpVtbl->Release(This)")
1356cpp_quote("#define IAMStats_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)")
1357cpp_quote("#define IAMStats_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)")
1358cpp_quote("#define IAMStats_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)")
1359cpp_quote("#define IAMStats_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)")
1360cpp_quote("#define IAMStats_Reset(This) (This)->lpVtbl->Reset(This)")
1361cpp_quote("#define IAMStats_get_Count(This,plCount) (This)->lpVtbl->get_Count(This,plCount)")
1362cpp_quote("#define IAMStats_GetValueByIndex(This,lIndex,szName,lCount,dLast,dAverage,dStdDev,dMin,dMax) (This)->lpVtbl->GetValueByIndex(This,lIndex,szName,lCount,dLast,dAverage,dStdDev,dMin,dMax)")
1363cpp_quote("#define IAMStats_GetValueByName(This,szName,lIndex,lCount,dLast,dAverage,dStdDev,dMin,dMax) (This)->lpVtbl->GetValueByName(This,szName,lIndex,lCount,dLast,dAverage,dStdDev,dMin,dMax)")
1364cpp_quote("#define IAMStats_GetIndex(This,szName,lCreate,plIndex) (This)->lpVtbl->GetIndex(This,szName,lCreate,plIndex)")
1365cpp_quote("#define IAMStats_AddValue(This,lIndex,dValue) (This)->lpVtbl->AddValue(This,lIndex,dValue)")
1366cpp_quote("#endif")
1367cpp_quote("#endif")
1368cpp_quote("")
1369cpp_quote(" HRESULT WINAPI IAMStats_Reset_Proxy(IAMStats *This);")
1370cpp_quote(" void __RPC_STUB IAMStats_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1371cpp_quote(" HRESULT WINAPI IAMStats_get_Count_Proxy(IAMStats *This,LONG *plCount);")
1372cpp_quote(" void __RPC_STUB IAMStats_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1373cpp_quote(" HRESULT WINAPI IAMStats_GetValueByIndex_Proxy(IAMStats *This,__LONG32 lIndex,BSTR *szName,__LONG32 *lCount,double *dLast,double *dAverage,double *dStdDev,double *dMin,double *dMax);")
1374cpp_quote(" void __RPC_STUB IAMStats_GetValueByIndex_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1375cpp_quote(" HRESULT WINAPI IAMStats_GetValueByName_Proxy(IAMStats *This,BSTR szName,__LONG32 *lIndex,__LONG32 *lCount,double *dLast,double *dAverage,double *dStdDev,double *dMin,double *dMax);")
1376cpp_quote(" void __RPC_STUB IAMStats_GetValueByName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1377cpp_quote(" HRESULT WINAPI IAMStats_GetIndex_Proxy(IAMStats *This,BSTR szName,__LONG32 lCreate,__LONG32 *plIndex);")
1378cpp_quote(" void __RPC_STUB IAMStats_GetIndex_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1379cpp_quote(" HRESULT WINAPI IAMStats_AddValue_Proxy(IAMStats *This,__LONG32 lIndex,double dValue);")
1380cpp_quote(" void __RPC_STUB IAMStats_AddValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
1381cpp_quote("#endif")
1382
1383} /* typelib */
Note: See TracBrowser for help on using the repository browser.