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.

1784 lines
64 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 streamdescription.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 __streamdescription_h__
  27. #define __streamdescription_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IWMSStreamHeader_FWD_DEFINED__
  33. #define __IWMSStreamHeader_FWD_DEFINED__
  34. typedef interface IWMSStreamHeader IWMSStreamHeader;
  35. #endif /* __IWMSStreamHeader_FWD_DEFINED__ */
  36. #ifndef __IWMSStreamHeaderList_FWD_DEFINED__
  37. #define __IWMSStreamHeaderList_FWD_DEFINED__
  38. typedef interface IWMSStreamHeaderList IWMSStreamHeaderList;
  39. #endif /* __IWMSStreamHeaderList_FWD_DEFINED__ */
  40. #ifndef __IWMSContentDescriptionList_FWD_DEFINED__
  41. #define __IWMSContentDescriptionList_FWD_DEFINED__
  42. typedef interface IWMSContentDescriptionList IWMSContentDescriptionList;
  43. #endif /* __IWMSContentDescriptionList_FWD_DEFINED__ */
  44. #ifndef __IWMSStreamSwitchDescriptionList_FWD_DEFINED__
  45. #define __IWMSStreamSwitchDescriptionList_FWD_DEFINED__
  46. typedef interface IWMSStreamSwitchDescriptionList IWMSStreamSwitchDescriptionList;
  47. #endif /* __IWMSStreamSwitchDescriptionList_FWD_DEFINED__ */
  48. /* header files for imported files */
  49. #include "objidl.h"
  50. #include "WMSBuffer.h"
  51. #include "WMSContext.h"
  52. #ifdef __cplusplus
  53. extern "C"{
  54. #endif
  55. void * __RPC_USER MIDL_user_allocate(size_t);
  56. void __RPC_USER MIDL_user_free( void * );
  57. /* interface __MIDL_itf_streamdescription_0000 */
  58. /* [local] */
  59. //*****************************************************************************
  60. //
  61. // Microsoft Windows Media
  62. // Copyright (C) Microsoft Corporation. All rights reserved.
  63. //
  64. // Automatically generated by Midl from streamdescription.idl
  65. //
  66. // DO NOT EDIT THIS FILE.
  67. //
  68. //*****************************************************************************
  69. #if _MSC_VER > 1000
  70. #pragma once
  71. #endif // _MSC_VER > 1000
  72. EXTERN_GUID( IID_IWMSStreamHeader, 0x3309C903,0x10A4,0x11d2,0x9E,0xEE,0x00,0x60,0x97,0xD2,0xD7,0xCF );
  73. EXTERN_GUID( IID_IWMSStreamHeaderList, 0x42176202,0x2B30,0x11d2,0x9E,0xF7,0x00,0x60,0x97,0xD2,0xD7,0xCF );
  74. EXTERN_GUID( IID_IWMSContentDescriptionList, 0x105d6f73, 0x6df0, 0x11d2, 0x9f, 0x14, 0x0, 0x60, 0x97, 0xd2, 0xd7, 0xcf );
  75. EXTERN_GUID( IID_IWMSStreamSwitchDescriptionList, 0x75c3017c, 0x6b3a, 0x4e25, 0xbe, 0x9f, 0xa9, 0x92, 0x7f, 0x4d, 0xd0, 0x58 );
  76. EXTERN_GUID( IID_IWMSUnknownStreamFormat, 0x52769631, 0x38aa, 0x11d2, 0x9e, 0xfa, 0x0, 0x60, 0x97, 0xd2, 0xd7, 0xcf );
  77. EXTERN_GUID( IID_IWMSUnknownStreamType, 0x52769632, 0x38aa, 0x11d2, 0x9e, 0xfa, 0x0, 0x60, 0x97, 0xd2, 0xd7, 0xcf );
  78. EXTERN_GUID( IID_IWMSUnknownContainerFormat, 0x52769631, 0x38aa, 0x11d2, 0x9e, 0xfa, 0x0, 0x60, 0x97, 0xd2, 0xd7, 0xcf );
  79. extern RPC_IF_HANDLE __MIDL_itf_streamdescription_0000_v0_0_c_ifspec;
  80. extern RPC_IF_HANDLE __MIDL_itf_streamdescription_0000_v0_0_s_ifspec;
  81. #ifndef __IWMSStreamHeader_INTERFACE_DEFINED__
  82. #define __IWMSStreamHeader_INTERFACE_DEFINED__
  83. /* interface IWMSStreamHeader */
  84. /* [helpstring][version][uuid][unique][object] */
  85. EXTERN_C const IID IID_IWMSStreamHeader;
  86. #if defined(__cplusplus) && !defined(CINTERFACE)
  87. MIDL_INTERFACE("3309C903-10A4-11d2-9EEE-006097D2D7CF")
  88. IWMSStreamHeader : public IUnknown
  89. {
  90. public:
  91. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetFormat(
  92. /* [out] */ GUID *pFormat) = 0;
  93. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetFormat(
  94. /* [in] */ GUID Format) = 0;
  95. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetStreamType(
  96. /* [out] */ GUID *pStreamType) = 0;
  97. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetStreamType(
  98. /* [in] */ GUID StreamType) = 0;
  99. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetIntegerAttribute(
  100. /* [in] */ DWORD dwAttributeId,
  101. /* [out] */ DWORD *pdwAttribute) = 0;
  102. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetIntegerAttribute(
  103. /* [in] */ DWORD dwAttributeId,
  104. /* [in] */ DWORD dwAttribute) = 0;
  105. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetStringAttribute(
  106. /* [in] */ DWORD dwAttributeId,
  107. /* [out] */ BSTR *pszAttribute) = 0;
  108. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetStringAttribute(
  109. /* [in] */ DWORD dwAttributeId,
  110. /* [in] */ BSTR szAttribute) = 0;
  111. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetExtendedAttribute(
  112. /* [in] */ DWORD dwValueName,
  113. /* [out] */ VARIANT *pVariantValue) = 0;
  114. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetExtendedAttribute(
  115. /* [in] */ DWORD dwValueName,
  116. /* [in] */ VARIANT VariantValue) = 0;
  117. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetNthExtendedAttribute(
  118. /* [in] */ DWORD dwIndex,
  119. /* [out] */ DWORD *pdwValueName,
  120. /* [out] */ VARIANT *pVariantValue) = 0;
  121. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetNumExtendedAttributes(
  122. /* [out] */ DWORD *pdwValueName) = 0;
  123. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CloneStreamHeader(
  124. /* [out] */ IWMSStreamHeader **ppHeader) = 0;
  125. };
  126. #else /* C style interface */
  127. typedef struct IWMSStreamHeaderVtbl
  128. {
  129. BEGIN_INTERFACE
  130. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  131. IWMSStreamHeader * This,
  132. /* [in] */ REFIID riid,
  133. /* [iid_is][out] */ void **ppvObject);
  134. ULONG ( STDMETHODCALLTYPE *AddRef )(
  135. IWMSStreamHeader * This);
  136. ULONG ( STDMETHODCALLTYPE *Release )(
  137. IWMSStreamHeader * This);
  138. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetFormat )(
  139. IWMSStreamHeader * This,
  140. /* [out] */ GUID *pFormat);
  141. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetFormat )(
  142. IWMSStreamHeader * This,
  143. /* [in] */ GUID Format);
  144. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetStreamType )(
  145. IWMSStreamHeader * This,
  146. /* [out] */ GUID *pStreamType);
  147. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetStreamType )(
  148. IWMSStreamHeader * This,
  149. /* [in] */ GUID StreamType);
  150. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetIntegerAttribute )(
  151. IWMSStreamHeader * This,
  152. /* [in] */ DWORD dwAttributeId,
  153. /* [out] */ DWORD *pdwAttribute);
  154. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetIntegerAttribute )(
  155. IWMSStreamHeader * This,
  156. /* [in] */ DWORD dwAttributeId,
  157. /* [in] */ DWORD dwAttribute);
  158. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetStringAttribute )(
  159. IWMSStreamHeader * This,
  160. /* [in] */ DWORD dwAttributeId,
  161. /* [out] */ BSTR *pszAttribute);
  162. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetStringAttribute )(
  163. IWMSStreamHeader * This,
  164. /* [in] */ DWORD dwAttributeId,
  165. /* [in] */ BSTR szAttribute);
  166. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetExtendedAttribute )(
  167. IWMSStreamHeader * This,
  168. /* [in] */ DWORD dwValueName,
  169. /* [out] */ VARIANT *pVariantValue);
  170. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetExtendedAttribute )(
  171. IWMSStreamHeader * This,
  172. /* [in] */ DWORD dwValueName,
  173. /* [in] */ VARIANT VariantValue);
  174. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetNthExtendedAttribute )(
  175. IWMSStreamHeader * This,
  176. /* [in] */ DWORD dwIndex,
  177. /* [out] */ DWORD *pdwValueName,
  178. /* [out] */ VARIANT *pVariantValue);
  179. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetNumExtendedAttributes )(
  180. IWMSStreamHeader * This,
  181. /* [out] */ DWORD *pdwValueName);
  182. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CloneStreamHeader )(
  183. IWMSStreamHeader * This,
  184. /* [out] */ IWMSStreamHeader **ppHeader);
  185. END_INTERFACE
  186. } IWMSStreamHeaderVtbl;
  187. interface IWMSStreamHeader
  188. {
  189. CONST_VTBL struct IWMSStreamHeaderVtbl *lpVtbl;
  190. };
  191. #ifdef COBJMACROS
  192. #define IWMSStreamHeader_QueryInterface(This,riid,ppvObject) \
  193. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  194. #define IWMSStreamHeader_AddRef(This) \
  195. (This)->lpVtbl -> AddRef(This)
  196. #define IWMSStreamHeader_Release(This) \
  197. (This)->lpVtbl -> Release(This)
  198. #define IWMSStreamHeader_GetFormat(This,pFormat) \
  199. (This)->lpVtbl -> GetFormat(This,pFormat)
  200. #define IWMSStreamHeader_SetFormat(This,Format) \
  201. (This)->lpVtbl -> SetFormat(This,Format)
  202. #define IWMSStreamHeader_GetStreamType(This,pStreamType) \
  203. (This)->lpVtbl -> GetStreamType(This,pStreamType)
  204. #define IWMSStreamHeader_SetStreamType(This,StreamType) \
  205. (This)->lpVtbl -> SetStreamType(This,StreamType)
  206. #define IWMSStreamHeader_GetIntegerAttribute(This,dwAttributeId,pdwAttribute) \
  207. (This)->lpVtbl -> GetIntegerAttribute(This,dwAttributeId,pdwAttribute)
  208. #define IWMSStreamHeader_SetIntegerAttribute(This,dwAttributeId,dwAttribute) \
  209. (This)->lpVtbl -> SetIntegerAttribute(This,dwAttributeId,dwAttribute)
  210. #define IWMSStreamHeader_GetStringAttribute(This,dwAttributeId,pszAttribute) \
  211. (This)->lpVtbl -> GetStringAttribute(This,dwAttributeId,pszAttribute)
  212. #define IWMSStreamHeader_SetStringAttribute(This,dwAttributeId,szAttribute) \
  213. (This)->lpVtbl -> SetStringAttribute(This,dwAttributeId,szAttribute)
  214. #define IWMSStreamHeader_GetExtendedAttribute(This,dwValueName,pVariantValue) \
  215. (This)->lpVtbl -> GetExtendedAttribute(This,dwValueName,pVariantValue)
  216. #define IWMSStreamHeader_SetExtendedAttribute(This,dwValueName,VariantValue) \
  217. (This)->lpVtbl -> SetExtendedAttribute(This,dwValueName,VariantValue)
  218. #define IWMSStreamHeader_GetNthExtendedAttribute(This,dwIndex,pdwValueName,pVariantValue) \
  219. (This)->lpVtbl -> GetNthExtendedAttribute(This,dwIndex,pdwValueName,pVariantValue)
  220. #define IWMSStreamHeader_GetNumExtendedAttributes(This,pdwValueName) \
  221. (This)->lpVtbl -> GetNumExtendedAttributes(This,pdwValueName)
  222. #define IWMSStreamHeader_CloneStreamHeader(This,ppHeader) \
  223. (This)->lpVtbl -> CloneStreamHeader(This,ppHeader)
  224. #endif /* COBJMACROS */
  225. #endif /* C style interface */
  226. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeader_GetFormat_Proxy(
  227. IWMSStreamHeader * This,
  228. /* [out] */ GUID *pFormat);
  229. void __RPC_STUB IWMSStreamHeader_GetFormat_Stub(
  230. IRpcStubBuffer *This,
  231. IRpcChannelBuffer *_pRpcChannelBuffer,
  232. PRPC_MESSAGE _pRpcMessage,
  233. DWORD *_pdwStubPhase);
  234. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeader_SetFormat_Proxy(
  235. IWMSStreamHeader * This,
  236. /* [in] */ GUID Format);
  237. void __RPC_STUB IWMSStreamHeader_SetFormat_Stub(
  238. IRpcStubBuffer *This,
  239. IRpcChannelBuffer *_pRpcChannelBuffer,
  240. PRPC_MESSAGE _pRpcMessage,
  241. DWORD *_pdwStubPhase);
  242. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeader_GetStreamType_Proxy(
  243. IWMSStreamHeader * This,
  244. /* [out] */ GUID *pStreamType);
  245. void __RPC_STUB IWMSStreamHeader_GetStreamType_Stub(
  246. IRpcStubBuffer *This,
  247. IRpcChannelBuffer *_pRpcChannelBuffer,
  248. PRPC_MESSAGE _pRpcMessage,
  249. DWORD *_pdwStubPhase);
  250. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeader_SetStreamType_Proxy(
  251. IWMSStreamHeader * This,
  252. /* [in] */ GUID StreamType);
  253. void __RPC_STUB IWMSStreamHeader_SetStreamType_Stub(
  254. IRpcStubBuffer *This,
  255. IRpcChannelBuffer *_pRpcChannelBuffer,
  256. PRPC_MESSAGE _pRpcMessage,
  257. DWORD *_pdwStubPhase);
  258. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeader_GetIntegerAttribute_Proxy(
  259. IWMSStreamHeader * This,
  260. /* [in] */ DWORD dwAttributeId,
  261. /* [out] */ DWORD *pdwAttribute);
  262. void __RPC_STUB IWMSStreamHeader_GetIntegerAttribute_Stub(
  263. IRpcStubBuffer *This,
  264. IRpcChannelBuffer *_pRpcChannelBuffer,
  265. PRPC_MESSAGE _pRpcMessage,
  266. DWORD *_pdwStubPhase);
  267. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeader_SetIntegerAttribute_Proxy(
  268. IWMSStreamHeader * This,
  269. /* [in] */ DWORD dwAttributeId,
  270. /* [in] */ DWORD dwAttribute);
  271. void __RPC_STUB IWMSStreamHeader_SetIntegerAttribute_Stub(
  272. IRpcStubBuffer *This,
  273. IRpcChannelBuffer *_pRpcChannelBuffer,
  274. PRPC_MESSAGE _pRpcMessage,
  275. DWORD *_pdwStubPhase);
  276. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeader_GetStringAttribute_Proxy(
  277. IWMSStreamHeader * This,
  278. /* [in] */ DWORD dwAttributeId,
  279. /* [out] */ BSTR *pszAttribute);
  280. void __RPC_STUB IWMSStreamHeader_GetStringAttribute_Stub(
  281. IRpcStubBuffer *This,
  282. IRpcChannelBuffer *_pRpcChannelBuffer,
  283. PRPC_MESSAGE _pRpcMessage,
  284. DWORD *_pdwStubPhase);
  285. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeader_SetStringAttribute_Proxy(
  286. IWMSStreamHeader * This,
  287. /* [in] */ DWORD dwAttributeId,
  288. /* [in] */ BSTR szAttribute);
  289. void __RPC_STUB IWMSStreamHeader_SetStringAttribute_Stub(
  290. IRpcStubBuffer *This,
  291. IRpcChannelBuffer *_pRpcChannelBuffer,
  292. PRPC_MESSAGE _pRpcMessage,
  293. DWORD *_pdwStubPhase);
  294. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeader_GetExtendedAttribute_Proxy(
  295. IWMSStreamHeader * This,
  296. /* [in] */ DWORD dwValueName,
  297. /* [out] */ VARIANT *pVariantValue);
  298. void __RPC_STUB IWMSStreamHeader_GetExtendedAttribute_Stub(
  299. IRpcStubBuffer *This,
  300. IRpcChannelBuffer *_pRpcChannelBuffer,
  301. PRPC_MESSAGE _pRpcMessage,
  302. DWORD *_pdwStubPhase);
  303. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeader_SetExtendedAttribute_Proxy(
  304. IWMSStreamHeader * This,
  305. /* [in] */ DWORD dwValueName,
  306. /* [in] */ VARIANT VariantValue);
  307. void __RPC_STUB IWMSStreamHeader_SetExtendedAttribute_Stub(
  308. IRpcStubBuffer *This,
  309. IRpcChannelBuffer *_pRpcChannelBuffer,
  310. PRPC_MESSAGE _pRpcMessage,
  311. DWORD *_pdwStubPhase);
  312. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeader_GetNthExtendedAttribute_Proxy(
  313. IWMSStreamHeader * This,
  314. /* [in] */ DWORD dwIndex,
  315. /* [out] */ DWORD *pdwValueName,
  316. /* [out] */ VARIANT *pVariantValue);
  317. void __RPC_STUB IWMSStreamHeader_GetNthExtendedAttribute_Stub(
  318. IRpcStubBuffer *This,
  319. IRpcChannelBuffer *_pRpcChannelBuffer,
  320. PRPC_MESSAGE _pRpcMessage,
  321. DWORD *_pdwStubPhase);
  322. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeader_GetNumExtendedAttributes_Proxy(
  323. IWMSStreamHeader * This,
  324. /* [out] */ DWORD *pdwValueName);
  325. void __RPC_STUB IWMSStreamHeader_GetNumExtendedAttributes_Stub(
  326. IRpcStubBuffer *This,
  327. IRpcChannelBuffer *_pRpcChannelBuffer,
  328. PRPC_MESSAGE _pRpcMessage,
  329. DWORD *_pdwStubPhase);
  330. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeader_CloneStreamHeader_Proxy(
  331. IWMSStreamHeader * This,
  332. /* [out] */ IWMSStreamHeader **ppHeader);
  333. void __RPC_STUB IWMSStreamHeader_CloneStreamHeader_Stub(
  334. IRpcStubBuffer *This,
  335. IRpcChannelBuffer *_pRpcChannelBuffer,
  336. PRPC_MESSAGE _pRpcMessage,
  337. DWORD *_pdwStubPhase);
  338. #endif /* __IWMSStreamHeader_INTERFACE_DEFINED__ */
  339. /* interface __MIDL_itf_streamdescription_0123 */
  340. /* [local] */
  341. #define WMS_STREAM_ID 0
  342. #define WMS_STREAM_MIN_BITRATE 1
  343. #define WMS_STREAM_MAX_BITRATE 2
  344. #define WMS_STREAM_AVG_BITRATE 3
  345. #define WMS_STREAM_MAX_PACKET_SIZE 4
  346. #define WMS_STREAM_AVG_PACKET_SIZE 5
  347. #define WMS_STREAM_PREROLL 6
  348. #define WMS_STREAM_FLAGS 7
  349. #define WMS_STREAM_NAME 8
  350. #define WMS_STREAM_SHARING_GROUP 9
  351. #define WMS_STREAM_SHARING_BANDWIDTH 10
  352. #define WMS_NUM_STREAMHEADER_ATTRIBUTES 11
  353. #define WMS_STREAM_HAS_NON_KEY_FRAMES 0x0001
  354. #define WMS_STREAM_RELIABLE_FLAG 0x0002
  355. #define WMS_STREAM_CONCEALED_FLAG 0x0004
  356. #define WMS_ASF_THRESHOLD_DURATION 500
  357. extern RPC_IF_HANDLE __MIDL_itf_streamdescription_0123_v0_0_c_ifspec;
  358. extern RPC_IF_HANDLE __MIDL_itf_streamdescription_0123_v0_0_s_ifspec;
  359. #ifndef __IWMSStreamHeaderList_INTERFACE_DEFINED__
  360. #define __IWMSStreamHeaderList_INTERFACE_DEFINED__
  361. /* interface IWMSStreamHeaderList */
  362. /* [helpstring][version][uuid][unique][object] */
  363. EXTERN_C const IID IID_IWMSStreamHeaderList;
  364. #if defined(__cplusplus) && !defined(CINTERFACE)
  365. MIDL_INTERFACE("42176202-2B30-11d2-9EF7-006097D2D7CF")
  366. IWMSStreamHeaderList : public IUnknown
  367. {
  368. public:
  369. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetHeaderCount(
  370. /* [out] */ DWORD *pdwNumHeaders) = 0;
  371. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetHeader(
  372. /* [in] */ DWORD dwHeaderNum,
  373. /* [out] */ IWMSStreamHeader **ppHeader) = 0;
  374. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AppendHeader(
  375. /* [in] */ IWMSStreamHeader *pHeader) = 0;
  376. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RemoveAllHeaders( void) = 0;
  377. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetContainerFormat(
  378. /* [out] */ GUID *pFormat) = 0;
  379. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetContainerFormat(
  380. /* [in] */ GUID Format) = 0;
  381. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetDataVersion(
  382. /* [out] */ GUID *pFormat) = 0;
  383. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetDataVersion(
  384. /* [in] */ GUID Format) = 0;
  385. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetNativeContainerHeader(
  386. /* [out] */ INSSBuffer **ppBuffer,
  387. /* [out] */ DWORD *pdwOffset,
  388. /* [out] */ DWORD *pdwLength) = 0;
  389. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetNativeContainerHeader(
  390. /* [in] */ INSSBuffer *pBuffer,
  391. /* [in] */ DWORD dwOffset,
  392. /* [in] */ DWORD dwLength) = 0;
  393. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetContentDescription(
  394. /* [out] */ IWMSContentDescriptionList **ppDescription) = 0;
  395. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetContentDescription(
  396. /* [in] */ IWMSContentDescriptionList *pDescription) = 0;
  397. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetIntegerAttribute(
  398. /* [in] */ DWORD dwAttributeId,
  399. /* [out] */ DWORD *pdwAttribute) = 0;
  400. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetIntegerAttribute(
  401. /* [in] */ DWORD dwAttributeId,
  402. /* [in] */ DWORD dwAttribute) = 0;
  403. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetStringAttribute(
  404. /* [in] */ DWORD dwAttributeId,
  405. /* [out] */ BSTR *pszAttribute) = 0;
  406. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetStringAttribute(
  407. /* [in] */ DWORD dwAttributeId,
  408. /* [in] */ BSTR szAttribute) = 0;
  409. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetExtendedAttribute(
  410. /* [in] */ DWORD dwValueName,
  411. /* [out] */ VARIANT *pVariantValue) = 0;
  412. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetExtendedAttribute(
  413. /* [in] */ DWORD dwValueName,
  414. /* [in] */ VARIANT VariantValue) = 0;
  415. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetNthExtendedAttribute(
  416. /* [in] */ DWORD dwIndex,
  417. /* [out] */ DWORD *pdwValueName,
  418. /* [out] */ VARIANT *pVariantValue) = 0;
  419. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetNumExtendedAttributes(
  420. /* [out] */ DWORD *pdwValueName) = 0;
  421. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CloneStreamHeaderList(
  422. /* [in] */ IWMSBufferAllocator *pBufferAllocator,
  423. /* [out] */ IWMSStreamHeaderList **ppHeader) = 0;
  424. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RecordPlaylistGenerationId(
  425. /* [in] */ IWMSCommandContext *pCommand) = 0;
  426. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CheckPlaylistGenerationId(
  427. /* [in] */ IWMSCommandContext *pCommand) = 0;
  428. };
  429. #else /* C style interface */
  430. typedef struct IWMSStreamHeaderListVtbl
  431. {
  432. BEGIN_INTERFACE
  433. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  434. IWMSStreamHeaderList * This,
  435. /* [in] */ REFIID riid,
  436. /* [iid_is][out] */ void **ppvObject);
  437. ULONG ( STDMETHODCALLTYPE *AddRef )(
  438. IWMSStreamHeaderList * This);
  439. ULONG ( STDMETHODCALLTYPE *Release )(
  440. IWMSStreamHeaderList * This);
  441. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetHeaderCount )(
  442. IWMSStreamHeaderList * This,
  443. /* [out] */ DWORD *pdwNumHeaders);
  444. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetHeader )(
  445. IWMSStreamHeaderList * This,
  446. /* [in] */ DWORD dwHeaderNum,
  447. /* [out] */ IWMSStreamHeader **ppHeader);
  448. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AppendHeader )(
  449. IWMSStreamHeaderList * This,
  450. /* [in] */ IWMSStreamHeader *pHeader);
  451. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RemoveAllHeaders )(
  452. IWMSStreamHeaderList * This);
  453. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetContainerFormat )(
  454. IWMSStreamHeaderList * This,
  455. /* [out] */ GUID *pFormat);
  456. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetContainerFormat )(
  457. IWMSStreamHeaderList * This,
  458. /* [in] */ GUID Format);
  459. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDataVersion )(
  460. IWMSStreamHeaderList * This,
  461. /* [out] */ GUID *pFormat);
  462. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetDataVersion )(
  463. IWMSStreamHeaderList * This,
  464. /* [in] */ GUID Format);
  465. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetNativeContainerHeader )(
  466. IWMSStreamHeaderList * This,
  467. /* [out] */ INSSBuffer **ppBuffer,
  468. /* [out] */ DWORD *pdwOffset,
  469. /* [out] */ DWORD *pdwLength);
  470. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetNativeContainerHeader )(
  471. IWMSStreamHeaderList * This,
  472. /* [in] */ INSSBuffer *pBuffer,
  473. /* [in] */ DWORD dwOffset,
  474. /* [in] */ DWORD dwLength);
  475. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetContentDescription )(
  476. IWMSStreamHeaderList * This,
  477. /* [out] */ IWMSContentDescriptionList **ppDescription);
  478. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetContentDescription )(
  479. IWMSStreamHeaderList * This,
  480. /* [in] */ IWMSContentDescriptionList *pDescription);
  481. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetIntegerAttribute )(
  482. IWMSStreamHeaderList * This,
  483. /* [in] */ DWORD dwAttributeId,
  484. /* [out] */ DWORD *pdwAttribute);
  485. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetIntegerAttribute )(
  486. IWMSStreamHeaderList * This,
  487. /* [in] */ DWORD dwAttributeId,
  488. /* [in] */ DWORD dwAttribute);
  489. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetStringAttribute )(
  490. IWMSStreamHeaderList * This,
  491. /* [in] */ DWORD dwAttributeId,
  492. /* [out] */ BSTR *pszAttribute);
  493. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetStringAttribute )(
  494. IWMSStreamHeaderList * This,
  495. /* [in] */ DWORD dwAttributeId,
  496. /* [in] */ BSTR szAttribute);
  497. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetExtendedAttribute )(
  498. IWMSStreamHeaderList * This,
  499. /* [in] */ DWORD dwValueName,
  500. /* [out] */ VARIANT *pVariantValue);
  501. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetExtendedAttribute )(
  502. IWMSStreamHeaderList * This,
  503. /* [in] */ DWORD dwValueName,
  504. /* [in] */ VARIANT VariantValue);
  505. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetNthExtendedAttribute )(
  506. IWMSStreamHeaderList * This,
  507. /* [in] */ DWORD dwIndex,
  508. /* [out] */ DWORD *pdwValueName,
  509. /* [out] */ VARIANT *pVariantValue);
  510. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetNumExtendedAttributes )(
  511. IWMSStreamHeaderList * This,
  512. /* [out] */ DWORD *pdwValueName);
  513. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CloneStreamHeaderList )(
  514. IWMSStreamHeaderList * This,
  515. /* [in] */ IWMSBufferAllocator *pBufferAllocator,
  516. /* [out] */ IWMSStreamHeaderList **ppHeader);
  517. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RecordPlaylistGenerationId )(
  518. IWMSStreamHeaderList * This,
  519. /* [in] */ IWMSCommandContext *pCommand);
  520. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CheckPlaylistGenerationId )(
  521. IWMSStreamHeaderList * This,
  522. /* [in] */ IWMSCommandContext *pCommand);
  523. END_INTERFACE
  524. } IWMSStreamHeaderListVtbl;
  525. interface IWMSStreamHeaderList
  526. {
  527. CONST_VTBL struct IWMSStreamHeaderListVtbl *lpVtbl;
  528. };
  529. #ifdef COBJMACROS
  530. #define IWMSStreamHeaderList_QueryInterface(This,riid,ppvObject) \
  531. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  532. #define IWMSStreamHeaderList_AddRef(This) \
  533. (This)->lpVtbl -> AddRef(This)
  534. #define IWMSStreamHeaderList_Release(This) \
  535. (This)->lpVtbl -> Release(This)
  536. #define IWMSStreamHeaderList_GetHeaderCount(This,pdwNumHeaders) \
  537. (This)->lpVtbl -> GetHeaderCount(This,pdwNumHeaders)
  538. #define IWMSStreamHeaderList_GetHeader(This,dwHeaderNum,ppHeader) \
  539. (This)->lpVtbl -> GetHeader(This,dwHeaderNum,ppHeader)
  540. #define IWMSStreamHeaderList_AppendHeader(This,pHeader) \
  541. (This)->lpVtbl -> AppendHeader(This,pHeader)
  542. #define IWMSStreamHeaderList_RemoveAllHeaders(This) \
  543. (This)->lpVtbl -> RemoveAllHeaders(This)
  544. #define IWMSStreamHeaderList_GetContainerFormat(This,pFormat) \
  545. (This)->lpVtbl -> GetContainerFormat(This,pFormat)
  546. #define IWMSStreamHeaderList_SetContainerFormat(This,Format) \
  547. (This)->lpVtbl -> SetContainerFormat(This,Format)
  548. #define IWMSStreamHeaderList_GetDataVersion(This,pFormat) \
  549. (This)->lpVtbl -> GetDataVersion(This,pFormat)
  550. #define IWMSStreamHeaderList_SetDataVersion(This,Format) \
  551. (This)->lpVtbl -> SetDataVersion(This,Format)
  552. #define IWMSStreamHeaderList_GetNativeContainerHeader(This,ppBuffer,pdwOffset,pdwLength) \
  553. (This)->lpVtbl -> GetNativeContainerHeader(This,ppBuffer,pdwOffset,pdwLength)
  554. #define IWMSStreamHeaderList_SetNativeContainerHeader(This,pBuffer,dwOffset,dwLength) \
  555. (This)->lpVtbl -> SetNativeContainerHeader(This,pBuffer,dwOffset,dwLength)
  556. #define IWMSStreamHeaderList_GetContentDescription(This,ppDescription) \
  557. (This)->lpVtbl -> GetContentDescription(This,ppDescription)
  558. #define IWMSStreamHeaderList_SetContentDescription(This,pDescription) \
  559. (This)->lpVtbl -> SetContentDescription(This,pDescription)
  560. #define IWMSStreamHeaderList_GetIntegerAttribute(This,dwAttributeId,pdwAttribute) \
  561. (This)->lpVtbl -> GetIntegerAttribute(This,dwAttributeId,pdwAttribute)
  562. #define IWMSStreamHeaderList_SetIntegerAttribute(This,dwAttributeId,dwAttribute) \
  563. (This)->lpVtbl -> SetIntegerAttribute(This,dwAttributeId,dwAttribute)
  564. #define IWMSStreamHeaderList_GetStringAttribute(This,dwAttributeId,pszAttribute) \
  565. (This)->lpVtbl -> GetStringAttribute(This,dwAttributeId,pszAttribute)
  566. #define IWMSStreamHeaderList_SetStringAttribute(This,dwAttributeId,szAttribute) \
  567. (This)->lpVtbl -> SetStringAttribute(This,dwAttributeId,szAttribute)
  568. #define IWMSStreamHeaderList_GetExtendedAttribute(This,dwValueName,pVariantValue) \
  569. (This)->lpVtbl -> GetExtendedAttribute(This,dwValueName,pVariantValue)
  570. #define IWMSStreamHeaderList_SetExtendedAttribute(This,dwValueName,VariantValue) \
  571. (This)->lpVtbl -> SetExtendedAttribute(This,dwValueName,VariantValue)
  572. #define IWMSStreamHeaderList_GetNthExtendedAttribute(This,dwIndex,pdwValueName,pVariantValue) \
  573. (This)->lpVtbl -> GetNthExtendedAttribute(This,dwIndex,pdwValueName,pVariantValue)
  574. #define IWMSStreamHeaderList_GetNumExtendedAttributes(This,pdwValueName) \
  575. (This)->lpVtbl -> GetNumExtendedAttributes(This,pdwValueName)
  576. #define IWMSStreamHeaderList_CloneStreamHeaderList(This,pBufferAllocator,ppHeader) \
  577. (This)->lpVtbl -> CloneStreamHeaderList(This,pBufferAllocator,ppHeader)
  578. #define IWMSStreamHeaderList_RecordPlaylistGenerationId(This,pCommand) \
  579. (This)->lpVtbl -> RecordPlaylistGenerationId(This,pCommand)
  580. #define IWMSStreamHeaderList_CheckPlaylistGenerationId(This,pCommand) \
  581. (This)->lpVtbl -> CheckPlaylistGenerationId(This,pCommand)
  582. #endif /* COBJMACROS */
  583. #endif /* C style interface */
  584. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeaderList_GetHeaderCount_Proxy(
  585. IWMSStreamHeaderList * This,
  586. /* [out] */ DWORD *pdwNumHeaders);
  587. void __RPC_STUB IWMSStreamHeaderList_GetHeaderCount_Stub(
  588. IRpcStubBuffer *This,
  589. IRpcChannelBuffer *_pRpcChannelBuffer,
  590. PRPC_MESSAGE _pRpcMessage,
  591. DWORD *_pdwStubPhase);
  592. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeaderList_GetHeader_Proxy(
  593. IWMSStreamHeaderList * This,
  594. /* [in] */ DWORD dwHeaderNum,
  595. /* [out] */ IWMSStreamHeader **ppHeader);
  596. void __RPC_STUB IWMSStreamHeaderList_GetHeader_Stub(
  597. IRpcStubBuffer *This,
  598. IRpcChannelBuffer *_pRpcChannelBuffer,
  599. PRPC_MESSAGE _pRpcMessage,
  600. DWORD *_pdwStubPhase);
  601. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeaderList_AppendHeader_Proxy(
  602. IWMSStreamHeaderList * This,
  603. /* [in] */ IWMSStreamHeader *pHeader);
  604. void __RPC_STUB IWMSStreamHeaderList_AppendHeader_Stub(
  605. IRpcStubBuffer *This,
  606. IRpcChannelBuffer *_pRpcChannelBuffer,
  607. PRPC_MESSAGE _pRpcMessage,
  608. DWORD *_pdwStubPhase);
  609. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeaderList_RemoveAllHeaders_Proxy(
  610. IWMSStreamHeaderList * This);
  611. void __RPC_STUB IWMSStreamHeaderList_RemoveAllHeaders_Stub(
  612. IRpcStubBuffer *This,
  613. IRpcChannelBuffer *_pRpcChannelBuffer,
  614. PRPC_MESSAGE _pRpcMessage,
  615. DWORD *_pdwStubPhase);
  616. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeaderList_GetContainerFormat_Proxy(
  617. IWMSStreamHeaderList * This,
  618. /* [out] */ GUID *pFormat);
  619. void __RPC_STUB IWMSStreamHeaderList_GetContainerFormat_Stub(
  620. IRpcStubBuffer *This,
  621. IRpcChannelBuffer *_pRpcChannelBuffer,
  622. PRPC_MESSAGE _pRpcMessage,
  623. DWORD *_pdwStubPhase);
  624. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeaderList_SetContainerFormat_Proxy(
  625. IWMSStreamHeaderList * This,
  626. /* [in] */ GUID Format);
  627. void __RPC_STUB IWMSStreamHeaderList_SetContainerFormat_Stub(
  628. IRpcStubBuffer *This,
  629. IRpcChannelBuffer *_pRpcChannelBuffer,
  630. PRPC_MESSAGE _pRpcMessage,
  631. DWORD *_pdwStubPhase);
  632. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeaderList_GetDataVersion_Proxy(
  633. IWMSStreamHeaderList * This,
  634. /* [out] */ GUID *pFormat);
  635. void __RPC_STUB IWMSStreamHeaderList_GetDataVersion_Stub(
  636. IRpcStubBuffer *This,
  637. IRpcChannelBuffer *_pRpcChannelBuffer,
  638. PRPC_MESSAGE _pRpcMessage,
  639. DWORD *_pdwStubPhase);
  640. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeaderList_SetDataVersion_Proxy(
  641. IWMSStreamHeaderList * This,
  642. /* [in] */ GUID Format);
  643. void __RPC_STUB IWMSStreamHeaderList_SetDataVersion_Stub(
  644. IRpcStubBuffer *This,
  645. IRpcChannelBuffer *_pRpcChannelBuffer,
  646. PRPC_MESSAGE _pRpcMessage,
  647. DWORD *_pdwStubPhase);
  648. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeaderList_GetNativeContainerHeader_Proxy(
  649. IWMSStreamHeaderList * This,
  650. /* [out] */ INSSBuffer **ppBuffer,
  651. /* [out] */ DWORD *pdwOffset,
  652. /* [out] */ DWORD *pdwLength);
  653. void __RPC_STUB IWMSStreamHeaderList_GetNativeContainerHeader_Stub(
  654. IRpcStubBuffer *This,
  655. IRpcChannelBuffer *_pRpcChannelBuffer,
  656. PRPC_MESSAGE _pRpcMessage,
  657. DWORD *_pdwStubPhase);
  658. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeaderList_SetNativeContainerHeader_Proxy(
  659. IWMSStreamHeaderList * This,
  660. /* [in] */ INSSBuffer *pBuffer,
  661. /* [in] */ DWORD dwOffset,
  662. /* [in] */ DWORD dwLength);
  663. void __RPC_STUB IWMSStreamHeaderList_SetNativeContainerHeader_Stub(
  664. IRpcStubBuffer *This,
  665. IRpcChannelBuffer *_pRpcChannelBuffer,
  666. PRPC_MESSAGE _pRpcMessage,
  667. DWORD *_pdwStubPhase);
  668. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeaderList_GetContentDescription_Proxy(
  669. IWMSStreamHeaderList * This,
  670. /* [out] */ IWMSContentDescriptionList **ppDescription);
  671. void __RPC_STUB IWMSStreamHeaderList_GetContentDescription_Stub(
  672. IRpcStubBuffer *This,
  673. IRpcChannelBuffer *_pRpcChannelBuffer,
  674. PRPC_MESSAGE _pRpcMessage,
  675. DWORD *_pdwStubPhase);
  676. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeaderList_SetContentDescription_Proxy(
  677. IWMSStreamHeaderList * This,
  678. /* [in] */ IWMSContentDescriptionList *pDescription);
  679. void __RPC_STUB IWMSStreamHeaderList_SetContentDescription_Stub(
  680. IRpcStubBuffer *This,
  681. IRpcChannelBuffer *_pRpcChannelBuffer,
  682. PRPC_MESSAGE _pRpcMessage,
  683. DWORD *_pdwStubPhase);
  684. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeaderList_GetIntegerAttribute_Proxy(
  685. IWMSStreamHeaderList * This,
  686. /* [in] */ DWORD dwAttributeId,
  687. /* [out] */ DWORD *pdwAttribute);
  688. void __RPC_STUB IWMSStreamHeaderList_GetIntegerAttribute_Stub(
  689. IRpcStubBuffer *This,
  690. IRpcChannelBuffer *_pRpcChannelBuffer,
  691. PRPC_MESSAGE _pRpcMessage,
  692. DWORD *_pdwStubPhase);
  693. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeaderList_SetIntegerAttribute_Proxy(
  694. IWMSStreamHeaderList * This,
  695. /* [in] */ DWORD dwAttributeId,
  696. /* [in] */ DWORD dwAttribute);
  697. void __RPC_STUB IWMSStreamHeaderList_SetIntegerAttribute_Stub(
  698. IRpcStubBuffer *This,
  699. IRpcChannelBuffer *_pRpcChannelBuffer,
  700. PRPC_MESSAGE _pRpcMessage,
  701. DWORD *_pdwStubPhase);
  702. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeaderList_GetStringAttribute_Proxy(
  703. IWMSStreamHeaderList * This,
  704. /* [in] */ DWORD dwAttributeId,
  705. /* [out] */ BSTR *pszAttribute);
  706. void __RPC_STUB IWMSStreamHeaderList_GetStringAttribute_Stub(
  707. IRpcStubBuffer *This,
  708. IRpcChannelBuffer *_pRpcChannelBuffer,
  709. PRPC_MESSAGE _pRpcMessage,
  710. DWORD *_pdwStubPhase);
  711. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeaderList_SetStringAttribute_Proxy(
  712. IWMSStreamHeaderList * This,
  713. /* [in] */ DWORD dwAttributeId,
  714. /* [in] */ BSTR szAttribute);
  715. void __RPC_STUB IWMSStreamHeaderList_SetStringAttribute_Stub(
  716. IRpcStubBuffer *This,
  717. IRpcChannelBuffer *_pRpcChannelBuffer,
  718. PRPC_MESSAGE _pRpcMessage,
  719. DWORD *_pdwStubPhase);
  720. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeaderList_GetExtendedAttribute_Proxy(
  721. IWMSStreamHeaderList * This,
  722. /* [in] */ DWORD dwValueName,
  723. /* [out] */ VARIANT *pVariantValue);
  724. void __RPC_STUB IWMSStreamHeaderList_GetExtendedAttribute_Stub(
  725. IRpcStubBuffer *This,
  726. IRpcChannelBuffer *_pRpcChannelBuffer,
  727. PRPC_MESSAGE _pRpcMessage,
  728. DWORD *_pdwStubPhase);
  729. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeaderList_SetExtendedAttribute_Proxy(
  730. IWMSStreamHeaderList * This,
  731. /* [in] */ DWORD dwValueName,
  732. /* [in] */ VARIANT VariantValue);
  733. void __RPC_STUB IWMSStreamHeaderList_SetExtendedAttribute_Stub(
  734. IRpcStubBuffer *This,
  735. IRpcChannelBuffer *_pRpcChannelBuffer,
  736. PRPC_MESSAGE _pRpcMessage,
  737. DWORD *_pdwStubPhase);
  738. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeaderList_GetNthExtendedAttribute_Proxy(
  739. IWMSStreamHeaderList * This,
  740. /* [in] */ DWORD dwIndex,
  741. /* [out] */ DWORD *pdwValueName,
  742. /* [out] */ VARIANT *pVariantValue);
  743. void __RPC_STUB IWMSStreamHeaderList_GetNthExtendedAttribute_Stub(
  744. IRpcStubBuffer *This,
  745. IRpcChannelBuffer *_pRpcChannelBuffer,
  746. PRPC_MESSAGE _pRpcMessage,
  747. DWORD *_pdwStubPhase);
  748. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeaderList_GetNumExtendedAttributes_Proxy(
  749. IWMSStreamHeaderList * This,
  750. /* [out] */ DWORD *pdwValueName);
  751. void __RPC_STUB IWMSStreamHeaderList_GetNumExtendedAttributes_Stub(
  752. IRpcStubBuffer *This,
  753. IRpcChannelBuffer *_pRpcChannelBuffer,
  754. PRPC_MESSAGE _pRpcMessage,
  755. DWORD *_pdwStubPhase);
  756. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeaderList_CloneStreamHeaderList_Proxy(
  757. IWMSStreamHeaderList * This,
  758. /* [in] */ IWMSBufferAllocator *pBufferAllocator,
  759. /* [out] */ IWMSStreamHeaderList **ppHeader);
  760. void __RPC_STUB IWMSStreamHeaderList_CloneStreamHeaderList_Stub(
  761. IRpcStubBuffer *This,
  762. IRpcChannelBuffer *_pRpcChannelBuffer,
  763. PRPC_MESSAGE _pRpcMessage,
  764. DWORD *_pdwStubPhase);
  765. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeaderList_RecordPlaylistGenerationId_Proxy(
  766. IWMSStreamHeaderList * This,
  767. /* [in] */ IWMSCommandContext *pCommand);
  768. void __RPC_STUB IWMSStreamHeaderList_RecordPlaylistGenerationId_Stub(
  769. IRpcStubBuffer *This,
  770. IRpcChannelBuffer *_pRpcChannelBuffer,
  771. PRPC_MESSAGE _pRpcMessage,
  772. DWORD *_pdwStubPhase);
  773. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamHeaderList_CheckPlaylistGenerationId_Proxy(
  774. IWMSStreamHeaderList * This,
  775. /* [in] */ IWMSCommandContext *pCommand);
  776. void __RPC_STUB IWMSStreamHeaderList_CheckPlaylistGenerationId_Stub(
  777. IRpcStubBuffer *This,
  778. IRpcChannelBuffer *_pRpcChannelBuffer,
  779. PRPC_MESSAGE _pRpcMessage,
  780. DWORD *_pdwStubPhase);
  781. #endif /* __IWMSStreamHeaderList_INTERFACE_DEFINED__ */
  782. /* interface __MIDL_itf_streamdescription_0124 */
  783. /* [local] */
  784. #define WMS_TOTAL_MIN_BITRATE 0
  785. #define WMS_TOTAL_MAX_BITRATE 1
  786. #define WMS_TOTAL_AVG_BITRATE 2
  787. #define WMS_CONTAINER_FLAGS 3
  788. #define WMS_CONTAINER_DURATION_LO 4
  789. #define WMS_CONTAINER_DURATION_HI 5
  790. #define WMS_CONTAINER_MAX_PACKET_SIZE 6
  791. #define WMS_CONTAINER_PLAYLIST_ENTRY_NAME 7
  792. #define WMS_TOTAL_PACKETS_LO 8
  793. #define WMS_TOTAL_PACKETS_HI 9
  794. #define WMS_STREAM_PLAYLIST_GENERATION_ID 10
  795. #define WMS_CONTAINER_FILESIZE_LO 11
  796. #define WMS_CONTAINER_FILESIZE_HI 12
  797. #define WMS_STREAM_DISTRIBUTION_PLAYLIST_GENERATION_ID 13
  798. #define WMS_CONTAINER_LOG_PHYSICAL_URL 14
  799. #define WMS_CONTAINER_IS_VBR 15
  800. #define WMS_STREAM_BROADCAST_GENERATION_ID 16
  801. #define WMS_STREAM_DISTRIBUTION_BROADCAST_GENERATION_ID 17
  802. #define WMS_NUM_STREAMHEADERLIST_ATTRIBUTES 18
  803. #define WMS_CONTAINER_BROADCAST 0x0001
  804. #define WMS_CONTAINER_CANSEEK 0x0002
  805. #define WMS_CONTAINER_CANSTRIDE 0x0004
  806. #define WMS_CONTAINER_LIVE 0x0008
  807. #define WMS_CONTAINER_RECORDABLE 0x0010
  808. #define WMS_CONTAINER_PART_OF_PLAYLIST 0x0020
  809. #define WMS_CONTAINER_ONDEMAND_PLAYLIST_EMULATING_BCAST 0x0040
  810. #define WMS_CONTAINER_PART_OF_WRAPPER_PLAYLIST 0x0080
  811. #define WMS_CONTAINER_ALLOW_PLAYLIST_SKIP_FORWARD 0x0100
  812. #define WMS_CONTAINER_ALLOW_PLAYLIST_SKIP_BACKWARD 0x0200
  813. #define WMS_CONTAINER_SEEKABLE_EMULATING_BROADCAST 0x0400
  814. #define WMS_CONTAINER_LAST_ENTRY_IN_PLAYLIST 0x0800
  815. extern RPC_IF_HANDLE __MIDL_itf_streamdescription_0124_v0_0_c_ifspec;
  816. extern RPC_IF_HANDLE __MIDL_itf_streamdescription_0124_v0_0_s_ifspec;
  817. #ifndef __IWMSContentDescriptionList_INTERFACE_DEFINED__
  818. #define __IWMSContentDescriptionList_INTERFACE_DEFINED__
  819. /* interface IWMSContentDescriptionList */
  820. /* [helpstring][version][uuid][unique][object] */
  821. EXTERN_C const IID IID_IWMSContentDescriptionList;
  822. #if defined(__cplusplus) && !defined(CINTERFACE)
  823. MIDL_INTERFACE("105D6F73-6DF0-11d2-9F14-006097D2D7CF")
  824. IWMSContentDescriptionList : public IUnknown
  825. {
  826. public:
  827. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetDescriptionCount(
  828. /* [out] */ DWORD *pdwNumDescriptions) = 0;
  829. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetIndexedDescription(
  830. /* [in] */ DWORD dwDescriptionNum,
  831. /* [out] */ LPWSTR *pstrLanguage,
  832. /* [out] */ IWMSContext **ppDescription) = 0;
  833. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetDescriptionInLanguage(
  834. /* [in] */ LPCWSTR pstrLanguage,
  835. /* [out] */ IWMSContext **ppDescription) = 0;
  836. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AppendDescription(
  837. /* [in] */ LPCWSTR pstrLanguage,
  838. /* [in] */ IWMSContext *pDescription) = 0;
  839. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RemoveAllDescriptions( void) = 0;
  840. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetPlaylistGenid(
  841. DWORD *pdwPlaylistGenerationId) = 0;
  842. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetPlaylistGenid(
  843. DWORD dwPlaylistGenerationId) = 0;
  844. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetBroadcastid(
  845. DWORD *pdwPlaylistGenerationId) = 0;
  846. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetBroadcastid(
  847. DWORD dwPlaylistGenerationId) = 0;
  848. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetValueOnAllDescriptions(
  849. /* [in] */ LPCWSTR pstrName,
  850. /* [in] */ long lNameHint,
  851. /* [in] */ VARIANT Value,
  852. /* [in] */ long lOptions) = 0;
  853. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RemoveValueFromAllDescriptions(
  854. /* [in] */ LPCWSTR pstrName,
  855. /* [in] */ long lNameHint,
  856. /* [in] */ long lOptions) = 0;
  857. };
  858. #else /* C style interface */
  859. typedef struct IWMSContentDescriptionListVtbl
  860. {
  861. BEGIN_INTERFACE
  862. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  863. IWMSContentDescriptionList * This,
  864. /* [in] */ REFIID riid,
  865. /* [iid_is][out] */ void **ppvObject);
  866. ULONG ( STDMETHODCALLTYPE *AddRef )(
  867. IWMSContentDescriptionList * This);
  868. ULONG ( STDMETHODCALLTYPE *Release )(
  869. IWMSContentDescriptionList * This);
  870. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDescriptionCount )(
  871. IWMSContentDescriptionList * This,
  872. /* [out] */ DWORD *pdwNumDescriptions);
  873. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetIndexedDescription )(
  874. IWMSContentDescriptionList * This,
  875. /* [in] */ DWORD dwDescriptionNum,
  876. /* [out] */ LPWSTR *pstrLanguage,
  877. /* [out] */ IWMSContext **ppDescription);
  878. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDescriptionInLanguage )(
  879. IWMSContentDescriptionList * This,
  880. /* [in] */ LPCWSTR pstrLanguage,
  881. /* [out] */ IWMSContext **ppDescription);
  882. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AppendDescription )(
  883. IWMSContentDescriptionList * This,
  884. /* [in] */ LPCWSTR pstrLanguage,
  885. /* [in] */ IWMSContext *pDescription);
  886. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RemoveAllDescriptions )(
  887. IWMSContentDescriptionList * This);
  888. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetPlaylistGenid )(
  889. IWMSContentDescriptionList * This,
  890. DWORD *pdwPlaylistGenerationId);
  891. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetPlaylistGenid )(
  892. IWMSContentDescriptionList * This,
  893. DWORD dwPlaylistGenerationId);
  894. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetBroadcastid )(
  895. IWMSContentDescriptionList * This,
  896. DWORD *pdwPlaylistGenerationId);
  897. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetBroadcastid )(
  898. IWMSContentDescriptionList * This,
  899. DWORD dwPlaylistGenerationId);
  900. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetValueOnAllDescriptions )(
  901. IWMSContentDescriptionList * This,
  902. /* [in] */ LPCWSTR pstrName,
  903. /* [in] */ long lNameHint,
  904. /* [in] */ VARIANT Value,
  905. /* [in] */ long lOptions);
  906. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RemoveValueFromAllDescriptions )(
  907. IWMSContentDescriptionList * This,
  908. /* [in] */ LPCWSTR pstrName,
  909. /* [in] */ long lNameHint,
  910. /* [in] */ long lOptions);
  911. END_INTERFACE
  912. } IWMSContentDescriptionListVtbl;
  913. interface IWMSContentDescriptionList
  914. {
  915. CONST_VTBL struct IWMSContentDescriptionListVtbl *lpVtbl;
  916. };
  917. #ifdef COBJMACROS
  918. #define IWMSContentDescriptionList_QueryInterface(This,riid,ppvObject) \
  919. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  920. #define IWMSContentDescriptionList_AddRef(This) \
  921. (This)->lpVtbl -> AddRef(This)
  922. #define IWMSContentDescriptionList_Release(This) \
  923. (This)->lpVtbl -> Release(This)
  924. #define IWMSContentDescriptionList_GetDescriptionCount(This,pdwNumDescriptions) \
  925. (This)->lpVtbl -> GetDescriptionCount(This,pdwNumDescriptions)
  926. #define IWMSContentDescriptionList_GetIndexedDescription(This,dwDescriptionNum,pstrLanguage,ppDescription) \
  927. (This)->lpVtbl -> GetIndexedDescription(This,dwDescriptionNum,pstrLanguage,ppDescription)
  928. #define IWMSContentDescriptionList_GetDescriptionInLanguage(This,pstrLanguage,ppDescription) \
  929. (This)->lpVtbl -> GetDescriptionInLanguage(This,pstrLanguage,ppDescription)
  930. #define IWMSContentDescriptionList_AppendDescription(This,pstrLanguage,pDescription) \
  931. (This)->lpVtbl -> AppendDescription(This,pstrLanguage,pDescription)
  932. #define IWMSContentDescriptionList_RemoveAllDescriptions(This) \
  933. (This)->lpVtbl -> RemoveAllDescriptions(This)
  934. #define IWMSContentDescriptionList_GetPlaylistGenid(This,pdwPlaylistGenerationId) \
  935. (This)->lpVtbl -> GetPlaylistGenid(This,pdwPlaylistGenerationId)
  936. #define IWMSContentDescriptionList_SetPlaylistGenid(This,dwPlaylistGenerationId) \
  937. (This)->lpVtbl -> SetPlaylistGenid(This,dwPlaylistGenerationId)
  938. #define IWMSContentDescriptionList_GetBroadcastid(This,pdwPlaylistGenerationId) \
  939. (This)->lpVtbl -> GetBroadcastid(This,pdwPlaylistGenerationId)
  940. #define IWMSContentDescriptionList_SetBroadcastid(This,dwPlaylistGenerationId) \
  941. (This)->lpVtbl -> SetBroadcastid(This,dwPlaylistGenerationId)
  942. #define IWMSContentDescriptionList_SetValueOnAllDescriptions(This,pstrName,lNameHint,Value,lOptions) \
  943. (This)->lpVtbl -> SetValueOnAllDescriptions(This,pstrName,lNameHint,Value,lOptions)
  944. #define IWMSContentDescriptionList_RemoveValueFromAllDescriptions(This,pstrName,lNameHint,lOptions) \
  945. (This)->lpVtbl -> RemoveValueFromAllDescriptions(This,pstrName,lNameHint,lOptions)
  946. #endif /* COBJMACROS */
  947. #endif /* C style interface */
  948. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContentDescriptionList_GetDescriptionCount_Proxy(
  949. IWMSContentDescriptionList * This,
  950. /* [out] */ DWORD *pdwNumDescriptions);
  951. void __RPC_STUB IWMSContentDescriptionList_GetDescriptionCount_Stub(
  952. IRpcStubBuffer *This,
  953. IRpcChannelBuffer *_pRpcChannelBuffer,
  954. PRPC_MESSAGE _pRpcMessage,
  955. DWORD *_pdwStubPhase);
  956. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContentDescriptionList_GetIndexedDescription_Proxy(
  957. IWMSContentDescriptionList * This,
  958. /* [in] */ DWORD dwDescriptionNum,
  959. /* [out] */ LPWSTR *pstrLanguage,
  960. /* [out] */ IWMSContext **ppDescription);
  961. void __RPC_STUB IWMSContentDescriptionList_GetIndexedDescription_Stub(
  962. IRpcStubBuffer *This,
  963. IRpcChannelBuffer *_pRpcChannelBuffer,
  964. PRPC_MESSAGE _pRpcMessage,
  965. DWORD *_pdwStubPhase);
  966. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContentDescriptionList_GetDescriptionInLanguage_Proxy(
  967. IWMSContentDescriptionList * This,
  968. /* [in] */ LPCWSTR pstrLanguage,
  969. /* [out] */ IWMSContext **ppDescription);
  970. void __RPC_STUB IWMSContentDescriptionList_GetDescriptionInLanguage_Stub(
  971. IRpcStubBuffer *This,
  972. IRpcChannelBuffer *_pRpcChannelBuffer,
  973. PRPC_MESSAGE _pRpcMessage,
  974. DWORD *_pdwStubPhase);
  975. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContentDescriptionList_AppendDescription_Proxy(
  976. IWMSContentDescriptionList * This,
  977. /* [in] */ LPCWSTR pstrLanguage,
  978. /* [in] */ IWMSContext *pDescription);
  979. void __RPC_STUB IWMSContentDescriptionList_AppendDescription_Stub(
  980. IRpcStubBuffer *This,
  981. IRpcChannelBuffer *_pRpcChannelBuffer,
  982. PRPC_MESSAGE _pRpcMessage,
  983. DWORD *_pdwStubPhase);
  984. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContentDescriptionList_RemoveAllDescriptions_Proxy(
  985. IWMSContentDescriptionList * This);
  986. void __RPC_STUB IWMSContentDescriptionList_RemoveAllDescriptions_Stub(
  987. IRpcStubBuffer *This,
  988. IRpcChannelBuffer *_pRpcChannelBuffer,
  989. PRPC_MESSAGE _pRpcMessage,
  990. DWORD *_pdwStubPhase);
  991. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContentDescriptionList_GetPlaylistGenid_Proxy(
  992. IWMSContentDescriptionList * This,
  993. DWORD *pdwPlaylistGenerationId);
  994. void __RPC_STUB IWMSContentDescriptionList_GetPlaylistGenid_Stub(
  995. IRpcStubBuffer *This,
  996. IRpcChannelBuffer *_pRpcChannelBuffer,
  997. PRPC_MESSAGE _pRpcMessage,
  998. DWORD *_pdwStubPhase);
  999. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContentDescriptionList_SetPlaylistGenid_Proxy(
  1000. IWMSContentDescriptionList * This,
  1001. DWORD dwPlaylistGenerationId);
  1002. void __RPC_STUB IWMSContentDescriptionList_SetPlaylistGenid_Stub(
  1003. IRpcStubBuffer *This,
  1004. IRpcChannelBuffer *_pRpcChannelBuffer,
  1005. PRPC_MESSAGE _pRpcMessage,
  1006. DWORD *_pdwStubPhase);
  1007. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContentDescriptionList_GetBroadcastid_Proxy(
  1008. IWMSContentDescriptionList * This,
  1009. DWORD *pdwPlaylistGenerationId);
  1010. void __RPC_STUB IWMSContentDescriptionList_GetBroadcastid_Stub(
  1011. IRpcStubBuffer *This,
  1012. IRpcChannelBuffer *_pRpcChannelBuffer,
  1013. PRPC_MESSAGE _pRpcMessage,
  1014. DWORD *_pdwStubPhase);
  1015. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContentDescriptionList_SetBroadcastid_Proxy(
  1016. IWMSContentDescriptionList * This,
  1017. DWORD dwPlaylistGenerationId);
  1018. void __RPC_STUB IWMSContentDescriptionList_SetBroadcastid_Stub(
  1019. IRpcStubBuffer *This,
  1020. IRpcChannelBuffer *_pRpcChannelBuffer,
  1021. PRPC_MESSAGE _pRpcMessage,
  1022. DWORD *_pdwStubPhase);
  1023. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContentDescriptionList_SetValueOnAllDescriptions_Proxy(
  1024. IWMSContentDescriptionList * This,
  1025. /* [in] */ LPCWSTR pstrName,
  1026. /* [in] */ long lNameHint,
  1027. /* [in] */ VARIANT Value,
  1028. /* [in] */ long lOptions);
  1029. void __RPC_STUB IWMSContentDescriptionList_SetValueOnAllDescriptions_Stub(
  1030. IRpcStubBuffer *This,
  1031. IRpcChannelBuffer *_pRpcChannelBuffer,
  1032. PRPC_MESSAGE _pRpcMessage,
  1033. DWORD *_pdwStubPhase);
  1034. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContentDescriptionList_RemoveValueFromAllDescriptions_Proxy(
  1035. IWMSContentDescriptionList * This,
  1036. /* [in] */ LPCWSTR pstrName,
  1037. /* [in] */ long lNameHint,
  1038. /* [in] */ long lOptions);
  1039. void __RPC_STUB IWMSContentDescriptionList_RemoveValueFromAllDescriptions_Stub(
  1040. IRpcStubBuffer *This,
  1041. IRpcChannelBuffer *_pRpcChannelBuffer,
  1042. PRPC_MESSAGE _pRpcMessage,
  1043. DWORD *_pdwStubPhase);
  1044. #endif /* __IWMSContentDescriptionList_INTERFACE_DEFINED__ */
  1045. /* interface __MIDL_itf_streamdescription_0125 */
  1046. /* [local] */
  1047. typedef /* [public][public] */
  1048. enum __MIDL___MIDL_itf_streamdescription_0125_0001
  1049. { WMS_DATA_STREAM_MIN = 0,
  1050. WMS_DATA_STREAM_MAX = 0xfffe,
  1051. WMS_NO_STREAM = 0xffff,
  1052. WMS_RETRANSMISSION_STREAM_MIN = 0x10000,
  1053. WMS_RETRANSMISSION_STREAM_MAX = 0x1fffe,
  1054. WMS_FEC_STREAM_MIN = 0x20000,
  1055. WMS_FEC_STREAM_MAX = 0x2fffe
  1056. } WMS_STREAM_CONSTANTS;
  1057. #define IS_DATA_STREAM(x) ( ( x ) >= WMS_DATA_STREAM_MIN && ( x ) <= WMS_DATA_STREAM_MAX )
  1058. #define IS_RETRANSMISSION_STREAM(x) ( ( x ) >= WMS_RETRANSMISSION_STREAM_MIN && ( x ) <= WMS_RETRANSMISSION_STREAM_MAX )
  1059. #define IS_FEC_STREAM(x) ( ( x ) >= WMS_FEC_STREAM_MIN && ( x ) <= WMS_FEC_STREAM_MAX )
  1060. typedef /* [public][public][public][public][public][public] */
  1061. enum __MIDL___MIDL_itf_streamdescription_0125_0002
  1062. { WMS_NO_MODIFIER = 0,
  1063. WMS_THINNING_MODIFIER = 1,
  1064. WMS_REMOVE_ALL_FRAMES_MODIFIER = 2
  1065. } WMS_STREAM_MODIFIERS;
  1066. typedef /* [public][public] */
  1067. enum __MIDL___MIDL_itf_streamdescription_0125_0003
  1068. { WMS_NO_THINNING = 0,
  1069. WMS_INTERMEDIATE_FRAME_THINNING = 1,
  1070. WMS_REMOVE_ALL_FRAMES = 2
  1071. } WMS_THINNING_MODIFIER_TYPES;
  1072. typedef struct CWMSStreamSwitch
  1073. {
  1074. WORD wPlaylistSequenceNumber;
  1075. DWORD dwOldStreamNumber;
  1076. DWORD dwNewStreamNumber;
  1077. WMS_STREAM_MODIFIERS ModifierType;
  1078. DWORD dwModifier;
  1079. DWORD dwPredictiveStreamSelections;
  1080. } CWMSStreamSwitch;
  1081. extern RPC_IF_HANDLE __MIDL_itf_streamdescription_0125_v0_0_c_ifspec;
  1082. extern RPC_IF_HANDLE __MIDL_itf_streamdescription_0125_v0_0_s_ifspec;
  1083. #ifndef __IWMSStreamSwitchDescriptionList_INTERFACE_DEFINED__
  1084. #define __IWMSStreamSwitchDescriptionList_INTERFACE_DEFINED__
  1085. /* interface IWMSStreamSwitchDescriptionList */
  1086. /* [helpstring][version][uuid][unique][object] */
  1087. EXTERN_C const IID IID_IWMSStreamSwitchDescriptionList;
  1088. #if defined(__cplusplus) && !defined(CINTERFACE)
  1089. MIDL_INTERFACE("75C3017C-6B3A-4e25-BE9F-A9927F4DD058")
  1090. IWMSStreamSwitchDescriptionList : public IUnknown
  1091. {
  1092. public:
  1093. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetDescriptionCount(
  1094. /* [out] */ DWORD *pdwNumDescriptions) = 0;
  1095. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetIndexedDescription(
  1096. /* [in] */ DWORD dwDescriptionNum,
  1097. /* [out] */ CWMSStreamSwitch *pStreamSwitchDesc) = 0;
  1098. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ChangeIndexedDescription(
  1099. /* [in] */ DWORD dwDescriptionNum,
  1100. /* [out] */ CWMSStreamSwitch *pStreamSwitchDesc) = 0;
  1101. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RemoveIndexedDescription(
  1102. /* [in] */ DWORD dwDescriptionNum) = 0;
  1103. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AppendDescription(
  1104. /* [in] */ CWMSStreamSwitch *const pStreamSwitchDesc) = 0;
  1105. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RemoveAllDescriptions( void) = 0;
  1106. };
  1107. #else /* C style interface */
  1108. typedef struct IWMSStreamSwitchDescriptionListVtbl
  1109. {
  1110. BEGIN_INTERFACE
  1111. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1112. IWMSStreamSwitchDescriptionList * This,
  1113. /* [in] */ REFIID riid,
  1114. /* [iid_is][out] */ void **ppvObject);
  1115. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1116. IWMSStreamSwitchDescriptionList * This);
  1117. ULONG ( STDMETHODCALLTYPE *Release )(
  1118. IWMSStreamSwitchDescriptionList * This);
  1119. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDescriptionCount )(
  1120. IWMSStreamSwitchDescriptionList * This,
  1121. /* [out] */ DWORD *pdwNumDescriptions);
  1122. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetIndexedDescription )(
  1123. IWMSStreamSwitchDescriptionList * This,
  1124. /* [in] */ DWORD dwDescriptionNum,
  1125. /* [out] */ CWMSStreamSwitch *pStreamSwitchDesc);
  1126. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ChangeIndexedDescription )(
  1127. IWMSStreamSwitchDescriptionList * This,
  1128. /* [in] */ DWORD dwDescriptionNum,
  1129. /* [out] */ CWMSStreamSwitch *pStreamSwitchDesc);
  1130. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RemoveIndexedDescription )(
  1131. IWMSStreamSwitchDescriptionList * This,
  1132. /* [in] */ DWORD dwDescriptionNum);
  1133. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AppendDescription )(
  1134. IWMSStreamSwitchDescriptionList * This,
  1135. /* [in] */ CWMSStreamSwitch *const pStreamSwitchDesc);
  1136. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RemoveAllDescriptions )(
  1137. IWMSStreamSwitchDescriptionList * This);
  1138. END_INTERFACE
  1139. } IWMSStreamSwitchDescriptionListVtbl;
  1140. interface IWMSStreamSwitchDescriptionList
  1141. {
  1142. CONST_VTBL struct IWMSStreamSwitchDescriptionListVtbl *lpVtbl;
  1143. };
  1144. #ifdef COBJMACROS
  1145. #define IWMSStreamSwitchDescriptionList_QueryInterface(This,riid,ppvObject) \
  1146. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1147. #define IWMSStreamSwitchDescriptionList_AddRef(This) \
  1148. (This)->lpVtbl -> AddRef(This)
  1149. #define IWMSStreamSwitchDescriptionList_Release(This) \
  1150. (This)->lpVtbl -> Release(This)
  1151. #define IWMSStreamSwitchDescriptionList_GetDescriptionCount(This,pdwNumDescriptions) \
  1152. (This)->lpVtbl -> GetDescriptionCount(This,pdwNumDescriptions)
  1153. #define IWMSStreamSwitchDescriptionList_GetIndexedDescription(This,dwDescriptionNum,pStreamSwitchDesc) \
  1154. (This)->lpVtbl -> GetIndexedDescription(This,dwDescriptionNum,pStreamSwitchDesc)
  1155. #define IWMSStreamSwitchDescriptionList_ChangeIndexedDescription(This,dwDescriptionNum,pStreamSwitchDesc) \
  1156. (This)->lpVtbl -> ChangeIndexedDescription(This,dwDescriptionNum,pStreamSwitchDesc)
  1157. #define IWMSStreamSwitchDescriptionList_RemoveIndexedDescription(This,dwDescriptionNum) \
  1158. (This)->lpVtbl -> RemoveIndexedDescription(This,dwDescriptionNum)
  1159. #define IWMSStreamSwitchDescriptionList_AppendDescription(This,pStreamSwitchDesc) \
  1160. (This)->lpVtbl -> AppendDescription(This,pStreamSwitchDesc)
  1161. #define IWMSStreamSwitchDescriptionList_RemoveAllDescriptions(This) \
  1162. (This)->lpVtbl -> RemoveAllDescriptions(This)
  1163. #endif /* COBJMACROS */
  1164. #endif /* C style interface */
  1165. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamSwitchDescriptionList_GetDescriptionCount_Proxy(
  1166. IWMSStreamSwitchDescriptionList * This,
  1167. /* [out] */ DWORD *pdwNumDescriptions);
  1168. void __RPC_STUB IWMSStreamSwitchDescriptionList_GetDescriptionCount_Stub(
  1169. IRpcStubBuffer *This,
  1170. IRpcChannelBuffer *_pRpcChannelBuffer,
  1171. PRPC_MESSAGE _pRpcMessage,
  1172. DWORD *_pdwStubPhase);
  1173. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamSwitchDescriptionList_GetIndexedDescription_Proxy(
  1174. IWMSStreamSwitchDescriptionList * This,
  1175. /* [in] */ DWORD dwDescriptionNum,
  1176. /* [out] */ CWMSStreamSwitch *pStreamSwitchDesc);
  1177. void __RPC_STUB IWMSStreamSwitchDescriptionList_GetIndexedDescription_Stub(
  1178. IRpcStubBuffer *This,
  1179. IRpcChannelBuffer *_pRpcChannelBuffer,
  1180. PRPC_MESSAGE _pRpcMessage,
  1181. DWORD *_pdwStubPhase);
  1182. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamSwitchDescriptionList_ChangeIndexedDescription_Proxy(
  1183. IWMSStreamSwitchDescriptionList * This,
  1184. /* [in] */ DWORD dwDescriptionNum,
  1185. /* [out] */ CWMSStreamSwitch *pStreamSwitchDesc);
  1186. void __RPC_STUB IWMSStreamSwitchDescriptionList_ChangeIndexedDescription_Stub(
  1187. IRpcStubBuffer *This,
  1188. IRpcChannelBuffer *_pRpcChannelBuffer,
  1189. PRPC_MESSAGE _pRpcMessage,
  1190. DWORD *_pdwStubPhase);
  1191. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamSwitchDescriptionList_RemoveIndexedDescription_Proxy(
  1192. IWMSStreamSwitchDescriptionList * This,
  1193. /* [in] */ DWORD dwDescriptionNum);
  1194. void __RPC_STUB IWMSStreamSwitchDescriptionList_RemoveIndexedDescription_Stub(
  1195. IRpcStubBuffer *This,
  1196. IRpcChannelBuffer *_pRpcChannelBuffer,
  1197. PRPC_MESSAGE _pRpcMessage,
  1198. DWORD *_pdwStubPhase);
  1199. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamSwitchDescriptionList_AppendDescription_Proxy(
  1200. IWMSStreamSwitchDescriptionList * This,
  1201. /* [in] */ CWMSStreamSwitch *const pStreamSwitchDesc);
  1202. void __RPC_STUB IWMSStreamSwitchDescriptionList_AppendDescription_Stub(
  1203. IRpcStubBuffer *This,
  1204. IRpcChannelBuffer *_pRpcChannelBuffer,
  1205. PRPC_MESSAGE _pRpcMessage,
  1206. DWORD *_pdwStubPhase);
  1207. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSStreamSwitchDescriptionList_RemoveAllDescriptions_Proxy(
  1208. IWMSStreamSwitchDescriptionList * This);
  1209. void __RPC_STUB IWMSStreamSwitchDescriptionList_RemoveAllDescriptions_Stub(
  1210. IRpcStubBuffer *This,
  1211. IRpcChannelBuffer *_pRpcChannelBuffer,
  1212. PRPC_MESSAGE _pRpcMessage,
  1213. DWORD *_pdwStubPhase);
  1214. #endif /* __IWMSStreamSwitchDescriptionList_INTERFACE_DEFINED__ */
  1215. /* interface __MIDL_itf_streamdescription_0126 */
  1216. /* [local] */
  1217. typedef /* [public] */
  1218. enum WMS_SEEK_TYPE
  1219. { WMS_SEEK_TO_TIME = 1,
  1220. WMS_SEEK_TO_PACKET = 2,
  1221. WMS_SEEK_TO_PLAYLIST_ENTRY = 3,
  1222. WMS_SEEK_TO_BYTE_OFFSET = 4
  1223. } WMS_SEEK_TYPE;
  1224. extern RPC_IF_HANDLE __MIDL_itf_streamdescription_0126_v0_0_c_ifspec;
  1225. extern RPC_IF_HANDLE __MIDL_itf_streamdescription_0126_v0_0_s_ifspec;
  1226. /* Additional Prototypes for ALL interfaces */
  1227. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  1228. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  1229. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  1230. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  1231. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  1232. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  1233. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  1234. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  1235. /* end of Additional Prototypes */
  1236. #ifdef __cplusplus
  1237. }
  1238. #endif
  1239. #endif