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.

1709 lines
56 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 wmspacket.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 __wmspacket_h__
  27. #define __wmspacket_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IWMSPacket_FWD_DEFINED__
  33. #define __IWMSPacket_FWD_DEFINED__
  34. typedef interface IWMSPacket IWMSPacket;
  35. #endif /* __IWMSPacket_FWD_DEFINED__ */
  36. #ifndef __IWMSPacketListCallback_FWD_DEFINED__
  37. #define __IWMSPacketListCallback_FWD_DEFINED__
  38. typedef interface IWMSPacketListCallback IWMSPacketListCallback;
  39. #endif /* __IWMSPacketListCallback_FWD_DEFINED__ */
  40. #ifndef __IWMSPacketList_FWD_DEFINED__
  41. #define __IWMSPacketList_FWD_DEFINED__
  42. typedef interface IWMSPacketList IWMSPacketList;
  43. #endif /* __IWMSPacketList_FWD_DEFINED__ */
  44. #ifndef __IWMSPacketParser_FWD_DEFINED__
  45. #define __IWMSPacketParser_FWD_DEFINED__
  46. typedef interface IWMSPacketParser IWMSPacketParser;
  47. #endif /* __IWMSPacketParser_FWD_DEFINED__ */
  48. #ifndef __IWMSStreamSignalHandler_FWD_DEFINED__
  49. #define __IWMSStreamSignalHandler_FWD_DEFINED__
  50. typedef interface IWMSStreamSignalHandler IWMSStreamSignalHandler;
  51. #endif /* __IWMSStreamSignalHandler_FWD_DEFINED__ */
  52. /* header files for imported files */
  53. #include "objidl.h"
  54. #include "WMSBuffer.h"
  55. #include "WMSContext.h"
  56. #ifdef __cplusplus
  57. extern "C"{
  58. #endif
  59. void * __RPC_USER MIDL_user_allocate(size_t);
  60. void __RPC_USER MIDL_user_free( void * );
  61. /* interface __MIDL_itf_wmspacket_0000 */
  62. /* [local] */
  63. //*****************************************************************************
  64. //
  65. // Microsoft Windows Media
  66. // Copyright (C) Microsoft Corporation. All rights reserved.
  67. //
  68. // Automatically generated by Midl from wmspacket.idl
  69. //
  70. // DO NOT EDIT THIS FILE.
  71. //
  72. //*****************************************************************************
  73. #if _MSC_VER > 1000
  74. #pragma once
  75. #endif // _MSC_VER > 1000
  76. EXTERN_GUID( IID_IWMSPacket, 0x3309C901,0x10A4,0x11d2,0x9E,0xEE,0x00,0x60,0x97,0xD2,0xD7,0xCF );
  77. EXTERN_GUID( IID_IWMSPacketList, 0x3309C902,0x10A4,0x11d2,0x9E,0xEE,0x00,0x60,0x97,0xD2,0xD7,0xCF );
  78. EXTERN_GUID( IID_IWMSPacketParser, 0x8b59f7e1, 0x5411, 0x11d2, 0x9e, 0xff, 0x0, 0x60, 0x97, 0xd2, 0xd7, 0xcf );
  79. EXTERN_GUID( IID_IWMSPacketListCallback, 0x49c2a6f1, 0x64b8, 0x11d2, 0x9f, 0xe, 0x0, 0x60, 0x97, 0xd2, 0xd7, 0xcf );
  80. EXTERN_GUID( IID_IWMSStreamSignalHandler, 0x7B10F261,0x26AA,0x11d2,0x9E,0xF2,0x00,0x60,0x97,0xD2,0xD7,0xCF );
  81. typedef /* [public] */
  82. enum WMS_PACKET_ATTRIBUTES
  83. { WMS_PACKET_PACKET_NUM = 0,
  84. WMS_PACKET_NUM_BUFFERS = WMS_PACKET_PACKET_NUM + 1,
  85. WMS_PACKET_LENGTH = WMS_PACKET_NUM_BUFFERS + 1,
  86. WMS_PACKET_SEND_TIME_HI = WMS_PACKET_LENGTH + 1,
  87. WMS_PACKET_SEND_TIME = WMS_PACKET_SEND_TIME_HI + 1,
  88. WMS_PACKET_STREAM_NUM = WMS_PACKET_SEND_TIME + 1,
  89. WMS_PACKET_FLAGS = WMS_PACKET_STREAM_NUM + 1,
  90. WMS_PACKET_NET_SEQUENCE_NUMBER = WMS_PACKET_FLAGS + 1,
  91. WMS_PACKET_PRESENT_TIME_HI = WMS_PACKET_NET_SEQUENCE_NUMBER + 1,
  92. WMS_PACKET_PRESENT_TIME = WMS_PACKET_PRESENT_TIME_HI + 1,
  93. WMS_PACKET_RECV_TIME = WMS_PACKET_PRESENT_TIME + 1,
  94. WMS_PACKET_NUM_NACKS = WMS_PACKET_RECV_TIME + 1,
  95. WMS_PACKET_DURATION = WMS_PACKET_NUM_NACKS + 1,
  96. WMS_PACKET_ERASURES_DETECTED = WMS_PACKET_DURATION + 1,
  97. WMS_PACKET_SEND_TIME_ADJUSTMENT = WMS_PACKET_ERASURES_DETECTED + 1,
  98. WMS_PACKET_PACKETIZED_HDRLEN = WMS_PACKET_SEND_TIME_ADJUSTMENT + 1,
  99. WMS_LAST_PACKET_ATTRIBUTE = WMS_PACKET_PACKETIZED_HDRLEN
  100. } WMS_PACKET_ATTRIBUTES;
  101. typedef /* [public] */
  102. enum WMS_PACKET_FLAG_TYPES
  103. { WMS_KEY_FRAME_PACKET = 0x1,
  104. WMS_RETRANSMITTED_PACKET = 0x2,
  105. WMS_PACKET_REPORTED = 0x4,
  106. WMS_PACKET_PACKETIZED = 0x8,
  107. WMS_RECOVERED_PACKET = 0x10,
  108. WMS_FEC_PACKET = 0x20,
  109. WMS_FEC_ENCODED_PACKET = 0x40,
  110. WMS_PACKET_BURST_FLAG = 0x80,
  111. WMS_PACKET_FIRST_PAYLOAD_FLAG = 0x100
  112. } WMS_PACKET_FLAG_TYPES;
  113. typedef /* [public] */
  114. enum WMS_PACKET_LIST_ATTRIBUTES
  115. { WMS_PACKET_LIST_FLAGS = 0,
  116. WMS_STREAM_SIGNAL = 1,
  117. WMS_PACKET_LIST_GENID = 2,
  118. WMS_PACKET_LIST_SEND_TIME = 3,
  119. WMS_PACKET_LIST_SEND_TIME_HI = 4,
  120. WMS_PACKET_LIST_PLAYLIST_GEN_ID = 5,
  121. WMS_LAST_PACKET_LIST_ATTRIBUTE = WMS_PACKET_LIST_PLAYLIST_GEN_ID
  122. } WMS_PACKET_LIST_ATTRIBUTES;
  123. typedef /* [public] */
  124. enum WMS_PACKET_LIST_FLAG_TYPES
  125. { WMS_PACKET_LIST_NEEDS_FIXUP = 0x1,
  126. WMS_PACKET_LIST_UDP_RESEND = 0x2,
  127. WMS_PACKET_LIST_PRESTUFF = 0x4,
  128. WMS_PACKET_LIST_PLAYLIST_CHANGE_RECEDING = 0x8
  129. } WMS_PACKET_LIST_FLAG_TYPES;
  130. typedef /* [public] */
  131. enum WMS_PACKET_LIST_EX_FLAGS
  132. { WMS_NO_ADDREF = 0x80000000,
  133. WMS_PACKET_NO_ADDREF = 0x80000000,
  134. WMS_PACKET_NO_RELEASE = 0x40000000,
  135. WMS_PLIST_BUFFER_NO_ADDREF = 0x80000000,
  136. WMS_PLIST_BUFFER_NO_RELEASE = 0x40000000,
  137. WMS_PLIST_NO_ADDREF = 0x80000000
  138. } WMS_PACKET_LIST_EX_FLAGS;
  139. typedef /* [public] */
  140. enum WMS_PACKET_BUFFER_FLAGS
  141. { WMS_INSERT_BUFFER_AT_END = 0xffffffff
  142. } WMS_PACKET_BUFFER_FLAGS;
  143. typedef /* [public] */
  144. enum WMS_PACKET_BUFFER_EX_FLAGS
  145. { WMS_BUFFER_NO_ADDREF = 0x80000000,
  146. WMS_BUFFER_NO_RELEASE = 0x40000000,
  147. WMS_BUFFER_NO_REFCOUNT = 0x20000000,
  148. WMS_BUFFER_COMBINE = 0x10000000
  149. } WMS_PACKET_BUFFER_EX_FLAGS;
  150. typedef /* [public] */
  151. enum WMS_PACKET_STATUS_FLAGS
  152. { WMS_START_NEXT_READ = 0x1,
  153. WMS_WRITE_COMPLETED = 0x2,
  154. WMS_REQUEST_BUFFER = 0x4,
  155. WMS_HEADER_BUFFER = 0x8
  156. } WMS_PACKET_STATUS_FLAGS;
  157. typedef /* [public] */
  158. enum WMS_PARSER_FLAG_TYPES
  159. { WMS_PARSER_PRESERVE_PADDING = 0x1
  160. } WMS_PARSER_FLAG_TYPES;
  161. typedef unsigned __int64 QWORD;
  162. extern RPC_IF_HANDLE __MIDL_itf_wmspacket_0000_v0_0_c_ifspec;
  163. extern RPC_IF_HANDLE __MIDL_itf_wmspacket_0000_v0_0_s_ifspec;
  164. #ifndef __IWMSPacket_INTERFACE_DEFINED__
  165. #define __IWMSPacket_INTERFACE_DEFINED__
  166. /* interface IWMSPacket */
  167. /* [helpstring][version][uuid][unique][object] */
  168. typedef /* [public][public] */ struct __MIDL_IWMSPacket_0001
  169. {
  170. INSSBuffer *pBuffer;
  171. DWORD dwBufferOffset;
  172. DWORD dwBufferLen;
  173. WORD wFlags;
  174. } WMSBUFFERDESC;
  175. EXTERN_C const IID IID_IWMSPacket;
  176. #if defined(__cplusplus) && !defined(CINTERFACE)
  177. MIDL_INTERFACE("3309C901-10A4-11d2-9EEE-006097D2D7CF")
  178. IWMSPacket : public IUnknown
  179. {
  180. public:
  181. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetAllBuffers(
  182. /* [in] */ DWORD dwMaxNumBuffers,
  183. /* [out] */ WMSBUFFERDESC *pDesc,
  184. /* [out] */ DWORD *pdwNumBuffers,
  185. /* [in] */ DWORD dwExFlags) = 0;
  186. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetBuffer(
  187. /* [in] */ DWORD dwBufferNum,
  188. /* [out] */ INSSBuffer **ppBuffer,
  189. /* [out] */ DWORD *pdwBufferOffset,
  190. /* [out] */ DWORD *pdwBufferLen,
  191. /* [out] */ WORD *pwFlags,
  192. /* [defaultvalue][in] */ DWORD dwExFlags = 0) = 0;
  193. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE InsertBuffer(
  194. /* [in] */ DWORD dwBufferNum,
  195. /* [in] */ INSSBuffer *pBuffer,
  196. /* [in] */ DWORD dwBufferOffset,
  197. /* [in] */ DWORD dwBufferLen,
  198. /* [in] */ WORD wFlags,
  199. /* [defaultvalue][in] */ DWORD dwExFlags = 0) = 0;
  200. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RemoveBuffer(
  201. /* [in] */ DWORD dwBufferNum) = 0;
  202. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RemoveAllBuffers( void) = 0;
  203. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetAttribute(
  204. /* [in] */ DWORD dwValueName,
  205. /* [out] */ DWORD *pdwValue) = 0;
  206. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetAttribute(
  207. /* [in] */ DWORD dwValueName,
  208. /* [in] */ DWORD dwValue) = 0;
  209. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetExtendedAttribute(
  210. /* [in] */ DWORD dwValueName,
  211. /* [out] */ VARIANT *pVariantValue) = 0;
  212. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetExtendedAttributeByIndex(
  213. /* [in] */ DWORD dwIndex,
  214. /* [out] */ DWORD *pdwValueName,
  215. /* [out] */ VARIANT *pVariantValue) = 0;
  216. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetExtendedAttribute(
  217. /* [in] */ DWORD dwValueName,
  218. /* [in] */ VARIANT VariantValue) = 0;
  219. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetExtendedAttributeCount(
  220. /* [out] */ DWORD *pdwAttrs) = 0;
  221. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CopyAttributes(
  222. /* [in] */ IWMSPacket *pDest,
  223. /* [defaultvalue][in] */ DWORD *pdwAttrNames = 0,
  224. /* [defaultvalue][in] */ DWORD dwNumAttr = 0,
  225. /* [defaultvalue][in] */ BOOL fCopyExtAttr = FALSE) = 0;
  226. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AppendHeader(
  227. /* [in] */ IWMSBufferAllocator *pAlloc,
  228. /* [in] */ DWORD dwHeaderLen,
  229. /* [in] */ BYTE *pbHeader) = 0;
  230. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetInHeader(
  231. /* [in] */ DWORD cbOffset,
  232. /* [in] */ BYTE *pbData,
  233. /* [in] */ DWORD cbData) = 0;
  234. };
  235. #else /* C style interface */
  236. typedef struct IWMSPacketVtbl
  237. {
  238. BEGIN_INTERFACE
  239. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  240. IWMSPacket * This,
  241. /* [in] */ REFIID riid,
  242. /* [iid_is][out] */ void **ppvObject);
  243. ULONG ( STDMETHODCALLTYPE *AddRef )(
  244. IWMSPacket * This);
  245. ULONG ( STDMETHODCALLTYPE *Release )(
  246. IWMSPacket * This);
  247. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetAllBuffers )(
  248. IWMSPacket * This,
  249. /* [in] */ DWORD dwMaxNumBuffers,
  250. /* [out] */ WMSBUFFERDESC *pDesc,
  251. /* [out] */ DWORD *pdwNumBuffers,
  252. /* [in] */ DWORD dwExFlags);
  253. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetBuffer )(
  254. IWMSPacket * This,
  255. /* [in] */ DWORD dwBufferNum,
  256. /* [out] */ INSSBuffer **ppBuffer,
  257. /* [out] */ DWORD *pdwBufferOffset,
  258. /* [out] */ DWORD *pdwBufferLen,
  259. /* [out] */ WORD *pwFlags,
  260. /* [defaultvalue][in] */ DWORD dwExFlags);
  261. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *InsertBuffer )(
  262. IWMSPacket * This,
  263. /* [in] */ DWORD dwBufferNum,
  264. /* [in] */ INSSBuffer *pBuffer,
  265. /* [in] */ DWORD dwBufferOffset,
  266. /* [in] */ DWORD dwBufferLen,
  267. /* [in] */ WORD wFlags,
  268. /* [defaultvalue][in] */ DWORD dwExFlags);
  269. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RemoveBuffer )(
  270. IWMSPacket * This,
  271. /* [in] */ DWORD dwBufferNum);
  272. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RemoveAllBuffers )(
  273. IWMSPacket * This);
  274. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetAttribute )(
  275. IWMSPacket * This,
  276. /* [in] */ DWORD dwValueName,
  277. /* [out] */ DWORD *pdwValue);
  278. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetAttribute )(
  279. IWMSPacket * This,
  280. /* [in] */ DWORD dwValueName,
  281. /* [in] */ DWORD dwValue);
  282. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetExtendedAttribute )(
  283. IWMSPacket * This,
  284. /* [in] */ DWORD dwValueName,
  285. /* [out] */ VARIANT *pVariantValue);
  286. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetExtendedAttributeByIndex )(
  287. IWMSPacket * This,
  288. /* [in] */ DWORD dwIndex,
  289. /* [out] */ DWORD *pdwValueName,
  290. /* [out] */ VARIANT *pVariantValue);
  291. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetExtendedAttribute )(
  292. IWMSPacket * This,
  293. /* [in] */ DWORD dwValueName,
  294. /* [in] */ VARIANT VariantValue);
  295. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetExtendedAttributeCount )(
  296. IWMSPacket * This,
  297. /* [out] */ DWORD *pdwAttrs);
  298. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CopyAttributes )(
  299. IWMSPacket * This,
  300. /* [in] */ IWMSPacket *pDest,
  301. /* [defaultvalue][in] */ DWORD *pdwAttrNames,
  302. /* [defaultvalue][in] */ DWORD dwNumAttr,
  303. /* [defaultvalue][in] */ BOOL fCopyExtAttr);
  304. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AppendHeader )(
  305. IWMSPacket * This,
  306. /* [in] */ IWMSBufferAllocator *pAlloc,
  307. /* [in] */ DWORD dwHeaderLen,
  308. /* [in] */ BYTE *pbHeader);
  309. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetInHeader )(
  310. IWMSPacket * This,
  311. /* [in] */ DWORD cbOffset,
  312. /* [in] */ BYTE *pbData,
  313. /* [in] */ DWORD cbData);
  314. END_INTERFACE
  315. } IWMSPacketVtbl;
  316. interface IWMSPacket
  317. {
  318. CONST_VTBL struct IWMSPacketVtbl *lpVtbl;
  319. };
  320. #ifdef COBJMACROS
  321. #define IWMSPacket_QueryInterface(This,riid,ppvObject) \
  322. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  323. #define IWMSPacket_AddRef(This) \
  324. (This)->lpVtbl -> AddRef(This)
  325. #define IWMSPacket_Release(This) \
  326. (This)->lpVtbl -> Release(This)
  327. #define IWMSPacket_GetAllBuffers(This,dwMaxNumBuffers,pDesc,pdwNumBuffers,dwExFlags) \
  328. (This)->lpVtbl -> GetAllBuffers(This,dwMaxNumBuffers,pDesc,pdwNumBuffers,dwExFlags)
  329. #define IWMSPacket_GetBuffer(This,dwBufferNum,ppBuffer,pdwBufferOffset,pdwBufferLen,pwFlags,dwExFlags) \
  330. (This)->lpVtbl -> GetBuffer(This,dwBufferNum,ppBuffer,pdwBufferOffset,pdwBufferLen,pwFlags,dwExFlags)
  331. #define IWMSPacket_InsertBuffer(This,dwBufferNum,pBuffer,dwBufferOffset,dwBufferLen,wFlags,dwExFlags) \
  332. (This)->lpVtbl -> InsertBuffer(This,dwBufferNum,pBuffer,dwBufferOffset,dwBufferLen,wFlags,dwExFlags)
  333. #define IWMSPacket_RemoveBuffer(This,dwBufferNum) \
  334. (This)->lpVtbl -> RemoveBuffer(This,dwBufferNum)
  335. #define IWMSPacket_RemoveAllBuffers(This) \
  336. (This)->lpVtbl -> RemoveAllBuffers(This)
  337. #define IWMSPacket_GetAttribute(This,dwValueName,pdwValue) \
  338. (This)->lpVtbl -> GetAttribute(This,dwValueName,pdwValue)
  339. #define IWMSPacket_SetAttribute(This,dwValueName,dwValue) \
  340. (This)->lpVtbl -> SetAttribute(This,dwValueName,dwValue)
  341. #define IWMSPacket_GetExtendedAttribute(This,dwValueName,pVariantValue) \
  342. (This)->lpVtbl -> GetExtendedAttribute(This,dwValueName,pVariantValue)
  343. #define IWMSPacket_GetExtendedAttributeByIndex(This,dwIndex,pdwValueName,pVariantValue) \
  344. (This)->lpVtbl -> GetExtendedAttributeByIndex(This,dwIndex,pdwValueName,pVariantValue)
  345. #define IWMSPacket_SetExtendedAttribute(This,dwValueName,VariantValue) \
  346. (This)->lpVtbl -> SetExtendedAttribute(This,dwValueName,VariantValue)
  347. #define IWMSPacket_GetExtendedAttributeCount(This,pdwAttrs) \
  348. (This)->lpVtbl -> GetExtendedAttributeCount(This,pdwAttrs)
  349. #define IWMSPacket_CopyAttributes(This,pDest,pdwAttrNames,dwNumAttr,fCopyExtAttr) \
  350. (This)->lpVtbl -> CopyAttributes(This,pDest,pdwAttrNames,dwNumAttr,fCopyExtAttr)
  351. #define IWMSPacket_AppendHeader(This,pAlloc,dwHeaderLen,pbHeader) \
  352. (This)->lpVtbl -> AppendHeader(This,pAlloc,dwHeaderLen,pbHeader)
  353. #define IWMSPacket_SetInHeader(This,cbOffset,pbData,cbData) \
  354. (This)->lpVtbl -> SetInHeader(This,cbOffset,pbData,cbData)
  355. #endif /* COBJMACROS */
  356. #endif /* C style interface */
  357. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacket_GetAllBuffers_Proxy(
  358. IWMSPacket * This,
  359. /* [in] */ DWORD dwMaxNumBuffers,
  360. /* [out] */ WMSBUFFERDESC *pDesc,
  361. /* [out] */ DWORD *pdwNumBuffers,
  362. /* [in] */ DWORD dwExFlags);
  363. void __RPC_STUB IWMSPacket_GetAllBuffers_Stub(
  364. IRpcStubBuffer *This,
  365. IRpcChannelBuffer *_pRpcChannelBuffer,
  366. PRPC_MESSAGE _pRpcMessage,
  367. DWORD *_pdwStubPhase);
  368. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacket_GetBuffer_Proxy(
  369. IWMSPacket * This,
  370. /* [in] */ DWORD dwBufferNum,
  371. /* [out] */ INSSBuffer **ppBuffer,
  372. /* [out] */ DWORD *pdwBufferOffset,
  373. /* [out] */ DWORD *pdwBufferLen,
  374. /* [out] */ WORD *pwFlags,
  375. /* [defaultvalue][in] */ DWORD dwExFlags);
  376. void __RPC_STUB IWMSPacket_GetBuffer_Stub(
  377. IRpcStubBuffer *This,
  378. IRpcChannelBuffer *_pRpcChannelBuffer,
  379. PRPC_MESSAGE _pRpcMessage,
  380. DWORD *_pdwStubPhase);
  381. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacket_InsertBuffer_Proxy(
  382. IWMSPacket * This,
  383. /* [in] */ DWORD dwBufferNum,
  384. /* [in] */ INSSBuffer *pBuffer,
  385. /* [in] */ DWORD dwBufferOffset,
  386. /* [in] */ DWORD dwBufferLen,
  387. /* [in] */ WORD wFlags,
  388. /* [defaultvalue][in] */ DWORD dwExFlags);
  389. void __RPC_STUB IWMSPacket_InsertBuffer_Stub(
  390. IRpcStubBuffer *This,
  391. IRpcChannelBuffer *_pRpcChannelBuffer,
  392. PRPC_MESSAGE _pRpcMessage,
  393. DWORD *_pdwStubPhase);
  394. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacket_RemoveBuffer_Proxy(
  395. IWMSPacket * This,
  396. /* [in] */ DWORD dwBufferNum);
  397. void __RPC_STUB IWMSPacket_RemoveBuffer_Stub(
  398. IRpcStubBuffer *This,
  399. IRpcChannelBuffer *_pRpcChannelBuffer,
  400. PRPC_MESSAGE _pRpcMessage,
  401. DWORD *_pdwStubPhase);
  402. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacket_RemoveAllBuffers_Proxy(
  403. IWMSPacket * This);
  404. void __RPC_STUB IWMSPacket_RemoveAllBuffers_Stub(
  405. IRpcStubBuffer *This,
  406. IRpcChannelBuffer *_pRpcChannelBuffer,
  407. PRPC_MESSAGE _pRpcMessage,
  408. DWORD *_pdwStubPhase);
  409. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacket_GetAttribute_Proxy(
  410. IWMSPacket * This,
  411. /* [in] */ DWORD dwValueName,
  412. /* [out] */ DWORD *pdwValue);
  413. void __RPC_STUB IWMSPacket_GetAttribute_Stub(
  414. IRpcStubBuffer *This,
  415. IRpcChannelBuffer *_pRpcChannelBuffer,
  416. PRPC_MESSAGE _pRpcMessage,
  417. DWORD *_pdwStubPhase);
  418. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacket_SetAttribute_Proxy(
  419. IWMSPacket * This,
  420. /* [in] */ DWORD dwValueName,
  421. /* [in] */ DWORD dwValue);
  422. void __RPC_STUB IWMSPacket_SetAttribute_Stub(
  423. IRpcStubBuffer *This,
  424. IRpcChannelBuffer *_pRpcChannelBuffer,
  425. PRPC_MESSAGE _pRpcMessage,
  426. DWORD *_pdwStubPhase);
  427. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacket_GetExtendedAttribute_Proxy(
  428. IWMSPacket * This,
  429. /* [in] */ DWORD dwValueName,
  430. /* [out] */ VARIANT *pVariantValue);
  431. void __RPC_STUB IWMSPacket_GetExtendedAttribute_Stub(
  432. IRpcStubBuffer *This,
  433. IRpcChannelBuffer *_pRpcChannelBuffer,
  434. PRPC_MESSAGE _pRpcMessage,
  435. DWORD *_pdwStubPhase);
  436. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacket_GetExtendedAttributeByIndex_Proxy(
  437. IWMSPacket * This,
  438. /* [in] */ DWORD dwIndex,
  439. /* [out] */ DWORD *pdwValueName,
  440. /* [out] */ VARIANT *pVariantValue);
  441. void __RPC_STUB IWMSPacket_GetExtendedAttributeByIndex_Stub(
  442. IRpcStubBuffer *This,
  443. IRpcChannelBuffer *_pRpcChannelBuffer,
  444. PRPC_MESSAGE _pRpcMessage,
  445. DWORD *_pdwStubPhase);
  446. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacket_SetExtendedAttribute_Proxy(
  447. IWMSPacket * This,
  448. /* [in] */ DWORD dwValueName,
  449. /* [in] */ VARIANT VariantValue);
  450. void __RPC_STUB IWMSPacket_SetExtendedAttribute_Stub(
  451. IRpcStubBuffer *This,
  452. IRpcChannelBuffer *_pRpcChannelBuffer,
  453. PRPC_MESSAGE _pRpcMessage,
  454. DWORD *_pdwStubPhase);
  455. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacket_GetExtendedAttributeCount_Proxy(
  456. IWMSPacket * This,
  457. /* [out] */ DWORD *pdwAttrs);
  458. void __RPC_STUB IWMSPacket_GetExtendedAttributeCount_Stub(
  459. IRpcStubBuffer *This,
  460. IRpcChannelBuffer *_pRpcChannelBuffer,
  461. PRPC_MESSAGE _pRpcMessage,
  462. DWORD *_pdwStubPhase);
  463. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacket_CopyAttributes_Proxy(
  464. IWMSPacket * This,
  465. /* [in] */ IWMSPacket *pDest,
  466. /* [defaultvalue][in] */ DWORD *pdwAttrNames,
  467. /* [defaultvalue][in] */ DWORD dwNumAttr,
  468. /* [defaultvalue][in] */ BOOL fCopyExtAttr);
  469. void __RPC_STUB IWMSPacket_CopyAttributes_Stub(
  470. IRpcStubBuffer *This,
  471. IRpcChannelBuffer *_pRpcChannelBuffer,
  472. PRPC_MESSAGE _pRpcMessage,
  473. DWORD *_pdwStubPhase);
  474. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacket_AppendHeader_Proxy(
  475. IWMSPacket * This,
  476. /* [in] */ IWMSBufferAllocator *pAlloc,
  477. /* [in] */ DWORD dwHeaderLen,
  478. /* [in] */ BYTE *pbHeader);
  479. void __RPC_STUB IWMSPacket_AppendHeader_Stub(
  480. IRpcStubBuffer *This,
  481. IRpcChannelBuffer *_pRpcChannelBuffer,
  482. PRPC_MESSAGE _pRpcMessage,
  483. DWORD *_pdwStubPhase);
  484. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacket_SetInHeader_Proxy(
  485. IWMSPacket * This,
  486. /* [in] */ DWORD cbOffset,
  487. /* [in] */ BYTE *pbData,
  488. /* [in] */ DWORD cbData);
  489. void __RPC_STUB IWMSPacket_SetInHeader_Stub(
  490. IRpcStubBuffer *This,
  491. IRpcChannelBuffer *_pRpcChannelBuffer,
  492. PRPC_MESSAGE _pRpcMessage,
  493. DWORD *_pdwStubPhase);
  494. #endif /* __IWMSPacket_INTERFACE_DEFINED__ */
  495. #ifndef __IWMSPacketListCallback_INTERFACE_DEFINED__
  496. #define __IWMSPacketListCallback_INTERFACE_DEFINED__
  497. /* interface IWMSPacketListCallback */
  498. /* [helpstring][version][uuid][unique][object] */
  499. EXTERN_C const IID IID_IWMSPacketListCallback;
  500. #if defined(__cplusplus) && !defined(CINTERFACE)
  501. MIDL_INTERFACE("49C2A6F1-64B8-11d2-9F0E-006097D2D7CF")
  502. IWMSPacketListCallback : public IUnknown
  503. {
  504. public:
  505. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnReportPacketListStatus(
  506. /* [in] */ IWMSPacketList *pBuffer,
  507. /* [in] */ DWORD dwStatus) = 0;
  508. };
  509. #else /* C style interface */
  510. typedef struct IWMSPacketListCallbackVtbl
  511. {
  512. BEGIN_INTERFACE
  513. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  514. IWMSPacketListCallback * This,
  515. /* [in] */ REFIID riid,
  516. /* [iid_is][out] */ void **ppvObject);
  517. ULONG ( STDMETHODCALLTYPE *AddRef )(
  518. IWMSPacketListCallback * This);
  519. ULONG ( STDMETHODCALLTYPE *Release )(
  520. IWMSPacketListCallback * This);
  521. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnReportPacketListStatus )(
  522. IWMSPacketListCallback * This,
  523. /* [in] */ IWMSPacketList *pBuffer,
  524. /* [in] */ DWORD dwStatus);
  525. END_INTERFACE
  526. } IWMSPacketListCallbackVtbl;
  527. interface IWMSPacketListCallback
  528. {
  529. CONST_VTBL struct IWMSPacketListCallbackVtbl *lpVtbl;
  530. };
  531. #ifdef COBJMACROS
  532. #define IWMSPacketListCallback_QueryInterface(This,riid,ppvObject) \
  533. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  534. #define IWMSPacketListCallback_AddRef(This) \
  535. (This)->lpVtbl -> AddRef(This)
  536. #define IWMSPacketListCallback_Release(This) \
  537. (This)->lpVtbl -> Release(This)
  538. #define IWMSPacketListCallback_OnReportPacketListStatus(This,pBuffer,dwStatus) \
  539. (This)->lpVtbl -> OnReportPacketListStatus(This,pBuffer,dwStatus)
  540. #endif /* COBJMACROS */
  541. #endif /* C style interface */
  542. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketListCallback_OnReportPacketListStatus_Proxy(
  543. IWMSPacketListCallback * This,
  544. /* [in] */ IWMSPacketList *pBuffer,
  545. /* [in] */ DWORD dwStatus);
  546. void __RPC_STUB IWMSPacketListCallback_OnReportPacketListStatus_Stub(
  547. IRpcStubBuffer *This,
  548. IRpcChannelBuffer *_pRpcChannelBuffer,
  549. PRPC_MESSAGE _pRpcMessage,
  550. DWORD *_pdwStubPhase);
  551. #endif /* __IWMSPacketListCallback_INTERFACE_DEFINED__ */
  552. #ifndef __IWMSPacketList_INTERFACE_DEFINED__
  553. #define __IWMSPacketList_INTERFACE_DEFINED__
  554. /* interface IWMSPacketList */
  555. /* [helpstring][version][uuid][unique][object] */
  556. typedef /* [public][public] */ struct __MIDL_IWMSPacketList_0001
  557. {
  558. IWMSPacket *pPacket;
  559. struct
  560. {
  561. DWORD dwPacketNum;
  562. DWORD dwPacketNumBuffers;
  563. DWORD dwPacketLength;
  564. DWORD dwPacketSendTimeHi;
  565. DWORD dwPacketSendTime;
  566. DWORD dwPacketStreamNum;
  567. DWORD dwPacketFlags;
  568. DWORD dwPacketNetSequenceNum;
  569. } Attrs;
  570. } WMSPACKETDESC;
  571. EXTERN_C const IID IID_IWMSPacketList;
  572. #if defined(__cplusplus) && !defined(CINTERFACE)
  573. MIDL_INTERFACE("3309C902-10A4-11d2-9EEE-006097D2D7CF")
  574. IWMSPacketList : public IWMSBufferAllocator
  575. {
  576. public:
  577. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetPacketCount(
  578. /* [out] */ DWORD *pdwNumPackets) = 0;
  579. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetPacket(
  580. /* [in] */ DWORD dwPacketNum,
  581. /* [out] */ IWMSPacket **ppPacket,
  582. /* [defaultvalue][in] */ DWORD dwExFlags = 0) = 0;
  583. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetAllPackets(
  584. /* [in] */ DWORD dwFirstPacket,
  585. /* [in] */ DWORD dwMaxNumPackets,
  586. /* [out] */ WMSPACKETDESC *pPacketDesc,
  587. /* [out] */ IWMSPacket **ppPacket,
  588. /* [out] */ DWORD *pdwDescNum,
  589. /* [in] */ DWORD dwExFlags) = 0;
  590. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE InsertPacket(
  591. /* [in] */ DWORD dwPacketNum,
  592. /* [in] */ IWMSPacket *pPacket,
  593. /* [defaultvalue][in] */ DWORD dwExFlags = 0) = 0;
  594. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AppendPacket(
  595. /* [in] */ IWMSPacket *pPacket,
  596. /* [defaultvalue][in] */ DWORD dwExFlags = 0) = 0;
  597. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RemovePacket(
  598. /* [in] */ DWORD dwPacketNum) = 0;
  599. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RemoveAllPackets(
  600. /* [defaultvalue][in] */ DWORD dwExFlags = 0) = 0;
  601. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetAttribute(
  602. /* [in] */ DWORD dwValueName,
  603. /* [in] */ DWORD *pdwValue) = 0;
  604. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetAttribute(
  605. /* [in] */ DWORD dwValueName,
  606. /* [in] */ DWORD dwValue) = 0;
  607. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetStreamSignalParam(
  608. /* [out] */ VARIANT *pParameter) = 0;
  609. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetStreamSignalParam(
  610. /* [in] */ VARIANT *pParameter) = 0;
  611. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetPacketParser(
  612. /* [out] */ IWMSPacketParser **ppSource,
  613. /* [defaultvalue][in] */ DWORD dwExFlags = 0) = 0;
  614. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetPacketParser(
  615. /* [in] */ IWMSPacketParser *pSource) = 0;
  616. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetBuffer(
  617. /* [out] */ INSSBuffer **ppBuffer,
  618. /* [defaultvalue][in] */ DWORD dwExFlags = 0) = 0;
  619. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetBuffer(
  620. /* [in] */ INSSBuffer *pBuffer) = 0;
  621. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetCompletionCallback(
  622. /* [in] */ IWMSPacketListCallback *pCallback) = 0;
  623. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetCompletionCallback(
  624. /* [out] */ IWMSPacketListCallback **ppCallback) = 0;
  625. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetExtendedAttribute(
  626. /* [in] */ DWORD dwValueName,
  627. /* [out] */ VARIANT *pVariantValue) = 0;
  628. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetExtendedAttributeByIndex(
  629. /* [in] */ DWORD dwIndex,
  630. /* [out] */ DWORD *pdwValueName,
  631. /* [out] */ VARIANT *pVariantValue) = 0;
  632. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetExtendedAttribute(
  633. /* [in] */ DWORD dwValueName,
  634. /* [in] */ VARIANT VariantValue) = 0;
  635. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetExtendedAttributeCount(
  636. /* [out] */ DWORD *pdwAttrs) = 0;
  637. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ReportStatus(
  638. /* [in] */ DWORD dwStatus) = 0;
  639. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ClonePacketList(
  640. /* [out] */ IWMSPacketList **ppClonedPacketList) = 0;
  641. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AllocPacket(
  642. /* [out] */ IWMSPacket **ppPacket) = 0;
  643. };
  644. #else /* C style interface */
  645. typedef struct IWMSPacketListVtbl
  646. {
  647. BEGIN_INTERFACE
  648. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  649. IWMSPacketList * This,
  650. /* [in] */ REFIID riid,
  651. /* [iid_is][out] */ void **ppvObject);
  652. ULONG ( STDMETHODCALLTYPE *AddRef )(
  653. IWMSPacketList * This);
  654. ULONG ( STDMETHODCALLTYPE *Release )(
  655. IWMSPacketList * This);
  656. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AllocateBuffer )(
  657. IWMSPacketList * This,
  658. /* [in] */ DWORD dwMaxBufferSize,
  659. /* [out] */ INSSBuffer **ppBuffer);
  660. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AllocatePageSizeBuffer )(
  661. IWMSPacketList * This,
  662. /* [in] */ DWORD dwMaxBufferSize,
  663. /* [out] */ INSSBuffer **ppBuffer);
  664. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetPacketCount )(
  665. IWMSPacketList * This,
  666. /* [out] */ DWORD *pdwNumPackets);
  667. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetPacket )(
  668. IWMSPacketList * This,
  669. /* [in] */ DWORD dwPacketNum,
  670. /* [out] */ IWMSPacket **ppPacket,
  671. /* [defaultvalue][in] */ DWORD dwExFlags);
  672. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetAllPackets )(
  673. IWMSPacketList * This,
  674. /* [in] */ DWORD dwFirstPacket,
  675. /* [in] */ DWORD dwMaxNumPackets,
  676. /* [out] */ WMSPACKETDESC *pPacketDesc,
  677. /* [out] */ IWMSPacket **ppPacket,
  678. /* [out] */ DWORD *pdwDescNum,
  679. /* [in] */ DWORD dwExFlags);
  680. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *InsertPacket )(
  681. IWMSPacketList * This,
  682. /* [in] */ DWORD dwPacketNum,
  683. /* [in] */ IWMSPacket *pPacket,
  684. /* [defaultvalue][in] */ DWORD dwExFlags);
  685. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AppendPacket )(
  686. IWMSPacketList * This,
  687. /* [in] */ IWMSPacket *pPacket,
  688. /* [defaultvalue][in] */ DWORD dwExFlags);
  689. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RemovePacket )(
  690. IWMSPacketList * This,
  691. /* [in] */ DWORD dwPacketNum);
  692. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RemoveAllPackets )(
  693. IWMSPacketList * This,
  694. /* [defaultvalue][in] */ DWORD dwExFlags);
  695. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetAttribute )(
  696. IWMSPacketList * This,
  697. /* [in] */ DWORD dwValueName,
  698. /* [in] */ DWORD *pdwValue);
  699. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetAttribute )(
  700. IWMSPacketList * This,
  701. /* [in] */ DWORD dwValueName,
  702. /* [in] */ DWORD dwValue);
  703. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetStreamSignalParam )(
  704. IWMSPacketList * This,
  705. /* [out] */ VARIANT *pParameter);
  706. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetStreamSignalParam )(
  707. IWMSPacketList * This,
  708. /* [in] */ VARIANT *pParameter);
  709. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetPacketParser )(
  710. IWMSPacketList * This,
  711. /* [out] */ IWMSPacketParser **ppSource,
  712. /* [defaultvalue][in] */ DWORD dwExFlags);
  713. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetPacketParser )(
  714. IWMSPacketList * This,
  715. /* [in] */ IWMSPacketParser *pSource);
  716. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetBuffer )(
  717. IWMSPacketList * This,
  718. /* [out] */ INSSBuffer **ppBuffer,
  719. /* [defaultvalue][in] */ DWORD dwExFlags);
  720. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetBuffer )(
  721. IWMSPacketList * This,
  722. /* [in] */ INSSBuffer *pBuffer);
  723. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetCompletionCallback )(
  724. IWMSPacketList * This,
  725. /* [in] */ IWMSPacketListCallback *pCallback);
  726. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetCompletionCallback )(
  727. IWMSPacketList * This,
  728. /* [out] */ IWMSPacketListCallback **ppCallback);
  729. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetExtendedAttribute )(
  730. IWMSPacketList * This,
  731. /* [in] */ DWORD dwValueName,
  732. /* [out] */ VARIANT *pVariantValue);
  733. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetExtendedAttributeByIndex )(
  734. IWMSPacketList * This,
  735. /* [in] */ DWORD dwIndex,
  736. /* [out] */ DWORD *pdwValueName,
  737. /* [out] */ VARIANT *pVariantValue);
  738. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetExtendedAttribute )(
  739. IWMSPacketList * This,
  740. /* [in] */ DWORD dwValueName,
  741. /* [in] */ VARIANT VariantValue);
  742. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetExtendedAttributeCount )(
  743. IWMSPacketList * This,
  744. /* [out] */ DWORD *pdwAttrs);
  745. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ReportStatus )(
  746. IWMSPacketList * This,
  747. /* [in] */ DWORD dwStatus);
  748. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ClonePacketList )(
  749. IWMSPacketList * This,
  750. /* [out] */ IWMSPacketList **ppClonedPacketList);
  751. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AllocPacket )(
  752. IWMSPacketList * This,
  753. /* [out] */ IWMSPacket **ppPacket);
  754. END_INTERFACE
  755. } IWMSPacketListVtbl;
  756. interface IWMSPacketList
  757. {
  758. CONST_VTBL struct IWMSPacketListVtbl *lpVtbl;
  759. };
  760. #ifdef COBJMACROS
  761. #define IWMSPacketList_QueryInterface(This,riid,ppvObject) \
  762. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  763. #define IWMSPacketList_AddRef(This) \
  764. (This)->lpVtbl -> AddRef(This)
  765. #define IWMSPacketList_Release(This) \
  766. (This)->lpVtbl -> Release(This)
  767. #define IWMSPacketList_AllocateBuffer(This,dwMaxBufferSize,ppBuffer) \
  768. (This)->lpVtbl -> AllocateBuffer(This,dwMaxBufferSize,ppBuffer)
  769. #define IWMSPacketList_AllocatePageSizeBuffer(This,dwMaxBufferSize,ppBuffer) \
  770. (This)->lpVtbl -> AllocatePageSizeBuffer(This,dwMaxBufferSize,ppBuffer)
  771. #define IWMSPacketList_GetPacketCount(This,pdwNumPackets) \
  772. (This)->lpVtbl -> GetPacketCount(This,pdwNumPackets)
  773. #define IWMSPacketList_GetPacket(This,dwPacketNum,ppPacket,dwExFlags) \
  774. (This)->lpVtbl -> GetPacket(This,dwPacketNum,ppPacket,dwExFlags)
  775. #define IWMSPacketList_GetAllPackets(This,dwFirstPacket,dwMaxNumPackets,pPacketDesc,ppPacket,pdwDescNum,dwExFlags) \
  776. (This)->lpVtbl -> GetAllPackets(This,dwFirstPacket,dwMaxNumPackets,pPacketDesc,ppPacket,pdwDescNum,dwExFlags)
  777. #define IWMSPacketList_InsertPacket(This,dwPacketNum,pPacket,dwExFlags) \
  778. (This)->lpVtbl -> InsertPacket(This,dwPacketNum,pPacket,dwExFlags)
  779. #define IWMSPacketList_AppendPacket(This,pPacket,dwExFlags) \
  780. (This)->lpVtbl -> AppendPacket(This,pPacket,dwExFlags)
  781. #define IWMSPacketList_RemovePacket(This,dwPacketNum) \
  782. (This)->lpVtbl -> RemovePacket(This,dwPacketNum)
  783. #define IWMSPacketList_RemoveAllPackets(This,dwExFlags) \
  784. (This)->lpVtbl -> RemoveAllPackets(This,dwExFlags)
  785. #define IWMSPacketList_GetAttribute(This,dwValueName,pdwValue) \
  786. (This)->lpVtbl -> GetAttribute(This,dwValueName,pdwValue)
  787. #define IWMSPacketList_SetAttribute(This,dwValueName,dwValue) \
  788. (This)->lpVtbl -> SetAttribute(This,dwValueName,dwValue)
  789. #define IWMSPacketList_GetStreamSignalParam(This,pParameter) \
  790. (This)->lpVtbl -> GetStreamSignalParam(This,pParameter)
  791. #define IWMSPacketList_SetStreamSignalParam(This,pParameter) \
  792. (This)->lpVtbl -> SetStreamSignalParam(This,pParameter)
  793. #define IWMSPacketList_GetPacketParser(This,ppSource,dwExFlags) \
  794. (This)->lpVtbl -> GetPacketParser(This,ppSource,dwExFlags)
  795. #define IWMSPacketList_SetPacketParser(This,pSource) \
  796. (This)->lpVtbl -> SetPacketParser(This,pSource)
  797. #define IWMSPacketList_GetBuffer(This,ppBuffer,dwExFlags) \
  798. (This)->lpVtbl -> GetBuffer(This,ppBuffer,dwExFlags)
  799. #define IWMSPacketList_SetBuffer(This,pBuffer) \
  800. (This)->lpVtbl -> SetBuffer(This,pBuffer)
  801. #define IWMSPacketList_SetCompletionCallback(This,pCallback) \
  802. (This)->lpVtbl -> SetCompletionCallback(This,pCallback)
  803. #define IWMSPacketList_GetCompletionCallback(This,ppCallback) \
  804. (This)->lpVtbl -> GetCompletionCallback(This,ppCallback)
  805. #define IWMSPacketList_GetExtendedAttribute(This,dwValueName,pVariantValue) \
  806. (This)->lpVtbl -> GetExtendedAttribute(This,dwValueName,pVariantValue)
  807. #define IWMSPacketList_GetExtendedAttributeByIndex(This,dwIndex,pdwValueName,pVariantValue) \
  808. (This)->lpVtbl -> GetExtendedAttributeByIndex(This,dwIndex,pdwValueName,pVariantValue)
  809. #define IWMSPacketList_SetExtendedAttribute(This,dwValueName,VariantValue) \
  810. (This)->lpVtbl -> SetExtendedAttribute(This,dwValueName,VariantValue)
  811. #define IWMSPacketList_GetExtendedAttributeCount(This,pdwAttrs) \
  812. (This)->lpVtbl -> GetExtendedAttributeCount(This,pdwAttrs)
  813. #define IWMSPacketList_ReportStatus(This,dwStatus) \
  814. (This)->lpVtbl -> ReportStatus(This,dwStatus)
  815. #define IWMSPacketList_ClonePacketList(This,ppClonedPacketList) \
  816. (This)->lpVtbl -> ClonePacketList(This,ppClonedPacketList)
  817. #define IWMSPacketList_AllocPacket(This,ppPacket) \
  818. (This)->lpVtbl -> AllocPacket(This,ppPacket)
  819. #endif /* COBJMACROS */
  820. #endif /* C style interface */
  821. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_GetPacketCount_Proxy(
  822. IWMSPacketList * This,
  823. /* [out] */ DWORD *pdwNumPackets);
  824. void __RPC_STUB IWMSPacketList_GetPacketCount_Stub(
  825. IRpcStubBuffer *This,
  826. IRpcChannelBuffer *_pRpcChannelBuffer,
  827. PRPC_MESSAGE _pRpcMessage,
  828. DWORD *_pdwStubPhase);
  829. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_GetPacket_Proxy(
  830. IWMSPacketList * This,
  831. /* [in] */ DWORD dwPacketNum,
  832. /* [out] */ IWMSPacket **ppPacket,
  833. /* [defaultvalue][in] */ DWORD dwExFlags);
  834. void __RPC_STUB IWMSPacketList_GetPacket_Stub(
  835. IRpcStubBuffer *This,
  836. IRpcChannelBuffer *_pRpcChannelBuffer,
  837. PRPC_MESSAGE _pRpcMessage,
  838. DWORD *_pdwStubPhase);
  839. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_GetAllPackets_Proxy(
  840. IWMSPacketList * This,
  841. /* [in] */ DWORD dwFirstPacket,
  842. /* [in] */ DWORD dwMaxNumPackets,
  843. /* [out] */ WMSPACKETDESC *pPacketDesc,
  844. /* [out] */ IWMSPacket **ppPacket,
  845. /* [out] */ DWORD *pdwDescNum,
  846. /* [in] */ DWORD dwExFlags);
  847. void __RPC_STUB IWMSPacketList_GetAllPackets_Stub(
  848. IRpcStubBuffer *This,
  849. IRpcChannelBuffer *_pRpcChannelBuffer,
  850. PRPC_MESSAGE _pRpcMessage,
  851. DWORD *_pdwStubPhase);
  852. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_InsertPacket_Proxy(
  853. IWMSPacketList * This,
  854. /* [in] */ DWORD dwPacketNum,
  855. /* [in] */ IWMSPacket *pPacket,
  856. /* [defaultvalue][in] */ DWORD dwExFlags);
  857. void __RPC_STUB IWMSPacketList_InsertPacket_Stub(
  858. IRpcStubBuffer *This,
  859. IRpcChannelBuffer *_pRpcChannelBuffer,
  860. PRPC_MESSAGE _pRpcMessage,
  861. DWORD *_pdwStubPhase);
  862. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_AppendPacket_Proxy(
  863. IWMSPacketList * This,
  864. /* [in] */ IWMSPacket *pPacket,
  865. /* [defaultvalue][in] */ DWORD dwExFlags);
  866. void __RPC_STUB IWMSPacketList_AppendPacket_Stub(
  867. IRpcStubBuffer *This,
  868. IRpcChannelBuffer *_pRpcChannelBuffer,
  869. PRPC_MESSAGE _pRpcMessage,
  870. DWORD *_pdwStubPhase);
  871. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_RemovePacket_Proxy(
  872. IWMSPacketList * This,
  873. /* [in] */ DWORD dwPacketNum);
  874. void __RPC_STUB IWMSPacketList_RemovePacket_Stub(
  875. IRpcStubBuffer *This,
  876. IRpcChannelBuffer *_pRpcChannelBuffer,
  877. PRPC_MESSAGE _pRpcMessage,
  878. DWORD *_pdwStubPhase);
  879. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_RemoveAllPackets_Proxy(
  880. IWMSPacketList * This,
  881. /* [defaultvalue][in] */ DWORD dwExFlags);
  882. void __RPC_STUB IWMSPacketList_RemoveAllPackets_Stub(
  883. IRpcStubBuffer *This,
  884. IRpcChannelBuffer *_pRpcChannelBuffer,
  885. PRPC_MESSAGE _pRpcMessage,
  886. DWORD *_pdwStubPhase);
  887. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_GetAttribute_Proxy(
  888. IWMSPacketList * This,
  889. /* [in] */ DWORD dwValueName,
  890. /* [in] */ DWORD *pdwValue);
  891. void __RPC_STUB IWMSPacketList_GetAttribute_Stub(
  892. IRpcStubBuffer *This,
  893. IRpcChannelBuffer *_pRpcChannelBuffer,
  894. PRPC_MESSAGE _pRpcMessage,
  895. DWORD *_pdwStubPhase);
  896. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_SetAttribute_Proxy(
  897. IWMSPacketList * This,
  898. /* [in] */ DWORD dwValueName,
  899. /* [in] */ DWORD dwValue);
  900. void __RPC_STUB IWMSPacketList_SetAttribute_Stub(
  901. IRpcStubBuffer *This,
  902. IRpcChannelBuffer *_pRpcChannelBuffer,
  903. PRPC_MESSAGE _pRpcMessage,
  904. DWORD *_pdwStubPhase);
  905. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_GetStreamSignalParam_Proxy(
  906. IWMSPacketList * This,
  907. /* [out] */ VARIANT *pParameter);
  908. void __RPC_STUB IWMSPacketList_GetStreamSignalParam_Stub(
  909. IRpcStubBuffer *This,
  910. IRpcChannelBuffer *_pRpcChannelBuffer,
  911. PRPC_MESSAGE _pRpcMessage,
  912. DWORD *_pdwStubPhase);
  913. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_SetStreamSignalParam_Proxy(
  914. IWMSPacketList * This,
  915. /* [in] */ VARIANT *pParameter);
  916. void __RPC_STUB IWMSPacketList_SetStreamSignalParam_Stub(
  917. IRpcStubBuffer *This,
  918. IRpcChannelBuffer *_pRpcChannelBuffer,
  919. PRPC_MESSAGE _pRpcMessage,
  920. DWORD *_pdwStubPhase);
  921. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_GetPacketParser_Proxy(
  922. IWMSPacketList * This,
  923. /* [out] */ IWMSPacketParser **ppSource,
  924. /* [defaultvalue][in] */ DWORD dwExFlags);
  925. void __RPC_STUB IWMSPacketList_GetPacketParser_Stub(
  926. IRpcStubBuffer *This,
  927. IRpcChannelBuffer *_pRpcChannelBuffer,
  928. PRPC_MESSAGE _pRpcMessage,
  929. DWORD *_pdwStubPhase);
  930. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_SetPacketParser_Proxy(
  931. IWMSPacketList * This,
  932. /* [in] */ IWMSPacketParser *pSource);
  933. void __RPC_STUB IWMSPacketList_SetPacketParser_Stub(
  934. IRpcStubBuffer *This,
  935. IRpcChannelBuffer *_pRpcChannelBuffer,
  936. PRPC_MESSAGE _pRpcMessage,
  937. DWORD *_pdwStubPhase);
  938. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_GetBuffer_Proxy(
  939. IWMSPacketList * This,
  940. /* [out] */ INSSBuffer **ppBuffer,
  941. /* [defaultvalue][in] */ DWORD dwExFlags);
  942. void __RPC_STUB IWMSPacketList_GetBuffer_Stub(
  943. IRpcStubBuffer *This,
  944. IRpcChannelBuffer *_pRpcChannelBuffer,
  945. PRPC_MESSAGE _pRpcMessage,
  946. DWORD *_pdwStubPhase);
  947. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_SetBuffer_Proxy(
  948. IWMSPacketList * This,
  949. /* [in] */ INSSBuffer *pBuffer);
  950. void __RPC_STUB IWMSPacketList_SetBuffer_Stub(
  951. IRpcStubBuffer *This,
  952. IRpcChannelBuffer *_pRpcChannelBuffer,
  953. PRPC_MESSAGE _pRpcMessage,
  954. DWORD *_pdwStubPhase);
  955. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_SetCompletionCallback_Proxy(
  956. IWMSPacketList * This,
  957. /* [in] */ IWMSPacketListCallback *pCallback);
  958. void __RPC_STUB IWMSPacketList_SetCompletionCallback_Stub(
  959. IRpcStubBuffer *This,
  960. IRpcChannelBuffer *_pRpcChannelBuffer,
  961. PRPC_MESSAGE _pRpcMessage,
  962. DWORD *_pdwStubPhase);
  963. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_GetCompletionCallback_Proxy(
  964. IWMSPacketList * This,
  965. /* [out] */ IWMSPacketListCallback **ppCallback);
  966. void __RPC_STUB IWMSPacketList_GetCompletionCallback_Stub(
  967. IRpcStubBuffer *This,
  968. IRpcChannelBuffer *_pRpcChannelBuffer,
  969. PRPC_MESSAGE _pRpcMessage,
  970. DWORD *_pdwStubPhase);
  971. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_GetExtendedAttribute_Proxy(
  972. IWMSPacketList * This,
  973. /* [in] */ DWORD dwValueName,
  974. /* [out] */ VARIANT *pVariantValue);
  975. void __RPC_STUB IWMSPacketList_GetExtendedAttribute_Stub(
  976. IRpcStubBuffer *This,
  977. IRpcChannelBuffer *_pRpcChannelBuffer,
  978. PRPC_MESSAGE _pRpcMessage,
  979. DWORD *_pdwStubPhase);
  980. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_GetExtendedAttributeByIndex_Proxy(
  981. IWMSPacketList * This,
  982. /* [in] */ DWORD dwIndex,
  983. /* [out] */ DWORD *pdwValueName,
  984. /* [out] */ VARIANT *pVariantValue);
  985. void __RPC_STUB IWMSPacketList_GetExtendedAttributeByIndex_Stub(
  986. IRpcStubBuffer *This,
  987. IRpcChannelBuffer *_pRpcChannelBuffer,
  988. PRPC_MESSAGE _pRpcMessage,
  989. DWORD *_pdwStubPhase);
  990. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_SetExtendedAttribute_Proxy(
  991. IWMSPacketList * This,
  992. /* [in] */ DWORD dwValueName,
  993. /* [in] */ VARIANT VariantValue);
  994. void __RPC_STUB IWMSPacketList_SetExtendedAttribute_Stub(
  995. IRpcStubBuffer *This,
  996. IRpcChannelBuffer *_pRpcChannelBuffer,
  997. PRPC_MESSAGE _pRpcMessage,
  998. DWORD *_pdwStubPhase);
  999. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_GetExtendedAttributeCount_Proxy(
  1000. IWMSPacketList * This,
  1001. /* [out] */ DWORD *pdwAttrs);
  1002. void __RPC_STUB IWMSPacketList_GetExtendedAttributeCount_Stub(
  1003. IRpcStubBuffer *This,
  1004. IRpcChannelBuffer *_pRpcChannelBuffer,
  1005. PRPC_MESSAGE _pRpcMessage,
  1006. DWORD *_pdwStubPhase);
  1007. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_ReportStatus_Proxy(
  1008. IWMSPacketList * This,
  1009. /* [in] */ DWORD dwStatus);
  1010. void __RPC_STUB IWMSPacketList_ReportStatus_Stub(
  1011. IRpcStubBuffer *This,
  1012. IRpcChannelBuffer *_pRpcChannelBuffer,
  1013. PRPC_MESSAGE _pRpcMessage,
  1014. DWORD *_pdwStubPhase);
  1015. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_ClonePacketList_Proxy(
  1016. IWMSPacketList * This,
  1017. /* [out] */ IWMSPacketList **ppClonedPacketList);
  1018. void __RPC_STUB IWMSPacketList_ClonePacketList_Stub(
  1019. IRpcStubBuffer *This,
  1020. IRpcChannelBuffer *_pRpcChannelBuffer,
  1021. PRPC_MESSAGE _pRpcMessage,
  1022. DWORD *_pdwStubPhase);
  1023. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketList_AllocPacket_Proxy(
  1024. IWMSPacketList * This,
  1025. /* [out] */ IWMSPacket **ppPacket);
  1026. void __RPC_STUB IWMSPacketList_AllocPacket_Stub(
  1027. IRpcStubBuffer *This,
  1028. IRpcChannelBuffer *_pRpcChannelBuffer,
  1029. PRPC_MESSAGE _pRpcMessage,
  1030. DWORD *_pdwStubPhase);
  1031. #endif /* __IWMSPacketList_INTERFACE_DEFINED__ */
  1032. #ifndef __IWMSPacketParser_INTERFACE_DEFINED__
  1033. #define __IWMSPacketParser_INTERFACE_DEFINED__
  1034. /* interface IWMSPacketParser */
  1035. /* [helpstring][version][uuid][unique][object] */
  1036. EXTERN_C const IID IID_IWMSPacketParser;
  1037. #if defined(__cplusplus) && !defined(CINTERFACE)
  1038. MIDL_INTERFACE("8B59F7E1-5411-11d2-9EFF-006097D2D7CF")
  1039. IWMSPacketParser : public IUnknown
  1040. {
  1041. public:
  1042. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE UpdatePacket(
  1043. /* [in] */ IWMSPacket *pPacket) = 0;
  1044. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CombinePackets(
  1045. /* [in] */ DWORD dwNumInputPackets,
  1046. /* [in] */ IWMSPacket **pInputPacketArray,
  1047. /* [in] */ IWMSPacketList *pPacketList,
  1048. /* [in] */ DWORD dwFlags) = 0;
  1049. };
  1050. #else /* C style interface */
  1051. typedef struct IWMSPacketParserVtbl
  1052. {
  1053. BEGIN_INTERFACE
  1054. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1055. IWMSPacketParser * This,
  1056. /* [in] */ REFIID riid,
  1057. /* [iid_is][out] */ void **ppvObject);
  1058. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1059. IWMSPacketParser * This);
  1060. ULONG ( STDMETHODCALLTYPE *Release )(
  1061. IWMSPacketParser * This);
  1062. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UpdatePacket )(
  1063. IWMSPacketParser * This,
  1064. /* [in] */ IWMSPacket *pPacket);
  1065. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CombinePackets )(
  1066. IWMSPacketParser * This,
  1067. /* [in] */ DWORD dwNumInputPackets,
  1068. /* [in] */ IWMSPacket **pInputPacketArray,
  1069. /* [in] */ IWMSPacketList *pPacketList,
  1070. /* [in] */ DWORD dwFlags);
  1071. END_INTERFACE
  1072. } IWMSPacketParserVtbl;
  1073. interface IWMSPacketParser
  1074. {
  1075. CONST_VTBL struct IWMSPacketParserVtbl *lpVtbl;
  1076. };
  1077. #ifdef COBJMACROS
  1078. #define IWMSPacketParser_QueryInterface(This,riid,ppvObject) \
  1079. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1080. #define IWMSPacketParser_AddRef(This) \
  1081. (This)->lpVtbl -> AddRef(This)
  1082. #define IWMSPacketParser_Release(This) \
  1083. (This)->lpVtbl -> Release(This)
  1084. #define IWMSPacketParser_UpdatePacket(This,pPacket) \
  1085. (This)->lpVtbl -> UpdatePacket(This,pPacket)
  1086. #define IWMSPacketParser_CombinePackets(This,dwNumInputPackets,pInputPacketArray,pPacketList,dwFlags) \
  1087. (This)->lpVtbl -> CombinePackets(This,dwNumInputPackets,pInputPacketArray,pPacketList,dwFlags)
  1088. #endif /* COBJMACROS */
  1089. #endif /* C style interface */
  1090. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketParser_UpdatePacket_Proxy(
  1091. IWMSPacketParser * This,
  1092. /* [in] */ IWMSPacket *pPacket);
  1093. void __RPC_STUB IWMSPacketParser_UpdatePacket_Stub(
  1094. IRpcStubBuffer *This,
  1095. IRpcChannelBuffer *_pRpcChannelBuffer,
  1096. PRPC_MESSAGE _pRpcMessage,
  1097. DWORD *_pdwStubPhase);
  1098. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSPacketParser_CombinePackets_Proxy(
  1099. IWMSPacketParser * This,
  1100. /* [in] */ DWORD dwNumInputPackets,
  1101. /* [in] */ IWMSPacket **pInputPacketArray,
  1102. /* [in] */ IWMSPacketList *pPacketList,
  1103. /* [in] */ DWORD dwFlags);
  1104. void __RPC_STUB IWMSPacketParser_CombinePackets_Stub(
  1105. IRpcStubBuffer *This,
  1106. IRpcChannelBuffer *_pRpcChannelBuffer,
  1107. PRPC_MESSAGE _pRpcMessage,
  1108. DWORD *_pdwStubPhase);
  1109. #endif /* __IWMSPacketParser_INTERFACE_DEFINED__ */
  1110. /* interface __MIDL_itf_wmspacket_0126 */
  1111. /* [local] */
  1112. typedef /* [public] */
  1113. enum WMS_STREAM_SIGNAL_TYPE
  1114. { WMS_NO_STREAM_CHANGE = 0,
  1115. WMS_STREAM_ERROR = WMS_NO_STREAM_CHANGE + 1,
  1116. WMS_STREAM_ERROR_HANDLED_BY_PLAYLIST = WMS_STREAM_ERROR + 1,
  1117. WMS_PLAYLIST_CHANGED = WMS_STREAM_ERROR_HANDLED_BY_PLAYLIST + 1,
  1118. WMS_END_OF_STREAM = WMS_PLAYLIST_CHANGED + 1,
  1119. WMS_PLAYLIST_STREAM_QUEUED = WMS_END_OF_STREAM + 1,
  1120. WMS_BEGIN_NO_DATA_PERIOD = WMS_PLAYLIST_STREAM_QUEUED + 1,
  1121. WMS_PLAYLIST_EVENT = WMS_BEGIN_NO_DATA_PERIOD + 1,
  1122. WMS_PLAYLIST_CUE_EVENT = WMS_PLAYLIST_EVENT + 1,
  1123. WMS_PLAYLIST_UNCUE_EVENT = WMS_PLAYLIST_CUE_EVENT + 1,
  1124. WMS_PLAYLIST_BEGIN_ELEMENT_EVENT = WMS_PLAYLIST_UNCUE_EVENT + 1,
  1125. WMS_PLAYLIST_END_ELEMENT_EVENT = WMS_PLAYLIST_BEGIN_ELEMENT_EVENT + 1,
  1126. WMS_STREAM_SWITCH_DONE = WMS_PLAYLIST_END_ELEMENT_EVENT + 1,
  1127. WMS_RESET_TO_REAL_TIME = WMS_STREAM_SWITCH_DONE + 1,
  1128. WMS_DATA_LOSS_DETECTED = WMS_RESET_TO_REAL_TIME + 1,
  1129. WMS_REUSE_ACCEL_PARAMS = WMS_DATA_LOSS_DETECTED + 1
  1130. } WMS_STREAM_SIGNAL_TYPE;
  1131. typedef /* [public] */
  1132. enum WMS_STREAM_SIGNAL_EOS_TYPE
  1133. { WMS_STREAM_SIGNAL_EOS_RESERVED = 1,
  1134. WMS_STREAM_SIGNAL_EOS_RECEDING = 2
  1135. } WMS_STREAM_SIGNAL_EOS_TYPE;
  1136. extern RPC_IF_HANDLE __MIDL_itf_wmspacket_0126_v0_0_c_ifspec;
  1137. extern RPC_IF_HANDLE __MIDL_itf_wmspacket_0126_v0_0_s_ifspec;
  1138. #ifndef __IWMSStreamSignalHandler_INTERFACE_DEFINED__
  1139. #define __IWMSStreamSignalHandler_INTERFACE_DEFINED__
  1140. /* interface IWMSStreamSignalHandler */
  1141. /* [helpstring][version][uuid][unique][object] */
  1142. EXTERN_C const IID IID_IWMSStreamSignalHandler;
  1143. #if defined(__cplusplus) && !defined(CINTERFACE)
  1144. MIDL_INTERFACE("7B10F261-26AA-11d2-9EF2-006097D2D7CF")
  1145. IWMSStreamSignalHandler : public IUnknown
  1146. {
  1147. public:
  1148. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnStreamSignal(
  1149. /* [in] */ DWORD dwSignalType,
  1150. /* [in] */ VARIANT *pSignalParameter,
  1151. /* [in] */ IWMSContext *pPresentation) = 0;
  1152. };
  1153. #else /* C style interface */
  1154. typedef struct IWMSStreamSignalHandlerVtbl
  1155. {
  1156. BEGIN_INTERFACE
  1157. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1158. IWMSStreamSignalHandler * This,
  1159. /* [in] */ REFIID riid,
  1160. /* [iid_is][out] */ void **ppvObject);
  1161. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1162. IWMSStreamSignalHandler * This);
  1163. ULONG ( STDMETHODCALLTYPE *Release )(
  1164. IWMSStreamSignalHandler * This);
  1165. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnStreamSignal )(
  1166. IWMSStreamSignalHandler * This,
  1167. /* [in] */ DWORD dwSignalType,
  1168. /* [in] */ VARIANT *pSignalParameter,
  1169. /* [in] */ IWMSContext *pPresentation);
  1170. END_INTERFACE
  1171. } IWMSStreamSignalHandlerVtbl;
  1172. interface IWMSStreamSignalHandler
  1173. {
  1174. CONST_VTBL struct IWMSStreamSignalHandlerVtbl *lpVtbl;
  1175. };
  1176. #ifdef COBJMACROS
  1177. #define IWMSStreamSignalHandler_QueryInterface(This,riid,ppvObject) \
  1178. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1179. #define IWMSStreamSignalHandler_AddRef(This) \
  1180. (This)->lpVtbl -> AddRef(This)
  1181. #define IWMSStreamSignalHandler_Release(This) \
  1182. (This)->lpVtbl -> Release(This)
  1183. #define IWMSStreamSignalHandler_OnStreamSignal(This,dwSignalType,pSignalParameter,pPresentation) \
  1184. (This)->lpVtbl -> OnStreamSignal(This,dwSignalType,pSignalParameter,pPresentation)
  1185. #endif /* COBJMACROS */
  1186. #endif /* C style interface */
  1187. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamSignalHandler_OnStreamSignal_Proxy(
  1188. IWMSStreamSignalHandler * This,
  1189. /* [in] */ DWORD dwSignalType,
  1190. /* [in] */ VARIANT *pSignalParameter,
  1191. /* [in] */ IWMSContext *pPresentation);
  1192. void __RPC_STUB IWMSStreamSignalHandler_OnStreamSignal_Stub(
  1193. IRpcStubBuffer *This,
  1194. IRpcChannelBuffer *_pRpcChannelBuffer,
  1195. PRPC_MESSAGE _pRpcMessage,
  1196. DWORD *_pdwStubPhase);
  1197. #endif /* __IWMSStreamSignalHandler_INTERFACE_DEFINED__ */
  1198. /* Additional Prototypes for ALL interfaces */
  1199. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  1200. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  1201. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  1202. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  1203. /* end of Additional Prototypes */
  1204. #ifdef __cplusplus
  1205. }
  1206. #endif
  1207. #endif