Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5544 lines
169 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0357 */
  4. /* Compiler settings for control.odl:
  5. Oicf, W0, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, robust
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef __control_h__
  23. #define __control_h__
  24. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  25. #pragma once
  26. #endif
  27. /* Forward Declarations */
  28. #ifndef __IAMCollection_FWD_DEFINED__
  29. #define __IAMCollection_FWD_DEFINED__
  30. typedef interface IAMCollection IAMCollection;
  31. #endif /* __IAMCollection_FWD_DEFINED__ */
  32. #ifndef __IMediaControl_FWD_DEFINED__
  33. #define __IMediaControl_FWD_DEFINED__
  34. typedef interface IMediaControl IMediaControl;
  35. #endif /* __IMediaControl_FWD_DEFINED__ */
  36. #ifndef __IMediaEvent_FWD_DEFINED__
  37. #define __IMediaEvent_FWD_DEFINED__
  38. typedef interface IMediaEvent IMediaEvent;
  39. #endif /* __IMediaEvent_FWD_DEFINED__ */
  40. #ifndef __IMediaEventEx_FWD_DEFINED__
  41. #define __IMediaEventEx_FWD_DEFINED__
  42. typedef interface IMediaEventEx IMediaEventEx;
  43. #endif /* __IMediaEventEx_FWD_DEFINED__ */
  44. #ifndef __IMediaPosition_FWD_DEFINED__
  45. #define __IMediaPosition_FWD_DEFINED__
  46. typedef interface IMediaPosition IMediaPosition;
  47. #endif /* __IMediaPosition_FWD_DEFINED__ */
  48. #ifndef __IBasicAudio_FWD_DEFINED__
  49. #define __IBasicAudio_FWD_DEFINED__
  50. typedef interface IBasicAudio IBasicAudio;
  51. #endif /* __IBasicAudio_FWD_DEFINED__ */
  52. #ifndef __IVideoWindow_FWD_DEFINED__
  53. #define __IVideoWindow_FWD_DEFINED__
  54. typedef interface IVideoWindow IVideoWindow;
  55. #endif /* __IVideoWindow_FWD_DEFINED__ */
  56. #ifndef __IBasicVideo_FWD_DEFINED__
  57. #define __IBasicVideo_FWD_DEFINED__
  58. typedef interface IBasicVideo IBasicVideo;
  59. #endif /* __IBasicVideo_FWD_DEFINED__ */
  60. #ifndef __IBasicVideo2_FWD_DEFINED__
  61. #define __IBasicVideo2_FWD_DEFINED__
  62. typedef interface IBasicVideo2 IBasicVideo2;
  63. #endif /* __IBasicVideo2_FWD_DEFINED__ */
  64. #ifndef __IDeferredCommand_FWD_DEFINED__
  65. #define __IDeferredCommand_FWD_DEFINED__
  66. typedef interface IDeferredCommand IDeferredCommand;
  67. #endif /* __IDeferredCommand_FWD_DEFINED__ */
  68. #ifndef __IQueueCommand_FWD_DEFINED__
  69. #define __IQueueCommand_FWD_DEFINED__
  70. typedef interface IQueueCommand IQueueCommand;
  71. #endif /* __IQueueCommand_FWD_DEFINED__ */
  72. #ifndef __FilgraphManager_FWD_DEFINED__
  73. #define __FilgraphManager_FWD_DEFINED__
  74. #ifdef __cplusplus
  75. typedef class FilgraphManager FilgraphManager;
  76. #else
  77. typedef struct FilgraphManager FilgraphManager;
  78. #endif /* __cplusplus */
  79. #endif /* __FilgraphManager_FWD_DEFINED__ */
  80. #ifndef __IFilterInfo_FWD_DEFINED__
  81. #define __IFilterInfo_FWD_DEFINED__
  82. typedef interface IFilterInfo IFilterInfo;
  83. #endif /* __IFilterInfo_FWD_DEFINED__ */
  84. #ifndef __IRegFilterInfo_FWD_DEFINED__
  85. #define __IRegFilterInfo_FWD_DEFINED__
  86. typedef interface IRegFilterInfo IRegFilterInfo;
  87. #endif /* __IRegFilterInfo_FWD_DEFINED__ */
  88. #ifndef __IMediaTypeInfo_FWD_DEFINED__
  89. #define __IMediaTypeInfo_FWD_DEFINED__
  90. typedef interface IMediaTypeInfo IMediaTypeInfo;
  91. #endif /* __IMediaTypeInfo_FWD_DEFINED__ */
  92. #ifndef __IPinInfo_FWD_DEFINED__
  93. #define __IPinInfo_FWD_DEFINED__
  94. typedef interface IPinInfo IPinInfo;
  95. #endif /* __IPinInfo_FWD_DEFINED__ */
  96. #ifndef __IAMStats_FWD_DEFINED__
  97. #define __IAMStats_FWD_DEFINED__
  98. typedef interface IAMStats IAMStats;
  99. #endif /* __IAMStats_FWD_DEFINED__ */
  100. #ifdef __cplusplus
  101. extern "C"{
  102. #endif
  103. void * __RPC_USER MIDL_user_allocate(size_t);
  104. void __RPC_USER MIDL_user_free( void * );
  105. #ifndef __QuartzTypeLib_LIBRARY_DEFINED__
  106. #define __QuartzTypeLib_LIBRARY_DEFINED__
  107. /* library QuartzTypeLib */
  108. /* [version][lcid][helpstring][uuid] */
  109. typedef double REFTIME;
  110. typedef LONG_PTR OAEVENT;
  111. typedef LONG_PTR OAHWND;
  112. typedef long OAFilterState;
  113. DEFINE_GUID(LIBID_QuartzTypeLib,0x56a868b0,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);
  114. #ifndef __IAMCollection_INTERFACE_DEFINED__
  115. #define __IAMCollection_INTERFACE_DEFINED__
  116. /* interface IAMCollection */
  117. /* [object][dual][oleautomation][helpstring][uuid] */
  118. DEFINE_GUID(IID_IAMCollection,0x56a868b9,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);
  119. #if defined(__cplusplus) && !defined(CINTERFACE)
  120. MIDL_INTERFACE("56a868b9-0ad4-11ce-b03a-0020af0ba770")
  121. IAMCollection : public IDispatch
  122. {
  123. public:
  124. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  125. /* [retval][out] */ LONG *plCount) = 0;
  126. virtual HRESULT STDMETHODCALLTYPE Item(
  127. /* [in] */ long lItem,
  128. /* [out] */ IUnknown **ppUnk) = 0;
  129. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  130. /* [retval][out] */ IUnknown **ppUnk) = 0;
  131. };
  132. #else /* C style interface */
  133. typedef struct IAMCollectionVtbl
  134. {
  135. BEGIN_INTERFACE
  136. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  137. IAMCollection * This,
  138. /* [in] */ REFIID riid,
  139. /* [iid_is][out] */ void **ppvObject);
  140. ULONG ( STDMETHODCALLTYPE *AddRef )(
  141. IAMCollection * This);
  142. ULONG ( STDMETHODCALLTYPE *Release )(
  143. IAMCollection * This);
  144. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  145. IAMCollection * This,
  146. /* [out] */ UINT *pctinfo);
  147. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  148. IAMCollection * This,
  149. /* [in] */ UINT iTInfo,
  150. /* [in] */ LCID lcid,
  151. /* [out] */ ITypeInfo **ppTInfo);
  152. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  153. IAMCollection * This,
  154. /* [in] */ REFIID riid,
  155. /* [size_is][in] */ LPOLESTR *rgszNames,
  156. /* [in] */ UINT cNames,
  157. /* [in] */ LCID lcid,
  158. /* [size_is][out] */ DISPID *rgDispId);
  159. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  160. IAMCollection * This,
  161. /* [in] */ DISPID dispIdMember,
  162. /* [in] */ REFIID riid,
  163. /* [in] */ LCID lcid,
  164. /* [in] */ WORD wFlags,
  165. /* [out][in] */ DISPPARAMS *pDispParams,
  166. /* [out] */ VARIANT *pVarResult,
  167. /* [out] */ EXCEPINFO *pExcepInfo,
  168. /* [out] */ UINT *puArgErr);
  169. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  170. IAMCollection * This,
  171. /* [retval][out] */ LONG *plCount);
  172. HRESULT ( STDMETHODCALLTYPE *Item )(
  173. IAMCollection * This,
  174. /* [in] */ long lItem,
  175. /* [out] */ IUnknown **ppUnk);
  176. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  177. IAMCollection * This,
  178. /* [retval][out] */ IUnknown **ppUnk);
  179. END_INTERFACE
  180. } IAMCollectionVtbl;
  181. interface IAMCollection
  182. {
  183. CONST_VTBL struct IAMCollectionVtbl *lpVtbl;
  184. };
  185. #ifdef COBJMACROS
  186. #define IAMCollection_QueryInterface(This,riid,ppvObject) \
  187. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  188. #define IAMCollection_AddRef(This) \
  189. (This)->lpVtbl -> AddRef(This)
  190. #define IAMCollection_Release(This) \
  191. (This)->lpVtbl -> Release(This)
  192. #define IAMCollection_GetTypeInfoCount(This,pctinfo) \
  193. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  194. #define IAMCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  195. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  196. #define IAMCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  197. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  198. #define IAMCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  199. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  200. #define IAMCollection_get_Count(This,plCount) \
  201. (This)->lpVtbl -> get_Count(This,plCount)
  202. #define IAMCollection_Item(This,lItem,ppUnk) \
  203. (This)->lpVtbl -> Item(This,lItem,ppUnk)
  204. #define IAMCollection_get__NewEnum(This,ppUnk) \
  205. (This)->lpVtbl -> get__NewEnum(This,ppUnk)
  206. #endif /* COBJMACROS */
  207. #endif /* C style interface */
  208. /* [propget] */ HRESULT STDMETHODCALLTYPE IAMCollection_get_Count_Proxy(
  209. IAMCollection * This,
  210. /* [retval][out] */ LONG *plCount);
  211. void __RPC_STUB IAMCollection_get_Count_Stub(
  212. IRpcStubBuffer *This,
  213. IRpcChannelBuffer *_pRpcChannelBuffer,
  214. PRPC_MESSAGE _pRpcMessage,
  215. DWORD *_pdwStubPhase);
  216. HRESULT STDMETHODCALLTYPE IAMCollection_Item_Proxy(
  217. IAMCollection * This,
  218. /* [in] */ long lItem,
  219. /* [out] */ IUnknown **ppUnk);
  220. void __RPC_STUB IAMCollection_Item_Stub(
  221. IRpcStubBuffer *This,
  222. IRpcChannelBuffer *_pRpcChannelBuffer,
  223. PRPC_MESSAGE _pRpcMessage,
  224. DWORD *_pdwStubPhase);
  225. /* [propget] */ HRESULT STDMETHODCALLTYPE IAMCollection_get__NewEnum_Proxy(
  226. IAMCollection * This,
  227. /* [retval][out] */ IUnknown **ppUnk);
  228. void __RPC_STUB IAMCollection_get__NewEnum_Stub(
  229. IRpcStubBuffer *This,
  230. IRpcChannelBuffer *_pRpcChannelBuffer,
  231. PRPC_MESSAGE _pRpcMessage,
  232. DWORD *_pdwStubPhase);
  233. #endif /* __IAMCollection_INTERFACE_DEFINED__ */
  234. #ifndef __IMediaControl_INTERFACE_DEFINED__
  235. #define __IMediaControl_INTERFACE_DEFINED__
  236. /* interface IMediaControl */
  237. /* [object][dual][oleautomation][helpstring][uuid] */
  238. DEFINE_GUID(IID_IMediaControl,0x56a868b1,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);
  239. #if defined(__cplusplus) && !defined(CINTERFACE)
  240. MIDL_INTERFACE("56a868b1-0ad4-11ce-b03a-0020af0ba770")
  241. IMediaControl : public IDispatch
  242. {
  243. public:
  244. virtual HRESULT STDMETHODCALLTYPE Run( void) = 0;
  245. virtual HRESULT STDMETHODCALLTYPE Pause( void) = 0;
  246. virtual HRESULT STDMETHODCALLTYPE Stop( void) = 0;
  247. virtual HRESULT STDMETHODCALLTYPE GetState(
  248. /* [in] */ LONG msTimeout,
  249. /* [out] */ OAFilterState *pfs) = 0;
  250. virtual HRESULT STDMETHODCALLTYPE RenderFile(
  251. /* [in] */ BSTR strFilename) = 0;
  252. virtual HRESULT STDMETHODCALLTYPE AddSourceFilter(
  253. /* [in] */ BSTR strFilename,
  254. /* [out] */ IDispatch **ppUnk) = 0;
  255. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_FilterCollection(
  256. /* [retval][out] */ IDispatch **ppUnk) = 0;
  257. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_RegFilterCollection(
  258. /* [retval][out] */ IDispatch **ppUnk) = 0;
  259. virtual HRESULT STDMETHODCALLTYPE StopWhenReady( void) = 0;
  260. };
  261. #else /* C style interface */
  262. typedef struct IMediaControlVtbl
  263. {
  264. BEGIN_INTERFACE
  265. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  266. IMediaControl * This,
  267. /* [in] */ REFIID riid,
  268. /* [iid_is][out] */ void **ppvObject);
  269. ULONG ( STDMETHODCALLTYPE *AddRef )(
  270. IMediaControl * This);
  271. ULONG ( STDMETHODCALLTYPE *Release )(
  272. IMediaControl * This);
  273. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  274. IMediaControl * This,
  275. /* [out] */ UINT *pctinfo);
  276. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  277. IMediaControl * This,
  278. /* [in] */ UINT iTInfo,
  279. /* [in] */ LCID lcid,
  280. /* [out] */ ITypeInfo **ppTInfo);
  281. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  282. IMediaControl * This,
  283. /* [in] */ REFIID riid,
  284. /* [size_is][in] */ LPOLESTR *rgszNames,
  285. /* [in] */ UINT cNames,
  286. /* [in] */ LCID lcid,
  287. /* [size_is][out] */ DISPID *rgDispId);
  288. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  289. IMediaControl * This,
  290. /* [in] */ DISPID dispIdMember,
  291. /* [in] */ REFIID riid,
  292. /* [in] */ LCID lcid,
  293. /* [in] */ WORD wFlags,
  294. /* [out][in] */ DISPPARAMS *pDispParams,
  295. /* [out] */ VARIANT *pVarResult,
  296. /* [out] */ EXCEPINFO *pExcepInfo,
  297. /* [out] */ UINT *puArgErr);
  298. HRESULT ( STDMETHODCALLTYPE *Run )(
  299. IMediaControl * This);
  300. HRESULT ( STDMETHODCALLTYPE *Pause )(
  301. IMediaControl * This);
  302. HRESULT ( STDMETHODCALLTYPE *Stop )(
  303. IMediaControl * This);
  304. HRESULT ( STDMETHODCALLTYPE *GetState )(
  305. IMediaControl * This,
  306. /* [in] */ LONG msTimeout,
  307. /* [out] */ OAFilterState *pfs);
  308. HRESULT ( STDMETHODCALLTYPE *RenderFile )(
  309. IMediaControl * This,
  310. /* [in] */ BSTR strFilename);
  311. HRESULT ( STDMETHODCALLTYPE *AddSourceFilter )(
  312. IMediaControl * This,
  313. /* [in] */ BSTR strFilename,
  314. /* [out] */ IDispatch **ppUnk);
  315. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_FilterCollection )(
  316. IMediaControl * This,
  317. /* [retval][out] */ IDispatch **ppUnk);
  318. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_RegFilterCollection )(
  319. IMediaControl * This,
  320. /* [retval][out] */ IDispatch **ppUnk);
  321. HRESULT ( STDMETHODCALLTYPE *StopWhenReady )(
  322. IMediaControl * This);
  323. END_INTERFACE
  324. } IMediaControlVtbl;
  325. interface IMediaControl
  326. {
  327. CONST_VTBL struct IMediaControlVtbl *lpVtbl;
  328. };
  329. #ifdef COBJMACROS
  330. #define IMediaControl_QueryInterface(This,riid,ppvObject) \
  331. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  332. #define IMediaControl_AddRef(This) \
  333. (This)->lpVtbl -> AddRef(This)
  334. #define IMediaControl_Release(This) \
  335. (This)->lpVtbl -> Release(This)
  336. #define IMediaControl_GetTypeInfoCount(This,pctinfo) \
  337. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  338. #define IMediaControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  339. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  340. #define IMediaControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  341. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  342. #define IMediaControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  343. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  344. #define IMediaControl_Run(This) \
  345. (This)->lpVtbl -> Run(This)
  346. #define IMediaControl_Pause(This) \
  347. (This)->lpVtbl -> Pause(This)
  348. #define IMediaControl_Stop(This) \
  349. (This)->lpVtbl -> Stop(This)
  350. #define IMediaControl_GetState(This,msTimeout,pfs) \
  351. (This)->lpVtbl -> GetState(This,msTimeout,pfs)
  352. #define IMediaControl_RenderFile(This,strFilename) \
  353. (This)->lpVtbl -> RenderFile(This,strFilename)
  354. #define IMediaControl_AddSourceFilter(This,strFilename,ppUnk) \
  355. (This)->lpVtbl -> AddSourceFilter(This,strFilename,ppUnk)
  356. #define IMediaControl_get_FilterCollection(This,ppUnk) \
  357. (This)->lpVtbl -> get_FilterCollection(This,ppUnk)
  358. #define IMediaControl_get_RegFilterCollection(This,ppUnk) \
  359. (This)->lpVtbl -> get_RegFilterCollection(This,ppUnk)
  360. #define IMediaControl_StopWhenReady(This) \
  361. (This)->lpVtbl -> StopWhenReady(This)
  362. #endif /* COBJMACROS */
  363. #endif /* C style interface */
  364. HRESULT STDMETHODCALLTYPE IMediaControl_Run_Proxy(
  365. IMediaControl * This);
  366. void __RPC_STUB IMediaControl_Run_Stub(
  367. IRpcStubBuffer *This,
  368. IRpcChannelBuffer *_pRpcChannelBuffer,
  369. PRPC_MESSAGE _pRpcMessage,
  370. DWORD *_pdwStubPhase);
  371. HRESULT STDMETHODCALLTYPE IMediaControl_Pause_Proxy(
  372. IMediaControl * This);
  373. void __RPC_STUB IMediaControl_Pause_Stub(
  374. IRpcStubBuffer *This,
  375. IRpcChannelBuffer *_pRpcChannelBuffer,
  376. PRPC_MESSAGE _pRpcMessage,
  377. DWORD *_pdwStubPhase);
  378. HRESULT STDMETHODCALLTYPE IMediaControl_Stop_Proxy(
  379. IMediaControl * This);
  380. void __RPC_STUB IMediaControl_Stop_Stub(
  381. IRpcStubBuffer *This,
  382. IRpcChannelBuffer *_pRpcChannelBuffer,
  383. PRPC_MESSAGE _pRpcMessage,
  384. DWORD *_pdwStubPhase);
  385. HRESULT STDMETHODCALLTYPE IMediaControl_GetState_Proxy(
  386. IMediaControl * This,
  387. /* [in] */ LONG msTimeout,
  388. /* [out] */ OAFilterState *pfs);
  389. void __RPC_STUB IMediaControl_GetState_Stub(
  390. IRpcStubBuffer *This,
  391. IRpcChannelBuffer *_pRpcChannelBuffer,
  392. PRPC_MESSAGE _pRpcMessage,
  393. DWORD *_pdwStubPhase);
  394. HRESULT STDMETHODCALLTYPE IMediaControl_RenderFile_Proxy(
  395. IMediaControl * This,
  396. /* [in] */ BSTR strFilename);
  397. void __RPC_STUB IMediaControl_RenderFile_Stub(
  398. IRpcStubBuffer *This,
  399. IRpcChannelBuffer *_pRpcChannelBuffer,
  400. PRPC_MESSAGE _pRpcMessage,
  401. DWORD *_pdwStubPhase);
  402. HRESULT STDMETHODCALLTYPE IMediaControl_AddSourceFilter_Proxy(
  403. IMediaControl * This,
  404. /* [in] */ BSTR strFilename,
  405. /* [out] */ IDispatch **ppUnk);
  406. void __RPC_STUB IMediaControl_AddSourceFilter_Stub(
  407. IRpcStubBuffer *This,
  408. IRpcChannelBuffer *_pRpcChannelBuffer,
  409. PRPC_MESSAGE _pRpcMessage,
  410. DWORD *_pdwStubPhase);
  411. /* [propget] */ HRESULT STDMETHODCALLTYPE IMediaControl_get_FilterCollection_Proxy(
  412. IMediaControl * This,
  413. /* [retval][out] */ IDispatch **ppUnk);
  414. void __RPC_STUB IMediaControl_get_FilterCollection_Stub(
  415. IRpcStubBuffer *This,
  416. IRpcChannelBuffer *_pRpcChannelBuffer,
  417. PRPC_MESSAGE _pRpcMessage,
  418. DWORD *_pdwStubPhase);
  419. /* [propget] */ HRESULT STDMETHODCALLTYPE IMediaControl_get_RegFilterCollection_Proxy(
  420. IMediaControl * This,
  421. /* [retval][out] */ IDispatch **ppUnk);
  422. void __RPC_STUB IMediaControl_get_RegFilterCollection_Stub(
  423. IRpcStubBuffer *This,
  424. IRpcChannelBuffer *_pRpcChannelBuffer,
  425. PRPC_MESSAGE _pRpcMessage,
  426. DWORD *_pdwStubPhase);
  427. HRESULT STDMETHODCALLTYPE IMediaControl_StopWhenReady_Proxy(
  428. IMediaControl * This);
  429. void __RPC_STUB IMediaControl_StopWhenReady_Stub(
  430. IRpcStubBuffer *This,
  431. IRpcChannelBuffer *_pRpcChannelBuffer,
  432. PRPC_MESSAGE _pRpcMessage,
  433. DWORD *_pdwStubPhase);
  434. #endif /* __IMediaControl_INTERFACE_DEFINED__ */
  435. #ifndef __IMediaEvent_INTERFACE_DEFINED__
  436. #define __IMediaEvent_INTERFACE_DEFINED__
  437. /* interface IMediaEvent */
  438. /* [object][dual][oleautomation][helpstring][uuid] */
  439. DEFINE_GUID(IID_IMediaEvent,0x56a868b6,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);
  440. #if defined(__cplusplus) && !defined(CINTERFACE)
  441. MIDL_INTERFACE("56a868b6-0ad4-11ce-b03a-0020af0ba770")
  442. IMediaEvent : public IDispatch
  443. {
  444. public:
  445. virtual HRESULT STDMETHODCALLTYPE GetEventHandle(
  446. /* [out] */ OAEVENT *hEvent) = 0;
  447. virtual HRESULT STDMETHODCALLTYPE GetEvent(
  448. /* [out] */ long *lEventCode,
  449. /* [out] */ LONG_PTR *lParam1,
  450. /* [out] */ LONG_PTR *lParam2,
  451. /* [in] */ long msTimeout) = 0;
  452. virtual HRESULT STDMETHODCALLTYPE WaitForCompletion(
  453. /* [in] */ long msTimeout,
  454. /* [out] */ long *pEvCode) = 0;
  455. virtual HRESULT STDMETHODCALLTYPE CancelDefaultHandling(
  456. /* [in] */ long lEvCode) = 0;
  457. virtual HRESULT STDMETHODCALLTYPE RestoreDefaultHandling(
  458. /* [in] */ long lEvCode) = 0;
  459. virtual HRESULT STDMETHODCALLTYPE FreeEventParams(
  460. /* [in] */ long lEvCode,
  461. /* [in] */ LONG_PTR lParam1,
  462. /* [in] */ LONG_PTR lParam2) = 0;
  463. };
  464. #else /* C style interface */
  465. typedef struct IMediaEventVtbl
  466. {
  467. BEGIN_INTERFACE
  468. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  469. IMediaEvent * This,
  470. /* [in] */ REFIID riid,
  471. /* [iid_is][out] */ void **ppvObject);
  472. ULONG ( STDMETHODCALLTYPE *AddRef )(
  473. IMediaEvent * This);
  474. ULONG ( STDMETHODCALLTYPE *Release )(
  475. IMediaEvent * This);
  476. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  477. IMediaEvent * This,
  478. /* [out] */ UINT *pctinfo);
  479. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  480. IMediaEvent * This,
  481. /* [in] */ UINT iTInfo,
  482. /* [in] */ LCID lcid,
  483. /* [out] */ ITypeInfo **ppTInfo);
  484. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  485. IMediaEvent * This,
  486. /* [in] */ REFIID riid,
  487. /* [size_is][in] */ LPOLESTR *rgszNames,
  488. /* [in] */ UINT cNames,
  489. /* [in] */ LCID lcid,
  490. /* [size_is][out] */ DISPID *rgDispId);
  491. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  492. IMediaEvent * This,
  493. /* [in] */ DISPID dispIdMember,
  494. /* [in] */ REFIID riid,
  495. /* [in] */ LCID lcid,
  496. /* [in] */ WORD wFlags,
  497. /* [out][in] */ DISPPARAMS *pDispParams,
  498. /* [out] */ VARIANT *pVarResult,
  499. /* [out] */ EXCEPINFO *pExcepInfo,
  500. /* [out] */ UINT *puArgErr);
  501. HRESULT ( STDMETHODCALLTYPE *GetEventHandle )(
  502. IMediaEvent * This,
  503. /* [out] */ OAEVENT *hEvent);
  504. HRESULT ( STDMETHODCALLTYPE *GetEvent )(
  505. IMediaEvent * This,
  506. /* [out] */ long *lEventCode,
  507. /* [out] */ LONG_PTR *lParam1,
  508. /* [out] */ LONG_PTR *lParam2,
  509. /* [in] */ long msTimeout);
  510. HRESULT ( STDMETHODCALLTYPE *WaitForCompletion )(
  511. IMediaEvent * This,
  512. /* [in] */ long msTimeout,
  513. /* [out] */ long *pEvCode);
  514. HRESULT ( STDMETHODCALLTYPE *CancelDefaultHandling )(
  515. IMediaEvent * This,
  516. /* [in] */ long lEvCode);
  517. HRESULT ( STDMETHODCALLTYPE *RestoreDefaultHandling )(
  518. IMediaEvent * This,
  519. /* [in] */ long lEvCode);
  520. HRESULT ( STDMETHODCALLTYPE *FreeEventParams )(
  521. IMediaEvent * This,
  522. /* [in] */ long lEvCode,
  523. /* [in] */ LONG_PTR lParam1,
  524. /* [in] */ LONG_PTR lParam2);
  525. END_INTERFACE
  526. } IMediaEventVtbl;
  527. interface IMediaEvent
  528. {
  529. CONST_VTBL struct IMediaEventVtbl *lpVtbl;
  530. };
  531. #ifdef COBJMACROS
  532. #define IMediaEvent_QueryInterface(This,riid,ppvObject) \
  533. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  534. #define IMediaEvent_AddRef(This) \
  535. (This)->lpVtbl -> AddRef(This)
  536. #define IMediaEvent_Release(This) \
  537. (This)->lpVtbl -> Release(This)
  538. #define IMediaEvent_GetTypeInfoCount(This,pctinfo) \
  539. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  540. #define IMediaEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  541. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  542. #define IMediaEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  543. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  544. #define IMediaEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  545. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  546. #define IMediaEvent_GetEventHandle(This,hEvent) \
  547. (This)->lpVtbl -> GetEventHandle(This,hEvent)
  548. #define IMediaEvent_GetEvent(This,lEventCode,lParam1,lParam2,msTimeout) \
  549. (This)->lpVtbl -> GetEvent(This,lEventCode,lParam1,lParam2,msTimeout)
  550. #define IMediaEvent_WaitForCompletion(This,msTimeout,pEvCode) \
  551. (This)->lpVtbl -> WaitForCompletion(This,msTimeout,pEvCode)
  552. #define IMediaEvent_CancelDefaultHandling(This,lEvCode) \
  553. (This)->lpVtbl -> CancelDefaultHandling(This,lEvCode)
  554. #define IMediaEvent_RestoreDefaultHandling(This,lEvCode) \
  555. (This)->lpVtbl -> RestoreDefaultHandling(This,lEvCode)
  556. #define IMediaEvent_FreeEventParams(This,lEvCode,lParam1,lParam2) \
  557. (This)->lpVtbl -> FreeEventParams(This,lEvCode,lParam1,lParam2)
  558. #endif /* COBJMACROS */
  559. #endif /* C style interface */
  560. HRESULT STDMETHODCALLTYPE IMediaEvent_GetEventHandle_Proxy(
  561. IMediaEvent * This,
  562. /* [out] */ OAEVENT *hEvent);
  563. void __RPC_STUB IMediaEvent_GetEventHandle_Stub(
  564. IRpcStubBuffer *This,
  565. IRpcChannelBuffer *_pRpcChannelBuffer,
  566. PRPC_MESSAGE _pRpcMessage,
  567. DWORD *_pdwStubPhase);
  568. HRESULT STDMETHODCALLTYPE IMediaEvent_GetEvent_Proxy(
  569. IMediaEvent * This,
  570. /* [out] */ long *lEventCode,
  571. /* [out] */ LONG_PTR *lParam1,
  572. /* [out] */ LONG_PTR *lParam2,
  573. /* [in] */ long msTimeout);
  574. void __RPC_STUB IMediaEvent_GetEvent_Stub(
  575. IRpcStubBuffer *This,
  576. IRpcChannelBuffer *_pRpcChannelBuffer,
  577. PRPC_MESSAGE _pRpcMessage,
  578. DWORD *_pdwStubPhase);
  579. HRESULT STDMETHODCALLTYPE IMediaEvent_WaitForCompletion_Proxy(
  580. IMediaEvent * This,
  581. /* [in] */ long msTimeout,
  582. /* [out] */ long *pEvCode);
  583. void __RPC_STUB IMediaEvent_WaitForCompletion_Stub(
  584. IRpcStubBuffer *This,
  585. IRpcChannelBuffer *_pRpcChannelBuffer,
  586. PRPC_MESSAGE _pRpcMessage,
  587. DWORD *_pdwStubPhase);
  588. HRESULT STDMETHODCALLTYPE IMediaEvent_CancelDefaultHandling_Proxy(
  589. IMediaEvent * This,
  590. /* [in] */ long lEvCode);
  591. void __RPC_STUB IMediaEvent_CancelDefaultHandling_Stub(
  592. IRpcStubBuffer *This,
  593. IRpcChannelBuffer *_pRpcChannelBuffer,
  594. PRPC_MESSAGE _pRpcMessage,
  595. DWORD *_pdwStubPhase);
  596. HRESULT STDMETHODCALLTYPE IMediaEvent_RestoreDefaultHandling_Proxy(
  597. IMediaEvent * This,
  598. /* [in] */ long lEvCode);
  599. void __RPC_STUB IMediaEvent_RestoreDefaultHandling_Stub(
  600. IRpcStubBuffer *This,
  601. IRpcChannelBuffer *_pRpcChannelBuffer,
  602. PRPC_MESSAGE _pRpcMessage,
  603. DWORD *_pdwStubPhase);
  604. HRESULT STDMETHODCALLTYPE IMediaEvent_FreeEventParams_Proxy(
  605. IMediaEvent * This,
  606. /* [in] */ long lEvCode,
  607. /* [in] */ LONG_PTR lParam1,
  608. /* [in] */ LONG_PTR lParam2);
  609. void __RPC_STUB IMediaEvent_FreeEventParams_Stub(
  610. IRpcStubBuffer *This,
  611. IRpcChannelBuffer *_pRpcChannelBuffer,
  612. PRPC_MESSAGE _pRpcMessage,
  613. DWORD *_pdwStubPhase);
  614. #endif /* __IMediaEvent_INTERFACE_DEFINED__ */
  615. #ifndef __IMediaEventEx_INTERFACE_DEFINED__
  616. #define __IMediaEventEx_INTERFACE_DEFINED__
  617. /* interface IMediaEventEx */
  618. /* [object][helpstring][uuid] */
  619. DEFINE_GUID(IID_IMediaEventEx,0x56a868c0,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);
  620. #if defined(__cplusplus) && !defined(CINTERFACE)
  621. MIDL_INTERFACE("56a868c0-0ad4-11ce-b03a-0020af0ba770")
  622. IMediaEventEx : public IMediaEvent
  623. {
  624. public:
  625. virtual HRESULT STDMETHODCALLTYPE SetNotifyWindow(
  626. /* [in] */ OAHWND hwnd,
  627. /* [in] */ long lMsg,
  628. /* [in] */ LONG_PTR lInstanceData) = 0;
  629. virtual HRESULT STDMETHODCALLTYPE SetNotifyFlags(
  630. /* [in] */ long lNoNotifyFlags) = 0;
  631. virtual HRESULT STDMETHODCALLTYPE GetNotifyFlags(
  632. /* [out] */ long *lplNoNotifyFlags) = 0;
  633. };
  634. #else /* C style interface */
  635. typedef struct IMediaEventExVtbl
  636. {
  637. BEGIN_INTERFACE
  638. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  639. IMediaEventEx * This,
  640. /* [in] */ REFIID riid,
  641. /* [iid_is][out] */ void **ppvObject);
  642. ULONG ( STDMETHODCALLTYPE *AddRef )(
  643. IMediaEventEx * This);
  644. ULONG ( STDMETHODCALLTYPE *Release )(
  645. IMediaEventEx * This);
  646. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  647. IMediaEventEx * This,
  648. /* [out] */ UINT *pctinfo);
  649. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  650. IMediaEventEx * This,
  651. /* [in] */ UINT iTInfo,
  652. /* [in] */ LCID lcid,
  653. /* [out] */ ITypeInfo **ppTInfo);
  654. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  655. IMediaEventEx * This,
  656. /* [in] */ REFIID riid,
  657. /* [size_is][in] */ LPOLESTR *rgszNames,
  658. /* [in] */ UINT cNames,
  659. /* [in] */ LCID lcid,
  660. /* [size_is][out] */ DISPID *rgDispId);
  661. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  662. IMediaEventEx * This,
  663. /* [in] */ DISPID dispIdMember,
  664. /* [in] */ REFIID riid,
  665. /* [in] */ LCID lcid,
  666. /* [in] */ WORD wFlags,
  667. /* [out][in] */ DISPPARAMS *pDispParams,
  668. /* [out] */ VARIANT *pVarResult,
  669. /* [out] */ EXCEPINFO *pExcepInfo,
  670. /* [out] */ UINT *puArgErr);
  671. HRESULT ( STDMETHODCALLTYPE *GetEventHandle )(
  672. IMediaEventEx * This,
  673. /* [out] */ OAEVENT *hEvent);
  674. HRESULT ( STDMETHODCALLTYPE *GetEvent )(
  675. IMediaEventEx * This,
  676. /* [out] */ long *lEventCode,
  677. /* [out] */ LONG_PTR *lParam1,
  678. /* [out] */ LONG_PTR *lParam2,
  679. /* [in] */ long msTimeout);
  680. HRESULT ( STDMETHODCALLTYPE *WaitForCompletion )(
  681. IMediaEventEx * This,
  682. /* [in] */ long msTimeout,
  683. /* [out] */ long *pEvCode);
  684. HRESULT ( STDMETHODCALLTYPE *CancelDefaultHandling )(
  685. IMediaEventEx * This,
  686. /* [in] */ long lEvCode);
  687. HRESULT ( STDMETHODCALLTYPE *RestoreDefaultHandling )(
  688. IMediaEventEx * This,
  689. /* [in] */ long lEvCode);
  690. HRESULT ( STDMETHODCALLTYPE *FreeEventParams )(
  691. IMediaEventEx * This,
  692. /* [in] */ long lEvCode,
  693. /* [in] */ LONG_PTR lParam1,
  694. /* [in] */ LONG_PTR lParam2);
  695. HRESULT ( STDMETHODCALLTYPE *SetNotifyWindow )(
  696. IMediaEventEx * This,
  697. /* [in] */ OAHWND hwnd,
  698. /* [in] */ long lMsg,
  699. /* [in] */ LONG_PTR lInstanceData);
  700. HRESULT ( STDMETHODCALLTYPE *SetNotifyFlags )(
  701. IMediaEventEx * This,
  702. /* [in] */ long lNoNotifyFlags);
  703. HRESULT ( STDMETHODCALLTYPE *GetNotifyFlags )(
  704. IMediaEventEx * This,
  705. /* [out] */ long *lplNoNotifyFlags);
  706. END_INTERFACE
  707. } IMediaEventExVtbl;
  708. interface IMediaEventEx
  709. {
  710. CONST_VTBL struct IMediaEventExVtbl *lpVtbl;
  711. };
  712. #ifdef COBJMACROS
  713. #define IMediaEventEx_QueryInterface(This,riid,ppvObject) \
  714. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  715. #define IMediaEventEx_AddRef(This) \
  716. (This)->lpVtbl -> AddRef(This)
  717. #define IMediaEventEx_Release(This) \
  718. (This)->lpVtbl -> Release(This)
  719. #define IMediaEventEx_GetTypeInfoCount(This,pctinfo) \
  720. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  721. #define IMediaEventEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  722. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  723. #define IMediaEventEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  724. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  725. #define IMediaEventEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  726. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  727. #define IMediaEventEx_GetEventHandle(This,hEvent) \
  728. (This)->lpVtbl -> GetEventHandle(This,hEvent)
  729. #define IMediaEventEx_GetEvent(This,lEventCode,lParam1,lParam2,msTimeout) \
  730. (This)->lpVtbl -> GetEvent(This,lEventCode,lParam1,lParam2,msTimeout)
  731. #define IMediaEventEx_WaitForCompletion(This,msTimeout,pEvCode) \
  732. (This)->lpVtbl -> WaitForCompletion(This,msTimeout,pEvCode)
  733. #define IMediaEventEx_CancelDefaultHandling(This,lEvCode) \
  734. (This)->lpVtbl -> CancelDefaultHandling(This,lEvCode)
  735. #define IMediaEventEx_RestoreDefaultHandling(This,lEvCode) \
  736. (This)->lpVtbl -> RestoreDefaultHandling(This,lEvCode)
  737. #define IMediaEventEx_FreeEventParams(This,lEvCode,lParam1,lParam2) \
  738. (This)->lpVtbl -> FreeEventParams(This,lEvCode,lParam1,lParam2)
  739. #define IMediaEventEx_SetNotifyWindow(This,hwnd,lMsg,lInstanceData) \
  740. (This)->lpVtbl -> SetNotifyWindow(This,hwnd,lMsg,lInstanceData)
  741. #define IMediaEventEx_SetNotifyFlags(This,lNoNotifyFlags) \
  742. (This)->lpVtbl -> SetNotifyFlags(This,lNoNotifyFlags)
  743. #define IMediaEventEx_GetNotifyFlags(This,lplNoNotifyFlags) \
  744. (This)->lpVtbl -> GetNotifyFlags(This,lplNoNotifyFlags)
  745. #endif /* COBJMACROS */
  746. #endif /* C style interface */
  747. HRESULT STDMETHODCALLTYPE IMediaEventEx_SetNotifyWindow_Proxy(
  748. IMediaEventEx * This,
  749. /* [in] */ OAHWND hwnd,
  750. /* [in] */ long lMsg,
  751. /* [in] */ LONG_PTR lInstanceData);
  752. void __RPC_STUB IMediaEventEx_SetNotifyWindow_Stub(
  753. IRpcStubBuffer *This,
  754. IRpcChannelBuffer *_pRpcChannelBuffer,
  755. PRPC_MESSAGE _pRpcMessage,
  756. DWORD *_pdwStubPhase);
  757. HRESULT STDMETHODCALLTYPE IMediaEventEx_SetNotifyFlags_Proxy(
  758. IMediaEventEx * This,
  759. /* [in] */ long lNoNotifyFlags);
  760. void __RPC_STUB IMediaEventEx_SetNotifyFlags_Stub(
  761. IRpcStubBuffer *This,
  762. IRpcChannelBuffer *_pRpcChannelBuffer,
  763. PRPC_MESSAGE _pRpcMessage,
  764. DWORD *_pdwStubPhase);
  765. HRESULT STDMETHODCALLTYPE IMediaEventEx_GetNotifyFlags_Proxy(
  766. IMediaEventEx * This,
  767. /* [out] */ long *lplNoNotifyFlags);
  768. void __RPC_STUB IMediaEventEx_GetNotifyFlags_Stub(
  769. IRpcStubBuffer *This,
  770. IRpcChannelBuffer *_pRpcChannelBuffer,
  771. PRPC_MESSAGE _pRpcMessage,
  772. DWORD *_pdwStubPhase);
  773. #endif /* __IMediaEventEx_INTERFACE_DEFINED__ */
  774. #ifndef __IMediaPosition_INTERFACE_DEFINED__
  775. #define __IMediaPosition_INTERFACE_DEFINED__
  776. /* interface IMediaPosition */
  777. /* [object][dual][oleautomation][helpstring][uuid] */
  778. DEFINE_GUID(IID_IMediaPosition,0x56a868b2,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);
  779. #if defined(__cplusplus) && !defined(CINTERFACE)
  780. MIDL_INTERFACE("56a868b2-0ad4-11ce-b03a-0020af0ba770")
  781. IMediaPosition : public IDispatch
  782. {
  783. public:
  784. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Duration(
  785. /* [retval][out] */ REFTIME *plength) = 0;
  786. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_CurrentPosition(
  787. /* [in] */ REFTIME llTime) = 0;
  788. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_CurrentPosition(
  789. /* [retval][out] */ REFTIME *pllTime) = 0;
  790. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_StopTime(
  791. /* [retval][out] */ REFTIME *pllTime) = 0;
  792. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_StopTime(
  793. /* [in] */ REFTIME llTime) = 0;
  794. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_PrerollTime(
  795. /* [retval][out] */ REFTIME *pllTime) = 0;
  796. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_PrerollTime(
  797. /* [in] */ REFTIME llTime) = 0;
  798. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Rate(
  799. /* [in] */ double dRate) = 0;
  800. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Rate(
  801. /* [retval][out] */ double *pdRate) = 0;
  802. virtual HRESULT STDMETHODCALLTYPE CanSeekForward(
  803. /* [retval][out] */ LONG *pCanSeekForward) = 0;
  804. virtual HRESULT STDMETHODCALLTYPE CanSeekBackward(
  805. /* [retval][out] */ LONG *pCanSeekBackward) = 0;
  806. };
  807. #else /* C style interface */
  808. typedef struct IMediaPositionVtbl
  809. {
  810. BEGIN_INTERFACE
  811. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  812. IMediaPosition * This,
  813. /* [in] */ REFIID riid,
  814. /* [iid_is][out] */ void **ppvObject);
  815. ULONG ( STDMETHODCALLTYPE *AddRef )(
  816. IMediaPosition * This);
  817. ULONG ( STDMETHODCALLTYPE *Release )(
  818. IMediaPosition * This);
  819. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  820. IMediaPosition * This,
  821. /* [out] */ UINT *pctinfo);
  822. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  823. IMediaPosition * This,
  824. /* [in] */ UINT iTInfo,
  825. /* [in] */ LCID lcid,
  826. /* [out] */ ITypeInfo **ppTInfo);
  827. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  828. IMediaPosition * This,
  829. /* [in] */ REFIID riid,
  830. /* [size_is][in] */ LPOLESTR *rgszNames,
  831. /* [in] */ UINT cNames,
  832. /* [in] */ LCID lcid,
  833. /* [size_is][out] */ DISPID *rgDispId);
  834. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  835. IMediaPosition * This,
  836. /* [in] */ DISPID dispIdMember,
  837. /* [in] */ REFIID riid,
  838. /* [in] */ LCID lcid,
  839. /* [in] */ WORD wFlags,
  840. /* [out][in] */ DISPPARAMS *pDispParams,
  841. /* [out] */ VARIANT *pVarResult,
  842. /* [out] */ EXCEPINFO *pExcepInfo,
  843. /* [out] */ UINT *puArgErr);
  844. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Duration )(
  845. IMediaPosition * This,
  846. /* [retval][out] */ REFTIME *plength);
  847. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_CurrentPosition )(
  848. IMediaPosition * This,
  849. /* [in] */ REFTIME llTime);
  850. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentPosition )(
  851. IMediaPosition * This,
  852. /* [retval][out] */ REFTIME *pllTime);
  853. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_StopTime )(
  854. IMediaPosition * This,
  855. /* [retval][out] */ REFTIME *pllTime);
  856. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_StopTime )(
  857. IMediaPosition * This,
  858. /* [in] */ REFTIME llTime);
  859. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_PrerollTime )(
  860. IMediaPosition * This,
  861. /* [retval][out] */ REFTIME *pllTime);
  862. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_PrerollTime )(
  863. IMediaPosition * This,
  864. /* [in] */ REFTIME llTime);
  865. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Rate )(
  866. IMediaPosition * This,
  867. /* [in] */ double dRate);
  868. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Rate )(
  869. IMediaPosition * This,
  870. /* [retval][out] */ double *pdRate);
  871. HRESULT ( STDMETHODCALLTYPE *CanSeekForward )(
  872. IMediaPosition * This,
  873. /* [retval][out] */ LONG *pCanSeekForward);
  874. HRESULT ( STDMETHODCALLTYPE *CanSeekBackward )(
  875. IMediaPosition * This,
  876. /* [retval][out] */ LONG *pCanSeekBackward);
  877. END_INTERFACE
  878. } IMediaPositionVtbl;
  879. interface IMediaPosition
  880. {
  881. CONST_VTBL struct IMediaPositionVtbl *lpVtbl;
  882. };
  883. #ifdef COBJMACROS
  884. #define IMediaPosition_QueryInterface(This,riid,ppvObject) \
  885. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  886. #define IMediaPosition_AddRef(This) \
  887. (This)->lpVtbl -> AddRef(This)
  888. #define IMediaPosition_Release(This) \
  889. (This)->lpVtbl -> Release(This)
  890. #define IMediaPosition_GetTypeInfoCount(This,pctinfo) \
  891. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  892. #define IMediaPosition_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  893. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  894. #define IMediaPosition_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  895. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  896. #define IMediaPosition_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  897. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  898. #define IMediaPosition_get_Duration(This,plength) \
  899. (This)->lpVtbl -> get_Duration(This,plength)
  900. #define IMediaPosition_put_CurrentPosition(This,llTime) \
  901. (This)->lpVtbl -> put_CurrentPosition(This,llTime)
  902. #define IMediaPosition_get_CurrentPosition(This,pllTime) \
  903. (This)->lpVtbl -> get_CurrentPosition(This,pllTime)
  904. #define IMediaPosition_get_StopTime(This,pllTime) \
  905. (This)->lpVtbl -> get_StopTime(This,pllTime)
  906. #define IMediaPosition_put_StopTime(This,llTime) \
  907. (This)->lpVtbl -> put_StopTime(This,llTime)
  908. #define IMediaPosition_get_PrerollTime(This,pllTime) \
  909. (This)->lpVtbl -> get_PrerollTime(This,pllTime)
  910. #define IMediaPosition_put_PrerollTime(This,llTime) \
  911. (This)->lpVtbl -> put_PrerollTime(This,llTime)
  912. #define IMediaPosition_put_Rate(This,dRate) \
  913. (This)->lpVtbl -> put_Rate(This,dRate)
  914. #define IMediaPosition_get_Rate(This,pdRate) \
  915. (This)->lpVtbl -> get_Rate(This,pdRate)
  916. #define IMediaPosition_CanSeekForward(This,pCanSeekForward) \
  917. (This)->lpVtbl -> CanSeekForward(This,pCanSeekForward)
  918. #define IMediaPosition_CanSeekBackward(This,pCanSeekBackward) \
  919. (This)->lpVtbl -> CanSeekBackward(This,pCanSeekBackward)
  920. #endif /* COBJMACROS */
  921. #endif /* C style interface */
  922. /* [propget] */ HRESULT STDMETHODCALLTYPE IMediaPosition_get_Duration_Proxy(
  923. IMediaPosition * This,
  924. /* [retval][out] */ REFTIME *plength);
  925. void __RPC_STUB IMediaPosition_get_Duration_Stub(
  926. IRpcStubBuffer *This,
  927. IRpcChannelBuffer *_pRpcChannelBuffer,
  928. PRPC_MESSAGE _pRpcMessage,
  929. DWORD *_pdwStubPhase);
  930. /* [propput] */ HRESULT STDMETHODCALLTYPE IMediaPosition_put_CurrentPosition_Proxy(
  931. IMediaPosition * This,
  932. /* [in] */ REFTIME llTime);
  933. void __RPC_STUB IMediaPosition_put_CurrentPosition_Stub(
  934. IRpcStubBuffer *This,
  935. IRpcChannelBuffer *_pRpcChannelBuffer,
  936. PRPC_MESSAGE _pRpcMessage,
  937. DWORD *_pdwStubPhase);
  938. /* [propget] */ HRESULT STDMETHODCALLTYPE IMediaPosition_get_CurrentPosition_Proxy(
  939. IMediaPosition * This,
  940. /* [retval][out] */ REFTIME *pllTime);
  941. void __RPC_STUB IMediaPosition_get_CurrentPosition_Stub(
  942. IRpcStubBuffer *This,
  943. IRpcChannelBuffer *_pRpcChannelBuffer,
  944. PRPC_MESSAGE _pRpcMessage,
  945. DWORD *_pdwStubPhase);
  946. /* [propget] */ HRESULT STDMETHODCALLTYPE IMediaPosition_get_StopTime_Proxy(
  947. IMediaPosition * This,
  948. /* [retval][out] */ REFTIME *pllTime);
  949. void __RPC_STUB IMediaPosition_get_StopTime_Stub(
  950. IRpcStubBuffer *This,
  951. IRpcChannelBuffer *_pRpcChannelBuffer,
  952. PRPC_MESSAGE _pRpcMessage,
  953. DWORD *_pdwStubPhase);
  954. /* [propput] */ HRESULT STDMETHODCALLTYPE IMediaPosition_put_StopTime_Proxy(
  955. IMediaPosition * This,
  956. /* [in] */ REFTIME llTime);
  957. void __RPC_STUB IMediaPosition_put_StopTime_Stub(
  958. IRpcStubBuffer *This,
  959. IRpcChannelBuffer *_pRpcChannelBuffer,
  960. PRPC_MESSAGE _pRpcMessage,
  961. DWORD *_pdwStubPhase);
  962. /* [propget] */ HRESULT STDMETHODCALLTYPE IMediaPosition_get_PrerollTime_Proxy(
  963. IMediaPosition * This,
  964. /* [retval][out] */ REFTIME *pllTime);
  965. void __RPC_STUB IMediaPosition_get_PrerollTime_Stub(
  966. IRpcStubBuffer *This,
  967. IRpcChannelBuffer *_pRpcChannelBuffer,
  968. PRPC_MESSAGE _pRpcMessage,
  969. DWORD *_pdwStubPhase);
  970. /* [propput] */ HRESULT STDMETHODCALLTYPE IMediaPosition_put_PrerollTime_Proxy(
  971. IMediaPosition * This,
  972. /* [in] */ REFTIME llTime);
  973. void __RPC_STUB IMediaPosition_put_PrerollTime_Stub(
  974. IRpcStubBuffer *This,
  975. IRpcChannelBuffer *_pRpcChannelBuffer,
  976. PRPC_MESSAGE _pRpcMessage,
  977. DWORD *_pdwStubPhase);
  978. /* [propput] */ HRESULT STDMETHODCALLTYPE IMediaPosition_put_Rate_Proxy(
  979. IMediaPosition * This,
  980. /* [in] */ double dRate);
  981. void __RPC_STUB IMediaPosition_put_Rate_Stub(
  982. IRpcStubBuffer *This,
  983. IRpcChannelBuffer *_pRpcChannelBuffer,
  984. PRPC_MESSAGE _pRpcMessage,
  985. DWORD *_pdwStubPhase);
  986. /* [propget] */ HRESULT STDMETHODCALLTYPE IMediaPosition_get_Rate_Proxy(
  987. IMediaPosition * This,
  988. /* [retval][out] */ double *pdRate);
  989. void __RPC_STUB IMediaPosition_get_Rate_Stub(
  990. IRpcStubBuffer *This,
  991. IRpcChannelBuffer *_pRpcChannelBuffer,
  992. PRPC_MESSAGE _pRpcMessage,
  993. DWORD *_pdwStubPhase);
  994. HRESULT STDMETHODCALLTYPE IMediaPosition_CanSeekForward_Proxy(
  995. IMediaPosition * This,
  996. /* [retval][out] */ LONG *pCanSeekForward);
  997. void __RPC_STUB IMediaPosition_CanSeekForward_Stub(
  998. IRpcStubBuffer *This,
  999. IRpcChannelBuffer *_pRpcChannelBuffer,
  1000. PRPC_MESSAGE _pRpcMessage,
  1001. DWORD *_pdwStubPhase);
  1002. HRESULT STDMETHODCALLTYPE IMediaPosition_CanSeekBackward_Proxy(
  1003. IMediaPosition * This,
  1004. /* [retval][out] */ LONG *pCanSeekBackward);
  1005. void __RPC_STUB IMediaPosition_CanSeekBackward_Stub(
  1006. IRpcStubBuffer *This,
  1007. IRpcChannelBuffer *_pRpcChannelBuffer,
  1008. PRPC_MESSAGE _pRpcMessage,
  1009. DWORD *_pdwStubPhase);
  1010. #endif /* __IMediaPosition_INTERFACE_DEFINED__ */
  1011. #ifndef __IBasicAudio_INTERFACE_DEFINED__
  1012. #define __IBasicAudio_INTERFACE_DEFINED__
  1013. /* interface IBasicAudio */
  1014. /* [object][dual][oleautomation][helpstring][uuid] */
  1015. DEFINE_GUID(IID_IBasicAudio,0x56a868b3,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);
  1016. #if defined(__cplusplus) && !defined(CINTERFACE)
  1017. MIDL_INTERFACE("56a868b3-0ad4-11ce-b03a-0020af0ba770")
  1018. IBasicAudio : public IDispatch
  1019. {
  1020. public:
  1021. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Volume(
  1022. /* [in] */ long lVolume) = 0;
  1023. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Volume(
  1024. /* [retval][out] */ long *plVolume) = 0;
  1025. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Balance(
  1026. /* [in] */ long lBalance) = 0;
  1027. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Balance(
  1028. /* [retval][out] */ long *plBalance) = 0;
  1029. };
  1030. #else /* C style interface */
  1031. typedef struct IBasicAudioVtbl
  1032. {
  1033. BEGIN_INTERFACE
  1034. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1035. IBasicAudio * This,
  1036. /* [in] */ REFIID riid,
  1037. /* [iid_is][out] */ void **ppvObject);
  1038. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1039. IBasicAudio * This);
  1040. ULONG ( STDMETHODCALLTYPE *Release )(
  1041. IBasicAudio * This);
  1042. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1043. IBasicAudio * This,
  1044. /* [out] */ UINT *pctinfo);
  1045. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1046. IBasicAudio * This,
  1047. /* [in] */ UINT iTInfo,
  1048. /* [in] */ LCID lcid,
  1049. /* [out] */ ITypeInfo **ppTInfo);
  1050. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1051. IBasicAudio * This,
  1052. /* [in] */ REFIID riid,
  1053. /* [size_is][in] */ LPOLESTR *rgszNames,
  1054. /* [in] */ UINT cNames,
  1055. /* [in] */ LCID lcid,
  1056. /* [size_is][out] */ DISPID *rgDispId);
  1057. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1058. IBasicAudio * This,
  1059. /* [in] */ DISPID dispIdMember,
  1060. /* [in] */ REFIID riid,
  1061. /* [in] */ LCID lcid,
  1062. /* [in] */ WORD wFlags,
  1063. /* [out][in] */ DISPPARAMS *pDispParams,
  1064. /* [out] */ VARIANT *pVarResult,
  1065. /* [out] */ EXCEPINFO *pExcepInfo,
  1066. /* [out] */ UINT *puArgErr);
  1067. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Volume )(
  1068. IBasicAudio * This,
  1069. /* [in] */ long lVolume);
  1070. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Volume )(
  1071. IBasicAudio * This,
  1072. /* [retval][out] */ long *plVolume);
  1073. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Balance )(
  1074. IBasicAudio * This,
  1075. /* [in] */ long lBalance);
  1076. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Balance )(
  1077. IBasicAudio * This,
  1078. /* [retval][out] */ long *plBalance);
  1079. END_INTERFACE
  1080. } IBasicAudioVtbl;
  1081. interface IBasicAudio
  1082. {
  1083. CONST_VTBL struct IBasicAudioVtbl *lpVtbl;
  1084. };
  1085. #ifdef COBJMACROS
  1086. #define IBasicAudio_QueryInterface(This,riid,ppvObject) \
  1087. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1088. #define IBasicAudio_AddRef(This) \
  1089. (This)->lpVtbl -> AddRef(This)
  1090. #define IBasicAudio_Release(This) \
  1091. (This)->lpVtbl -> Release(This)
  1092. #define IBasicAudio_GetTypeInfoCount(This,pctinfo) \
  1093. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1094. #define IBasicAudio_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1095. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1096. #define IBasicAudio_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1097. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1098. #define IBasicAudio_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1099. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1100. #define IBasicAudio_put_Volume(This,lVolume) \
  1101. (This)->lpVtbl -> put_Volume(This,lVolume)
  1102. #define IBasicAudio_get_Volume(This,plVolume) \
  1103. (This)->lpVtbl -> get_Volume(This,plVolume)
  1104. #define IBasicAudio_put_Balance(This,lBalance) \
  1105. (This)->lpVtbl -> put_Balance(This,lBalance)
  1106. #define IBasicAudio_get_Balance(This,plBalance) \
  1107. (This)->lpVtbl -> get_Balance(This,plBalance)
  1108. #endif /* COBJMACROS */
  1109. #endif /* C style interface */
  1110. /* [propput] */ HRESULT STDMETHODCALLTYPE IBasicAudio_put_Volume_Proxy(
  1111. IBasicAudio * This,
  1112. /* [in] */ long lVolume);
  1113. void __RPC_STUB IBasicAudio_put_Volume_Stub(
  1114. IRpcStubBuffer *This,
  1115. IRpcChannelBuffer *_pRpcChannelBuffer,
  1116. PRPC_MESSAGE _pRpcMessage,
  1117. DWORD *_pdwStubPhase);
  1118. /* [propget] */ HRESULT STDMETHODCALLTYPE IBasicAudio_get_Volume_Proxy(
  1119. IBasicAudio * This,
  1120. /* [retval][out] */ long *plVolume);
  1121. void __RPC_STUB IBasicAudio_get_Volume_Stub(
  1122. IRpcStubBuffer *This,
  1123. IRpcChannelBuffer *_pRpcChannelBuffer,
  1124. PRPC_MESSAGE _pRpcMessage,
  1125. DWORD *_pdwStubPhase);
  1126. /* [propput] */ HRESULT STDMETHODCALLTYPE IBasicAudio_put_Balance_Proxy(
  1127. IBasicAudio * This,
  1128. /* [in] */ long lBalance);
  1129. void __RPC_STUB IBasicAudio_put_Balance_Stub(
  1130. IRpcStubBuffer *This,
  1131. IRpcChannelBuffer *_pRpcChannelBuffer,
  1132. PRPC_MESSAGE _pRpcMessage,
  1133. DWORD *_pdwStubPhase);
  1134. /* [propget] */ HRESULT STDMETHODCALLTYPE IBasicAudio_get_Balance_Proxy(
  1135. IBasicAudio * This,
  1136. /* [retval][out] */ long *plBalance);
  1137. void __RPC_STUB IBasicAudio_get_Balance_Stub(
  1138. IRpcStubBuffer *This,
  1139. IRpcChannelBuffer *_pRpcChannelBuffer,
  1140. PRPC_MESSAGE _pRpcMessage,
  1141. DWORD *_pdwStubPhase);
  1142. #endif /* __IBasicAudio_INTERFACE_DEFINED__ */
  1143. #ifndef __IVideoWindow_INTERFACE_DEFINED__
  1144. #define __IVideoWindow_INTERFACE_DEFINED__
  1145. /* interface IVideoWindow */
  1146. /* [object][dual][oleautomation][helpstring][uuid] */
  1147. DEFINE_GUID(IID_IVideoWindow,0x56a868b4,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);
  1148. #if defined(__cplusplus) && !defined(CINTERFACE)
  1149. MIDL_INTERFACE("56a868b4-0ad4-11ce-b03a-0020af0ba770")
  1150. IVideoWindow : public IDispatch
  1151. {
  1152. public:
  1153. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Caption(
  1154. /* [in] */ BSTR strCaption) = 0;
  1155. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Caption(
  1156. /* [retval][out] */ BSTR *strCaption) = 0;
  1157. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_WindowStyle(
  1158. /* [in] */ long WindowStyle) = 0;
  1159. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_WindowStyle(
  1160. /* [retval][out] */ long *WindowStyle) = 0;
  1161. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_WindowStyleEx(
  1162. /* [in] */ long WindowStyleEx) = 0;
  1163. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_WindowStyleEx(
  1164. /* [retval][out] */ long *WindowStyleEx) = 0;
  1165. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_AutoShow(
  1166. /* [in] */ long AutoShow) = 0;
  1167. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_AutoShow(
  1168. /* [retval][out] */ long *AutoShow) = 0;
  1169. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_WindowState(
  1170. /* [in] */ long WindowState) = 0;
  1171. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_WindowState(
  1172. /* [retval][out] */ long *WindowState) = 0;
  1173. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_BackgroundPalette(
  1174. /* [in] */ long BackgroundPalette) = 0;
  1175. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_BackgroundPalette(
  1176. /* [retval][out] */ long *pBackgroundPalette) = 0;
  1177. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Visible(
  1178. /* [in] */ long Visible) = 0;
  1179. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Visible(
  1180. /* [retval][out] */ long *pVisible) = 0;
  1181. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Left(
  1182. /* [in] */ long Left) = 0;
  1183. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Left(
  1184. /* [retval][out] */ long *pLeft) = 0;
  1185. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Width(
  1186. /* [in] */ long Width) = 0;
  1187. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Width(
  1188. /* [retval][out] */ long *pWidth) = 0;
  1189. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Top(
  1190. /* [in] */ long Top) = 0;
  1191. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Top(
  1192. /* [retval][out] */ long *pTop) = 0;
  1193. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Height(
  1194. /* [in] */ long Height) = 0;
  1195. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Height(
  1196. /* [retval][out] */ long *pHeight) = 0;
  1197. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Owner(
  1198. /* [in] */ OAHWND Owner) = 0;
  1199. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Owner(
  1200. /* [retval][out] */ OAHWND *Owner) = 0;
  1201. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_MessageDrain(
  1202. /* [in] */ OAHWND Drain) = 0;
  1203. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_MessageDrain(
  1204. /* [retval][out] */ OAHWND *Drain) = 0;
  1205. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_BorderColor(
  1206. /* [retval][out] */ long *Color) = 0;
  1207. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_BorderColor(
  1208. /* [in] */ long Color) = 0;
  1209. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_FullScreenMode(
  1210. /* [retval][out] */ long *FullScreenMode) = 0;
  1211. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_FullScreenMode(
  1212. /* [in] */ long FullScreenMode) = 0;
  1213. virtual HRESULT STDMETHODCALLTYPE SetWindowForeground(
  1214. /* [in] */ long Focus) = 0;
  1215. virtual HRESULT STDMETHODCALLTYPE NotifyOwnerMessage(
  1216. /* [in] */ OAHWND hwnd,
  1217. /* [in] */ long uMsg,
  1218. /* [in] */ LONG_PTR wParam,
  1219. /* [in] */ LONG_PTR lParam) = 0;
  1220. virtual HRESULT STDMETHODCALLTYPE SetWindowPosition(
  1221. /* [in] */ long Left,
  1222. /* [in] */ long Top,
  1223. /* [in] */ long Width,
  1224. /* [in] */ long Height) = 0;
  1225. virtual HRESULT STDMETHODCALLTYPE GetWindowPosition(
  1226. /* [out] */ long *pLeft,
  1227. /* [out] */ long *pTop,
  1228. /* [out] */ long *pWidth,
  1229. /* [out] */ long *pHeight) = 0;
  1230. virtual HRESULT STDMETHODCALLTYPE GetMinIdealImageSize(
  1231. /* [out] */ long *pWidth,
  1232. /* [out] */ long *pHeight) = 0;
  1233. virtual HRESULT STDMETHODCALLTYPE GetMaxIdealImageSize(
  1234. /* [out] */ long *pWidth,
  1235. /* [out] */ long *pHeight) = 0;
  1236. virtual HRESULT STDMETHODCALLTYPE GetRestorePosition(
  1237. /* [out] */ long *pLeft,
  1238. /* [out] */ long *pTop,
  1239. /* [out] */ long *pWidth,
  1240. /* [out] */ long *pHeight) = 0;
  1241. virtual HRESULT STDMETHODCALLTYPE HideCursor(
  1242. /* [in] */ long HideCursor) = 0;
  1243. virtual HRESULT STDMETHODCALLTYPE IsCursorHidden(
  1244. /* [out] */ long *CursorHidden) = 0;
  1245. };
  1246. #else /* C style interface */
  1247. typedef struct IVideoWindowVtbl
  1248. {
  1249. BEGIN_INTERFACE
  1250. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1251. IVideoWindow * This,
  1252. /* [in] */ REFIID riid,
  1253. /* [iid_is][out] */ void **ppvObject);
  1254. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1255. IVideoWindow * This);
  1256. ULONG ( STDMETHODCALLTYPE *Release )(
  1257. IVideoWindow * This);
  1258. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1259. IVideoWindow * This,
  1260. /* [out] */ UINT *pctinfo);
  1261. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1262. IVideoWindow * This,
  1263. /* [in] */ UINT iTInfo,
  1264. /* [in] */ LCID lcid,
  1265. /* [out] */ ITypeInfo **ppTInfo);
  1266. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1267. IVideoWindow * This,
  1268. /* [in] */ REFIID riid,
  1269. /* [size_is][in] */ LPOLESTR *rgszNames,
  1270. /* [in] */ UINT cNames,
  1271. /* [in] */ LCID lcid,
  1272. /* [size_is][out] */ DISPID *rgDispId);
  1273. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1274. IVideoWindow * This,
  1275. /* [in] */ DISPID dispIdMember,
  1276. /* [in] */ REFIID riid,
  1277. /* [in] */ LCID lcid,
  1278. /* [in] */ WORD wFlags,
  1279. /* [out][in] */ DISPPARAMS *pDispParams,
  1280. /* [out] */ VARIANT *pVarResult,
  1281. /* [out] */ EXCEPINFO *pExcepInfo,
  1282. /* [out] */ UINT *puArgErr);
  1283. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Caption )(
  1284. IVideoWindow * This,
  1285. /* [in] */ BSTR strCaption);
  1286. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Caption )(
  1287. IVideoWindow * This,
  1288. /* [retval][out] */ BSTR *strCaption);
  1289. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_WindowStyle )(
  1290. IVideoWindow * This,
  1291. /* [in] */ long WindowStyle);
  1292. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_WindowStyle )(
  1293. IVideoWindow * This,
  1294. /* [retval][out] */ long *WindowStyle);
  1295. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_WindowStyleEx )(
  1296. IVideoWindow * This,
  1297. /* [in] */ long WindowStyleEx);
  1298. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_WindowStyleEx )(
  1299. IVideoWindow * This,
  1300. /* [retval][out] */ long *WindowStyleEx);
  1301. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoShow )(
  1302. IVideoWindow * This,
  1303. /* [in] */ long AutoShow);
  1304. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoShow )(
  1305. IVideoWindow * This,
  1306. /* [retval][out] */ long *AutoShow);
  1307. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_WindowState )(
  1308. IVideoWindow * This,
  1309. /* [in] */ long WindowState);
  1310. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_WindowState )(
  1311. IVideoWindow * This,
  1312. /* [retval][out] */ long *WindowState);
  1313. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_BackgroundPalette )(
  1314. IVideoWindow * This,
  1315. /* [in] */ long BackgroundPalette);
  1316. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_BackgroundPalette )(
  1317. IVideoWindow * This,
  1318. /* [retval][out] */ long *pBackgroundPalette);
  1319. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Visible )(
  1320. IVideoWindow * This,
  1321. /* [in] */ long Visible);
  1322. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Visible )(
  1323. IVideoWindow * This,
  1324. /* [retval][out] */ long *pVisible);
  1325. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Left )(
  1326. IVideoWindow * This,
  1327. /* [in] */ long Left);
  1328. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Left )(
  1329. IVideoWindow * This,
  1330. /* [retval][out] */ long *pLeft);
  1331. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Width )(
  1332. IVideoWindow * This,
  1333. /* [in] */ long Width);
  1334. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Width )(
  1335. IVideoWindow * This,
  1336. /* [retval][out] */ long *pWidth);
  1337. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Top )(
  1338. IVideoWindow * This,
  1339. /* [in] */ long Top);
  1340. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Top )(
  1341. IVideoWindow * This,
  1342. /* [retval][out] */ long *pTop);
  1343. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Height )(
  1344. IVideoWindow * This,
  1345. /* [in] */ long Height);
  1346. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Height )(
  1347. IVideoWindow * This,
  1348. /* [retval][out] */ long *pHeight);
  1349. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Owner )(
  1350. IVideoWindow * This,
  1351. /* [in] */ OAHWND Owner);
  1352. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Owner )(
  1353. IVideoWindow * This,
  1354. /* [retval][out] */ OAHWND *Owner);
  1355. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_MessageDrain )(
  1356. IVideoWindow * This,
  1357. /* [in] */ OAHWND Drain);
  1358. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_MessageDrain )(
  1359. IVideoWindow * This,
  1360. /* [retval][out] */ OAHWND *Drain);
  1361. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_BorderColor )(
  1362. IVideoWindow * This,
  1363. /* [retval][out] */ long *Color);
  1364. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_BorderColor )(
  1365. IVideoWindow * This,
  1366. /* [in] */ long Color);
  1367. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_FullScreenMode )(
  1368. IVideoWindow * This,
  1369. /* [retval][out] */ long *FullScreenMode);
  1370. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_FullScreenMode )(
  1371. IVideoWindow * This,
  1372. /* [in] */ long FullScreenMode);
  1373. HRESULT ( STDMETHODCALLTYPE *SetWindowForeground )(
  1374. IVideoWindow * This,
  1375. /* [in] */ long Focus);
  1376. HRESULT ( STDMETHODCALLTYPE *NotifyOwnerMessage )(
  1377. IVideoWindow * This,
  1378. /* [in] */ OAHWND hwnd,
  1379. /* [in] */ long uMsg,
  1380. /* [in] */ LONG_PTR wParam,
  1381. /* [in] */ LONG_PTR lParam);
  1382. HRESULT ( STDMETHODCALLTYPE *SetWindowPosition )(
  1383. IVideoWindow * This,
  1384. /* [in] */ long Left,
  1385. /* [in] */ long Top,
  1386. /* [in] */ long Width,
  1387. /* [in] */ long Height);
  1388. HRESULT ( STDMETHODCALLTYPE *GetWindowPosition )(
  1389. IVideoWindow * This,
  1390. /* [out] */ long *pLeft,
  1391. /* [out] */ long *pTop,
  1392. /* [out] */ long *pWidth,
  1393. /* [out] */ long *pHeight);
  1394. HRESULT ( STDMETHODCALLTYPE *GetMinIdealImageSize )(
  1395. IVideoWindow * This,
  1396. /* [out] */ long *pWidth,
  1397. /* [out] */ long *pHeight);
  1398. HRESULT ( STDMETHODCALLTYPE *GetMaxIdealImageSize )(
  1399. IVideoWindow * This,
  1400. /* [out] */ long *pWidth,
  1401. /* [out] */ long *pHeight);
  1402. HRESULT ( STDMETHODCALLTYPE *GetRestorePosition )(
  1403. IVideoWindow * This,
  1404. /* [out] */ long *pLeft,
  1405. /* [out] */ long *pTop,
  1406. /* [out] */ long *pWidth,
  1407. /* [out] */ long *pHeight);
  1408. HRESULT ( STDMETHODCALLTYPE *HideCursor )(
  1409. IVideoWindow * This,
  1410. /* [in] */ long HideCursor);
  1411. HRESULT ( STDMETHODCALLTYPE *IsCursorHidden )(
  1412. IVideoWindow * This,
  1413. /* [out] */ long *CursorHidden);
  1414. END_INTERFACE
  1415. } IVideoWindowVtbl;
  1416. interface IVideoWindow
  1417. {
  1418. CONST_VTBL struct IVideoWindowVtbl *lpVtbl;
  1419. };
  1420. #ifdef COBJMACROS
  1421. #define IVideoWindow_QueryInterface(This,riid,ppvObject) \
  1422. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1423. #define IVideoWindow_AddRef(This) \
  1424. (This)->lpVtbl -> AddRef(This)
  1425. #define IVideoWindow_Release(This) \
  1426. (This)->lpVtbl -> Release(This)
  1427. #define IVideoWindow_GetTypeInfoCount(This,pctinfo) \
  1428. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1429. #define IVideoWindow_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1430. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1431. #define IVideoWindow_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1432. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1433. #define IVideoWindow_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1434. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1435. #define IVideoWindow_put_Caption(This,strCaption) \
  1436. (This)->lpVtbl -> put_Caption(This,strCaption)
  1437. #define IVideoWindow_get_Caption(This,strCaption) \
  1438. (This)->lpVtbl -> get_Caption(This,strCaption)
  1439. #define IVideoWindow_put_WindowStyle(This,WindowStyle) \
  1440. (This)->lpVtbl -> put_WindowStyle(This,WindowStyle)
  1441. #define IVideoWindow_get_WindowStyle(This,WindowStyle) \
  1442. (This)->lpVtbl -> get_WindowStyle(This,WindowStyle)
  1443. #define IVideoWindow_put_WindowStyleEx(This,WindowStyleEx) \
  1444. (This)->lpVtbl -> put_WindowStyleEx(This,WindowStyleEx)
  1445. #define IVideoWindow_get_WindowStyleEx(This,WindowStyleEx) \
  1446. (This)->lpVtbl -> get_WindowStyleEx(This,WindowStyleEx)
  1447. #define IVideoWindow_put_AutoShow(This,AutoShow) \
  1448. (This)->lpVtbl -> put_AutoShow(This,AutoShow)
  1449. #define IVideoWindow_get_AutoShow(This,AutoShow) \
  1450. (This)->lpVtbl -> get_AutoShow(This,AutoShow)
  1451. #define IVideoWindow_put_WindowState(This,WindowState) \
  1452. (This)->lpVtbl -> put_WindowState(This,WindowState)
  1453. #define IVideoWindow_get_WindowState(This,WindowState) \
  1454. (This)->lpVtbl -> get_WindowState(This,WindowState)
  1455. #define IVideoWindow_put_BackgroundPalette(This,BackgroundPalette) \
  1456. (This)->lpVtbl -> put_BackgroundPalette(This,BackgroundPalette)
  1457. #define IVideoWindow_get_BackgroundPalette(This,pBackgroundPalette) \
  1458. (This)->lpVtbl -> get_BackgroundPalette(This,pBackgroundPalette)
  1459. #define IVideoWindow_put_Visible(This,Visible) \
  1460. (This)->lpVtbl -> put_Visible(This,Visible)
  1461. #define IVideoWindow_get_Visible(This,pVisible) \
  1462. (This)->lpVtbl -> get_Visible(This,pVisible)
  1463. #define IVideoWindow_put_Left(This,Left) \
  1464. (This)->lpVtbl -> put_Left(This,Left)
  1465. #define IVideoWindow_get_Left(This,pLeft) \
  1466. (This)->lpVtbl -> get_Left(This,pLeft)
  1467. #define IVideoWindow_put_Width(This,Width) \
  1468. (This)->lpVtbl -> put_Width(This,Width)
  1469. #define IVideoWindow_get_Width(This,pWidth) \
  1470. (This)->lpVtbl -> get_Width(This,pWidth)
  1471. #define IVideoWindow_put_Top(This,Top) \
  1472. (This)->lpVtbl -> put_Top(This,Top)
  1473. #define IVideoWindow_get_Top(This,pTop) \
  1474. (This)->lpVtbl -> get_Top(This,pTop)
  1475. #define IVideoWindow_put_Height(This,Height) \
  1476. (This)->lpVtbl -> put_Height(This,Height)
  1477. #define IVideoWindow_get_Height(This,pHeight) \
  1478. (This)->lpVtbl -> get_Height(This,pHeight)
  1479. #define IVideoWindow_put_Owner(This,Owner) \
  1480. (This)->lpVtbl -> put_Owner(This,Owner)
  1481. #define IVideoWindow_get_Owner(This,Owner) \
  1482. (This)->lpVtbl -> get_Owner(This,Owner)
  1483. #define IVideoWindow_put_MessageDrain(This,Drain) \
  1484. (This)->lpVtbl -> put_MessageDrain(This,Drain)
  1485. #define IVideoWindow_get_MessageDrain(This,Drain) \
  1486. (This)->lpVtbl -> get_MessageDrain(This,Drain)
  1487. #define IVideoWindow_get_BorderColor(This,Color) \
  1488. (This)->lpVtbl -> get_BorderColor(This,Color)
  1489. #define IVideoWindow_put_BorderColor(This,Color) \
  1490. (This)->lpVtbl -> put_BorderColor(This,Color)
  1491. #define IVideoWindow_get_FullScreenMode(This,FullScreenMode) \
  1492. (This)->lpVtbl -> get_FullScreenMode(This,FullScreenMode)
  1493. #define IVideoWindow_put_FullScreenMode(This,FullScreenMode) \
  1494. (This)->lpVtbl -> put_FullScreenMode(This,FullScreenMode)
  1495. #define IVideoWindow_SetWindowForeground(This,Focus) \
  1496. (This)->lpVtbl -> SetWindowForeground(This,Focus)
  1497. #define IVideoWindow_NotifyOwnerMessage(This,hwnd,uMsg,wParam,lParam) \
  1498. (This)->lpVtbl -> NotifyOwnerMessage(This,hwnd,uMsg,wParam,lParam)
  1499. #define IVideoWindow_SetWindowPosition(This,Left,Top,Width,Height) \
  1500. (This)->lpVtbl -> SetWindowPosition(This,Left,Top,Width,Height)
  1501. #define IVideoWindow_GetWindowPosition(This,pLeft,pTop,pWidth,pHeight) \
  1502. (This)->lpVtbl -> GetWindowPosition(This,pLeft,pTop,pWidth,pHeight)
  1503. #define IVideoWindow_GetMinIdealImageSize(This,pWidth,pHeight) \
  1504. (This)->lpVtbl -> GetMinIdealImageSize(This,pWidth,pHeight)
  1505. #define IVideoWindow_GetMaxIdealImageSize(This,pWidth,pHeight) \
  1506. (This)->lpVtbl -> GetMaxIdealImageSize(This,pWidth,pHeight)
  1507. #define IVideoWindow_GetRestorePosition(This,pLeft,pTop,pWidth,pHeight) \
  1508. (This)->lpVtbl -> GetRestorePosition(This,pLeft,pTop,pWidth,pHeight)
  1509. #define IVideoWindow_HideCursor(This,HideCursor) \
  1510. (This)->lpVtbl -> HideCursor(This,HideCursor)
  1511. #define IVideoWindow_IsCursorHidden(This,CursorHidden) \
  1512. (This)->lpVtbl -> IsCursorHidden(This,CursorHidden)
  1513. #endif /* COBJMACROS */
  1514. #endif /* C style interface */
  1515. /* [propput] */ HRESULT STDMETHODCALLTYPE IVideoWindow_put_Caption_Proxy(
  1516. IVideoWindow * This,
  1517. /* [in] */ BSTR strCaption);
  1518. void __RPC_STUB IVideoWindow_put_Caption_Stub(
  1519. IRpcStubBuffer *This,
  1520. IRpcChannelBuffer *_pRpcChannelBuffer,
  1521. PRPC_MESSAGE _pRpcMessage,
  1522. DWORD *_pdwStubPhase);
  1523. /* [propget] */ HRESULT STDMETHODCALLTYPE IVideoWindow_get_Caption_Proxy(
  1524. IVideoWindow * This,
  1525. /* [retval][out] */ BSTR *strCaption);
  1526. void __RPC_STUB IVideoWindow_get_Caption_Stub(
  1527. IRpcStubBuffer *This,
  1528. IRpcChannelBuffer *_pRpcChannelBuffer,
  1529. PRPC_MESSAGE _pRpcMessage,
  1530. DWORD *_pdwStubPhase);
  1531. /* [propput] */ HRESULT STDMETHODCALLTYPE IVideoWindow_put_WindowStyle_Proxy(
  1532. IVideoWindow * This,
  1533. /* [in] */ long WindowStyle);
  1534. void __RPC_STUB IVideoWindow_put_WindowStyle_Stub(
  1535. IRpcStubBuffer *This,
  1536. IRpcChannelBuffer *_pRpcChannelBuffer,
  1537. PRPC_MESSAGE _pRpcMessage,
  1538. DWORD *_pdwStubPhase);
  1539. /* [propget] */ HRESULT STDMETHODCALLTYPE IVideoWindow_get_WindowStyle_Proxy(
  1540. IVideoWindow * This,
  1541. /* [retval][out] */ long *WindowStyle);
  1542. void __RPC_STUB IVideoWindow_get_WindowStyle_Stub(
  1543. IRpcStubBuffer *This,
  1544. IRpcChannelBuffer *_pRpcChannelBuffer,
  1545. PRPC_MESSAGE _pRpcMessage,
  1546. DWORD *_pdwStubPhase);
  1547. /* [propput] */ HRESULT STDMETHODCALLTYPE IVideoWindow_put_WindowStyleEx_Proxy(
  1548. IVideoWindow * This,
  1549. /* [in] */ long WindowStyleEx);
  1550. void __RPC_STUB IVideoWindow_put_WindowStyleEx_Stub(
  1551. IRpcStubBuffer *This,
  1552. IRpcChannelBuffer *_pRpcChannelBuffer,
  1553. PRPC_MESSAGE _pRpcMessage,
  1554. DWORD *_pdwStubPhase);
  1555. /* [propget] */ HRESULT STDMETHODCALLTYPE IVideoWindow_get_WindowStyleEx_Proxy(
  1556. IVideoWindow * This,
  1557. /* [retval][out] */ long *WindowStyleEx);
  1558. void __RPC_STUB IVideoWindow_get_WindowStyleEx_Stub(
  1559. IRpcStubBuffer *This,
  1560. IRpcChannelBuffer *_pRpcChannelBuffer,
  1561. PRPC_MESSAGE _pRpcMessage,
  1562. DWORD *_pdwStubPhase);
  1563. /* [propput] */ HRESULT STDMETHODCALLTYPE IVideoWindow_put_AutoShow_Proxy(
  1564. IVideoWindow * This,
  1565. /* [in] */ long AutoShow);
  1566. void __RPC_STUB IVideoWindow_put_AutoShow_Stub(
  1567. IRpcStubBuffer *This,
  1568. IRpcChannelBuffer *_pRpcChannelBuffer,
  1569. PRPC_MESSAGE _pRpcMessage,
  1570. DWORD *_pdwStubPhase);
  1571. /* [propget] */ HRESULT STDMETHODCALLTYPE IVideoWindow_get_AutoShow_Proxy(
  1572. IVideoWindow * This,
  1573. /* [retval][out] */ long *AutoShow);
  1574. void __RPC_STUB IVideoWindow_get_AutoShow_Stub(
  1575. IRpcStubBuffer *This,
  1576. IRpcChannelBuffer *_pRpcChannelBuffer,
  1577. PRPC_MESSAGE _pRpcMessage,
  1578. DWORD *_pdwStubPhase);
  1579. /* [propput] */ HRESULT STDMETHODCALLTYPE IVideoWindow_put_WindowState_Proxy(
  1580. IVideoWindow * This,
  1581. /* [in] */ long WindowState);
  1582. void __RPC_STUB IVideoWindow_put_WindowState_Stub(
  1583. IRpcStubBuffer *This,
  1584. IRpcChannelBuffer *_pRpcChannelBuffer,
  1585. PRPC_MESSAGE _pRpcMessage,
  1586. DWORD *_pdwStubPhase);
  1587. /* [propget] */ HRESULT STDMETHODCALLTYPE IVideoWindow_get_WindowState_Proxy(
  1588. IVideoWindow * This,
  1589. /* [retval][out] */ long *WindowState);
  1590. void __RPC_STUB IVideoWindow_get_WindowState_Stub(
  1591. IRpcStubBuffer *This,
  1592. IRpcChannelBuffer *_pRpcChannelBuffer,
  1593. PRPC_MESSAGE _pRpcMessage,
  1594. DWORD *_pdwStubPhase);
  1595. /* [propput] */ HRESULT STDMETHODCALLTYPE IVideoWindow_put_BackgroundPalette_Proxy(
  1596. IVideoWindow * This,
  1597. /* [in] */ long BackgroundPalette);
  1598. void __RPC_STUB IVideoWindow_put_BackgroundPalette_Stub(
  1599. IRpcStubBuffer *This,
  1600. IRpcChannelBuffer *_pRpcChannelBuffer,
  1601. PRPC_MESSAGE _pRpcMessage,
  1602. DWORD *_pdwStubPhase);
  1603. /* [propget] */ HRESULT STDMETHODCALLTYPE IVideoWindow_get_BackgroundPalette_Proxy(
  1604. IVideoWindow * This,
  1605. /* [retval][out] */ long *pBackgroundPalette);
  1606. void __RPC_STUB IVideoWindow_get_BackgroundPalette_Stub(
  1607. IRpcStubBuffer *This,
  1608. IRpcChannelBuffer *_pRpcChannelBuffer,
  1609. PRPC_MESSAGE _pRpcMessage,
  1610. DWORD *_pdwStubPhase);
  1611. /* [propput] */ HRESULT STDMETHODCALLTYPE IVideoWindow_put_Visible_Proxy(
  1612. IVideoWindow * This,
  1613. /* [in] */ long Visible);
  1614. void __RPC_STUB IVideoWindow_put_Visible_Stub(
  1615. IRpcStubBuffer *This,
  1616. IRpcChannelBuffer *_pRpcChannelBuffer,
  1617. PRPC_MESSAGE _pRpcMessage,
  1618. DWORD *_pdwStubPhase);
  1619. /* [propget] */ HRESULT STDMETHODCALLTYPE IVideoWindow_get_Visible_Proxy(
  1620. IVideoWindow * This,
  1621. /* [retval][out] */ long *pVisible);
  1622. void __RPC_STUB IVideoWindow_get_Visible_Stub(
  1623. IRpcStubBuffer *This,
  1624. IRpcChannelBuffer *_pRpcChannelBuffer,
  1625. PRPC_MESSAGE _pRpcMessage,
  1626. DWORD *_pdwStubPhase);
  1627. /* [propput] */ HRESULT STDMETHODCALLTYPE IVideoWindow_put_Left_Proxy(
  1628. IVideoWindow * This,
  1629. /* [in] */ long Left);
  1630. void __RPC_STUB IVideoWindow_put_Left_Stub(
  1631. IRpcStubBuffer *This,
  1632. IRpcChannelBuffer *_pRpcChannelBuffer,
  1633. PRPC_MESSAGE _pRpcMessage,
  1634. DWORD *_pdwStubPhase);
  1635. /* [propget] */ HRESULT STDMETHODCALLTYPE IVideoWindow_get_Left_Proxy(
  1636. IVideoWindow * This,
  1637. /* [retval][out] */ long *pLeft);
  1638. void __RPC_STUB IVideoWindow_get_Left_Stub(
  1639. IRpcStubBuffer *This,
  1640. IRpcChannelBuffer *_pRpcChannelBuffer,
  1641. PRPC_MESSAGE _pRpcMessage,
  1642. DWORD *_pdwStubPhase);
  1643. /* [propput] */ HRESULT STDMETHODCALLTYPE IVideoWindow_put_Width_Proxy(
  1644. IVideoWindow * This,
  1645. /* [in] */ long Width);
  1646. void __RPC_STUB IVideoWindow_put_Width_Stub(
  1647. IRpcStubBuffer *This,
  1648. IRpcChannelBuffer *_pRpcChannelBuffer,
  1649. PRPC_MESSAGE _pRpcMessage,
  1650. DWORD *_pdwStubPhase);
  1651. /* [propget] */ HRESULT STDMETHODCALLTYPE IVideoWindow_get_Width_Proxy(
  1652. IVideoWindow * This,
  1653. /* [retval][out] */ long *pWidth);
  1654. void __RPC_STUB IVideoWindow_get_Width_Stub(
  1655. IRpcStubBuffer *This,
  1656. IRpcChannelBuffer *_pRpcChannelBuffer,
  1657. PRPC_MESSAGE _pRpcMessage,
  1658. DWORD *_pdwStubPhase);
  1659. /* [propput] */ HRESULT STDMETHODCALLTYPE IVideoWindow_put_Top_Proxy(
  1660. IVideoWindow * This,
  1661. /* [in] */ long Top);
  1662. void __RPC_STUB IVideoWindow_put_Top_Stub(
  1663. IRpcStubBuffer *This,
  1664. IRpcChannelBuffer *_pRpcChannelBuffer,
  1665. PRPC_MESSAGE _pRpcMessage,
  1666. DWORD *_pdwStubPhase);
  1667. /* [propget] */ HRESULT STDMETHODCALLTYPE IVideoWindow_get_Top_Proxy(
  1668. IVideoWindow * This,
  1669. /* [retval][out] */ long *pTop);
  1670. void __RPC_STUB IVideoWindow_get_Top_Stub(
  1671. IRpcStubBuffer *This,
  1672. IRpcChannelBuffer *_pRpcChannelBuffer,
  1673. PRPC_MESSAGE _pRpcMessage,
  1674. DWORD *_pdwStubPhase);
  1675. /* [propput] */ HRESULT STDMETHODCALLTYPE IVideoWindow_put_Height_Proxy(
  1676. IVideoWindow * This,
  1677. /* [in] */ long Height);
  1678. void __RPC_STUB IVideoWindow_put_Height_Stub(
  1679. IRpcStubBuffer *This,
  1680. IRpcChannelBuffer *_pRpcChannelBuffer,
  1681. PRPC_MESSAGE _pRpcMessage,
  1682. DWORD *_pdwStubPhase);
  1683. /* [propget] */ HRESULT STDMETHODCALLTYPE IVideoWindow_get_Height_Proxy(
  1684. IVideoWindow * This,
  1685. /* [retval][out] */ long *pHeight);
  1686. void __RPC_STUB IVideoWindow_get_Height_Stub(
  1687. IRpcStubBuffer *This,
  1688. IRpcChannelBuffer *_pRpcChannelBuffer,
  1689. PRPC_MESSAGE _pRpcMessage,
  1690. DWORD *_pdwStubPhase);
  1691. /* [propput] */ HRESULT STDMETHODCALLTYPE IVideoWindow_put_Owner_Proxy(
  1692. IVideoWindow * This,
  1693. /* [in] */ OAHWND Owner);
  1694. void __RPC_STUB IVideoWindow_put_Owner_Stub(
  1695. IRpcStubBuffer *This,
  1696. IRpcChannelBuffer *_pRpcChannelBuffer,
  1697. PRPC_MESSAGE _pRpcMessage,
  1698. DWORD *_pdwStubPhase);
  1699. /* [propget] */ HRESULT STDMETHODCALLTYPE IVideoWindow_get_Owner_Proxy(
  1700. IVideoWindow * This,
  1701. /* [retval][out] */ OAHWND *Owner);
  1702. void __RPC_STUB IVideoWindow_get_Owner_Stub(
  1703. IRpcStubBuffer *This,
  1704. IRpcChannelBuffer *_pRpcChannelBuffer,
  1705. PRPC_MESSAGE _pRpcMessage,
  1706. DWORD *_pdwStubPhase);
  1707. /* [propput] */ HRESULT STDMETHODCALLTYPE IVideoWindow_put_MessageDrain_Proxy(
  1708. IVideoWindow * This,
  1709. /* [in] */ OAHWND Drain);
  1710. void __RPC_STUB IVideoWindow_put_MessageDrain_Stub(
  1711. IRpcStubBuffer *This,
  1712. IRpcChannelBuffer *_pRpcChannelBuffer,
  1713. PRPC_MESSAGE _pRpcMessage,
  1714. DWORD *_pdwStubPhase);
  1715. /* [propget] */ HRESULT STDMETHODCALLTYPE IVideoWindow_get_MessageDrain_Proxy(
  1716. IVideoWindow * This,
  1717. /* [retval][out] */ OAHWND *Drain);
  1718. void __RPC_STUB IVideoWindow_get_MessageDrain_Stub(
  1719. IRpcStubBuffer *This,
  1720. IRpcChannelBuffer *_pRpcChannelBuffer,
  1721. PRPC_MESSAGE _pRpcMessage,
  1722. DWORD *_pdwStubPhase);
  1723. /* [propget] */ HRESULT STDMETHODCALLTYPE IVideoWindow_get_BorderColor_Proxy(
  1724. IVideoWindow * This,
  1725. /* [retval][out] */ long *Color);
  1726. void __RPC_STUB IVideoWindow_get_BorderColor_Stub(
  1727. IRpcStubBuffer *This,
  1728. IRpcChannelBuffer *_pRpcChannelBuffer,
  1729. PRPC_MESSAGE _pRpcMessage,
  1730. DWORD *_pdwStubPhase);
  1731. /* [propput] */ HRESULT STDMETHODCALLTYPE IVideoWindow_put_BorderColor_Proxy(
  1732. IVideoWindow * This,
  1733. /* [in] */ long Color);
  1734. void __RPC_STUB IVideoWindow_put_BorderColor_Stub(
  1735. IRpcStubBuffer *This,
  1736. IRpcChannelBuffer *_pRpcChannelBuffer,
  1737. PRPC_MESSAGE _pRpcMessage,
  1738. DWORD *_pdwStubPhase);
  1739. /* [propget] */ HRESULT STDMETHODCALLTYPE IVideoWindow_get_FullScreenMode_Proxy(
  1740. IVideoWindow * This,
  1741. /* [retval][out] */ long *FullScreenMode);
  1742. void __RPC_STUB IVideoWindow_get_FullScreenMode_Stub(
  1743. IRpcStubBuffer *This,
  1744. IRpcChannelBuffer *_pRpcChannelBuffer,
  1745. PRPC_MESSAGE _pRpcMessage,
  1746. DWORD *_pdwStubPhase);
  1747. /* [propput] */ HRESULT STDMETHODCALLTYPE IVideoWindow_put_FullScreenMode_Proxy(
  1748. IVideoWindow * This,
  1749. /* [in] */ long FullScreenMode);
  1750. void __RPC_STUB IVideoWindow_put_FullScreenMode_Stub(
  1751. IRpcStubBuffer *This,
  1752. IRpcChannelBuffer *_pRpcChannelBuffer,
  1753. PRPC_MESSAGE _pRpcMessage,
  1754. DWORD *_pdwStubPhase);
  1755. HRESULT STDMETHODCALLTYPE IVideoWindow_SetWindowForeground_Proxy(
  1756. IVideoWindow * This,
  1757. /* [in] */ long Focus);
  1758. void __RPC_STUB IVideoWindow_SetWindowForeground_Stub(
  1759. IRpcStubBuffer *This,
  1760. IRpcChannelBuffer *_pRpcChannelBuffer,
  1761. PRPC_MESSAGE _pRpcMessage,
  1762. DWORD *_pdwStubPhase);
  1763. HRESULT STDMETHODCALLTYPE IVideoWindow_NotifyOwnerMessage_Proxy(
  1764. IVideoWindow * This,
  1765. /* [in] */ OAHWND hwnd,
  1766. /* [in] */ long uMsg,
  1767. /* [in] */ LONG_PTR wParam,
  1768. /* [in] */ LONG_PTR lParam);
  1769. void __RPC_STUB IVideoWindow_NotifyOwnerMessage_Stub(
  1770. IRpcStubBuffer *This,
  1771. IRpcChannelBuffer *_pRpcChannelBuffer,
  1772. PRPC_MESSAGE _pRpcMessage,
  1773. DWORD *_pdwStubPhase);
  1774. HRESULT STDMETHODCALLTYPE IVideoWindow_SetWindowPosition_Proxy(
  1775. IVideoWindow * This,
  1776. /* [in] */ long Left,
  1777. /* [in] */ long Top,
  1778. /* [in] */ long Width,
  1779. /* [in] */ long Height);
  1780. void __RPC_STUB IVideoWindow_SetWindowPosition_Stub(
  1781. IRpcStubBuffer *This,
  1782. IRpcChannelBuffer *_pRpcChannelBuffer,
  1783. PRPC_MESSAGE _pRpcMessage,
  1784. DWORD *_pdwStubPhase);
  1785. HRESULT STDMETHODCALLTYPE IVideoWindow_GetWindowPosition_Proxy(
  1786. IVideoWindow * This,
  1787. /* [out] */ long *pLeft,
  1788. /* [out] */ long *pTop,
  1789. /* [out] */ long *pWidth,
  1790. /* [out] */ long *pHeight);
  1791. void __RPC_STUB IVideoWindow_GetWindowPosition_Stub(
  1792. IRpcStubBuffer *This,
  1793. IRpcChannelBuffer *_pRpcChannelBuffer,
  1794. PRPC_MESSAGE _pRpcMessage,
  1795. DWORD *_pdwStubPhase);
  1796. HRESULT STDMETHODCALLTYPE IVideoWindow_GetMinIdealImageSize_Proxy(
  1797. IVideoWindow * This,
  1798. /* [out] */ long *pWidth,
  1799. /* [out] */ long *pHeight);
  1800. void __RPC_STUB IVideoWindow_GetMinIdealImageSize_Stub(
  1801. IRpcStubBuffer *This,
  1802. IRpcChannelBuffer *_pRpcChannelBuffer,
  1803. PRPC_MESSAGE _pRpcMessage,
  1804. DWORD *_pdwStubPhase);
  1805. HRESULT STDMETHODCALLTYPE IVideoWindow_GetMaxIdealImageSize_Proxy(
  1806. IVideoWindow * This,
  1807. /* [out] */ long *pWidth,
  1808. /* [out] */ long *pHeight);
  1809. void __RPC_STUB IVideoWindow_GetMaxIdealImageSize_Stub(
  1810. IRpcStubBuffer *This,
  1811. IRpcChannelBuffer *_pRpcChannelBuffer,
  1812. PRPC_MESSAGE _pRpcMessage,
  1813. DWORD *_pdwStubPhase);
  1814. HRESULT STDMETHODCALLTYPE IVideoWindow_GetRestorePosition_Proxy(
  1815. IVideoWindow * This,
  1816. /* [out] */ long *pLeft,
  1817. /* [out] */ long *pTop,
  1818. /* [out] */ long *pWidth,
  1819. /* [out] */ long *pHeight);
  1820. void __RPC_STUB IVideoWindow_GetRestorePosition_Stub(
  1821. IRpcStubBuffer *This,
  1822. IRpcChannelBuffer *_pRpcChannelBuffer,
  1823. PRPC_MESSAGE _pRpcMessage,
  1824. DWORD *_pdwStubPhase);
  1825. HRESULT STDMETHODCALLTYPE IVideoWindow_HideCursor_Proxy(
  1826. IVideoWindow * This,
  1827. /* [in] */ long HideCursor);
  1828. void __RPC_STUB IVideoWindow_HideCursor_Stub(
  1829. IRpcStubBuffer *This,
  1830. IRpcChannelBuffer *_pRpcChannelBuffer,
  1831. PRPC_MESSAGE _pRpcMessage,
  1832. DWORD *_pdwStubPhase);
  1833. HRESULT STDMETHODCALLTYPE IVideoWindow_IsCursorHidden_Proxy(
  1834. IVideoWindow * This,
  1835. /* [out] */ long *CursorHidden);
  1836. void __RPC_STUB IVideoWindow_IsCursorHidden_Stub(
  1837. IRpcStubBuffer *This,
  1838. IRpcChannelBuffer *_pRpcChannelBuffer,
  1839. PRPC_MESSAGE _pRpcMessage,
  1840. DWORD *_pdwStubPhase);
  1841. #endif /* __IVideoWindow_INTERFACE_DEFINED__ */
  1842. #ifndef __IBasicVideo_INTERFACE_DEFINED__
  1843. #define __IBasicVideo_INTERFACE_DEFINED__
  1844. /* interface IBasicVideo */
  1845. /* [object][dual][oleautomation][helpstring][uuid] */
  1846. DEFINE_GUID(IID_IBasicVideo,0x56a868b5,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);
  1847. #if defined(__cplusplus) && !defined(CINTERFACE)
  1848. MIDL_INTERFACE("56a868b5-0ad4-11ce-b03a-0020af0ba770")
  1849. IBasicVideo : public IDispatch
  1850. {
  1851. public:
  1852. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_AvgTimePerFrame(
  1853. /* [retval][out] */ REFTIME *pAvgTimePerFrame) = 0;
  1854. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_BitRate(
  1855. /* [retval][out] */ long *pBitRate) = 0;
  1856. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_BitErrorRate(
  1857. /* [retval][out] */ long *pBitErrorRate) = 0;
  1858. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_VideoWidth(
  1859. /* [retval][out] */ long *pVideoWidth) = 0;
  1860. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_VideoHeight(
  1861. /* [retval][out] */ long *pVideoHeight) = 0;
  1862. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_SourceLeft(
  1863. /* [in] */ long SourceLeft) = 0;
  1864. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_SourceLeft(
  1865. /* [retval][out] */ long *pSourceLeft) = 0;
  1866. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_SourceWidth(
  1867. /* [in] */ long SourceWidth) = 0;
  1868. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_SourceWidth(
  1869. /* [retval][out] */ long *pSourceWidth) = 0;
  1870. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_SourceTop(
  1871. /* [in] */ long SourceTop) = 0;
  1872. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_SourceTop(
  1873. /* [retval][out] */ long *pSourceTop) = 0;
  1874. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_SourceHeight(
  1875. /* [in] */ long SourceHeight) = 0;
  1876. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_SourceHeight(
  1877. /* [retval][out] */ long *pSourceHeight) = 0;
  1878. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_DestinationLeft(
  1879. /* [in] */ long DestinationLeft) = 0;
  1880. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_DestinationLeft(
  1881. /* [retval][out] */ long *pDestinationLeft) = 0;
  1882. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_DestinationWidth(
  1883. /* [in] */ long DestinationWidth) = 0;
  1884. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_DestinationWidth(
  1885. /* [retval][out] */ long *pDestinationWidth) = 0;
  1886. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_DestinationTop(
  1887. /* [in] */ long DestinationTop) = 0;
  1888. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_DestinationTop(
  1889. /* [retval][out] */ long *pDestinationTop) = 0;
  1890. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_DestinationHeight(
  1891. /* [in] */ long DestinationHeight) = 0;
  1892. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_DestinationHeight(
  1893. /* [retval][out] */ long *pDestinationHeight) = 0;
  1894. virtual HRESULT STDMETHODCALLTYPE SetSourcePosition(
  1895. /* [in] */ long Left,
  1896. /* [in] */ long Top,
  1897. /* [in] */ long Width,
  1898. /* [in] */ long Height) = 0;
  1899. virtual HRESULT STDMETHODCALLTYPE GetSourcePosition(
  1900. /* [out] */ long *pLeft,
  1901. /* [out] */ long *pTop,
  1902. /* [out] */ long *pWidth,
  1903. /* [out] */ long *pHeight) = 0;
  1904. virtual HRESULT STDMETHODCALLTYPE SetDefaultSourcePosition( void) = 0;
  1905. virtual HRESULT STDMETHODCALLTYPE SetDestinationPosition(
  1906. /* [in] */ long Left,
  1907. /* [in] */ long Top,
  1908. /* [in] */ long Width,
  1909. /* [in] */ long Height) = 0;
  1910. virtual HRESULT STDMETHODCALLTYPE GetDestinationPosition(
  1911. /* [out] */ long *pLeft,
  1912. /* [out] */ long *pTop,
  1913. /* [out] */ long *pWidth,
  1914. /* [out] */ long *pHeight) = 0;
  1915. virtual HRESULT STDMETHODCALLTYPE SetDefaultDestinationPosition( void) = 0;
  1916. virtual HRESULT STDMETHODCALLTYPE GetVideoSize(
  1917. /* [out] */ long *pWidth,
  1918. /* [out] */ long *pHeight) = 0;
  1919. virtual HRESULT STDMETHODCALLTYPE GetVideoPaletteEntries(
  1920. /* [in] */ long StartIndex,
  1921. /* [in] */ long Entries,
  1922. /* [out] */ long *pRetrieved,
  1923. /* [out] */ long *pPalette) = 0;
  1924. virtual HRESULT STDMETHODCALLTYPE GetCurrentImage(
  1925. /* [out][in] */ long *pBufferSize,
  1926. /* [out] */ long *pDIBImage) = 0;
  1927. virtual HRESULT STDMETHODCALLTYPE IsUsingDefaultSource( void) = 0;
  1928. virtual HRESULT STDMETHODCALLTYPE IsUsingDefaultDestination( void) = 0;
  1929. };
  1930. #else /* C style interface */
  1931. typedef struct IBasicVideoVtbl
  1932. {
  1933. BEGIN_INTERFACE
  1934. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1935. IBasicVideo * This,
  1936. /* [in] */ REFIID riid,
  1937. /* [iid_is][out] */ void **ppvObject);
  1938. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1939. IBasicVideo * This);
  1940. ULONG ( STDMETHODCALLTYPE *Release )(
  1941. IBasicVideo * This);
  1942. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1943. IBasicVideo * This,
  1944. /* [out] */ UINT *pctinfo);
  1945. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1946. IBasicVideo * This,
  1947. /* [in] */ UINT iTInfo,
  1948. /* [in] */ LCID lcid,
  1949. /* [out] */ ITypeInfo **ppTInfo);
  1950. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1951. IBasicVideo * This,
  1952. /* [in] */ REFIID riid,
  1953. /* [size_is][in] */ LPOLESTR *rgszNames,
  1954. /* [in] */ UINT cNames,
  1955. /* [in] */ LCID lcid,
  1956. /* [size_is][out] */ DISPID *rgDispId);
  1957. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1958. IBasicVideo * This,
  1959. /* [in] */ DISPID dispIdMember,
  1960. /* [in] */ REFIID riid,
  1961. /* [in] */ LCID lcid,
  1962. /* [in] */ WORD wFlags,
  1963. /* [out][in] */ DISPPARAMS *pDispParams,
  1964. /* [out] */ VARIANT *pVarResult,
  1965. /* [out] */ EXCEPINFO *pExcepInfo,
  1966. /* [out] */ UINT *puArgErr);
  1967. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_AvgTimePerFrame )(
  1968. IBasicVideo * This,
  1969. /* [retval][out] */ REFTIME *pAvgTimePerFrame);
  1970. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_BitRate )(
  1971. IBasicVideo * This,
  1972. /* [retval][out] */ long *pBitRate);
  1973. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_BitErrorRate )(
  1974. IBasicVideo * This,
  1975. /* [retval][out] */ long *pBitErrorRate);
  1976. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_VideoWidth )(
  1977. IBasicVideo * This,
  1978. /* [retval][out] */ long *pVideoWidth);
  1979. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_VideoHeight )(
  1980. IBasicVideo * This,
  1981. /* [retval][out] */ long *pVideoHeight);
  1982. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_SourceLeft )(
  1983. IBasicVideo * This,
  1984. /* [in] */ long SourceLeft);
  1985. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_SourceLeft )(
  1986. IBasicVideo * This,
  1987. /* [retval][out] */ long *pSourceLeft);
  1988. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_SourceWidth )(
  1989. IBasicVideo * This,
  1990. /* [in] */ long SourceWidth);
  1991. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_SourceWidth )(
  1992. IBasicVideo * This,
  1993. /* [retval][out] */ long *pSourceWidth);
  1994. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_SourceTop )(
  1995. IBasicVideo * This,
  1996. /* [in] */ long SourceTop);
  1997. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_SourceTop )(
  1998. IBasicVideo * This,
  1999. /* [retval][out] */ long *pSourceTop);
  2000. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_SourceHeight )(
  2001. IBasicVideo * This,
  2002. /* [in] */ long SourceHeight);
  2003. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_SourceHeight )(
  2004. IBasicVideo * This,
  2005. /* [retval][out] */ long *pSourceHeight);
  2006. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_DestinationLeft )(
  2007. IBasicVideo * This,
  2008. /* [in] */ long DestinationLeft);
  2009. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_DestinationLeft )(
  2010. IBasicVideo * This,
  2011. /* [retval][out] */ long *pDestinationLeft);
  2012. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_DestinationWidth )(
  2013. IBasicVideo * This,
  2014. /* [in] */ long DestinationWidth);
  2015. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_DestinationWidth )(
  2016. IBasicVideo * This,
  2017. /* [retval][out] */ long *pDestinationWidth);
  2018. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_DestinationTop )(
  2019. IBasicVideo * This,
  2020. /* [in] */ long DestinationTop);
  2021. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_DestinationTop )(
  2022. IBasicVideo * This,
  2023. /* [retval][out] */ long *pDestinationTop);
  2024. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_DestinationHeight )(
  2025. IBasicVideo * This,
  2026. /* [in] */ long DestinationHeight);
  2027. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_DestinationHeight )(
  2028. IBasicVideo * This,
  2029. /* [retval][out] */ long *pDestinationHeight);
  2030. HRESULT ( STDMETHODCALLTYPE *SetSourcePosition )(
  2031. IBasicVideo * This,
  2032. /* [in] */ long Left,
  2033. /* [in] */ long Top,
  2034. /* [in] */ long Width,
  2035. /* [in] */ long Height);
  2036. HRESULT ( STDMETHODCALLTYPE *GetSourcePosition )(
  2037. IBasicVideo * This,
  2038. /* [out] */ long *pLeft,
  2039. /* [out] */ long *pTop,
  2040. /* [out] */ long *pWidth,
  2041. /* [out] */ long *pHeight);
  2042. HRESULT ( STDMETHODCALLTYPE *SetDefaultSourcePosition )(
  2043. IBasicVideo * This);
  2044. HRESULT ( STDMETHODCALLTYPE *SetDestinationPosition )(
  2045. IBasicVideo * This,
  2046. /* [in] */ long Left,
  2047. /* [in] */ long Top,
  2048. /* [in] */ long Width,
  2049. /* [in] */ long Height);
  2050. HRESULT ( STDMETHODCALLTYPE *GetDestinationPosition )(
  2051. IBasicVideo * This,
  2052. /* [out] */ long *pLeft,
  2053. /* [out] */ long *pTop,
  2054. /* [out] */ long *pWidth,
  2055. /* [out] */ long *pHeight);
  2056. HRESULT ( STDMETHODCALLTYPE *SetDefaultDestinationPosition )(
  2057. IBasicVideo * This);
  2058. HRESULT ( STDMETHODCALLTYPE *GetVideoSize )(
  2059. IBasicVideo * This,
  2060. /* [out] */ long *pWidth,
  2061. /* [out] */ long *pHeight);
  2062. HRESULT ( STDMETHODCALLTYPE *GetVideoPaletteEntries )(
  2063. IBasicVideo * This,
  2064. /* [in] */ long StartIndex,
  2065. /* [in] */ long Entries,
  2066. /* [out] */ long *pRetrieved,
  2067. /* [out] */ long *pPalette);
  2068. HRESULT ( STDMETHODCALLTYPE *GetCurrentImage )(
  2069. IBasicVideo * This,
  2070. /* [out][in] */ long *pBufferSize,
  2071. /* [out] */ long *pDIBImage);
  2072. HRESULT ( STDMETHODCALLTYPE *IsUsingDefaultSource )(
  2073. IBasicVideo * This);
  2074. HRESULT ( STDMETHODCALLTYPE *IsUsingDefaultDestination )(
  2075. IBasicVideo * This);
  2076. END_INTERFACE
  2077. } IBasicVideoVtbl;
  2078. interface IBasicVideo
  2079. {
  2080. CONST_VTBL struct IBasicVideoVtbl *lpVtbl;
  2081. };
  2082. #ifdef COBJMACROS
  2083. #define IBasicVideo_QueryInterface(This,riid,ppvObject) \
  2084. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2085. #define IBasicVideo_AddRef(This) \
  2086. (This)->lpVtbl -> AddRef(This)
  2087. #define IBasicVideo_Release(This) \
  2088. (This)->lpVtbl -> Release(This)
  2089. #define IBasicVideo_GetTypeInfoCount(This,pctinfo) \
  2090. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2091. #define IBasicVideo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2092. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2093. #define IBasicVideo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2094. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2095. #define IBasicVideo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2096. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2097. #define IBasicVideo_get_AvgTimePerFrame(This,pAvgTimePerFrame) \
  2098. (This)->lpVtbl -> get_AvgTimePerFrame(This,pAvgTimePerFrame)
  2099. #define IBasicVideo_get_BitRate(This,pBitRate) \
  2100. (This)->lpVtbl -> get_BitRate(This,pBitRate)
  2101. #define IBasicVideo_get_BitErrorRate(This,pBitErrorRate) \
  2102. (This)->lpVtbl -> get_BitErrorRate(This,pBitErrorRate)
  2103. #define IBasicVideo_get_VideoWidth(This,pVideoWidth) \
  2104. (This)->lpVtbl -> get_VideoWidth(This,pVideoWidth)
  2105. #define IBasicVideo_get_VideoHeight(This,pVideoHeight) \
  2106. (This)->lpVtbl -> get_VideoHeight(This,pVideoHeight)
  2107. #define IBasicVideo_put_SourceLeft(This,SourceLeft) \
  2108. (This)->lpVtbl -> put_SourceLeft(This,SourceLeft)
  2109. #define IBasicVideo_get_SourceLeft(This,pSourceLeft) \
  2110. (This)->lpVtbl -> get_SourceLeft(This,pSourceLeft)
  2111. #define IBasicVideo_put_SourceWidth(This,SourceWidth) \
  2112. (This)->lpVtbl -> put_SourceWidth(This,SourceWidth)
  2113. #define IBasicVideo_get_SourceWidth(This,pSourceWidth) \
  2114. (This)->lpVtbl -> get_SourceWidth(This,pSourceWidth)
  2115. #define IBasicVideo_put_SourceTop(This,SourceTop) \
  2116. (This)->lpVtbl -> put_SourceTop(This,SourceTop)
  2117. #define IBasicVideo_get_SourceTop(This,pSourceTop) \
  2118. (This)->lpVtbl -> get_SourceTop(This,pSourceTop)
  2119. #define IBasicVideo_put_SourceHeight(This,SourceHeight) \
  2120. (This)->lpVtbl -> put_SourceHeight(This,SourceHeight)
  2121. #define IBasicVideo_get_SourceHeight(This,pSourceHeight) \
  2122. (This)->lpVtbl -> get_SourceHeight(This,pSourceHeight)
  2123. #define IBasicVideo_put_DestinationLeft(This,DestinationLeft) \
  2124. (This)->lpVtbl -> put_DestinationLeft(This,DestinationLeft)
  2125. #define IBasicVideo_get_DestinationLeft(This,pDestinationLeft) \
  2126. (This)->lpVtbl -> get_DestinationLeft(This,pDestinationLeft)
  2127. #define IBasicVideo_put_DestinationWidth(This,DestinationWidth) \
  2128. (This)->lpVtbl -> put_DestinationWidth(This,DestinationWidth)
  2129. #define IBasicVideo_get_DestinationWidth(This,pDestinationWidth) \
  2130. (This)->lpVtbl -> get_DestinationWidth(This,pDestinationWidth)
  2131. #define IBasicVideo_put_DestinationTop(This,DestinationTop) \
  2132. (This)->lpVtbl -> put_DestinationTop(This,DestinationTop)
  2133. #define IBasicVideo_get_DestinationTop(This,pDestinationTop) \
  2134. (This)->lpVtbl -> get_DestinationTop(This,pDestinationTop)
  2135. #define IBasicVideo_put_DestinationHeight(This,DestinationHeight) \
  2136. (This)->lpVtbl -> put_DestinationHeight(This,DestinationHeight)
  2137. #define IBasicVideo_get_DestinationHeight(This,pDestinationHeight) \
  2138. (This)->lpVtbl -> get_DestinationHeight(This,pDestinationHeight)
  2139. #define IBasicVideo_SetSourcePosition(This,Left,Top,Width,Height) \
  2140. (This)->lpVtbl -> SetSourcePosition(This,Left,Top,Width,Height)
  2141. #define IBasicVideo_GetSourcePosition(This,pLeft,pTop,pWidth,pHeight) \
  2142. (This)->lpVtbl -> GetSourcePosition(This,pLeft,pTop,pWidth,pHeight)
  2143. #define IBasicVideo_SetDefaultSourcePosition(This) \
  2144. (This)->lpVtbl -> SetDefaultSourcePosition(This)
  2145. #define IBasicVideo_SetDestinationPosition(This,Left,Top,Width,Height) \
  2146. (This)->lpVtbl -> SetDestinationPosition(This,Left,Top,Width,Height)
  2147. #define IBasicVideo_GetDestinationPosition(This,pLeft,pTop,pWidth,pHeight) \
  2148. (This)->lpVtbl -> GetDestinationPosition(This,pLeft,pTop,pWidth,pHeight)
  2149. #define IBasicVideo_SetDefaultDestinationPosition(This) \
  2150. (This)->lpVtbl -> SetDefaultDestinationPosition(This)
  2151. #define IBasicVideo_GetVideoSize(This,pWidth,pHeight) \
  2152. (This)->lpVtbl -> GetVideoSize(This,pWidth,pHeight)
  2153. #define IBasicVideo_GetVideoPaletteEntries(This,StartIndex,Entries,pRetrieved,pPalette) \
  2154. (This)->lpVtbl -> GetVideoPaletteEntries(This,StartIndex,Entries,pRetrieved,pPalette)
  2155. #define IBasicVideo_GetCurrentImage(This,pBufferSize,pDIBImage) \
  2156. (This)->lpVtbl -> GetCurrentImage(This,pBufferSize,pDIBImage)
  2157. #define IBasicVideo_IsUsingDefaultSource(This) \
  2158. (This)->lpVtbl -> IsUsingDefaultSource(This)
  2159. #define IBasicVideo_IsUsingDefaultDestination(This) \
  2160. (This)->lpVtbl -> IsUsingDefaultDestination(This)
  2161. #endif /* COBJMACROS */
  2162. #endif /* C style interface */
  2163. /* [propget] */ HRESULT STDMETHODCALLTYPE IBasicVideo_get_AvgTimePerFrame_Proxy(
  2164. IBasicVideo * This,
  2165. /* [retval][out] */ REFTIME *pAvgTimePerFrame);
  2166. void __RPC_STUB IBasicVideo_get_AvgTimePerFrame_Stub(
  2167. IRpcStubBuffer *This,
  2168. IRpcChannelBuffer *_pRpcChannelBuffer,
  2169. PRPC_MESSAGE _pRpcMessage,
  2170. DWORD *_pdwStubPhase);
  2171. /* [propget] */ HRESULT STDMETHODCALLTYPE IBasicVideo_get_BitRate_Proxy(
  2172. IBasicVideo * This,
  2173. /* [retval][out] */ long *pBitRate);
  2174. void __RPC_STUB IBasicVideo_get_BitRate_Stub(
  2175. IRpcStubBuffer *This,
  2176. IRpcChannelBuffer *_pRpcChannelBuffer,
  2177. PRPC_MESSAGE _pRpcMessage,
  2178. DWORD *_pdwStubPhase);
  2179. /* [propget] */ HRESULT STDMETHODCALLTYPE IBasicVideo_get_BitErrorRate_Proxy(
  2180. IBasicVideo * This,
  2181. /* [retval][out] */ long *pBitErrorRate);
  2182. void __RPC_STUB IBasicVideo_get_BitErrorRate_Stub(
  2183. IRpcStubBuffer *This,
  2184. IRpcChannelBuffer *_pRpcChannelBuffer,
  2185. PRPC_MESSAGE _pRpcMessage,
  2186. DWORD *_pdwStubPhase);
  2187. /* [propget] */ HRESULT STDMETHODCALLTYPE IBasicVideo_get_VideoWidth_Proxy(
  2188. IBasicVideo * This,
  2189. /* [retval][out] */ long *pVideoWidth);
  2190. void __RPC_STUB IBasicVideo_get_VideoWidth_Stub(
  2191. IRpcStubBuffer *This,
  2192. IRpcChannelBuffer *_pRpcChannelBuffer,
  2193. PRPC_MESSAGE _pRpcMessage,
  2194. DWORD *_pdwStubPhase);
  2195. /* [propget] */ HRESULT STDMETHODCALLTYPE IBasicVideo_get_VideoHeight_Proxy(
  2196. IBasicVideo * This,
  2197. /* [retval][out] */ long *pVideoHeight);
  2198. void __RPC_STUB IBasicVideo_get_VideoHeight_Stub(
  2199. IRpcStubBuffer *This,
  2200. IRpcChannelBuffer *_pRpcChannelBuffer,
  2201. PRPC_MESSAGE _pRpcMessage,
  2202. DWORD *_pdwStubPhase);
  2203. /* [propput] */ HRESULT STDMETHODCALLTYPE IBasicVideo_put_SourceLeft_Proxy(
  2204. IBasicVideo * This,
  2205. /* [in] */ long SourceLeft);
  2206. void __RPC_STUB IBasicVideo_put_SourceLeft_Stub(
  2207. IRpcStubBuffer *This,
  2208. IRpcChannelBuffer *_pRpcChannelBuffer,
  2209. PRPC_MESSAGE _pRpcMessage,
  2210. DWORD *_pdwStubPhase);
  2211. /* [propget] */ HRESULT STDMETHODCALLTYPE IBasicVideo_get_SourceLeft_Proxy(
  2212. IBasicVideo * This,
  2213. /* [retval][out] */ long *pSourceLeft);
  2214. void __RPC_STUB IBasicVideo_get_SourceLeft_Stub(
  2215. IRpcStubBuffer *This,
  2216. IRpcChannelBuffer *_pRpcChannelBuffer,
  2217. PRPC_MESSAGE _pRpcMessage,
  2218. DWORD *_pdwStubPhase);
  2219. /* [propput] */ HRESULT STDMETHODCALLTYPE IBasicVideo_put_SourceWidth_Proxy(
  2220. IBasicVideo * This,
  2221. /* [in] */ long SourceWidth);
  2222. void __RPC_STUB IBasicVideo_put_SourceWidth_Stub(
  2223. IRpcStubBuffer *This,
  2224. IRpcChannelBuffer *_pRpcChannelBuffer,
  2225. PRPC_MESSAGE _pRpcMessage,
  2226. DWORD *_pdwStubPhase);
  2227. /* [propget] */ HRESULT STDMETHODCALLTYPE IBasicVideo_get_SourceWidth_Proxy(
  2228. IBasicVideo * This,
  2229. /* [retval][out] */ long *pSourceWidth);
  2230. void __RPC_STUB IBasicVideo_get_SourceWidth_Stub(
  2231. IRpcStubBuffer *This,
  2232. IRpcChannelBuffer *_pRpcChannelBuffer,
  2233. PRPC_MESSAGE _pRpcMessage,
  2234. DWORD *_pdwStubPhase);
  2235. /* [propput] */ HRESULT STDMETHODCALLTYPE IBasicVideo_put_SourceTop_Proxy(
  2236. IBasicVideo * This,
  2237. /* [in] */ long SourceTop);
  2238. void __RPC_STUB IBasicVideo_put_SourceTop_Stub(
  2239. IRpcStubBuffer *This,
  2240. IRpcChannelBuffer *_pRpcChannelBuffer,
  2241. PRPC_MESSAGE _pRpcMessage,
  2242. DWORD *_pdwStubPhase);
  2243. /* [propget] */ HRESULT STDMETHODCALLTYPE IBasicVideo_get_SourceTop_Proxy(
  2244. IBasicVideo * This,
  2245. /* [retval][out] */ long *pSourceTop);
  2246. void __RPC_STUB IBasicVideo_get_SourceTop_Stub(
  2247. IRpcStubBuffer *This,
  2248. IRpcChannelBuffer *_pRpcChannelBuffer,
  2249. PRPC_MESSAGE _pRpcMessage,
  2250. DWORD *_pdwStubPhase);
  2251. /* [propput] */ HRESULT STDMETHODCALLTYPE IBasicVideo_put_SourceHeight_Proxy(
  2252. IBasicVideo * This,
  2253. /* [in] */ long SourceHeight);
  2254. void __RPC_STUB IBasicVideo_put_SourceHeight_Stub(
  2255. IRpcStubBuffer *This,
  2256. IRpcChannelBuffer *_pRpcChannelBuffer,
  2257. PRPC_MESSAGE _pRpcMessage,
  2258. DWORD *_pdwStubPhase);
  2259. /* [propget] */ HRESULT STDMETHODCALLTYPE IBasicVideo_get_SourceHeight_Proxy(
  2260. IBasicVideo * This,
  2261. /* [retval][out] */ long *pSourceHeight);
  2262. void __RPC_STUB IBasicVideo_get_SourceHeight_Stub(
  2263. IRpcStubBuffer *This,
  2264. IRpcChannelBuffer *_pRpcChannelBuffer,
  2265. PRPC_MESSAGE _pRpcMessage,
  2266. DWORD *_pdwStubPhase);
  2267. /* [propput] */ HRESULT STDMETHODCALLTYPE IBasicVideo_put_DestinationLeft_Proxy(
  2268. IBasicVideo * This,
  2269. /* [in] */ long DestinationLeft);
  2270. void __RPC_STUB IBasicVideo_put_DestinationLeft_Stub(
  2271. IRpcStubBuffer *This,
  2272. IRpcChannelBuffer *_pRpcChannelBuffer,
  2273. PRPC_MESSAGE _pRpcMessage,
  2274. DWORD *_pdwStubPhase);
  2275. /* [propget] */ HRESULT STDMETHODCALLTYPE IBasicVideo_get_DestinationLeft_Proxy(
  2276. IBasicVideo * This,
  2277. /* [retval][out] */ long *pDestinationLeft);
  2278. void __RPC_STUB IBasicVideo_get_DestinationLeft_Stub(
  2279. IRpcStubBuffer *This,
  2280. IRpcChannelBuffer *_pRpcChannelBuffer,
  2281. PRPC_MESSAGE _pRpcMessage,
  2282. DWORD *_pdwStubPhase);
  2283. /* [propput] */ HRESULT STDMETHODCALLTYPE IBasicVideo_put_DestinationWidth_Proxy(
  2284. IBasicVideo * This,
  2285. /* [in] */ long DestinationWidth);
  2286. void __RPC_STUB IBasicVideo_put_DestinationWidth_Stub(
  2287. IRpcStubBuffer *This,
  2288. IRpcChannelBuffer *_pRpcChannelBuffer,
  2289. PRPC_MESSAGE _pRpcMessage,
  2290. DWORD *_pdwStubPhase);
  2291. /* [propget] */ HRESULT STDMETHODCALLTYPE IBasicVideo_get_DestinationWidth_Proxy(
  2292. IBasicVideo * This,
  2293. /* [retval][out] */ long *pDestinationWidth);
  2294. void __RPC_STUB IBasicVideo_get_DestinationWidth_Stub(
  2295. IRpcStubBuffer *This,
  2296. IRpcChannelBuffer *_pRpcChannelBuffer,
  2297. PRPC_MESSAGE _pRpcMessage,
  2298. DWORD *_pdwStubPhase);
  2299. /* [propput] */ HRESULT STDMETHODCALLTYPE IBasicVideo_put_DestinationTop_Proxy(
  2300. IBasicVideo * This,
  2301. /* [in] */ long DestinationTop);
  2302. void __RPC_STUB IBasicVideo_put_DestinationTop_Stub(
  2303. IRpcStubBuffer *This,
  2304. IRpcChannelBuffer *_pRpcChannelBuffer,
  2305. PRPC_MESSAGE _pRpcMessage,
  2306. DWORD *_pdwStubPhase);
  2307. /* [propget] */ HRESULT STDMETHODCALLTYPE IBasicVideo_get_DestinationTop_Proxy(
  2308. IBasicVideo * This,
  2309. /* [retval][out] */ long *pDestinationTop);
  2310. void __RPC_STUB IBasicVideo_get_DestinationTop_Stub(
  2311. IRpcStubBuffer *This,
  2312. IRpcChannelBuffer *_pRpcChannelBuffer,
  2313. PRPC_MESSAGE _pRpcMessage,
  2314. DWORD *_pdwStubPhase);
  2315. /* [propput] */ HRESULT STDMETHODCALLTYPE IBasicVideo_put_DestinationHeight_Proxy(
  2316. IBasicVideo * This,
  2317. /* [in] */ long DestinationHeight);
  2318. void __RPC_STUB IBasicVideo_put_DestinationHeight_Stub(
  2319. IRpcStubBuffer *This,
  2320. IRpcChannelBuffer *_pRpcChannelBuffer,
  2321. PRPC_MESSAGE _pRpcMessage,
  2322. DWORD *_pdwStubPhase);
  2323. /* [propget] */ HRESULT STDMETHODCALLTYPE IBasicVideo_get_DestinationHeight_Proxy(
  2324. IBasicVideo * This,
  2325. /* [retval][out] */ long *pDestinationHeight);
  2326. void __RPC_STUB IBasicVideo_get_DestinationHeight_Stub(
  2327. IRpcStubBuffer *This,
  2328. IRpcChannelBuffer *_pRpcChannelBuffer,
  2329. PRPC_MESSAGE _pRpcMessage,
  2330. DWORD *_pdwStubPhase);
  2331. HRESULT STDMETHODCALLTYPE IBasicVideo_SetSourcePosition_Proxy(
  2332. IBasicVideo * This,
  2333. /* [in] */ long Left,
  2334. /* [in] */ long Top,
  2335. /* [in] */ long Width,
  2336. /* [in] */ long Height);
  2337. void __RPC_STUB IBasicVideo_SetSourcePosition_Stub(
  2338. IRpcStubBuffer *This,
  2339. IRpcChannelBuffer *_pRpcChannelBuffer,
  2340. PRPC_MESSAGE _pRpcMessage,
  2341. DWORD *_pdwStubPhase);
  2342. HRESULT STDMETHODCALLTYPE IBasicVideo_GetSourcePosition_Proxy(
  2343. IBasicVideo * This,
  2344. /* [out] */ long *pLeft,
  2345. /* [out] */ long *pTop,
  2346. /* [out] */ long *pWidth,
  2347. /* [out] */ long *pHeight);
  2348. void __RPC_STUB IBasicVideo_GetSourcePosition_Stub(
  2349. IRpcStubBuffer *This,
  2350. IRpcChannelBuffer *_pRpcChannelBuffer,
  2351. PRPC_MESSAGE _pRpcMessage,
  2352. DWORD *_pdwStubPhase);
  2353. HRESULT STDMETHODCALLTYPE IBasicVideo_SetDefaultSourcePosition_Proxy(
  2354. IBasicVideo * This);
  2355. void __RPC_STUB IBasicVideo_SetDefaultSourcePosition_Stub(
  2356. IRpcStubBuffer *This,
  2357. IRpcChannelBuffer *_pRpcChannelBuffer,
  2358. PRPC_MESSAGE _pRpcMessage,
  2359. DWORD *_pdwStubPhase);
  2360. HRESULT STDMETHODCALLTYPE IBasicVideo_SetDestinationPosition_Proxy(
  2361. IBasicVideo * This,
  2362. /* [in] */ long Left,
  2363. /* [in] */ long Top,
  2364. /* [in] */ long Width,
  2365. /* [in] */ long Height);
  2366. void __RPC_STUB IBasicVideo_SetDestinationPosition_Stub(
  2367. IRpcStubBuffer *This,
  2368. IRpcChannelBuffer *_pRpcChannelBuffer,
  2369. PRPC_MESSAGE _pRpcMessage,
  2370. DWORD *_pdwStubPhase);
  2371. HRESULT STDMETHODCALLTYPE IBasicVideo_GetDestinationPosition_Proxy(
  2372. IBasicVideo * This,
  2373. /* [out] */ long *pLeft,
  2374. /* [out] */ long *pTop,
  2375. /* [out] */ long *pWidth,
  2376. /* [out] */ long *pHeight);
  2377. void __RPC_STUB IBasicVideo_GetDestinationPosition_Stub(
  2378. IRpcStubBuffer *This,
  2379. IRpcChannelBuffer *_pRpcChannelBuffer,
  2380. PRPC_MESSAGE _pRpcMessage,
  2381. DWORD *_pdwStubPhase);
  2382. HRESULT STDMETHODCALLTYPE IBasicVideo_SetDefaultDestinationPosition_Proxy(
  2383. IBasicVideo * This);
  2384. void __RPC_STUB IBasicVideo_SetDefaultDestinationPosition_Stub(
  2385. IRpcStubBuffer *This,
  2386. IRpcChannelBuffer *_pRpcChannelBuffer,
  2387. PRPC_MESSAGE _pRpcMessage,
  2388. DWORD *_pdwStubPhase);
  2389. HRESULT STDMETHODCALLTYPE IBasicVideo_GetVideoSize_Proxy(
  2390. IBasicVideo * This,
  2391. /* [out] */ long *pWidth,
  2392. /* [out] */ long *pHeight);
  2393. void __RPC_STUB IBasicVideo_GetVideoSize_Stub(
  2394. IRpcStubBuffer *This,
  2395. IRpcChannelBuffer *_pRpcChannelBuffer,
  2396. PRPC_MESSAGE _pRpcMessage,
  2397. DWORD *_pdwStubPhase);
  2398. HRESULT STDMETHODCALLTYPE IBasicVideo_GetVideoPaletteEntries_Proxy(
  2399. IBasicVideo * This,
  2400. /* [in] */ long StartIndex,
  2401. /* [in] */ long Entries,
  2402. /* [out] */ long *pRetrieved,
  2403. /* [out] */ long *pPalette);
  2404. void __RPC_STUB IBasicVideo_GetVideoPaletteEntries_Stub(
  2405. IRpcStubBuffer *This,
  2406. IRpcChannelBuffer *_pRpcChannelBuffer,
  2407. PRPC_MESSAGE _pRpcMessage,
  2408. DWORD *_pdwStubPhase);
  2409. HRESULT STDMETHODCALLTYPE IBasicVideo_GetCurrentImage_Proxy(
  2410. IBasicVideo * This,
  2411. /* [out][in] */ long *pBufferSize,
  2412. /* [out] */ long *pDIBImage);
  2413. void __RPC_STUB IBasicVideo_GetCurrentImage_Stub(
  2414. IRpcStubBuffer *This,
  2415. IRpcChannelBuffer *_pRpcChannelBuffer,
  2416. PRPC_MESSAGE _pRpcMessage,
  2417. DWORD *_pdwStubPhase);
  2418. HRESULT STDMETHODCALLTYPE IBasicVideo_IsUsingDefaultSource_Proxy(
  2419. IBasicVideo * This);
  2420. void __RPC_STUB IBasicVideo_IsUsingDefaultSource_Stub(
  2421. IRpcStubBuffer *This,
  2422. IRpcChannelBuffer *_pRpcChannelBuffer,
  2423. PRPC_MESSAGE _pRpcMessage,
  2424. DWORD *_pdwStubPhase);
  2425. HRESULT STDMETHODCALLTYPE IBasicVideo_IsUsingDefaultDestination_Proxy(
  2426. IBasicVideo * This);
  2427. void __RPC_STUB IBasicVideo_IsUsingDefaultDestination_Stub(
  2428. IRpcStubBuffer *This,
  2429. IRpcChannelBuffer *_pRpcChannelBuffer,
  2430. PRPC_MESSAGE _pRpcMessage,
  2431. DWORD *_pdwStubPhase);
  2432. #endif /* __IBasicVideo_INTERFACE_DEFINED__ */
  2433. #ifndef __IBasicVideo2_INTERFACE_DEFINED__
  2434. #define __IBasicVideo2_INTERFACE_DEFINED__
  2435. /* interface IBasicVideo2 */
  2436. /* [object][helpstring][uuid] */
  2437. DEFINE_GUID(IID_IBasicVideo2,0x329bb360,0xf6ea,0x11d1,0x90,0x38,0x00,0xa0,0xc9,0x69,0x72,0x98);
  2438. #if defined(__cplusplus) && !defined(CINTERFACE)
  2439. MIDL_INTERFACE("329bb360-f6ea-11d1-9038-00a0c9697298")
  2440. IBasicVideo2 : public IBasicVideo
  2441. {
  2442. public:
  2443. virtual HRESULT STDMETHODCALLTYPE GetPreferredAspectRatio(
  2444. /* [out] */ long *plAspectX,
  2445. /* [out] */ long *plAspectY) = 0;
  2446. };
  2447. #else /* C style interface */
  2448. typedef struct IBasicVideo2Vtbl
  2449. {
  2450. BEGIN_INTERFACE
  2451. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2452. IBasicVideo2 * This,
  2453. /* [in] */ REFIID riid,
  2454. /* [iid_is][out] */ void **ppvObject);
  2455. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2456. IBasicVideo2 * This);
  2457. ULONG ( STDMETHODCALLTYPE *Release )(
  2458. IBasicVideo2 * This);
  2459. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2460. IBasicVideo2 * This,
  2461. /* [out] */ UINT *pctinfo);
  2462. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2463. IBasicVideo2 * This,
  2464. /* [in] */ UINT iTInfo,
  2465. /* [in] */ LCID lcid,
  2466. /* [out] */ ITypeInfo **ppTInfo);
  2467. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2468. IBasicVideo2 * This,
  2469. /* [in] */ REFIID riid,
  2470. /* [size_is][in] */ LPOLESTR *rgszNames,
  2471. /* [in] */ UINT cNames,
  2472. /* [in] */ LCID lcid,
  2473. /* [size_is][out] */ DISPID *rgDispId);
  2474. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2475. IBasicVideo2 * This,
  2476. /* [in] */ DISPID dispIdMember,
  2477. /* [in] */ REFIID riid,
  2478. /* [in] */ LCID lcid,
  2479. /* [in] */ WORD wFlags,
  2480. /* [out][in] */ DISPPARAMS *pDispParams,
  2481. /* [out] */ VARIANT *pVarResult,
  2482. /* [out] */ EXCEPINFO *pExcepInfo,
  2483. /* [out] */ UINT *puArgErr);
  2484. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_AvgTimePerFrame )(
  2485. IBasicVideo2 * This,
  2486. /* [retval][out] */ REFTIME *pAvgTimePerFrame);
  2487. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_BitRate )(
  2488. IBasicVideo2 * This,
  2489. /* [retval][out] */ long *pBitRate);
  2490. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_BitErrorRate )(
  2491. IBasicVideo2 * This,
  2492. /* [retval][out] */ long *pBitErrorRate);
  2493. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_VideoWidth )(
  2494. IBasicVideo2 * This,
  2495. /* [retval][out] */ long *pVideoWidth);
  2496. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_VideoHeight )(
  2497. IBasicVideo2 * This,
  2498. /* [retval][out] */ long *pVideoHeight);
  2499. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_SourceLeft )(
  2500. IBasicVideo2 * This,
  2501. /* [in] */ long SourceLeft);
  2502. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_SourceLeft )(
  2503. IBasicVideo2 * This,
  2504. /* [retval][out] */ long *pSourceLeft);
  2505. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_SourceWidth )(
  2506. IBasicVideo2 * This,
  2507. /* [in] */ long SourceWidth);
  2508. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_SourceWidth )(
  2509. IBasicVideo2 * This,
  2510. /* [retval][out] */ long *pSourceWidth);
  2511. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_SourceTop )(
  2512. IBasicVideo2 * This,
  2513. /* [in] */ long SourceTop);
  2514. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_SourceTop )(
  2515. IBasicVideo2 * This,
  2516. /* [retval][out] */ long *pSourceTop);
  2517. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_SourceHeight )(
  2518. IBasicVideo2 * This,
  2519. /* [in] */ long SourceHeight);
  2520. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_SourceHeight )(
  2521. IBasicVideo2 * This,
  2522. /* [retval][out] */ long *pSourceHeight);
  2523. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_DestinationLeft )(
  2524. IBasicVideo2 * This,
  2525. /* [in] */ long DestinationLeft);
  2526. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_DestinationLeft )(
  2527. IBasicVideo2 * This,
  2528. /* [retval][out] */ long *pDestinationLeft);
  2529. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_DestinationWidth )(
  2530. IBasicVideo2 * This,
  2531. /* [in] */ long DestinationWidth);
  2532. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_DestinationWidth )(
  2533. IBasicVideo2 * This,
  2534. /* [retval][out] */ long *pDestinationWidth);
  2535. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_DestinationTop )(
  2536. IBasicVideo2 * This,
  2537. /* [in] */ long DestinationTop);
  2538. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_DestinationTop )(
  2539. IBasicVideo2 * This,
  2540. /* [retval][out] */ long *pDestinationTop);
  2541. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_DestinationHeight )(
  2542. IBasicVideo2 * This,
  2543. /* [in] */ long DestinationHeight);
  2544. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_DestinationHeight )(
  2545. IBasicVideo2 * This,
  2546. /* [retval][out] */ long *pDestinationHeight);
  2547. HRESULT ( STDMETHODCALLTYPE *SetSourcePosition )(
  2548. IBasicVideo2 * This,
  2549. /* [in] */ long Left,
  2550. /* [in] */ long Top,
  2551. /* [in] */ long Width,
  2552. /* [in] */ long Height);
  2553. HRESULT ( STDMETHODCALLTYPE *GetSourcePosition )(
  2554. IBasicVideo2 * This,
  2555. /* [out] */ long *pLeft,
  2556. /* [out] */ long *pTop,
  2557. /* [out] */ long *pWidth,
  2558. /* [out] */ long *pHeight);
  2559. HRESULT ( STDMETHODCALLTYPE *SetDefaultSourcePosition )(
  2560. IBasicVideo2 * This);
  2561. HRESULT ( STDMETHODCALLTYPE *SetDestinationPosition )(
  2562. IBasicVideo2 * This,
  2563. /* [in] */ long Left,
  2564. /* [in] */ long Top,
  2565. /* [in] */ long Width,
  2566. /* [in] */ long Height);
  2567. HRESULT ( STDMETHODCALLTYPE *GetDestinationPosition )(
  2568. IBasicVideo2 * This,
  2569. /* [out] */ long *pLeft,
  2570. /* [out] */ long *pTop,
  2571. /* [out] */ long *pWidth,
  2572. /* [out] */ long *pHeight);
  2573. HRESULT ( STDMETHODCALLTYPE *SetDefaultDestinationPosition )(
  2574. IBasicVideo2 * This);
  2575. HRESULT ( STDMETHODCALLTYPE *GetVideoSize )(
  2576. IBasicVideo2 * This,
  2577. /* [out] */ long *pWidth,
  2578. /* [out] */ long *pHeight);
  2579. HRESULT ( STDMETHODCALLTYPE *GetVideoPaletteEntries )(
  2580. IBasicVideo2 * This,
  2581. /* [in] */ long StartIndex,
  2582. /* [in] */ long Entries,
  2583. /* [out] */ long *pRetrieved,
  2584. /* [out] */ long *pPalette);
  2585. HRESULT ( STDMETHODCALLTYPE *GetCurrentImage )(
  2586. IBasicVideo2 * This,
  2587. /* [out][in] */ long *pBufferSize,
  2588. /* [out] */ long *pDIBImage);
  2589. HRESULT ( STDMETHODCALLTYPE *IsUsingDefaultSource )(
  2590. IBasicVideo2 * This);
  2591. HRESULT ( STDMETHODCALLTYPE *IsUsingDefaultDestination )(
  2592. IBasicVideo2 * This);
  2593. HRESULT ( STDMETHODCALLTYPE *GetPreferredAspectRatio )(
  2594. IBasicVideo2 * This,
  2595. /* [out] */ long *plAspectX,
  2596. /* [out] */ long *plAspectY);
  2597. END_INTERFACE
  2598. } IBasicVideo2Vtbl;
  2599. interface IBasicVideo2
  2600. {
  2601. CONST_VTBL struct IBasicVideo2Vtbl *lpVtbl;
  2602. };
  2603. #ifdef COBJMACROS
  2604. #define IBasicVideo2_QueryInterface(This,riid,ppvObject) \
  2605. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2606. #define IBasicVideo2_AddRef(This) \
  2607. (This)->lpVtbl -> AddRef(This)
  2608. #define IBasicVideo2_Release(This) \
  2609. (This)->lpVtbl -> Release(This)
  2610. #define IBasicVideo2_GetTypeInfoCount(This,pctinfo) \
  2611. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2612. #define IBasicVideo2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2613. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2614. #define IBasicVideo2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2615. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2616. #define IBasicVideo2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2617. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2618. #define IBasicVideo2_get_AvgTimePerFrame(This,pAvgTimePerFrame) \
  2619. (This)->lpVtbl -> get_AvgTimePerFrame(This,pAvgTimePerFrame)
  2620. #define IBasicVideo2_get_BitRate(This,pBitRate) \
  2621. (This)->lpVtbl -> get_BitRate(This,pBitRate)
  2622. #define IBasicVideo2_get_BitErrorRate(This,pBitErrorRate) \
  2623. (This)->lpVtbl -> get_BitErrorRate(This,pBitErrorRate)
  2624. #define IBasicVideo2_get_VideoWidth(This,pVideoWidth) \
  2625. (This)->lpVtbl -> get_VideoWidth(This,pVideoWidth)
  2626. #define IBasicVideo2_get_VideoHeight(This,pVideoHeight) \
  2627. (This)->lpVtbl -> get_VideoHeight(This,pVideoHeight)
  2628. #define IBasicVideo2_put_SourceLeft(This,SourceLeft) \
  2629. (This)->lpVtbl -> put_SourceLeft(This,SourceLeft)
  2630. #define IBasicVideo2_get_SourceLeft(This,pSourceLeft) \
  2631. (This)->lpVtbl -> get_SourceLeft(This,pSourceLeft)
  2632. #define IBasicVideo2_put_SourceWidth(This,SourceWidth) \
  2633. (This)->lpVtbl -> put_SourceWidth(This,SourceWidth)
  2634. #define IBasicVideo2_get_SourceWidth(This,pSourceWidth) \
  2635. (This)->lpVtbl -> get_SourceWidth(This,pSourceWidth)
  2636. #define IBasicVideo2_put_SourceTop(This,SourceTop) \
  2637. (This)->lpVtbl -> put_SourceTop(This,SourceTop)
  2638. #define IBasicVideo2_get_SourceTop(This,pSourceTop) \
  2639. (This)->lpVtbl -> get_SourceTop(This,pSourceTop)
  2640. #define IBasicVideo2_put_SourceHeight(This,SourceHeight) \
  2641. (This)->lpVtbl -> put_SourceHeight(This,SourceHeight)
  2642. #define IBasicVideo2_get_SourceHeight(This,pSourceHeight) \
  2643. (This)->lpVtbl -> get_SourceHeight(This,pSourceHeight)
  2644. #define IBasicVideo2_put_DestinationLeft(This,DestinationLeft) \
  2645. (This)->lpVtbl -> put_DestinationLeft(This,DestinationLeft)
  2646. #define IBasicVideo2_get_DestinationLeft(This,pDestinationLeft) \
  2647. (This)->lpVtbl -> get_DestinationLeft(This,pDestinationLeft)
  2648. #define IBasicVideo2_put_DestinationWidth(This,DestinationWidth) \
  2649. (This)->lpVtbl -> put_DestinationWidth(This,DestinationWidth)
  2650. #define IBasicVideo2_get_DestinationWidth(This,pDestinationWidth) \
  2651. (This)->lpVtbl -> get_DestinationWidth(This,pDestinationWidth)
  2652. #define IBasicVideo2_put_DestinationTop(This,DestinationTop) \
  2653. (This)->lpVtbl -> put_DestinationTop(This,DestinationTop)
  2654. #define IBasicVideo2_get_DestinationTop(This,pDestinationTop) \
  2655. (This)->lpVtbl -> get_DestinationTop(This,pDestinationTop)
  2656. #define IBasicVideo2_put_DestinationHeight(This,DestinationHeight) \
  2657. (This)->lpVtbl -> put_DestinationHeight(This,DestinationHeight)
  2658. #define IBasicVideo2_get_DestinationHeight(This,pDestinationHeight) \
  2659. (This)->lpVtbl -> get_DestinationHeight(This,pDestinationHeight)
  2660. #define IBasicVideo2_SetSourcePosition(This,Left,Top,Width,Height) \
  2661. (This)->lpVtbl -> SetSourcePosition(This,Left,Top,Width,Height)
  2662. #define IBasicVideo2_GetSourcePosition(This,pLeft,pTop,pWidth,pHeight) \
  2663. (This)->lpVtbl -> GetSourcePosition(This,pLeft,pTop,pWidth,pHeight)
  2664. #define IBasicVideo2_SetDefaultSourcePosition(This) \
  2665. (This)->lpVtbl -> SetDefaultSourcePosition(This)
  2666. #define IBasicVideo2_SetDestinationPosition(This,Left,Top,Width,Height) \
  2667. (This)->lpVtbl -> SetDestinationPosition(This,Left,Top,Width,Height)
  2668. #define IBasicVideo2_GetDestinationPosition(This,pLeft,pTop,pWidth,pHeight) \
  2669. (This)->lpVtbl -> GetDestinationPosition(This,pLeft,pTop,pWidth,pHeight)
  2670. #define IBasicVideo2_SetDefaultDestinationPosition(This) \
  2671. (This)->lpVtbl -> SetDefaultDestinationPosition(This)
  2672. #define IBasicVideo2_GetVideoSize(This,pWidth,pHeight) \
  2673. (This)->lpVtbl -> GetVideoSize(This,pWidth,pHeight)
  2674. #define IBasicVideo2_GetVideoPaletteEntries(This,StartIndex,Entries,pRetrieved,pPalette) \
  2675. (This)->lpVtbl -> GetVideoPaletteEntries(This,StartIndex,Entries,pRetrieved,pPalette)
  2676. #define IBasicVideo2_GetCurrentImage(This,pBufferSize,pDIBImage) \
  2677. (This)->lpVtbl -> GetCurrentImage(This,pBufferSize,pDIBImage)
  2678. #define IBasicVideo2_IsUsingDefaultSource(This) \
  2679. (This)->lpVtbl -> IsUsingDefaultSource(This)
  2680. #define IBasicVideo2_IsUsingDefaultDestination(This) \
  2681. (This)->lpVtbl -> IsUsingDefaultDestination(This)
  2682. #define IBasicVideo2_GetPreferredAspectRatio(This,plAspectX,plAspectY) \
  2683. (This)->lpVtbl -> GetPreferredAspectRatio(This,plAspectX,plAspectY)
  2684. #endif /* COBJMACROS */
  2685. #endif /* C style interface */
  2686. HRESULT STDMETHODCALLTYPE IBasicVideo2_GetPreferredAspectRatio_Proxy(
  2687. IBasicVideo2 * This,
  2688. /* [out] */ long *plAspectX,
  2689. /* [out] */ long *plAspectY);
  2690. void __RPC_STUB IBasicVideo2_GetPreferredAspectRatio_Stub(
  2691. IRpcStubBuffer *This,
  2692. IRpcChannelBuffer *_pRpcChannelBuffer,
  2693. PRPC_MESSAGE _pRpcMessage,
  2694. DWORD *_pdwStubPhase);
  2695. #endif /* __IBasicVideo2_INTERFACE_DEFINED__ */
  2696. #ifndef __IDeferredCommand_INTERFACE_DEFINED__
  2697. #define __IDeferredCommand_INTERFACE_DEFINED__
  2698. /* interface IDeferredCommand */
  2699. /* [object][helpstring][uuid] */
  2700. DEFINE_GUID(IID_IDeferredCommand,0x56a868b8,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);
  2701. #if defined(__cplusplus) && !defined(CINTERFACE)
  2702. MIDL_INTERFACE("56a868b8-0ad4-11ce-b03a-0020af0ba770")
  2703. IDeferredCommand : public IUnknown
  2704. {
  2705. public:
  2706. virtual HRESULT STDMETHODCALLTYPE Cancel( void) = 0;
  2707. virtual HRESULT STDMETHODCALLTYPE Confidence(
  2708. /* [out] */ LONG *pConfidence) = 0;
  2709. virtual HRESULT STDMETHODCALLTYPE Postpone(
  2710. /* [in] */ REFTIME newtime) = 0;
  2711. virtual HRESULT STDMETHODCALLTYPE GetHResult(
  2712. /* [out] */ HRESULT *phrResult) = 0;
  2713. };
  2714. #else /* C style interface */
  2715. typedef struct IDeferredCommandVtbl
  2716. {
  2717. BEGIN_INTERFACE
  2718. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2719. IDeferredCommand * This,
  2720. /* [in] */ REFIID riid,
  2721. /* [iid_is][out] */ void **ppvObject);
  2722. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2723. IDeferredCommand * This);
  2724. ULONG ( STDMETHODCALLTYPE *Release )(
  2725. IDeferredCommand * This);
  2726. HRESULT ( STDMETHODCALLTYPE *Cancel )(
  2727. IDeferredCommand * This);
  2728. HRESULT ( STDMETHODCALLTYPE *Confidence )(
  2729. IDeferredCommand * This,
  2730. /* [out] */ LONG *pConfidence);
  2731. HRESULT ( STDMETHODCALLTYPE *Postpone )(
  2732. IDeferredCommand * This,
  2733. /* [in] */ REFTIME newtime);
  2734. HRESULT ( STDMETHODCALLTYPE *GetHResult )(
  2735. IDeferredCommand * This,
  2736. /* [out] */ HRESULT *phrResult);
  2737. END_INTERFACE
  2738. } IDeferredCommandVtbl;
  2739. interface IDeferredCommand
  2740. {
  2741. CONST_VTBL struct IDeferredCommandVtbl *lpVtbl;
  2742. };
  2743. #ifdef COBJMACROS
  2744. #define IDeferredCommand_QueryInterface(This,riid,ppvObject) \
  2745. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2746. #define IDeferredCommand_AddRef(This) \
  2747. (This)->lpVtbl -> AddRef(This)
  2748. #define IDeferredCommand_Release(This) \
  2749. (This)->lpVtbl -> Release(This)
  2750. #define IDeferredCommand_Cancel(This) \
  2751. (This)->lpVtbl -> Cancel(This)
  2752. #define IDeferredCommand_Confidence(This,pConfidence) \
  2753. (This)->lpVtbl -> Confidence(This,pConfidence)
  2754. #define IDeferredCommand_Postpone(This,newtime) \
  2755. (This)->lpVtbl -> Postpone(This,newtime)
  2756. #define IDeferredCommand_GetHResult(This,phrResult) \
  2757. (This)->lpVtbl -> GetHResult(This,phrResult)
  2758. #endif /* COBJMACROS */
  2759. #endif /* C style interface */
  2760. HRESULT STDMETHODCALLTYPE IDeferredCommand_Cancel_Proxy(
  2761. IDeferredCommand * This);
  2762. void __RPC_STUB IDeferredCommand_Cancel_Stub(
  2763. IRpcStubBuffer *This,
  2764. IRpcChannelBuffer *_pRpcChannelBuffer,
  2765. PRPC_MESSAGE _pRpcMessage,
  2766. DWORD *_pdwStubPhase);
  2767. HRESULT STDMETHODCALLTYPE IDeferredCommand_Confidence_Proxy(
  2768. IDeferredCommand * This,
  2769. /* [out] */ LONG *pConfidence);
  2770. void __RPC_STUB IDeferredCommand_Confidence_Stub(
  2771. IRpcStubBuffer *This,
  2772. IRpcChannelBuffer *_pRpcChannelBuffer,
  2773. PRPC_MESSAGE _pRpcMessage,
  2774. DWORD *_pdwStubPhase);
  2775. HRESULT STDMETHODCALLTYPE IDeferredCommand_Postpone_Proxy(
  2776. IDeferredCommand * This,
  2777. /* [in] */ REFTIME newtime);
  2778. void __RPC_STUB IDeferredCommand_Postpone_Stub(
  2779. IRpcStubBuffer *This,
  2780. IRpcChannelBuffer *_pRpcChannelBuffer,
  2781. PRPC_MESSAGE _pRpcMessage,
  2782. DWORD *_pdwStubPhase);
  2783. HRESULT STDMETHODCALLTYPE IDeferredCommand_GetHResult_Proxy(
  2784. IDeferredCommand * This,
  2785. /* [out] */ HRESULT *phrResult);
  2786. void __RPC_STUB IDeferredCommand_GetHResult_Stub(
  2787. IRpcStubBuffer *This,
  2788. IRpcChannelBuffer *_pRpcChannelBuffer,
  2789. PRPC_MESSAGE _pRpcMessage,
  2790. DWORD *_pdwStubPhase);
  2791. #endif /* __IDeferredCommand_INTERFACE_DEFINED__ */
  2792. #ifndef __IQueueCommand_INTERFACE_DEFINED__
  2793. #define __IQueueCommand_INTERFACE_DEFINED__
  2794. /* interface IQueueCommand */
  2795. /* [object][helpstring][uuid] */
  2796. DEFINE_GUID(IID_IQueueCommand,0x56a868b7,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);
  2797. #if defined(__cplusplus) && !defined(CINTERFACE)
  2798. MIDL_INTERFACE("56a868b7-0ad4-11ce-b03a-0020af0ba770")
  2799. IQueueCommand : public IUnknown
  2800. {
  2801. public:
  2802. virtual HRESULT STDMETHODCALLTYPE InvokeAtStreamTime(
  2803. /* [out] */ IDeferredCommand **pCmd,
  2804. /* [in] */ REFTIME time,
  2805. /* [in] */ GUID *iid,
  2806. /* [in] */ long dispidMethod,
  2807. /* [in] */ short wFlags,
  2808. /* [in] */ long cArgs,
  2809. /* [in] */ VARIANT *pDispParams,
  2810. /* [out][in] */ VARIANT *pvarResult,
  2811. /* [out] */ short *puArgErr) = 0;
  2812. virtual HRESULT STDMETHODCALLTYPE InvokeAtPresentationTime(
  2813. /* [out] */ IDeferredCommand **pCmd,
  2814. /* [in] */ REFTIME time,
  2815. /* [in] */ GUID *iid,
  2816. /* [in] */ long dispidMethod,
  2817. /* [in] */ short wFlags,
  2818. /* [in] */ long cArgs,
  2819. /* [in] */ VARIANT *pDispParams,
  2820. /* [out][in] */ VARIANT *pvarResult,
  2821. /* [out] */ short *puArgErr) = 0;
  2822. };
  2823. #else /* C style interface */
  2824. typedef struct IQueueCommandVtbl
  2825. {
  2826. BEGIN_INTERFACE
  2827. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2828. IQueueCommand * This,
  2829. /* [in] */ REFIID riid,
  2830. /* [iid_is][out] */ void **ppvObject);
  2831. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2832. IQueueCommand * This);
  2833. ULONG ( STDMETHODCALLTYPE *Release )(
  2834. IQueueCommand * This);
  2835. HRESULT ( STDMETHODCALLTYPE *InvokeAtStreamTime )(
  2836. IQueueCommand * This,
  2837. /* [out] */ IDeferredCommand **pCmd,
  2838. /* [in] */ REFTIME time,
  2839. /* [in] */ GUID *iid,
  2840. /* [in] */ long dispidMethod,
  2841. /* [in] */ short wFlags,
  2842. /* [in] */ long cArgs,
  2843. /* [in] */ VARIANT *pDispParams,
  2844. /* [out][in] */ VARIANT *pvarResult,
  2845. /* [out] */ short *puArgErr);
  2846. HRESULT ( STDMETHODCALLTYPE *InvokeAtPresentationTime )(
  2847. IQueueCommand * This,
  2848. /* [out] */ IDeferredCommand **pCmd,
  2849. /* [in] */ REFTIME time,
  2850. /* [in] */ GUID *iid,
  2851. /* [in] */ long dispidMethod,
  2852. /* [in] */ short wFlags,
  2853. /* [in] */ long cArgs,
  2854. /* [in] */ VARIANT *pDispParams,
  2855. /* [out][in] */ VARIANT *pvarResult,
  2856. /* [out] */ short *puArgErr);
  2857. END_INTERFACE
  2858. } IQueueCommandVtbl;
  2859. interface IQueueCommand
  2860. {
  2861. CONST_VTBL struct IQueueCommandVtbl *lpVtbl;
  2862. };
  2863. #ifdef COBJMACROS
  2864. #define IQueueCommand_QueryInterface(This,riid,ppvObject) \
  2865. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2866. #define IQueueCommand_AddRef(This) \
  2867. (This)->lpVtbl -> AddRef(This)
  2868. #define IQueueCommand_Release(This) \
  2869. (This)->lpVtbl -> Release(This)
  2870. #define IQueueCommand_InvokeAtStreamTime(This,pCmd,time,iid,dispidMethod,wFlags,cArgs,pDispParams,pvarResult,puArgErr) \
  2871. (This)->lpVtbl -> InvokeAtStreamTime(This,pCmd,time,iid,dispidMethod,wFlags,cArgs,pDispParams,pvarResult,puArgErr)
  2872. #define IQueueCommand_InvokeAtPresentationTime(This,pCmd,time,iid,dispidMethod,wFlags,cArgs,pDispParams,pvarResult,puArgErr) \
  2873. (This)->lpVtbl -> InvokeAtPresentationTime(This,pCmd,time,iid,dispidMethod,wFlags,cArgs,pDispParams,pvarResult,puArgErr)
  2874. #endif /* COBJMACROS */
  2875. #endif /* C style interface */
  2876. HRESULT STDMETHODCALLTYPE IQueueCommand_InvokeAtStreamTime_Proxy(
  2877. IQueueCommand * This,
  2878. /* [out] */ IDeferredCommand **pCmd,
  2879. /* [in] */ REFTIME time,
  2880. /* [in] */ GUID *iid,
  2881. /* [in] */ long dispidMethod,
  2882. /* [in] */ short wFlags,
  2883. /* [in] */ long cArgs,
  2884. /* [in] */ VARIANT *pDispParams,
  2885. /* [out][in] */ VARIANT *pvarResult,
  2886. /* [out] */ short *puArgErr);
  2887. void __RPC_STUB IQueueCommand_InvokeAtStreamTime_Stub(
  2888. IRpcStubBuffer *This,
  2889. IRpcChannelBuffer *_pRpcChannelBuffer,
  2890. PRPC_MESSAGE _pRpcMessage,
  2891. DWORD *_pdwStubPhase);
  2892. HRESULT STDMETHODCALLTYPE IQueueCommand_InvokeAtPresentationTime_Proxy(
  2893. IQueueCommand * This,
  2894. /* [out] */ IDeferredCommand **pCmd,
  2895. /* [in] */ REFTIME time,
  2896. /* [in] */ GUID *iid,
  2897. /* [in] */ long dispidMethod,
  2898. /* [in] */ short wFlags,
  2899. /* [in] */ long cArgs,
  2900. /* [in] */ VARIANT *pDispParams,
  2901. /* [out][in] */ VARIANT *pvarResult,
  2902. /* [out] */ short *puArgErr);
  2903. void __RPC_STUB IQueueCommand_InvokeAtPresentationTime_Stub(
  2904. IRpcStubBuffer *This,
  2905. IRpcChannelBuffer *_pRpcChannelBuffer,
  2906. PRPC_MESSAGE _pRpcMessage,
  2907. DWORD *_pdwStubPhase);
  2908. #endif /* __IQueueCommand_INTERFACE_DEFINED__ */
  2909. DEFINE_GUID(CLSID_FilgraphManager,0xe436ebb3,0x524f,0x11ce,0x9f,0x53,0x00,0x20,0xaf,0x0b,0xa7,0x70);
  2910. #ifdef __cplusplus
  2911. class DECLSPEC_UUID("e436ebb3-524f-11ce-9f53-0020af0ba770")
  2912. FilgraphManager;
  2913. #endif
  2914. #ifndef __IFilterInfo_INTERFACE_DEFINED__
  2915. #define __IFilterInfo_INTERFACE_DEFINED__
  2916. /* interface IFilterInfo */
  2917. /* [object][dual][oleautomation][helpstring][uuid] */
  2918. DEFINE_GUID(IID_IFilterInfo,0x56a868ba,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);
  2919. #if defined(__cplusplus) && !defined(CINTERFACE)
  2920. MIDL_INTERFACE("56a868ba-0ad4-11ce-b03a-0020af0ba770")
  2921. IFilterInfo : public IDispatch
  2922. {
  2923. public:
  2924. virtual HRESULT STDMETHODCALLTYPE FindPin(
  2925. /* [in] */ BSTR strPinID,
  2926. /* [out] */ IDispatch **ppUnk) = 0;
  2927. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  2928. /* [retval][out] */ BSTR *strName) = 0;
  2929. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_VendorInfo(
  2930. /* [retval][out] */ BSTR *strVendorInfo) = 0;
  2931. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Filter(
  2932. /* [retval][out] */ IUnknown **ppUnk) = 0;
  2933. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Pins(
  2934. /* [retval][out] */ IDispatch **ppUnk) = 0;
  2935. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_IsFileSource(
  2936. /* [retval][out] */ LONG *pbIsSource) = 0;
  2937. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Filename(
  2938. /* [retval][out] */ BSTR *pstrFilename) = 0;
  2939. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Filename(
  2940. /* [in] */ BSTR strFilename) = 0;
  2941. };
  2942. #else /* C style interface */
  2943. typedef struct IFilterInfoVtbl
  2944. {
  2945. BEGIN_INTERFACE
  2946. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2947. IFilterInfo * This,
  2948. /* [in] */ REFIID riid,
  2949. /* [iid_is][out] */ void **ppvObject);
  2950. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2951. IFilterInfo * This);
  2952. ULONG ( STDMETHODCALLTYPE *Release )(
  2953. IFilterInfo * This);
  2954. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2955. IFilterInfo * This,
  2956. /* [out] */ UINT *pctinfo);
  2957. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2958. IFilterInfo * This,
  2959. /* [in] */ UINT iTInfo,
  2960. /* [in] */ LCID lcid,
  2961. /* [out] */ ITypeInfo **ppTInfo);
  2962. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2963. IFilterInfo * This,
  2964. /* [in] */ REFIID riid,
  2965. /* [size_is][in] */ LPOLESTR *rgszNames,
  2966. /* [in] */ UINT cNames,
  2967. /* [in] */ LCID lcid,
  2968. /* [size_is][out] */ DISPID *rgDispId);
  2969. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2970. IFilterInfo * This,
  2971. /* [in] */ DISPID dispIdMember,
  2972. /* [in] */ REFIID riid,
  2973. /* [in] */ LCID lcid,
  2974. /* [in] */ WORD wFlags,
  2975. /* [out][in] */ DISPPARAMS *pDispParams,
  2976. /* [out] */ VARIANT *pVarResult,
  2977. /* [out] */ EXCEPINFO *pExcepInfo,
  2978. /* [out] */ UINT *puArgErr);
  2979. HRESULT ( STDMETHODCALLTYPE *FindPin )(
  2980. IFilterInfo * This,
  2981. /* [in] */ BSTR strPinID,
  2982. /* [out] */ IDispatch **ppUnk);
  2983. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  2984. IFilterInfo * This,
  2985. /* [retval][out] */ BSTR *strName);
  2986. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_VendorInfo )(
  2987. IFilterInfo * This,
  2988. /* [retval][out] */ BSTR *strVendorInfo);
  2989. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Filter )(
  2990. IFilterInfo * This,
  2991. /* [retval][out] */ IUnknown **ppUnk);
  2992. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Pins )(
  2993. IFilterInfo * This,
  2994. /* [retval][out] */ IDispatch **ppUnk);
  2995. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsFileSource )(
  2996. IFilterInfo * This,
  2997. /* [retval][out] */ LONG *pbIsSource);
  2998. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Filename )(
  2999. IFilterInfo * This,
  3000. /* [retval][out] */ BSTR *pstrFilename);
  3001. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Filename )(
  3002. IFilterInfo * This,
  3003. /* [in] */ BSTR strFilename);
  3004. END_INTERFACE
  3005. } IFilterInfoVtbl;
  3006. interface IFilterInfo
  3007. {
  3008. CONST_VTBL struct IFilterInfoVtbl *lpVtbl;
  3009. };
  3010. #ifdef COBJMACROS
  3011. #define IFilterInfo_QueryInterface(This,riid,ppvObject) \
  3012. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3013. #define IFilterInfo_AddRef(This) \
  3014. (This)->lpVtbl -> AddRef(This)
  3015. #define IFilterInfo_Release(This) \
  3016. (This)->lpVtbl -> Release(This)
  3017. #define IFilterInfo_GetTypeInfoCount(This,pctinfo) \
  3018. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3019. #define IFilterInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3020. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3021. #define IFilterInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3022. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3023. #define IFilterInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3024. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3025. #define IFilterInfo_FindPin(This,strPinID,ppUnk) \
  3026. (This)->lpVtbl -> FindPin(This,strPinID,ppUnk)
  3027. #define IFilterInfo_get_Name(This,strName) \
  3028. (This)->lpVtbl -> get_Name(This,strName)
  3029. #define IFilterInfo_get_VendorInfo(This,strVendorInfo) \
  3030. (This)->lpVtbl -> get_VendorInfo(This,strVendorInfo)
  3031. #define IFilterInfo_get_Filter(This,ppUnk) \
  3032. (This)->lpVtbl -> get_Filter(This,ppUnk)
  3033. #define IFilterInfo_get_Pins(This,ppUnk) \
  3034. (This)->lpVtbl -> get_Pins(This,ppUnk)
  3035. #define IFilterInfo_get_IsFileSource(This,pbIsSource) \
  3036. (This)->lpVtbl -> get_IsFileSource(This,pbIsSource)
  3037. #define IFilterInfo_get_Filename(This,pstrFilename) \
  3038. (This)->lpVtbl -> get_Filename(This,pstrFilename)
  3039. #define IFilterInfo_put_Filename(This,strFilename) \
  3040. (This)->lpVtbl -> put_Filename(This,strFilename)
  3041. #endif /* COBJMACROS */
  3042. #endif /* C style interface */
  3043. HRESULT STDMETHODCALLTYPE IFilterInfo_FindPin_Proxy(
  3044. IFilterInfo * This,
  3045. /* [in] */ BSTR strPinID,
  3046. /* [out] */ IDispatch **ppUnk);
  3047. void __RPC_STUB IFilterInfo_FindPin_Stub(
  3048. IRpcStubBuffer *This,
  3049. IRpcChannelBuffer *_pRpcChannelBuffer,
  3050. PRPC_MESSAGE _pRpcMessage,
  3051. DWORD *_pdwStubPhase);
  3052. /* [propget] */ HRESULT STDMETHODCALLTYPE IFilterInfo_get_Name_Proxy(
  3053. IFilterInfo * This,
  3054. /* [retval][out] */ BSTR *strName);
  3055. void __RPC_STUB IFilterInfo_get_Name_Stub(
  3056. IRpcStubBuffer *This,
  3057. IRpcChannelBuffer *_pRpcChannelBuffer,
  3058. PRPC_MESSAGE _pRpcMessage,
  3059. DWORD *_pdwStubPhase);
  3060. /* [propget] */ HRESULT STDMETHODCALLTYPE IFilterInfo_get_VendorInfo_Proxy(
  3061. IFilterInfo * This,
  3062. /* [retval][out] */ BSTR *strVendorInfo);
  3063. void __RPC_STUB IFilterInfo_get_VendorInfo_Stub(
  3064. IRpcStubBuffer *This,
  3065. IRpcChannelBuffer *_pRpcChannelBuffer,
  3066. PRPC_MESSAGE _pRpcMessage,
  3067. DWORD *_pdwStubPhase);
  3068. /* [propget] */ HRESULT STDMETHODCALLTYPE IFilterInfo_get_Filter_Proxy(
  3069. IFilterInfo * This,
  3070. /* [retval][out] */ IUnknown **ppUnk);
  3071. void __RPC_STUB IFilterInfo_get_Filter_Stub(
  3072. IRpcStubBuffer *This,
  3073. IRpcChannelBuffer *_pRpcChannelBuffer,
  3074. PRPC_MESSAGE _pRpcMessage,
  3075. DWORD *_pdwStubPhase);
  3076. /* [propget] */ HRESULT STDMETHODCALLTYPE IFilterInfo_get_Pins_Proxy(
  3077. IFilterInfo * This,
  3078. /* [retval][out] */ IDispatch **ppUnk);
  3079. void __RPC_STUB IFilterInfo_get_Pins_Stub(
  3080. IRpcStubBuffer *This,
  3081. IRpcChannelBuffer *_pRpcChannelBuffer,
  3082. PRPC_MESSAGE _pRpcMessage,
  3083. DWORD *_pdwStubPhase);
  3084. /* [propget] */ HRESULT STDMETHODCALLTYPE IFilterInfo_get_IsFileSource_Proxy(
  3085. IFilterInfo * This,
  3086. /* [retval][out] */ LONG *pbIsSource);
  3087. void __RPC_STUB IFilterInfo_get_IsFileSource_Stub(
  3088. IRpcStubBuffer *This,
  3089. IRpcChannelBuffer *_pRpcChannelBuffer,
  3090. PRPC_MESSAGE _pRpcMessage,
  3091. DWORD *_pdwStubPhase);
  3092. /* [propget] */ HRESULT STDMETHODCALLTYPE IFilterInfo_get_Filename_Proxy(
  3093. IFilterInfo * This,
  3094. /* [retval][out] */ BSTR *pstrFilename);
  3095. void __RPC_STUB IFilterInfo_get_Filename_Stub(
  3096. IRpcStubBuffer *This,
  3097. IRpcChannelBuffer *_pRpcChannelBuffer,
  3098. PRPC_MESSAGE _pRpcMessage,
  3099. DWORD *_pdwStubPhase);
  3100. /* [propput] */ HRESULT STDMETHODCALLTYPE IFilterInfo_put_Filename_Proxy(
  3101. IFilterInfo * This,
  3102. /* [in] */ BSTR strFilename);
  3103. void __RPC_STUB IFilterInfo_put_Filename_Stub(
  3104. IRpcStubBuffer *This,
  3105. IRpcChannelBuffer *_pRpcChannelBuffer,
  3106. PRPC_MESSAGE _pRpcMessage,
  3107. DWORD *_pdwStubPhase);
  3108. #endif /* __IFilterInfo_INTERFACE_DEFINED__ */
  3109. #ifndef __IRegFilterInfo_INTERFACE_DEFINED__
  3110. #define __IRegFilterInfo_INTERFACE_DEFINED__
  3111. /* interface IRegFilterInfo */
  3112. /* [object][dual][oleautomation][helpstring][uuid] */
  3113. DEFINE_GUID(IID_IRegFilterInfo,0x56a868bb,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);
  3114. #if defined(__cplusplus) && !defined(CINTERFACE)
  3115. MIDL_INTERFACE("56a868bb-0ad4-11ce-b03a-0020af0ba770")
  3116. IRegFilterInfo : public IDispatch
  3117. {
  3118. public:
  3119. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  3120. /* [retval][out] */ BSTR *strName) = 0;
  3121. virtual HRESULT STDMETHODCALLTYPE Filter(
  3122. /* [out] */ IDispatch **ppUnk) = 0;
  3123. };
  3124. #else /* C style interface */
  3125. typedef struct IRegFilterInfoVtbl
  3126. {
  3127. BEGIN_INTERFACE
  3128. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3129. IRegFilterInfo * This,
  3130. /* [in] */ REFIID riid,
  3131. /* [iid_is][out] */ void **ppvObject);
  3132. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3133. IRegFilterInfo * This);
  3134. ULONG ( STDMETHODCALLTYPE *Release )(
  3135. IRegFilterInfo * This);
  3136. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3137. IRegFilterInfo * This,
  3138. /* [out] */ UINT *pctinfo);
  3139. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3140. IRegFilterInfo * This,
  3141. /* [in] */ UINT iTInfo,
  3142. /* [in] */ LCID lcid,
  3143. /* [out] */ ITypeInfo **ppTInfo);
  3144. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3145. IRegFilterInfo * This,
  3146. /* [in] */ REFIID riid,
  3147. /* [size_is][in] */ LPOLESTR *rgszNames,
  3148. /* [in] */ UINT cNames,
  3149. /* [in] */ LCID lcid,
  3150. /* [size_is][out] */ DISPID *rgDispId);
  3151. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3152. IRegFilterInfo * This,
  3153. /* [in] */ DISPID dispIdMember,
  3154. /* [in] */ REFIID riid,
  3155. /* [in] */ LCID lcid,
  3156. /* [in] */ WORD wFlags,
  3157. /* [out][in] */ DISPPARAMS *pDispParams,
  3158. /* [out] */ VARIANT *pVarResult,
  3159. /* [out] */ EXCEPINFO *pExcepInfo,
  3160. /* [out] */ UINT *puArgErr);
  3161. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  3162. IRegFilterInfo * This,
  3163. /* [retval][out] */ BSTR *strName);
  3164. HRESULT ( STDMETHODCALLTYPE *Filter )(
  3165. IRegFilterInfo * This,
  3166. /* [out] */ IDispatch **ppUnk);
  3167. END_INTERFACE
  3168. } IRegFilterInfoVtbl;
  3169. interface IRegFilterInfo
  3170. {
  3171. CONST_VTBL struct IRegFilterInfoVtbl *lpVtbl;
  3172. };
  3173. #ifdef COBJMACROS
  3174. #define IRegFilterInfo_QueryInterface(This,riid,ppvObject) \
  3175. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3176. #define IRegFilterInfo_AddRef(This) \
  3177. (This)->lpVtbl -> AddRef(This)
  3178. #define IRegFilterInfo_Release(This) \
  3179. (This)->lpVtbl -> Release(This)
  3180. #define IRegFilterInfo_GetTypeInfoCount(This,pctinfo) \
  3181. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3182. #define IRegFilterInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3183. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3184. #define IRegFilterInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3185. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3186. #define IRegFilterInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3187. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3188. #define IRegFilterInfo_get_Name(This,strName) \
  3189. (This)->lpVtbl -> get_Name(This,strName)
  3190. #define IRegFilterInfo_Filter(This,ppUnk) \
  3191. (This)->lpVtbl -> Filter(This,ppUnk)
  3192. #endif /* COBJMACROS */
  3193. #endif /* C style interface */
  3194. /* [propget] */ HRESULT STDMETHODCALLTYPE IRegFilterInfo_get_Name_Proxy(
  3195. IRegFilterInfo * This,
  3196. /* [retval][out] */ BSTR *strName);
  3197. void __RPC_STUB IRegFilterInfo_get_Name_Stub(
  3198. IRpcStubBuffer *This,
  3199. IRpcChannelBuffer *_pRpcChannelBuffer,
  3200. PRPC_MESSAGE _pRpcMessage,
  3201. DWORD *_pdwStubPhase);
  3202. HRESULT STDMETHODCALLTYPE IRegFilterInfo_Filter_Proxy(
  3203. IRegFilterInfo * This,
  3204. /* [out] */ IDispatch **ppUnk);
  3205. void __RPC_STUB IRegFilterInfo_Filter_Stub(
  3206. IRpcStubBuffer *This,
  3207. IRpcChannelBuffer *_pRpcChannelBuffer,
  3208. PRPC_MESSAGE _pRpcMessage,
  3209. DWORD *_pdwStubPhase);
  3210. #endif /* __IRegFilterInfo_INTERFACE_DEFINED__ */
  3211. #ifndef __IMediaTypeInfo_INTERFACE_DEFINED__
  3212. #define __IMediaTypeInfo_INTERFACE_DEFINED__
  3213. /* interface IMediaTypeInfo */
  3214. /* [object][dual][oleautomation][helpstring][uuid] */
  3215. DEFINE_GUID(IID_IMediaTypeInfo,0x56a868bc,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);
  3216. #if defined(__cplusplus) && !defined(CINTERFACE)
  3217. MIDL_INTERFACE("56a868bc-0ad4-11ce-b03a-0020af0ba770")
  3218. IMediaTypeInfo : public IDispatch
  3219. {
  3220. public:
  3221. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Type(
  3222. /* [retval][out] */ BSTR *strType) = 0;
  3223. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Subtype(
  3224. /* [retval][out] */ BSTR *strType) = 0;
  3225. };
  3226. #else /* C style interface */
  3227. typedef struct IMediaTypeInfoVtbl
  3228. {
  3229. BEGIN_INTERFACE
  3230. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3231. IMediaTypeInfo * This,
  3232. /* [in] */ REFIID riid,
  3233. /* [iid_is][out] */ void **ppvObject);
  3234. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3235. IMediaTypeInfo * This);
  3236. ULONG ( STDMETHODCALLTYPE *Release )(
  3237. IMediaTypeInfo * This);
  3238. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3239. IMediaTypeInfo * This,
  3240. /* [out] */ UINT *pctinfo);
  3241. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3242. IMediaTypeInfo * This,
  3243. /* [in] */ UINT iTInfo,
  3244. /* [in] */ LCID lcid,
  3245. /* [out] */ ITypeInfo **ppTInfo);
  3246. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3247. IMediaTypeInfo * This,
  3248. /* [in] */ REFIID riid,
  3249. /* [size_is][in] */ LPOLESTR *rgszNames,
  3250. /* [in] */ UINT cNames,
  3251. /* [in] */ LCID lcid,
  3252. /* [size_is][out] */ DISPID *rgDispId);
  3253. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3254. IMediaTypeInfo * This,
  3255. /* [in] */ DISPID dispIdMember,
  3256. /* [in] */ REFIID riid,
  3257. /* [in] */ LCID lcid,
  3258. /* [in] */ WORD wFlags,
  3259. /* [out][in] */ DISPPARAMS *pDispParams,
  3260. /* [out] */ VARIANT *pVarResult,
  3261. /* [out] */ EXCEPINFO *pExcepInfo,
  3262. /* [out] */ UINT *puArgErr);
  3263. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Type )(
  3264. IMediaTypeInfo * This,
  3265. /* [retval][out] */ BSTR *strType);
  3266. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Subtype )(
  3267. IMediaTypeInfo * This,
  3268. /* [retval][out] */ BSTR *strType);
  3269. END_INTERFACE
  3270. } IMediaTypeInfoVtbl;
  3271. interface IMediaTypeInfo
  3272. {
  3273. CONST_VTBL struct IMediaTypeInfoVtbl *lpVtbl;
  3274. };
  3275. #ifdef COBJMACROS
  3276. #define IMediaTypeInfo_QueryInterface(This,riid,ppvObject) \
  3277. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3278. #define IMediaTypeInfo_AddRef(This) \
  3279. (This)->lpVtbl -> AddRef(This)
  3280. #define IMediaTypeInfo_Release(This) \
  3281. (This)->lpVtbl -> Release(This)
  3282. #define IMediaTypeInfo_GetTypeInfoCount(This,pctinfo) \
  3283. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3284. #define IMediaTypeInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3285. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3286. #define IMediaTypeInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3287. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3288. #define IMediaTypeInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3289. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3290. #define IMediaTypeInfo_get_Type(This,strType) \
  3291. (This)->lpVtbl -> get_Type(This,strType)
  3292. #define IMediaTypeInfo_get_Subtype(This,strType) \
  3293. (This)->lpVtbl -> get_Subtype(This,strType)
  3294. #endif /* COBJMACROS */
  3295. #endif /* C style interface */
  3296. /* [propget] */ HRESULT STDMETHODCALLTYPE IMediaTypeInfo_get_Type_Proxy(
  3297. IMediaTypeInfo * This,
  3298. /* [retval][out] */ BSTR *strType);
  3299. void __RPC_STUB IMediaTypeInfo_get_Type_Stub(
  3300. IRpcStubBuffer *This,
  3301. IRpcChannelBuffer *_pRpcChannelBuffer,
  3302. PRPC_MESSAGE _pRpcMessage,
  3303. DWORD *_pdwStubPhase);
  3304. /* [propget] */ HRESULT STDMETHODCALLTYPE IMediaTypeInfo_get_Subtype_Proxy(
  3305. IMediaTypeInfo * This,
  3306. /* [retval][out] */ BSTR *strType);
  3307. void __RPC_STUB IMediaTypeInfo_get_Subtype_Stub(
  3308. IRpcStubBuffer *This,
  3309. IRpcChannelBuffer *_pRpcChannelBuffer,
  3310. PRPC_MESSAGE _pRpcMessage,
  3311. DWORD *_pdwStubPhase);
  3312. #endif /* __IMediaTypeInfo_INTERFACE_DEFINED__ */
  3313. #ifndef __IPinInfo_INTERFACE_DEFINED__
  3314. #define __IPinInfo_INTERFACE_DEFINED__
  3315. /* interface IPinInfo */
  3316. /* [object][dual][oleautomation][helpstring][uuid] */
  3317. DEFINE_GUID(IID_IPinInfo,0x56a868bd,0x0ad4,0x11ce,0xb0,0x3a,0x00,0x20,0xaf,0x0b,0xa7,0x70);
  3318. #if defined(__cplusplus) && !defined(CINTERFACE)
  3319. MIDL_INTERFACE("56a868bd-0ad4-11ce-b03a-0020af0ba770")
  3320. IPinInfo : public IDispatch
  3321. {
  3322. public:
  3323. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Pin(
  3324. /* [retval][out] */ IUnknown **ppUnk) = 0;
  3325. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_ConnectedTo(
  3326. /* [retval][out] */ IDispatch **ppUnk) = 0;
  3327. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_ConnectionMediaType(
  3328. /* [retval][out] */ IDispatch **ppUnk) = 0;
  3329. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_FilterInfo(
  3330. /* [retval][out] */ IDispatch **ppUnk) = 0;
  3331. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  3332. /* [retval][out] */ BSTR *ppUnk) = 0;
  3333. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Direction(
  3334. /* [retval][out] */ LONG *ppDirection) = 0;
  3335. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_PinID(
  3336. /* [retval][out] */ BSTR *strPinID) = 0;
  3337. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_MediaTypes(
  3338. /* [retval][out] */ IDispatch **ppUnk) = 0;
  3339. virtual HRESULT STDMETHODCALLTYPE Connect(
  3340. /* [in] */ IUnknown *pPin) = 0;
  3341. virtual HRESULT STDMETHODCALLTYPE ConnectDirect(
  3342. /* [in] */ IUnknown *pPin) = 0;
  3343. virtual HRESULT STDMETHODCALLTYPE ConnectWithType(
  3344. /* [in] */ IUnknown *pPin,
  3345. /* [in] */ IDispatch *pMediaType) = 0;
  3346. virtual HRESULT STDMETHODCALLTYPE Disconnect( void) = 0;
  3347. virtual HRESULT STDMETHODCALLTYPE Render( void) = 0;
  3348. };
  3349. #else /* C style interface */
  3350. typedef struct IPinInfoVtbl
  3351. {
  3352. BEGIN_INTERFACE
  3353. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3354. IPinInfo * This,
  3355. /* [in] */ REFIID riid,
  3356. /* [iid_is][out] */ void **ppvObject);
  3357. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3358. IPinInfo * This);
  3359. ULONG ( STDMETHODCALLTYPE *Release )(
  3360. IPinInfo * This);
  3361. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3362. IPinInfo * This,
  3363. /* [out] */ UINT *pctinfo);
  3364. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3365. IPinInfo * This,
  3366. /* [in] */ UINT iTInfo,
  3367. /* [in] */ LCID lcid,
  3368. /* [out] */ ITypeInfo **ppTInfo);
  3369. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3370. IPinInfo * This,
  3371. /* [in] */ REFIID riid,
  3372. /* [size_is][in] */ LPOLESTR *rgszNames,
  3373. /* [in] */ UINT cNames,
  3374. /* [in] */ LCID lcid,
  3375. /* [size_is][out] */ DISPID *rgDispId);
  3376. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3377. IPinInfo * This,
  3378. /* [in] */ DISPID dispIdMember,
  3379. /* [in] */ REFIID riid,
  3380. /* [in] */ LCID lcid,
  3381. /* [in] */ WORD wFlags,
  3382. /* [out][in] */ DISPPARAMS *pDispParams,
  3383. /* [out] */ VARIANT *pVarResult,
  3384. /* [out] */ EXCEPINFO *pExcepInfo,
  3385. /* [out] */ UINT *puArgErr);
  3386. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Pin )(
  3387. IPinInfo * This,
  3388. /* [retval][out] */ IUnknown **ppUnk);
  3389. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_ConnectedTo )(
  3390. IPinInfo * This,
  3391. /* [retval][out] */ IDispatch **ppUnk);
  3392. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_ConnectionMediaType )(
  3393. IPinInfo * This,
  3394. /* [retval][out] */ IDispatch **ppUnk);
  3395. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_FilterInfo )(
  3396. IPinInfo * This,
  3397. /* [retval][out] */ IDispatch **ppUnk);
  3398. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  3399. IPinInfo * This,
  3400. /* [retval][out] */ BSTR *ppUnk);
  3401. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Direction )(
  3402. IPinInfo * This,
  3403. /* [retval][out] */ LONG *ppDirection);
  3404. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_PinID )(
  3405. IPinInfo * This,
  3406. /* [retval][out] */ BSTR *strPinID);
  3407. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_MediaTypes )(
  3408. IPinInfo * This,
  3409. /* [retval][out] */ IDispatch **ppUnk);
  3410. HRESULT ( STDMETHODCALLTYPE *Connect )(
  3411. IPinInfo * This,
  3412. /* [in] */ IUnknown *pPin);
  3413. HRESULT ( STDMETHODCALLTYPE *ConnectDirect )(
  3414. IPinInfo * This,
  3415. /* [in] */ IUnknown *pPin);
  3416. HRESULT ( STDMETHODCALLTYPE *ConnectWithType )(
  3417. IPinInfo * This,
  3418. /* [in] */ IUnknown *pPin,
  3419. /* [in] */ IDispatch *pMediaType);
  3420. HRESULT ( STDMETHODCALLTYPE *Disconnect )(
  3421. IPinInfo * This);
  3422. HRESULT ( STDMETHODCALLTYPE *Render )(
  3423. IPinInfo * This);
  3424. END_INTERFACE
  3425. } IPinInfoVtbl;
  3426. interface IPinInfo
  3427. {
  3428. CONST_VTBL struct IPinInfoVtbl *lpVtbl;
  3429. };
  3430. #ifdef COBJMACROS
  3431. #define IPinInfo_QueryInterface(This,riid,ppvObject) \
  3432. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3433. #define IPinInfo_AddRef(This) \
  3434. (This)->lpVtbl -> AddRef(This)
  3435. #define IPinInfo_Release(This) \
  3436. (This)->lpVtbl -> Release(This)
  3437. #define IPinInfo_GetTypeInfoCount(This,pctinfo) \
  3438. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3439. #define IPinInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3440. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3441. #define IPinInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3442. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3443. #define IPinInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3444. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3445. #define IPinInfo_get_Pin(This,ppUnk) \
  3446. (This)->lpVtbl -> get_Pin(This,ppUnk)
  3447. #define IPinInfo_get_ConnectedTo(This,ppUnk) \
  3448. (This)->lpVtbl -> get_ConnectedTo(This,ppUnk)
  3449. #define IPinInfo_get_ConnectionMediaType(This,ppUnk) \
  3450. (This)->lpVtbl -> get_ConnectionMediaType(This,ppUnk)
  3451. #define IPinInfo_get_FilterInfo(This,ppUnk) \
  3452. (This)->lpVtbl -> get_FilterInfo(This,ppUnk)
  3453. #define IPinInfo_get_Name(This,ppUnk) \
  3454. (This)->lpVtbl -> get_Name(This,ppUnk)
  3455. #define IPinInfo_get_Direction(This,ppDirection) \
  3456. (This)->lpVtbl -> get_Direction(This,ppDirection)
  3457. #define IPinInfo_get_PinID(This,strPinID) \
  3458. (This)->lpVtbl -> get_PinID(This,strPinID)
  3459. #define IPinInfo_get_MediaTypes(This,ppUnk) \
  3460. (This)->lpVtbl -> get_MediaTypes(This,ppUnk)
  3461. #define IPinInfo_Connect(This,pPin) \
  3462. (This)->lpVtbl -> Connect(This,pPin)
  3463. #define IPinInfo_ConnectDirect(This,pPin) \
  3464. (This)->lpVtbl -> ConnectDirect(This,pPin)
  3465. #define IPinInfo_ConnectWithType(This,pPin,pMediaType) \
  3466. (This)->lpVtbl -> ConnectWithType(This,pPin,pMediaType)
  3467. #define IPinInfo_Disconnect(This) \
  3468. (This)->lpVtbl -> Disconnect(This)
  3469. #define IPinInfo_Render(This) \
  3470. (This)->lpVtbl -> Render(This)
  3471. #endif /* COBJMACROS */
  3472. #endif /* C style interface */
  3473. /* [propget] */ HRESULT STDMETHODCALLTYPE IPinInfo_get_Pin_Proxy(
  3474. IPinInfo * This,
  3475. /* [retval][out] */ IUnknown **ppUnk);
  3476. void __RPC_STUB IPinInfo_get_Pin_Stub(
  3477. IRpcStubBuffer *This,
  3478. IRpcChannelBuffer *_pRpcChannelBuffer,
  3479. PRPC_MESSAGE _pRpcMessage,
  3480. DWORD *_pdwStubPhase);
  3481. /* [propget] */ HRESULT STDMETHODCALLTYPE IPinInfo_get_ConnectedTo_Proxy(
  3482. IPinInfo * This,
  3483. /* [retval][out] */ IDispatch **ppUnk);
  3484. void __RPC_STUB IPinInfo_get_ConnectedTo_Stub(
  3485. IRpcStubBuffer *This,
  3486. IRpcChannelBuffer *_pRpcChannelBuffer,
  3487. PRPC_MESSAGE _pRpcMessage,
  3488. DWORD *_pdwStubPhase);
  3489. /* [propget] */ HRESULT STDMETHODCALLTYPE IPinInfo_get_ConnectionMediaType_Proxy(
  3490. IPinInfo * This,
  3491. /* [retval][out] */ IDispatch **ppUnk);
  3492. void __RPC_STUB IPinInfo_get_ConnectionMediaType_Stub(
  3493. IRpcStubBuffer *This,
  3494. IRpcChannelBuffer *_pRpcChannelBuffer,
  3495. PRPC_MESSAGE _pRpcMessage,
  3496. DWORD *_pdwStubPhase);
  3497. /* [propget] */ HRESULT STDMETHODCALLTYPE IPinInfo_get_FilterInfo_Proxy(
  3498. IPinInfo * This,
  3499. /* [retval][out] */ IDispatch **ppUnk);
  3500. void __RPC_STUB IPinInfo_get_FilterInfo_Stub(
  3501. IRpcStubBuffer *This,
  3502. IRpcChannelBuffer *_pRpcChannelBuffer,
  3503. PRPC_MESSAGE _pRpcMessage,
  3504. DWORD *_pdwStubPhase);
  3505. /* [propget] */ HRESULT STDMETHODCALLTYPE IPinInfo_get_Name_Proxy(
  3506. IPinInfo * This,
  3507. /* [retval][out] */ BSTR *ppUnk);
  3508. void __RPC_STUB IPinInfo_get_Name_Stub(
  3509. IRpcStubBuffer *This,
  3510. IRpcChannelBuffer *_pRpcChannelBuffer,
  3511. PRPC_MESSAGE _pRpcMessage,
  3512. DWORD *_pdwStubPhase);
  3513. /* [propget] */ HRESULT STDMETHODCALLTYPE IPinInfo_get_Direction_Proxy(
  3514. IPinInfo * This,
  3515. /* [retval][out] */ LONG *ppDirection);
  3516. void __RPC_STUB IPinInfo_get_Direction_Stub(
  3517. IRpcStubBuffer *This,
  3518. IRpcChannelBuffer *_pRpcChannelBuffer,
  3519. PRPC_MESSAGE _pRpcMessage,
  3520. DWORD *_pdwStubPhase);
  3521. /* [propget] */ HRESULT STDMETHODCALLTYPE IPinInfo_get_PinID_Proxy(
  3522. IPinInfo * This,
  3523. /* [retval][out] */ BSTR *strPinID);
  3524. void __RPC_STUB IPinInfo_get_PinID_Stub(
  3525. IRpcStubBuffer *This,
  3526. IRpcChannelBuffer *_pRpcChannelBuffer,
  3527. PRPC_MESSAGE _pRpcMessage,
  3528. DWORD *_pdwStubPhase);
  3529. /* [propget] */ HRESULT STDMETHODCALLTYPE IPinInfo_get_MediaTypes_Proxy(
  3530. IPinInfo * This,
  3531. /* [retval][out] */ IDispatch **ppUnk);
  3532. void __RPC_STUB IPinInfo_get_MediaTypes_Stub(
  3533. IRpcStubBuffer *This,
  3534. IRpcChannelBuffer *_pRpcChannelBuffer,
  3535. PRPC_MESSAGE _pRpcMessage,
  3536. DWORD *_pdwStubPhase);
  3537. HRESULT STDMETHODCALLTYPE IPinInfo_Connect_Proxy(
  3538. IPinInfo * This,
  3539. /* [in] */ IUnknown *pPin);
  3540. void __RPC_STUB IPinInfo_Connect_Stub(
  3541. IRpcStubBuffer *This,
  3542. IRpcChannelBuffer *_pRpcChannelBuffer,
  3543. PRPC_MESSAGE _pRpcMessage,
  3544. DWORD *_pdwStubPhase);
  3545. HRESULT STDMETHODCALLTYPE IPinInfo_ConnectDirect_Proxy(
  3546. IPinInfo * This,
  3547. /* [in] */ IUnknown *pPin);
  3548. void __RPC_STUB IPinInfo_ConnectDirect_Stub(
  3549. IRpcStubBuffer *This,
  3550. IRpcChannelBuffer *_pRpcChannelBuffer,
  3551. PRPC_MESSAGE _pRpcMessage,
  3552. DWORD *_pdwStubPhase);
  3553. HRESULT STDMETHODCALLTYPE IPinInfo_ConnectWithType_Proxy(
  3554. IPinInfo * This,
  3555. /* [in] */ IUnknown *pPin,
  3556. /* [in] */ IDispatch *pMediaType);
  3557. void __RPC_STUB IPinInfo_ConnectWithType_Stub(
  3558. IRpcStubBuffer *This,
  3559. IRpcChannelBuffer *_pRpcChannelBuffer,
  3560. PRPC_MESSAGE _pRpcMessage,
  3561. DWORD *_pdwStubPhase);
  3562. HRESULT STDMETHODCALLTYPE IPinInfo_Disconnect_Proxy(
  3563. IPinInfo * This);
  3564. void __RPC_STUB IPinInfo_Disconnect_Stub(
  3565. IRpcStubBuffer *This,
  3566. IRpcChannelBuffer *_pRpcChannelBuffer,
  3567. PRPC_MESSAGE _pRpcMessage,
  3568. DWORD *_pdwStubPhase);
  3569. HRESULT STDMETHODCALLTYPE IPinInfo_Render_Proxy(
  3570. IPinInfo * This);
  3571. void __RPC_STUB IPinInfo_Render_Stub(
  3572. IRpcStubBuffer *This,
  3573. IRpcChannelBuffer *_pRpcChannelBuffer,
  3574. PRPC_MESSAGE _pRpcMessage,
  3575. DWORD *_pdwStubPhase);
  3576. #endif /* __IPinInfo_INTERFACE_DEFINED__ */
  3577. #ifndef __IAMStats_INTERFACE_DEFINED__
  3578. #define __IAMStats_INTERFACE_DEFINED__
  3579. /* interface IAMStats */
  3580. /* [object][dual][oleautomation][helpstring][uuid] */
  3581. DEFINE_GUID(IID_IAMStats,0xbc9bcf80,0xdcd2,0x11d2,0xab,0xf6,0x00,0xa0,0xc9,0x05,0xf3,0x75);
  3582. #if defined(__cplusplus) && !defined(CINTERFACE)
  3583. MIDL_INTERFACE("bc9bcf80-dcd2-11d2-abf6-00a0c905f375")
  3584. IAMStats : public IDispatch
  3585. {
  3586. public:
  3587. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  3588. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  3589. /* [retval][out] */ LONG *plCount) = 0;
  3590. virtual HRESULT STDMETHODCALLTYPE GetValueByIndex(
  3591. /* [in] */ long lIndex,
  3592. /* [out] */ BSTR *szName,
  3593. /* [out] */ long *lCount,
  3594. /* [out] */ double *dLast,
  3595. /* [out] */ double *dAverage,
  3596. /* [out] */ double *dStdDev,
  3597. /* [out] */ double *dMin,
  3598. /* [out] */ double *dMax) = 0;
  3599. virtual HRESULT STDMETHODCALLTYPE GetValueByName(
  3600. /* [in] */ BSTR szName,
  3601. /* [out] */ long *lIndex,
  3602. /* [out] */ long *lCount,
  3603. /* [out] */ double *dLast,
  3604. /* [out] */ double *dAverage,
  3605. /* [out] */ double *dStdDev,
  3606. /* [out] */ double *dMin,
  3607. /* [out] */ double *dMax) = 0;
  3608. virtual HRESULT STDMETHODCALLTYPE GetIndex(
  3609. /* [in] */ BSTR szName,
  3610. /* [in] */ long lCreate,
  3611. /* [out] */ long *plIndex) = 0;
  3612. virtual HRESULT STDMETHODCALLTYPE AddValue(
  3613. /* [in] */ long lIndex,
  3614. /* [in] */ double dValue) = 0;
  3615. };
  3616. #else /* C style interface */
  3617. typedef struct IAMStatsVtbl
  3618. {
  3619. BEGIN_INTERFACE
  3620. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3621. IAMStats * This,
  3622. /* [in] */ REFIID riid,
  3623. /* [iid_is][out] */ void **ppvObject);
  3624. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3625. IAMStats * This);
  3626. ULONG ( STDMETHODCALLTYPE *Release )(
  3627. IAMStats * This);
  3628. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3629. IAMStats * This,
  3630. /* [out] */ UINT *pctinfo);
  3631. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3632. IAMStats * This,
  3633. /* [in] */ UINT iTInfo,
  3634. /* [in] */ LCID lcid,
  3635. /* [out] */ ITypeInfo **ppTInfo);
  3636. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3637. IAMStats * This,
  3638. /* [in] */ REFIID riid,
  3639. /* [size_is][in] */ LPOLESTR *rgszNames,
  3640. /* [in] */ UINT cNames,
  3641. /* [in] */ LCID lcid,
  3642. /* [size_is][out] */ DISPID *rgDispId);
  3643. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3644. IAMStats * This,
  3645. /* [in] */ DISPID dispIdMember,
  3646. /* [in] */ REFIID riid,
  3647. /* [in] */ LCID lcid,
  3648. /* [in] */ WORD wFlags,
  3649. /* [out][in] */ DISPPARAMS *pDispParams,
  3650. /* [out] */ VARIANT *pVarResult,
  3651. /* [out] */ EXCEPINFO *pExcepInfo,
  3652. /* [out] */ UINT *puArgErr);
  3653. HRESULT ( STDMETHODCALLTYPE *Reset )(
  3654. IAMStats * This);
  3655. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  3656. IAMStats * This,
  3657. /* [retval][out] */ LONG *plCount);
  3658. HRESULT ( STDMETHODCALLTYPE *GetValueByIndex )(
  3659. IAMStats * This,
  3660. /* [in] */ long lIndex,
  3661. /* [out] */ BSTR *szName,
  3662. /* [out] */ long *lCount,
  3663. /* [out] */ double *dLast,
  3664. /* [out] */ double *dAverage,
  3665. /* [out] */ double *dStdDev,
  3666. /* [out] */ double *dMin,
  3667. /* [out] */ double *dMax);
  3668. HRESULT ( STDMETHODCALLTYPE *GetValueByName )(
  3669. IAMStats * This,
  3670. /* [in] */ BSTR szName,
  3671. /* [out] */ long *lIndex,
  3672. /* [out] */ long *lCount,
  3673. /* [out] */ double *dLast,
  3674. /* [out] */ double *dAverage,
  3675. /* [out] */ double *dStdDev,
  3676. /* [out] */ double *dMin,
  3677. /* [out] */ double *dMax);
  3678. HRESULT ( STDMETHODCALLTYPE *GetIndex )(
  3679. IAMStats * This,
  3680. /* [in] */ BSTR szName,
  3681. /* [in] */ long lCreate,
  3682. /* [out] */ long *plIndex);
  3683. HRESULT ( STDMETHODCALLTYPE *AddValue )(
  3684. IAMStats * This,
  3685. /* [in] */ long lIndex,
  3686. /* [in] */ double dValue);
  3687. END_INTERFACE
  3688. } IAMStatsVtbl;
  3689. interface IAMStats
  3690. {
  3691. CONST_VTBL struct IAMStatsVtbl *lpVtbl;
  3692. };
  3693. #ifdef COBJMACROS
  3694. #define IAMStats_QueryInterface(This,riid,ppvObject) \
  3695. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3696. #define IAMStats_AddRef(This) \
  3697. (This)->lpVtbl -> AddRef(This)
  3698. #define IAMStats_Release(This) \
  3699. (This)->lpVtbl -> Release(This)
  3700. #define IAMStats_GetTypeInfoCount(This,pctinfo) \
  3701. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3702. #define IAMStats_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3703. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3704. #define IAMStats_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3705. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3706. #define IAMStats_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3707. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3708. #define IAMStats_Reset(This) \
  3709. (This)->lpVtbl -> Reset(This)
  3710. #define IAMStats_get_Count(This,plCount) \
  3711. (This)->lpVtbl -> get_Count(This,plCount)
  3712. #define IAMStats_GetValueByIndex(This,lIndex,szName,lCount,dLast,dAverage,dStdDev,dMin,dMax) \
  3713. (This)->lpVtbl -> GetValueByIndex(This,lIndex,szName,lCount,dLast,dAverage,dStdDev,dMin,dMax)
  3714. #define IAMStats_GetValueByName(This,szName,lIndex,lCount,dLast,dAverage,dStdDev,dMin,dMax) \
  3715. (This)->lpVtbl -> GetValueByName(This,szName,lIndex,lCount,dLast,dAverage,dStdDev,dMin,dMax)
  3716. #define IAMStats_GetIndex(This,szName,lCreate,plIndex) \
  3717. (This)->lpVtbl -> GetIndex(This,szName,lCreate,plIndex)
  3718. #define IAMStats_AddValue(This,lIndex,dValue) \
  3719. (This)->lpVtbl -> AddValue(This,lIndex,dValue)
  3720. #endif /* COBJMACROS */
  3721. #endif /* C style interface */
  3722. HRESULT STDMETHODCALLTYPE IAMStats_Reset_Proxy(
  3723. IAMStats * This);
  3724. void __RPC_STUB IAMStats_Reset_Stub(
  3725. IRpcStubBuffer *This,
  3726. IRpcChannelBuffer *_pRpcChannelBuffer,
  3727. PRPC_MESSAGE _pRpcMessage,
  3728. DWORD *_pdwStubPhase);
  3729. /* [propget] */ HRESULT STDMETHODCALLTYPE IAMStats_get_Count_Proxy(
  3730. IAMStats * This,
  3731. /* [retval][out] */ LONG *plCount);
  3732. void __RPC_STUB IAMStats_get_Count_Stub(
  3733. IRpcStubBuffer *This,
  3734. IRpcChannelBuffer *_pRpcChannelBuffer,
  3735. PRPC_MESSAGE _pRpcMessage,
  3736. DWORD *_pdwStubPhase);
  3737. HRESULT STDMETHODCALLTYPE IAMStats_GetValueByIndex_Proxy(
  3738. IAMStats * This,
  3739. /* [in] */ long lIndex,
  3740. /* [out] */ BSTR *szName,
  3741. /* [out] */ long *lCount,
  3742. /* [out] */ double *dLast,
  3743. /* [out] */ double *dAverage,
  3744. /* [out] */ double *dStdDev,
  3745. /* [out] */ double *dMin,
  3746. /* [out] */ double *dMax);
  3747. void __RPC_STUB IAMStats_GetValueByIndex_Stub(
  3748. IRpcStubBuffer *This,
  3749. IRpcChannelBuffer *_pRpcChannelBuffer,
  3750. PRPC_MESSAGE _pRpcMessage,
  3751. DWORD *_pdwStubPhase);
  3752. HRESULT STDMETHODCALLTYPE IAMStats_GetValueByName_Proxy(
  3753. IAMStats * This,
  3754. /* [in] */ BSTR szName,
  3755. /* [out] */ long *lIndex,
  3756. /* [out] */ long *lCount,
  3757. /* [out] */ double *dLast,
  3758. /* [out] */ double *dAverage,
  3759. /* [out] */ double *dStdDev,
  3760. /* [out] */ double *dMin,
  3761. /* [out] */ double *dMax);
  3762. void __RPC_STUB IAMStats_GetValueByName_Stub(
  3763. IRpcStubBuffer *This,
  3764. IRpcChannelBuffer *_pRpcChannelBuffer,
  3765. PRPC_MESSAGE _pRpcMessage,
  3766. DWORD *_pdwStubPhase);
  3767. HRESULT STDMETHODCALLTYPE IAMStats_GetIndex_Proxy(
  3768. IAMStats * This,
  3769. /* [in] */ BSTR szName,
  3770. /* [in] */ long lCreate,
  3771. /* [out] */ long *plIndex);
  3772. void __RPC_STUB IAMStats_GetIndex_Stub(
  3773. IRpcStubBuffer *This,
  3774. IRpcChannelBuffer *_pRpcChannelBuffer,
  3775. PRPC_MESSAGE _pRpcMessage,
  3776. DWORD *_pdwStubPhase);
  3777. HRESULT STDMETHODCALLTYPE IAMStats_AddValue_Proxy(
  3778. IAMStats * This,
  3779. /* [in] */ long lIndex,
  3780. /* [in] */ double dValue);
  3781. void __RPC_STUB IAMStats_AddValue_Stub(
  3782. IRpcStubBuffer *This,
  3783. IRpcChannelBuffer *_pRpcChannelBuffer,
  3784. PRPC_MESSAGE _pRpcMessage,
  3785. DWORD *_pdwStubPhase);
  3786. #endif /* __IAMStats_INTERFACE_DEFINED__ */
  3787. #endif /* __QuartzTypeLib_LIBRARY_DEFINED__ */
  3788. /* Additional Prototypes for ALL interfaces */
  3789. /* end of Additional Prototypes */
  3790. #ifdef __cplusplus
  3791. }
  3792. #endif
  3793. #endif