Leaked source code of windows server 2003
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.

1250 lines
40 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for wmsdatapath.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  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 COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __wmsdatapath_h__
  27. #define __wmsdatapath_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IWMSPacketStreamer_FWD_DEFINED__
  33. #define __IWMSPacketStreamer_FWD_DEFINED__
  34. typedef interface IWMSPacketStreamer IWMSPacketStreamer;
  35. #endif /* __IWMSPacketStreamer_FWD_DEFINED__ */
  36. #ifndef __IWMSPacketStreamerCallback_FWD_DEFINED__
  37. #define __IWMSPacketStreamerCallback_FWD_DEFINED__
  38. typedef interface IWMSPacketStreamerCallback IWMSPacketStreamerCallback;
  39. #endif /* __IWMSPacketStreamerCallback_FWD_DEFINED__ */
  40. #ifndef __IWMSPacketStreamDataContainer_FWD_DEFINED__
  41. #define __IWMSPacketStreamDataContainer_FWD_DEFINED__
  42. typedef interface IWMSPacketStreamDataContainer IWMSPacketStreamDataContainer;
  43. #endif /* __IWMSPacketStreamDataContainer_FWD_DEFINED__ */
  44. #ifndef __IWMSPushSource_FWD_DEFINED__
  45. #define __IWMSPushSource_FWD_DEFINED__
  46. typedef interface IWMSPushSource IWMSPushSource;
  47. #endif /* __IWMSPushSource_FWD_DEFINED__ */
  48. #ifndef __IWMSPushSourceCallback_FWD_DEFINED__
  49. #define __IWMSPushSourceCallback_FWD_DEFINED__
  50. typedef interface IWMSPushSourceCallback IWMSPushSourceCallback;
  51. #endif /* __IWMSPushSourceCallback_FWD_DEFINED__ */
  52. #ifndef __IWMSPushSink_FWD_DEFINED__
  53. #define __IWMSPushSink_FWD_DEFINED__
  54. typedef interface IWMSPushSink IWMSPushSink;
  55. #endif /* __IWMSPushSink_FWD_DEFINED__ */
  56. /* header files for imported files */
  57. #include "objidl.h"
  58. #include "nsscore.h"
  59. #include "DataContainer.h"
  60. #include "StreamDescription.h"
  61. #ifdef __cplusplus
  62. extern "C"{
  63. #endif
  64. void * __RPC_USER MIDL_user_allocate(size_t);
  65. void __RPC_USER MIDL_user_free( void * );
  66. /* interface __MIDL_itf_wmsdatapath_0000 */
  67. /* [local] */
  68. //*****************************************************************************
  69. //
  70. // Microsoft Windows Media
  71. // Copyright (C) Microsoft Corporation. All rights reserved.
  72. //
  73. // Automatically generated by Midl from wmsdatapath.idl
  74. //
  75. // DO NOT EDIT THIS FILE.
  76. //
  77. //*****************************************************************************
  78. EXTERN_GUID( IID_IWMSPacketStreamer, 0x72527A81,0x1119,0x11d2,0x9E,0xEE,0x00,0x60,0x97,0xD2,0xD7,0xCF );
  79. EXTERN_GUID( IID_IWMSPacketStreamerCallback, 0x72527A82,0x1119,0x11d2,0x9E,0xEE,0x00,0x60,0x97,0xD2,0xD7,0xCF );
  80. EXTERN_GUID( IID_IWMSPushSource, 0x0B840593,0x115C,0x11d2,0x9E,0xEE,0x00,0x60,0x97,0xD2,0xD7,0xCF );
  81. EXTERN_GUID( IID_IWMSPushSourceCallback, 0xead035e4, 0xbe4a, 0x4a7a, 0xbc, 0x19, 0x5b, 0xb, 0x9e, 0x9, 0xd7, 0x4c );
  82. EXTERN_GUID( IID_IWMSPushSink, 0x0B840594,0x115C,0x11d2,0x9E,0xEE,0x00,0x60,0x97,0xD2,0xD7,0xCF );
  83. EXTERN_GUID( IID_IWMSPacketStreamDataContainer, 0xb1b6039, 0x572c, 0x11d2, 0x9e, 0xff, 0x0, 0x60, 0x97, 0xd2, 0xd7, 0xcf );
  84. typedef /* [public] */
  85. enum WMS_SEEK_AND_PLAY_TYPE
  86. { WMSPlayFromCurrentPosition = 0,
  87. WMSSeekToIFrameAndPlay = WMSPlayFromCurrentPosition + 1,
  88. WMSSeekToPositionAndPlay = WMSSeekToIFrameAndPlay + 1
  89. } WMS_SEEK_AND_PLAY_TYPE;
  90. #define WMS_SEEK_TO_IFRAME 0x0001
  91. extern RPC_IF_HANDLE __MIDL_itf_wmsdatapath_0000_v0_0_c_ifspec;
  92. extern RPC_IF_HANDLE __MIDL_itf_wmsdatapath_0000_v0_0_s_ifspec;
  93. #ifndef __IWMSPacketStreamer_INTERFACE_DEFINED__
  94. #define __IWMSPacketStreamer_INTERFACE_DEFINED__
  95. /* interface IWMSPacketStreamer */
  96. /* [helpstring][version][uuid][unique][object] */
  97. EXTERN_C const IID IID_IWMSPacketStreamer;
  98. #if defined(__cplusplus) && !defined(CINTERFACE)
  99. MIDL_INTERFACE("72527A81-1119-11d2-9EEE-006097D2D7CF")
  100. IWMSPacketStreamer : public IUnknown
  101. {
  102. public:
  103. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetStreamInfo(
  104. /* [in] */ IWMSPacketStreamerCallback *pCallback,
  105. /* [in] */ QWORD qwContext) = 0;
  106. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SelectStream(
  107. /* [in] */ IWMSCommandContext *pCommand,
  108. /* [in] */ IWMSStreamSwitchDescriptionList *pStreamSwitchDescList,
  109. /* [in] */ IWMSPacketStreamerCallback *pCallback,
  110. /* [in] */ QWORD qwContext) = 0;
  111. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Seek(
  112. /* [in] */ IWMSCommandContext *pCommand,
  113. /* [in] */ DWORD dwOffsetType,
  114. /* [in] */ QWORD qwOffset,
  115. /* [in] */ DWORD dwFlags,
  116. /* [in] */ IWMSPacketStreamerCallback *pCallback,
  117. /* [in] */ QWORD qwContext) = 0;
  118. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ChangeStreamFormat(
  119. /* [in] */ IWMSCommandContext *pCommand,
  120. /* [in] */ IWMSPacketStreamerCallback *pCallback,
  121. /* [in] */ QWORD qwContext) = 0;
  122. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Interrupt(
  123. /* [in] */ IWMSCommandContext *pCommand,
  124. /* [in] */ DWORD dwOptions,
  125. /* [in] */ IWMSPacketStreamerCallback *pCallback,
  126. /* [in] */ QWORD qwContext) = 0;
  127. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DoExtendedCommand(
  128. /* [in] */ LPWSTR szCommandName,
  129. /* [in] */ IWMSCommandContext *pCommand,
  130. /* [in] */ IWMSPacketStreamerCallback *pCallback,
  131. /* [in] */ QWORD qwContext) = 0;
  132. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Shutdown( void) = 0;
  133. };
  134. #else /* C style interface */
  135. typedef struct IWMSPacketStreamerVtbl
  136. {
  137. BEGIN_INTERFACE
  138. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  139. IWMSPacketStreamer * This,
  140. /* [in] */ REFIID riid,
  141. /* [iid_is][out] */ void **ppvObject);
  142. ULONG ( STDMETHODCALLTYPE *AddRef )(
  143. IWMSPacketStreamer * This);
  144. ULONG ( STDMETHODCALLTYPE *Release )(
  145. IWMSPacketStreamer * This);
  146. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetStreamInfo )(
  147. IWMSPacketStreamer * This,
  148. /* [in] */ IWMSPacketStreamerCallback *pCallback,
  149. /* [in] */ QWORD qwContext);
  150. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SelectStream )(
  151. IWMSPacketStreamer * This,
  152. /* [in] */ IWMSCommandContext *pCommand,
  153. /* [in] */ IWMSStreamSwitchDescriptionList *pStreamSwitchDescList,
  154. /* [in] */ IWMSPacketStreamerCallback *pCallback,
  155. /* [in] */ QWORD qwContext);
  156. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Seek )(
  157. IWMSPacketStreamer * This,
  158. /* [in] */ IWMSCommandContext *pCommand,
  159. /* [in] */ DWORD dwOffsetType,
  160. /* [in] */ QWORD qwOffset,
  161. /* [in] */ DWORD dwFlags,
  162. /* [in] */ IWMSPacketStreamerCallback *pCallback,
  163. /* [in] */ QWORD qwContext);
  164. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ChangeStreamFormat )(
  165. IWMSPacketStreamer * This,
  166. /* [in] */ IWMSCommandContext *pCommand,
  167. /* [in] */ IWMSPacketStreamerCallback *pCallback,
  168. /* [in] */ QWORD qwContext);
  169. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Interrupt )(
  170. IWMSPacketStreamer * This,
  171. /* [in] */ IWMSCommandContext *pCommand,
  172. /* [in] */ DWORD dwOptions,
  173. /* [in] */ IWMSPacketStreamerCallback *pCallback,
  174. /* [in] */ QWORD qwContext);
  175. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DoExtendedCommand )(
  176. IWMSPacketStreamer * This,
  177. /* [in] */ LPWSTR szCommandName,
  178. /* [in] */ IWMSCommandContext *pCommand,
  179. /* [in] */ IWMSPacketStreamerCallback *pCallback,
  180. /* [in] */ QWORD qwContext);
  181. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Shutdown )(
  182. IWMSPacketStreamer * This);
  183. END_INTERFACE
  184. } IWMSPacketStreamerVtbl;
  185. interface IWMSPacketStreamer
  186. {
  187. CONST_VTBL struct IWMSPacketStreamerVtbl *lpVtbl;
  188. };
  189. #ifdef COBJMACROS
  190. #define IWMSPacketStreamer_QueryInterface(This,riid,ppvObject) \
  191. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  192. #define IWMSPacketStreamer_AddRef(This) \
  193. (This)->lpVtbl -> AddRef(This)
  194. #define IWMSPacketStreamer_Release(This) \
  195. (This)->lpVtbl -> Release(This)
  196. #define IWMSPacketStreamer_GetStreamInfo(This,pCallback,qwContext) \
  197. (This)->lpVtbl -> GetStreamInfo(This,pCallback,qwContext)
  198. #define IWMSPacketStreamer_SelectStream(This,pCommand,pStreamSwitchDescList,pCallback,qwContext) \
  199. (This)->lpVtbl -> SelectStream(This,pCommand,pStreamSwitchDescList,pCallback,qwContext)
  200. #define IWMSPacketStreamer_Seek(This,pCommand,dwOffsetType,qwOffset,dwFlags,pCallback,qwContext) \
  201. (This)->lpVtbl -> Seek(This,pCommand,dwOffsetType,qwOffset,dwFlags,pCallback,qwContext)
  202. #define IWMSPacketStreamer_ChangeStreamFormat(This,pCommand,pCallback,qwContext) \
  203. (This)->lpVtbl -> ChangeStreamFormat(This,pCommand,pCallback,qwContext)
  204. #define IWMSPacketStreamer_Interrupt(This,pCommand,dwOptions,pCallback,qwContext) \
  205. (This)->lpVtbl -> Interrupt(This,pCommand,dwOptions,pCallback,qwContext)
  206. #define IWMSPacketStreamer_DoExtendedCommand(This,szCommandName,pCommand,pCallback,qwContext) \
  207. (This)->lpVtbl -> DoExtendedCommand(This,szCommandName,pCommand,pCallback,qwContext)
  208. #define IWMSPacketStreamer_Shutdown(This) \
  209. (This)->lpVtbl -> Shutdown(This)
  210. #endif /* COBJMACROS */
  211. #endif /* C style interface */
  212. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketStreamer_GetStreamInfo_Proxy(
  213. IWMSPacketStreamer * This,
  214. /* [in] */ IWMSPacketStreamerCallback *pCallback,
  215. /* [in] */ QWORD qwContext);
  216. void __RPC_STUB IWMSPacketStreamer_GetStreamInfo_Stub(
  217. IRpcStubBuffer *This,
  218. IRpcChannelBuffer *_pRpcChannelBuffer,
  219. PRPC_MESSAGE _pRpcMessage,
  220. DWORD *_pdwStubPhase);
  221. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketStreamer_SelectStream_Proxy(
  222. IWMSPacketStreamer * This,
  223. /* [in] */ IWMSCommandContext *pCommand,
  224. /* [in] */ IWMSStreamSwitchDescriptionList *pStreamSwitchDescList,
  225. /* [in] */ IWMSPacketStreamerCallback *pCallback,
  226. /* [in] */ QWORD qwContext);
  227. void __RPC_STUB IWMSPacketStreamer_SelectStream_Stub(
  228. IRpcStubBuffer *This,
  229. IRpcChannelBuffer *_pRpcChannelBuffer,
  230. PRPC_MESSAGE _pRpcMessage,
  231. DWORD *_pdwStubPhase);
  232. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketStreamer_Seek_Proxy(
  233. IWMSPacketStreamer * This,
  234. /* [in] */ IWMSCommandContext *pCommand,
  235. /* [in] */ DWORD dwOffsetType,
  236. /* [in] */ QWORD qwOffset,
  237. /* [in] */ DWORD dwFlags,
  238. /* [in] */ IWMSPacketStreamerCallback *pCallback,
  239. /* [in] */ QWORD qwContext);
  240. void __RPC_STUB IWMSPacketStreamer_Seek_Stub(
  241. IRpcStubBuffer *This,
  242. IRpcChannelBuffer *_pRpcChannelBuffer,
  243. PRPC_MESSAGE _pRpcMessage,
  244. DWORD *_pdwStubPhase);
  245. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketStreamer_ChangeStreamFormat_Proxy(
  246. IWMSPacketStreamer * This,
  247. /* [in] */ IWMSCommandContext *pCommand,
  248. /* [in] */ IWMSPacketStreamerCallback *pCallback,
  249. /* [in] */ QWORD qwContext);
  250. void __RPC_STUB IWMSPacketStreamer_ChangeStreamFormat_Stub(
  251. IRpcStubBuffer *This,
  252. IRpcChannelBuffer *_pRpcChannelBuffer,
  253. PRPC_MESSAGE _pRpcMessage,
  254. DWORD *_pdwStubPhase);
  255. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketStreamer_Interrupt_Proxy(
  256. IWMSPacketStreamer * This,
  257. /* [in] */ IWMSCommandContext *pCommand,
  258. /* [in] */ DWORD dwOptions,
  259. /* [in] */ IWMSPacketStreamerCallback *pCallback,
  260. /* [in] */ QWORD qwContext);
  261. void __RPC_STUB IWMSPacketStreamer_Interrupt_Stub(
  262. IRpcStubBuffer *This,
  263. IRpcChannelBuffer *_pRpcChannelBuffer,
  264. PRPC_MESSAGE _pRpcMessage,
  265. DWORD *_pdwStubPhase);
  266. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketStreamer_DoExtendedCommand_Proxy(
  267. IWMSPacketStreamer * This,
  268. /* [in] */ LPWSTR szCommandName,
  269. /* [in] */ IWMSCommandContext *pCommand,
  270. /* [in] */ IWMSPacketStreamerCallback *pCallback,
  271. /* [in] */ QWORD qwContext);
  272. void __RPC_STUB IWMSPacketStreamer_DoExtendedCommand_Stub(
  273. IRpcStubBuffer *This,
  274. IRpcChannelBuffer *_pRpcChannelBuffer,
  275. PRPC_MESSAGE _pRpcMessage,
  276. DWORD *_pdwStubPhase);
  277. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketStreamer_Shutdown_Proxy(
  278. IWMSPacketStreamer * This);
  279. void __RPC_STUB IWMSPacketStreamer_Shutdown_Stub(
  280. IRpcStubBuffer *This,
  281. IRpcChannelBuffer *_pRpcChannelBuffer,
  282. PRPC_MESSAGE _pRpcMessage,
  283. DWORD *_pdwStubPhase);
  284. #endif /* __IWMSPacketStreamer_INTERFACE_DEFINED__ */
  285. #ifndef __IWMSPacketStreamerCallback_INTERFACE_DEFINED__
  286. #define __IWMSPacketStreamerCallback_INTERFACE_DEFINED__
  287. /* interface IWMSPacketStreamerCallback */
  288. /* [helpstring][version][uuid][unique][object] */
  289. EXTERN_C const IID IID_IWMSPacketStreamerCallback;
  290. #if defined(__cplusplus) && !defined(CINTERFACE)
  291. MIDL_INTERFACE("72527A82-1119-11d2-9EEE-006097D2D7CF")
  292. IWMSPacketStreamerCallback : public IUnknown
  293. {
  294. public:
  295. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnGetStreamInfo(
  296. /* [in] */ HRESULT hr,
  297. /* [in] */ IWMSStreamHeaderList *pHeaderList,
  298. /* [in] */ IWMSContentDescriptionList *pContentDescription,
  299. /* [in] */ QWORD qwContext) = 0;
  300. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnSeek(
  301. /* [in] */ HRESULT hr,
  302. /* [in] */ QWORD qwActualPosition,
  303. /* [in] */ QWORD qwContext) = 0;
  304. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnSelectStream(
  305. /* [in] */ HRESULT hr,
  306. /* [in] */ QWORD qwContext) = 0;
  307. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnChangeStreamFormat(
  308. /* [in] */ HRESULT hr,
  309. /* [in] */ QWORD qwContext) = 0;
  310. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnInterrupt(
  311. /* [in] */ HRESULT hr,
  312. /* [in] */ QWORD qwContext) = 0;
  313. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnDoExtendedCommand(
  314. /* [in] */ HRESULT hr,
  315. /* [in] */ QWORD qwContext) = 0;
  316. };
  317. #else /* C style interface */
  318. typedef struct IWMSPacketStreamerCallbackVtbl
  319. {
  320. BEGIN_INTERFACE
  321. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  322. IWMSPacketStreamerCallback * This,
  323. /* [in] */ REFIID riid,
  324. /* [iid_is][out] */ void **ppvObject);
  325. ULONG ( STDMETHODCALLTYPE *AddRef )(
  326. IWMSPacketStreamerCallback * This);
  327. ULONG ( STDMETHODCALLTYPE *Release )(
  328. IWMSPacketStreamerCallback * This);
  329. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnGetStreamInfo )(
  330. IWMSPacketStreamerCallback * This,
  331. /* [in] */ HRESULT hr,
  332. /* [in] */ IWMSStreamHeaderList *pHeaderList,
  333. /* [in] */ IWMSContentDescriptionList *pContentDescription,
  334. /* [in] */ QWORD qwContext);
  335. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnSeek )(
  336. IWMSPacketStreamerCallback * This,
  337. /* [in] */ HRESULT hr,
  338. /* [in] */ QWORD qwActualPosition,
  339. /* [in] */ QWORD qwContext);
  340. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnSelectStream )(
  341. IWMSPacketStreamerCallback * This,
  342. /* [in] */ HRESULT hr,
  343. /* [in] */ QWORD qwContext);
  344. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnChangeStreamFormat )(
  345. IWMSPacketStreamerCallback * This,
  346. /* [in] */ HRESULT hr,
  347. /* [in] */ QWORD qwContext);
  348. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnInterrupt )(
  349. IWMSPacketStreamerCallback * This,
  350. /* [in] */ HRESULT hr,
  351. /* [in] */ QWORD qwContext);
  352. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnDoExtendedCommand )(
  353. IWMSPacketStreamerCallback * This,
  354. /* [in] */ HRESULT hr,
  355. /* [in] */ QWORD qwContext);
  356. END_INTERFACE
  357. } IWMSPacketStreamerCallbackVtbl;
  358. interface IWMSPacketStreamerCallback
  359. {
  360. CONST_VTBL struct IWMSPacketStreamerCallbackVtbl *lpVtbl;
  361. };
  362. #ifdef COBJMACROS
  363. #define IWMSPacketStreamerCallback_QueryInterface(This,riid,ppvObject) \
  364. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  365. #define IWMSPacketStreamerCallback_AddRef(This) \
  366. (This)->lpVtbl -> AddRef(This)
  367. #define IWMSPacketStreamerCallback_Release(This) \
  368. (This)->lpVtbl -> Release(This)
  369. #define IWMSPacketStreamerCallback_OnGetStreamInfo(This,hr,pHeaderList,pContentDescription,qwContext) \
  370. (This)->lpVtbl -> OnGetStreamInfo(This,hr,pHeaderList,pContentDescription,qwContext)
  371. #define IWMSPacketStreamerCallback_OnSeek(This,hr,qwActualPosition,qwContext) \
  372. (This)->lpVtbl -> OnSeek(This,hr,qwActualPosition,qwContext)
  373. #define IWMSPacketStreamerCallback_OnSelectStream(This,hr,qwContext) \
  374. (This)->lpVtbl -> OnSelectStream(This,hr,qwContext)
  375. #define IWMSPacketStreamerCallback_OnChangeStreamFormat(This,hr,qwContext) \
  376. (This)->lpVtbl -> OnChangeStreamFormat(This,hr,qwContext)
  377. #define IWMSPacketStreamerCallback_OnInterrupt(This,hr,qwContext) \
  378. (This)->lpVtbl -> OnInterrupt(This,hr,qwContext)
  379. #define IWMSPacketStreamerCallback_OnDoExtendedCommand(This,hr,qwContext) \
  380. (This)->lpVtbl -> OnDoExtendedCommand(This,hr,qwContext)
  381. #endif /* COBJMACROS */
  382. #endif /* C style interface */
  383. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketStreamerCallback_OnGetStreamInfo_Proxy(
  384. IWMSPacketStreamerCallback * This,
  385. /* [in] */ HRESULT hr,
  386. /* [in] */ IWMSStreamHeaderList *pHeaderList,
  387. /* [in] */ IWMSContentDescriptionList *pContentDescription,
  388. /* [in] */ QWORD qwContext);
  389. void __RPC_STUB IWMSPacketStreamerCallback_OnGetStreamInfo_Stub(
  390. IRpcStubBuffer *This,
  391. IRpcChannelBuffer *_pRpcChannelBuffer,
  392. PRPC_MESSAGE _pRpcMessage,
  393. DWORD *_pdwStubPhase);
  394. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketStreamerCallback_OnSeek_Proxy(
  395. IWMSPacketStreamerCallback * This,
  396. /* [in] */ HRESULT hr,
  397. /* [in] */ QWORD qwActualPosition,
  398. /* [in] */ QWORD qwContext);
  399. void __RPC_STUB IWMSPacketStreamerCallback_OnSeek_Stub(
  400. IRpcStubBuffer *This,
  401. IRpcChannelBuffer *_pRpcChannelBuffer,
  402. PRPC_MESSAGE _pRpcMessage,
  403. DWORD *_pdwStubPhase);
  404. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketStreamerCallback_OnSelectStream_Proxy(
  405. IWMSPacketStreamerCallback * This,
  406. /* [in] */ HRESULT hr,
  407. /* [in] */ QWORD qwContext);
  408. void __RPC_STUB IWMSPacketStreamerCallback_OnSelectStream_Stub(
  409. IRpcStubBuffer *This,
  410. IRpcChannelBuffer *_pRpcChannelBuffer,
  411. PRPC_MESSAGE _pRpcMessage,
  412. DWORD *_pdwStubPhase);
  413. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketStreamerCallback_OnChangeStreamFormat_Proxy(
  414. IWMSPacketStreamerCallback * This,
  415. /* [in] */ HRESULT hr,
  416. /* [in] */ QWORD qwContext);
  417. void __RPC_STUB IWMSPacketStreamerCallback_OnChangeStreamFormat_Stub(
  418. IRpcStubBuffer *This,
  419. IRpcChannelBuffer *_pRpcChannelBuffer,
  420. PRPC_MESSAGE _pRpcMessage,
  421. DWORD *_pdwStubPhase);
  422. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketStreamerCallback_OnInterrupt_Proxy(
  423. IWMSPacketStreamerCallback * This,
  424. /* [in] */ HRESULT hr,
  425. /* [in] */ QWORD qwContext);
  426. void __RPC_STUB IWMSPacketStreamerCallback_OnInterrupt_Stub(
  427. IRpcStubBuffer *This,
  428. IRpcChannelBuffer *_pRpcChannelBuffer,
  429. PRPC_MESSAGE _pRpcMessage,
  430. DWORD *_pdwStubPhase);
  431. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketStreamerCallback_OnDoExtendedCommand_Proxy(
  432. IWMSPacketStreamerCallback * This,
  433. /* [in] */ HRESULT hr,
  434. /* [in] */ QWORD qwContext);
  435. void __RPC_STUB IWMSPacketStreamerCallback_OnDoExtendedCommand_Stub(
  436. IRpcStubBuffer *This,
  437. IRpcChannelBuffer *_pRpcChannelBuffer,
  438. PRPC_MESSAGE _pRpcMessage,
  439. DWORD *_pdwStubPhase);
  440. #endif /* __IWMSPacketStreamerCallback_INTERFACE_DEFINED__ */
  441. #ifndef __IWMSPacketStreamDataContainer_INTERFACE_DEFINED__
  442. #define __IWMSPacketStreamDataContainer_INTERFACE_DEFINED__
  443. /* interface IWMSPacketStreamDataContainer */
  444. /* [helpstring][version][uuid][unique][object] */
  445. EXTERN_C const IID IID_IWMSPacketStreamDataContainer;
  446. #if defined(__cplusplus) && !defined(CINTERFACE)
  447. MIDL_INTERFACE("0B1B6039-572C-11d2-9EFF-006097D2D7CF")
  448. IWMSPacketStreamDataContainer : public IUnknown
  449. {
  450. public:
  451. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetStreamSignalHandler(
  452. /* [in] */ IWMSStreamSignalHandler *pStreamSignalHandler) = 0;
  453. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetMaxPacketSize(
  454. /* [out] */ DWORD *pdwMaxPacketSize) = 0;
  455. };
  456. #else /* C style interface */
  457. typedef struct IWMSPacketStreamDataContainerVtbl
  458. {
  459. BEGIN_INTERFACE
  460. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  461. IWMSPacketStreamDataContainer * This,
  462. /* [in] */ REFIID riid,
  463. /* [iid_is][out] */ void **ppvObject);
  464. ULONG ( STDMETHODCALLTYPE *AddRef )(
  465. IWMSPacketStreamDataContainer * This);
  466. ULONG ( STDMETHODCALLTYPE *Release )(
  467. IWMSPacketStreamDataContainer * This);
  468. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetStreamSignalHandler )(
  469. IWMSPacketStreamDataContainer * This,
  470. /* [in] */ IWMSStreamSignalHandler *pStreamSignalHandler);
  471. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetMaxPacketSize )(
  472. IWMSPacketStreamDataContainer * This,
  473. /* [out] */ DWORD *pdwMaxPacketSize);
  474. END_INTERFACE
  475. } IWMSPacketStreamDataContainerVtbl;
  476. interface IWMSPacketStreamDataContainer
  477. {
  478. CONST_VTBL struct IWMSPacketStreamDataContainerVtbl *lpVtbl;
  479. };
  480. #ifdef COBJMACROS
  481. #define IWMSPacketStreamDataContainer_QueryInterface(This,riid,ppvObject) \
  482. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  483. #define IWMSPacketStreamDataContainer_AddRef(This) \
  484. (This)->lpVtbl -> AddRef(This)
  485. #define IWMSPacketStreamDataContainer_Release(This) \
  486. (This)->lpVtbl -> Release(This)
  487. #define IWMSPacketStreamDataContainer_SetStreamSignalHandler(This,pStreamSignalHandler) \
  488. (This)->lpVtbl -> SetStreamSignalHandler(This,pStreamSignalHandler)
  489. #define IWMSPacketStreamDataContainer_GetMaxPacketSize(This,pdwMaxPacketSize) \
  490. (This)->lpVtbl -> GetMaxPacketSize(This,pdwMaxPacketSize)
  491. #endif /* COBJMACROS */
  492. #endif /* C style interface */
  493. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketStreamDataContainer_SetStreamSignalHandler_Proxy(
  494. IWMSPacketStreamDataContainer * This,
  495. /* [in] */ IWMSStreamSignalHandler *pStreamSignalHandler);
  496. void __RPC_STUB IWMSPacketStreamDataContainer_SetStreamSignalHandler_Stub(
  497. IRpcStubBuffer *This,
  498. IRpcChannelBuffer *_pRpcChannelBuffer,
  499. PRPC_MESSAGE _pRpcMessage,
  500. DWORD *_pdwStubPhase);
  501. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketStreamDataContainer_GetMaxPacketSize_Proxy(
  502. IWMSPacketStreamDataContainer * This,
  503. /* [out] */ DWORD *pdwMaxPacketSize);
  504. void __RPC_STUB IWMSPacketStreamDataContainer_GetMaxPacketSize_Stub(
  505. IRpcStubBuffer *This,
  506. IRpcChannelBuffer *_pRpcChannelBuffer,
  507. PRPC_MESSAGE _pRpcMessage,
  508. DWORD *_pdwStubPhase);
  509. #endif /* __IWMSPacketStreamDataContainer_INTERFACE_DEFINED__ */
  510. #ifndef __IWMSPushSource_INTERFACE_DEFINED__
  511. #define __IWMSPushSource_INTERFACE_DEFINED__
  512. /* interface IWMSPushSource */
  513. /* [helpstring][version][uuid][unique][object] */
  514. EXTERN_C const IID IID_IWMSPushSource;
  515. #if defined(__cplusplus) && !defined(CINTERFACE)
  516. MIDL_INTERFACE("0B840593-115C-11d2-9EEE-006097D2D7CF")
  517. IWMSPushSource : public IUnknown
  518. {
  519. public:
  520. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ConnectSink(
  521. /* [in] */ IWMSPushSink *pDataOutput) = 0;
  522. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DisconnectSink( void) = 0;
  523. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE StartPushing(
  524. /* [in] */ IWMSCommandContext *pCommand,
  525. /* [in] */ double dblRate,
  526. /* [in] */ IWMSPushSourceCallback *pCallback,
  527. /* [in] */ QWORD qwContext) = 0;
  528. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE StopPushing(
  529. /* [in] */ IWMSCommandContext *pCommand,
  530. /* [in] */ IWMSPushSourceCallback *pCallback,
  531. /* [in] */ QWORD qwContext) = 0;
  532. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE PausePushing(
  533. /* [in] */ IWMSCommandContext *pCommand,
  534. /* [in] */ IWMSPushSourceCallback *pCallback,
  535. /* [in] */ QWORD qwContext) = 0;
  536. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ResendPacket(
  537. /* [in] */ IWMSCommandContext *pCommand,
  538. /* [in] */ DWORD dwPacketNum,
  539. /* [in] */ DWORD dwStreamNum) = 0;
  540. };
  541. #else /* C style interface */
  542. typedef struct IWMSPushSourceVtbl
  543. {
  544. BEGIN_INTERFACE
  545. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  546. IWMSPushSource * This,
  547. /* [in] */ REFIID riid,
  548. /* [iid_is][out] */ void **ppvObject);
  549. ULONG ( STDMETHODCALLTYPE *AddRef )(
  550. IWMSPushSource * This);
  551. ULONG ( STDMETHODCALLTYPE *Release )(
  552. IWMSPushSource * This);
  553. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ConnectSink )(
  554. IWMSPushSource * This,
  555. /* [in] */ IWMSPushSink *pDataOutput);
  556. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DisconnectSink )(
  557. IWMSPushSource * This);
  558. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *StartPushing )(
  559. IWMSPushSource * This,
  560. /* [in] */ IWMSCommandContext *pCommand,
  561. /* [in] */ double dblRate,
  562. /* [in] */ IWMSPushSourceCallback *pCallback,
  563. /* [in] */ QWORD qwContext);
  564. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *StopPushing )(
  565. IWMSPushSource * This,
  566. /* [in] */ IWMSCommandContext *pCommand,
  567. /* [in] */ IWMSPushSourceCallback *pCallback,
  568. /* [in] */ QWORD qwContext);
  569. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *PausePushing )(
  570. IWMSPushSource * This,
  571. /* [in] */ IWMSCommandContext *pCommand,
  572. /* [in] */ IWMSPushSourceCallback *pCallback,
  573. /* [in] */ QWORD qwContext);
  574. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ResendPacket )(
  575. IWMSPushSource * This,
  576. /* [in] */ IWMSCommandContext *pCommand,
  577. /* [in] */ DWORD dwPacketNum,
  578. /* [in] */ DWORD dwStreamNum);
  579. END_INTERFACE
  580. } IWMSPushSourceVtbl;
  581. interface IWMSPushSource
  582. {
  583. CONST_VTBL struct IWMSPushSourceVtbl *lpVtbl;
  584. };
  585. #ifdef COBJMACROS
  586. #define IWMSPushSource_QueryInterface(This,riid,ppvObject) \
  587. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  588. #define IWMSPushSource_AddRef(This) \
  589. (This)->lpVtbl -> AddRef(This)
  590. #define IWMSPushSource_Release(This) \
  591. (This)->lpVtbl -> Release(This)
  592. #define IWMSPushSource_ConnectSink(This,pDataOutput) \
  593. (This)->lpVtbl -> ConnectSink(This,pDataOutput)
  594. #define IWMSPushSource_DisconnectSink(This) \
  595. (This)->lpVtbl -> DisconnectSink(This)
  596. #define IWMSPushSource_StartPushing(This,pCommand,dblRate,pCallback,qwContext) \
  597. (This)->lpVtbl -> StartPushing(This,pCommand,dblRate,pCallback,qwContext)
  598. #define IWMSPushSource_StopPushing(This,pCommand,pCallback,qwContext) \
  599. (This)->lpVtbl -> StopPushing(This,pCommand,pCallback,qwContext)
  600. #define IWMSPushSource_PausePushing(This,pCommand,pCallback,qwContext) \
  601. (This)->lpVtbl -> PausePushing(This,pCommand,pCallback,qwContext)
  602. #define IWMSPushSource_ResendPacket(This,pCommand,dwPacketNum,dwStreamNum) \
  603. (This)->lpVtbl -> ResendPacket(This,pCommand,dwPacketNum,dwStreamNum)
  604. #endif /* COBJMACROS */
  605. #endif /* C style interface */
  606. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPushSource_ConnectSink_Proxy(
  607. IWMSPushSource * This,
  608. /* [in] */ IWMSPushSink *pDataOutput);
  609. void __RPC_STUB IWMSPushSource_ConnectSink_Stub(
  610. IRpcStubBuffer *This,
  611. IRpcChannelBuffer *_pRpcChannelBuffer,
  612. PRPC_MESSAGE _pRpcMessage,
  613. DWORD *_pdwStubPhase);
  614. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPushSource_DisconnectSink_Proxy(
  615. IWMSPushSource * This);
  616. void __RPC_STUB IWMSPushSource_DisconnectSink_Stub(
  617. IRpcStubBuffer *This,
  618. IRpcChannelBuffer *_pRpcChannelBuffer,
  619. PRPC_MESSAGE _pRpcMessage,
  620. DWORD *_pdwStubPhase);
  621. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPushSource_StartPushing_Proxy(
  622. IWMSPushSource * This,
  623. /* [in] */ IWMSCommandContext *pCommand,
  624. /* [in] */ double dblRate,
  625. /* [in] */ IWMSPushSourceCallback *pCallback,
  626. /* [in] */ QWORD qwContext);
  627. void __RPC_STUB IWMSPushSource_StartPushing_Stub(
  628. IRpcStubBuffer *This,
  629. IRpcChannelBuffer *_pRpcChannelBuffer,
  630. PRPC_MESSAGE _pRpcMessage,
  631. DWORD *_pdwStubPhase);
  632. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPushSource_StopPushing_Proxy(
  633. IWMSPushSource * This,
  634. /* [in] */ IWMSCommandContext *pCommand,
  635. /* [in] */ IWMSPushSourceCallback *pCallback,
  636. /* [in] */ QWORD qwContext);
  637. void __RPC_STUB IWMSPushSource_StopPushing_Stub(
  638. IRpcStubBuffer *This,
  639. IRpcChannelBuffer *_pRpcChannelBuffer,
  640. PRPC_MESSAGE _pRpcMessage,
  641. DWORD *_pdwStubPhase);
  642. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPushSource_PausePushing_Proxy(
  643. IWMSPushSource * This,
  644. /* [in] */ IWMSCommandContext *pCommand,
  645. /* [in] */ IWMSPushSourceCallback *pCallback,
  646. /* [in] */ QWORD qwContext);
  647. void __RPC_STUB IWMSPushSource_PausePushing_Stub(
  648. IRpcStubBuffer *This,
  649. IRpcChannelBuffer *_pRpcChannelBuffer,
  650. PRPC_MESSAGE _pRpcMessage,
  651. DWORD *_pdwStubPhase);
  652. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPushSource_ResendPacket_Proxy(
  653. IWMSPushSource * This,
  654. /* [in] */ IWMSCommandContext *pCommand,
  655. /* [in] */ DWORD dwPacketNum,
  656. /* [in] */ DWORD dwStreamNum);
  657. void __RPC_STUB IWMSPushSource_ResendPacket_Stub(
  658. IRpcStubBuffer *This,
  659. IRpcChannelBuffer *_pRpcChannelBuffer,
  660. PRPC_MESSAGE _pRpcMessage,
  661. DWORD *_pdwStubPhase);
  662. #endif /* __IWMSPushSource_INTERFACE_DEFINED__ */
  663. #ifndef __IWMSPushSourceCallback_INTERFACE_DEFINED__
  664. #define __IWMSPushSourceCallback_INTERFACE_DEFINED__
  665. /* interface IWMSPushSourceCallback */
  666. /* [helpstring][version][uuid][unique][object] */
  667. EXTERN_C const IID IID_IWMSPushSourceCallback;
  668. #if defined(__cplusplus) && !defined(CINTERFACE)
  669. MIDL_INTERFACE("EAD035E4-BE4A-4a7a-BC19-5B0B9E09D74C")
  670. IWMSPushSourceCallback : public IUnknown
  671. {
  672. public:
  673. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnStartPushing(
  674. /* [in] */ HRESULT hr,
  675. /* [in] */ QWORD qwContext) = 0;
  676. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnStopPushing(
  677. /* [in] */ HRESULT hr,
  678. /* [in] */ QWORD qwContext) = 0;
  679. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnPausePushing(
  680. /* [in] */ HRESULT hr,
  681. /* [in] */ QWORD qwContext) = 0;
  682. };
  683. #else /* C style interface */
  684. typedef struct IWMSPushSourceCallbackVtbl
  685. {
  686. BEGIN_INTERFACE
  687. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  688. IWMSPushSourceCallback * This,
  689. /* [in] */ REFIID riid,
  690. /* [iid_is][out] */ void **ppvObject);
  691. ULONG ( STDMETHODCALLTYPE *AddRef )(
  692. IWMSPushSourceCallback * This);
  693. ULONG ( STDMETHODCALLTYPE *Release )(
  694. IWMSPushSourceCallback * This);
  695. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnStartPushing )(
  696. IWMSPushSourceCallback * This,
  697. /* [in] */ HRESULT hr,
  698. /* [in] */ QWORD qwContext);
  699. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnStopPushing )(
  700. IWMSPushSourceCallback * This,
  701. /* [in] */ HRESULT hr,
  702. /* [in] */ QWORD qwContext);
  703. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnPausePushing )(
  704. IWMSPushSourceCallback * This,
  705. /* [in] */ HRESULT hr,
  706. /* [in] */ QWORD qwContext);
  707. END_INTERFACE
  708. } IWMSPushSourceCallbackVtbl;
  709. interface IWMSPushSourceCallback
  710. {
  711. CONST_VTBL struct IWMSPushSourceCallbackVtbl *lpVtbl;
  712. };
  713. #ifdef COBJMACROS
  714. #define IWMSPushSourceCallback_QueryInterface(This,riid,ppvObject) \
  715. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  716. #define IWMSPushSourceCallback_AddRef(This) \
  717. (This)->lpVtbl -> AddRef(This)
  718. #define IWMSPushSourceCallback_Release(This) \
  719. (This)->lpVtbl -> Release(This)
  720. #define IWMSPushSourceCallback_OnStartPushing(This,hr,qwContext) \
  721. (This)->lpVtbl -> OnStartPushing(This,hr,qwContext)
  722. #define IWMSPushSourceCallback_OnStopPushing(This,hr,qwContext) \
  723. (This)->lpVtbl -> OnStopPushing(This,hr,qwContext)
  724. #define IWMSPushSourceCallback_OnPausePushing(This,hr,qwContext) \
  725. (This)->lpVtbl -> OnPausePushing(This,hr,qwContext)
  726. #endif /* COBJMACROS */
  727. #endif /* C style interface */
  728. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPushSourceCallback_OnStartPushing_Proxy(
  729. IWMSPushSourceCallback * This,
  730. /* [in] */ HRESULT hr,
  731. /* [in] */ QWORD qwContext);
  732. void __RPC_STUB IWMSPushSourceCallback_OnStartPushing_Stub(
  733. IRpcStubBuffer *This,
  734. IRpcChannelBuffer *_pRpcChannelBuffer,
  735. PRPC_MESSAGE _pRpcMessage,
  736. DWORD *_pdwStubPhase);
  737. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPushSourceCallback_OnStopPushing_Proxy(
  738. IWMSPushSourceCallback * This,
  739. /* [in] */ HRESULT hr,
  740. /* [in] */ QWORD qwContext);
  741. void __RPC_STUB IWMSPushSourceCallback_OnStopPushing_Stub(
  742. IRpcStubBuffer *This,
  743. IRpcChannelBuffer *_pRpcChannelBuffer,
  744. PRPC_MESSAGE _pRpcMessage,
  745. DWORD *_pdwStubPhase);
  746. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPushSourceCallback_OnPausePushing_Proxy(
  747. IWMSPushSourceCallback * This,
  748. /* [in] */ HRESULT hr,
  749. /* [in] */ QWORD qwContext);
  750. void __RPC_STUB IWMSPushSourceCallback_OnPausePushing_Stub(
  751. IRpcStubBuffer *This,
  752. IRpcChannelBuffer *_pRpcChannelBuffer,
  753. PRPC_MESSAGE _pRpcMessage,
  754. DWORD *_pdwStubPhase);
  755. #endif /* __IWMSPushSourceCallback_INTERFACE_DEFINED__ */
  756. #ifndef __IWMSPushSink_INTERFACE_DEFINED__
  757. #define __IWMSPushSink_INTERFACE_DEFINED__
  758. /* interface IWMSPushSink */
  759. /* [helpstring][version][uuid][unique][object] */
  760. EXTERN_C const IID IID_IWMSPushSink;
  761. #if defined(__cplusplus) && !defined(CINTERFACE)
  762. MIDL_INTERFACE("0B840594-115C-11d2-9EEE-006097D2D7CF")
  763. IWMSPushSink : public IUnknown
  764. {
  765. public:
  766. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ConnectSource(
  767. /* [in] */ IWMSPushSource *pDataInput) = 0;
  768. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DisconnectSource( void) = 0;
  769. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ProcessPackets(
  770. /* [in] */ IWMSPacketList *pPacketList) = 0;
  771. };
  772. #else /* C style interface */
  773. typedef struct IWMSPushSinkVtbl
  774. {
  775. BEGIN_INTERFACE
  776. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  777. IWMSPushSink * This,
  778. /* [in] */ REFIID riid,
  779. /* [iid_is][out] */ void **ppvObject);
  780. ULONG ( STDMETHODCALLTYPE *AddRef )(
  781. IWMSPushSink * This);
  782. ULONG ( STDMETHODCALLTYPE *Release )(
  783. IWMSPushSink * This);
  784. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ConnectSource )(
  785. IWMSPushSink * This,
  786. /* [in] */ IWMSPushSource *pDataInput);
  787. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DisconnectSource )(
  788. IWMSPushSink * This);
  789. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ProcessPackets )(
  790. IWMSPushSink * This,
  791. /* [in] */ IWMSPacketList *pPacketList);
  792. END_INTERFACE
  793. } IWMSPushSinkVtbl;
  794. interface IWMSPushSink
  795. {
  796. CONST_VTBL struct IWMSPushSinkVtbl *lpVtbl;
  797. };
  798. #ifdef COBJMACROS
  799. #define IWMSPushSink_QueryInterface(This,riid,ppvObject) \
  800. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  801. #define IWMSPushSink_AddRef(This) \
  802. (This)->lpVtbl -> AddRef(This)
  803. #define IWMSPushSink_Release(This) \
  804. (This)->lpVtbl -> Release(This)
  805. #define IWMSPushSink_ConnectSource(This,pDataInput) \
  806. (This)->lpVtbl -> ConnectSource(This,pDataInput)
  807. #define IWMSPushSink_DisconnectSource(This) \
  808. (This)->lpVtbl -> DisconnectSource(This)
  809. #define IWMSPushSink_ProcessPackets(This,pPacketList) \
  810. (This)->lpVtbl -> ProcessPackets(This,pPacketList)
  811. #endif /* COBJMACROS */
  812. #endif /* C style interface */
  813. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPushSink_ConnectSource_Proxy(
  814. IWMSPushSink * This,
  815. /* [in] */ IWMSPushSource *pDataInput);
  816. void __RPC_STUB IWMSPushSink_ConnectSource_Stub(
  817. IRpcStubBuffer *This,
  818. IRpcChannelBuffer *_pRpcChannelBuffer,
  819. PRPC_MESSAGE _pRpcMessage,
  820. DWORD *_pdwStubPhase);
  821. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPushSink_DisconnectSource_Proxy(
  822. IWMSPushSink * This);
  823. void __RPC_STUB IWMSPushSink_DisconnectSource_Stub(
  824. IRpcStubBuffer *This,
  825. IRpcChannelBuffer *_pRpcChannelBuffer,
  826. PRPC_MESSAGE _pRpcMessage,
  827. DWORD *_pdwStubPhase);
  828. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPushSink_ProcessPackets_Proxy(
  829. IWMSPushSink * This,
  830. /* [in] */ IWMSPacketList *pPacketList);
  831. void __RPC_STUB IWMSPushSink_ProcessPackets_Stub(
  832. IRpcStubBuffer *This,
  833. IRpcChannelBuffer *_pRpcChannelBuffer,
  834. PRPC_MESSAGE _pRpcMessage,
  835. DWORD *_pdwStubPhase);
  836. #endif /* __IWMSPushSink_INTERFACE_DEFINED__ */
  837. /* Additional Prototypes for ALL interfaces */
  838. /* end of Additional Prototypes */
  839. #ifdef __cplusplus
  840. }
  841. #endif
  842. #endif