Source code of Windows XP (NT5)
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.

1454 lines
42 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for encdec.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, robust
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __encdec_h__
  27. #define __encdec_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IETFilterConfig_FWD_DEFINED__
  33. #define __IETFilterConfig_FWD_DEFINED__
  34. typedef interface IETFilterConfig IETFilterConfig;
  35. #endif /* __IETFilterConfig_FWD_DEFINED__ */
  36. #ifndef __IDTFilterConfig_FWD_DEFINED__
  37. #define __IDTFilterConfig_FWD_DEFINED__
  38. typedef interface IDTFilterConfig IDTFilterConfig;
  39. #endif /* __IDTFilterConfig_FWD_DEFINED__ */
  40. #ifndef __IXDSCodecConfig_FWD_DEFINED__
  41. #define __IXDSCodecConfig_FWD_DEFINED__
  42. typedef interface IXDSCodecConfig IXDSCodecConfig;
  43. #endif /* __IXDSCodecConfig_FWD_DEFINED__ */
  44. #ifndef __IETFilter_FWD_DEFINED__
  45. #define __IETFilter_FWD_DEFINED__
  46. typedef interface IETFilter IETFilter;
  47. #endif /* __IETFilter_FWD_DEFINED__ */
  48. #ifndef __IETFilterEvents_FWD_DEFINED__
  49. #define __IETFilterEvents_FWD_DEFINED__
  50. typedef interface IETFilterEvents IETFilterEvents;
  51. #endif /* __IETFilterEvents_FWD_DEFINED__ */
  52. #ifndef __ETFilter_FWD_DEFINED__
  53. #define __ETFilter_FWD_DEFINED__
  54. #ifdef __cplusplus
  55. typedef class ETFilter ETFilter;
  56. #else
  57. typedef struct ETFilter ETFilter;
  58. #endif /* __cplusplus */
  59. #endif /* __ETFilter_FWD_DEFINED__ */
  60. #ifndef __IDTFilter_FWD_DEFINED__
  61. #define __IDTFilter_FWD_DEFINED__
  62. typedef interface IDTFilter IDTFilter;
  63. #endif /* __IDTFilter_FWD_DEFINED__ */
  64. #ifndef __IDTFilterEvents_FWD_DEFINED__
  65. #define __IDTFilterEvents_FWD_DEFINED__
  66. typedef interface IDTFilterEvents IDTFilterEvents;
  67. #endif /* __IDTFilterEvents_FWD_DEFINED__ */
  68. #ifndef __DTFilter_FWD_DEFINED__
  69. #define __DTFilter_FWD_DEFINED__
  70. #ifdef __cplusplus
  71. typedef class DTFilter DTFilter;
  72. #else
  73. typedef struct DTFilter DTFilter;
  74. #endif /* __cplusplus */
  75. #endif /* __DTFilter_FWD_DEFINED__ */
  76. #ifndef __IXDSCodec_FWD_DEFINED__
  77. #define __IXDSCodec_FWD_DEFINED__
  78. typedef interface IXDSCodec IXDSCodec;
  79. #endif /* __IXDSCodec_FWD_DEFINED__ */
  80. #ifndef __IXDSCodecEvents_FWD_DEFINED__
  81. #define __IXDSCodecEvents_FWD_DEFINED__
  82. typedef interface IXDSCodecEvents IXDSCodecEvents;
  83. #endif /* __IXDSCodecEvents_FWD_DEFINED__ */
  84. #ifndef __XDSCodec_FWD_DEFINED__
  85. #define __XDSCodec_FWD_DEFINED__
  86. #ifdef __cplusplus
  87. typedef class XDSCodec XDSCodec;
  88. #else
  89. typedef struct XDSCodec XDSCodec;
  90. #endif /* __cplusplus */
  91. #endif /* __XDSCodec_FWD_DEFINED__ */
  92. /* header files for imported files */
  93. #include "oaidl.h"
  94. #include "ocidl.h"
  95. #include "TvRatings.h"
  96. #ifdef __cplusplus
  97. extern "C"{
  98. #endif
  99. void * __RPC_USER MIDL_user_allocate(size_t);
  100. void __RPC_USER MIDL_user_free( void * );
  101. /* interface __MIDL_itf_encdec_0000 */
  102. /* [local] */
  103. //+-------------------------------------------------------------------------
  104. //
  105. // Microsoft Windows
  106. // Copyright (C) Microsoft Corporation, 2002.
  107. //
  108. //--------------------------------------------------------------------------
  109. #pragma once
  110. // {C4C4C481-0049-4E2B-98FB-9537F6CE516D}
  111. DEFINE_GUID(CLSID_ETFilterEncProperties,
  112. 0xC4C4C481, 0x0049, 0x4E2B, 0x98, 0xFB, 0x95, 0x37, 0xF6, 0xCE, 0x51, 0x6D);
  113. // {C4C4C491-0049-4E2B-98FB-9537F6CE516D}
  114. DEFINE_GUID(CLSID_ETFilterTagProperties,
  115. 0xC4C4C491, 0x0049, 0x4E2B, 0x98, 0xFB, 0x95, 0x37, 0xF6, 0xCE, 0x51, 0x6D);
  116. // {C4C4C482-0049-4E2B-98FB-9537F6CE516D}
  117. DEFINE_GUID(CLSID_DTFilterEncProperties,
  118. 0xC4C4C482, 0x0049, 0x4E2B, 0x98, 0xFB, 0x95, 0x37, 0xF6, 0xCE, 0x51, 0x6D);
  119. // {C4C4C492-0049-4E2B-98FB-9537F6CE516D}
  120. DEFINE_GUID(CLSID_DTFilterTagProperties,
  121. 0xC4C4C492, 0x0049, 0x4E2B, 0x98, 0xFB, 0x95, 0x37, 0xF6, 0xCE, 0x51, 0x6D);
  122. // {C4C4C482-0049-4E2B-98FB-9537F6CE516D}
  123. DEFINE_GUID(CLSID_XDSCodecProperties,
  124. 0xC4C4C483, 0x0049, 0x4E2B, 0x98, 0xFB, 0x95, 0x37, 0xF6, 0xCE, 0x51, 0x6D);
  125. // {C4C4C492-0049-4E2B-98FB-9537F6CE516D}
  126. DEFINE_GUID(CLSID_XDSCodecTagProperties,
  127. 0xC4C4C493, 0x0049, 0x4E2B, 0x98, 0xFB, 0x95, 0x37, 0xF6, 0xCE, 0x51, 0x6D);
  128. // {C4C4C4FC-0049-4E2B-98FB-9537F6CE516D}
  129. DEFINE_GUID(CLSID_CPCAFiltersCategory,
  130. 0xC4C4C4FC, 0x0049, 0x4E2B, 0x98, 0xFB, 0x95, 0x37, 0xF6, 0xCE, 0x51, 0x6D);
  131. // {C4C4C4E0-0049-4E2B-98FB-9537F6CE516D}
  132. DEFINE_GUID(EVENTID_XDSCodecNewXDSRating,
  133. 0xC4C4C4E0, 0x0049, 0x4E2B, 0x98, 0xFB, 0x95, 0x37, 0xF6, 0xCE, 0x51, 0x6D);
  134. // {C4C4C4DF-0049-4E2B-98FB-9537F6CE516D}
  135. DEFINE_GUID(EVENTID_XDSCodecDuplicateXDSRating,
  136. 0xC4C4C4DF, 0x0049, 0x4E2B, 0x98, 0xFB, 0x95, 0x37, 0xF6, 0xCE, 0x51, 0x6D);
  137. // {C4C4C4E1-0049-4E2B-98FB-9537F6CE516D}
  138. DEFINE_GUID(EVENTID_XDSCodecNewXDSPacket,
  139. 0xC4C4C4E1, 0x0049, 0x4E2B, 0x98, 0xFB, 0x95, 0x37, 0xF6, 0xCE, 0x51, 0x6D);
  140. // {C4C4C4E2-0049-4E2B-98FB-9537F6CE516D}
  141. DEFINE_GUID(EVENTID_DTFilterRatingChange,
  142. 0xC4C4C4E2, 0x0049, 0x4E2B, 0x98, 0xFB, 0x95, 0x37, 0xF6, 0xCE, 0x51, 0x6D);
  143. // {C4C4C4E3-0049-4E2B-98FB-9537F6CE516D}
  144. DEFINE_GUID(EVENTID_DTFilterRatingsBlock,
  145. 0xC4C4C4E3, 0x0049, 0x4E2B, 0x98, 0xFB, 0x95, 0x37, 0xF6, 0xCE, 0x51, 0x6D);
  146. // {C4C4C4E4-0049-4E2B-98FB-9537F6CE516D}
  147. DEFINE_GUID(EVENTID_DTFilterRatingsUnblock,
  148. 0xC4C4C4E4, 0x0049, 0x4E2B, 0x98, 0xFB, 0x95, 0x37, 0xF6, 0xCE, 0x51, 0x6D);
  149. // {C4C4C4E5-0049-4E2B-98FB-9537F6CE516D}
  150. DEFINE_GUID(EVENTID_DTFilterXDSPacket,
  151. 0xC4C4C4E5, 0x0049, 0x4E2B, 0x98, 0xFB, 0x95, 0x37, 0xF6, 0xCE, 0x51, 0x6D);
  152. // {C4C4C4EC-0049-4E2B-98FB-9537F6CE516D}
  153. DEFINE_GUID(EVENTID_DTFilterDataFormatOK,
  154. 0xC4C4C4ED, 0x0049, 0x4E2B, 0x98, 0xFB, 0x95, 0x37, 0xF6, 0xCE, 0x51, 0x6D);
  155. // {C4C4C4ED-0049-4E2B-98FB-9537F6CE516D}
  156. DEFINE_GUID(EVENTID_DTFilterDataFormatFailure,
  157. 0xC4C4C4EF, 0x0049, 0x4E2B, 0x98, 0xFB, 0x95, 0x37, 0xF6, 0xCE, 0x51, 0x6D);
  158. // {C4C4C4EE-0049-4E2B-98FB-9537F6CE516D}
  159. DEFINE_GUID(EVENTID_ETDTFilterLicenseOK,
  160. 0xC4C4C4EE, 0x0049, 0x4E2B, 0x98, 0xFB, 0x95, 0x37, 0xF6, 0xCE, 0x51, 0x6D);
  161. // {C4C4C4EF-0049-4E2B-98FB-9537F6CE516D}
  162. DEFINE_GUID(EVENTID_ETDTFilterLicenseFailure,
  163. 0xC4C4C4EF, 0x0049, 0x4E2B, 0x98, 0xFB, 0x95, 0x37, 0xF6, 0xCE, 0x51, 0x6D);
  164. // {C4C4C4D0-0049-4E2B-98FB-9537F6CE516D}
  165. DEFINE_GUID(MEDIASUBTYPE_ETDTFilter_Tagged,
  166. 0xC4C4C4D0, 0x0049, 0x4E2B, 0x98, 0xFB, 0x95, 0x37, 0xF6, 0xCE, 0x51, 0x6D);
  167. // {C4C4C4D1-0049-4E2B-98FB-9537F6CE516D}
  168. DEFINE_GUID(FORMATTYPE_ETDTFilter_Tagged,
  169. 0xC4C4C4D1, 0x0049, 0x4E2B, 0x98, 0xFB, 0x95, 0x37, 0xF6, 0xCE, 0x51, 0x6D);
  170. typedef LONGLONG REFERENCE_TIME;
  171. typedef LONG PackedTvRating;
  172. typedef
  173. enum EnTag_Mode
  174. { EnTag_Remove = 0,
  175. EnTag_Once = 0x1,
  176. EnTag_Repeat = 0x2
  177. } EnTag_Mode;
  178. extern RPC_IF_HANDLE __MIDL_itf_encdec_0000_v0_0_c_ifspec;
  179. extern RPC_IF_HANDLE __MIDL_itf_encdec_0000_v0_0_s_ifspec;
  180. #ifndef __IETFilterConfig_INTERFACE_DEFINED__
  181. #define __IETFilterConfig_INTERFACE_DEFINED__
  182. /* interface IETFilterConfig */
  183. /* [unique][helpstring][uuid][object][restricted] */
  184. EXTERN_C const IID IID_IETFilterConfig;
  185. #if defined(__cplusplus) && !defined(CINTERFACE)
  186. MIDL_INTERFACE("C4C4C4D1-0049-4E2B-98FB-9537F6CE516D")
  187. IETFilterConfig : public IUnknown
  188. {
  189. public:
  190. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InitLicense(
  191. /* [in] */ int LicenseId) = 0;
  192. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetSecureChannelObject(
  193. /* [out] */ IUnknown **ppUnkDRMSecureChannel) = 0;
  194. };
  195. #else /* C style interface */
  196. typedef struct IETFilterConfigVtbl
  197. {
  198. BEGIN_INTERFACE
  199. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  200. IETFilterConfig * This,
  201. /* [in] */ REFIID riid,
  202. /* [iid_is][out] */ void **ppvObject);
  203. ULONG ( STDMETHODCALLTYPE *AddRef )(
  204. IETFilterConfig * This);
  205. ULONG ( STDMETHODCALLTYPE *Release )(
  206. IETFilterConfig * This);
  207. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InitLicense )(
  208. IETFilterConfig * This,
  209. /* [in] */ int LicenseId);
  210. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetSecureChannelObject )(
  211. IETFilterConfig * This,
  212. /* [out] */ IUnknown **ppUnkDRMSecureChannel);
  213. END_INTERFACE
  214. } IETFilterConfigVtbl;
  215. interface IETFilterConfig
  216. {
  217. CONST_VTBL struct IETFilterConfigVtbl *lpVtbl;
  218. };
  219. #ifdef COBJMACROS
  220. #define IETFilterConfig_QueryInterface(This,riid,ppvObject) \
  221. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  222. #define IETFilterConfig_AddRef(This) \
  223. (This)->lpVtbl -> AddRef(This)
  224. #define IETFilterConfig_Release(This) \
  225. (This)->lpVtbl -> Release(This)
  226. #define IETFilterConfig_InitLicense(This,LicenseId) \
  227. (This)->lpVtbl -> InitLicense(This,LicenseId)
  228. #define IETFilterConfig_GetSecureChannelObject(This,ppUnkDRMSecureChannel) \
  229. (This)->lpVtbl -> GetSecureChannelObject(This,ppUnkDRMSecureChannel)
  230. #endif /* COBJMACROS */
  231. #endif /* C style interface */
  232. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IETFilterConfig_InitLicense_Proxy(
  233. IETFilterConfig * This,
  234. /* [in] */ int LicenseId);
  235. void __RPC_STUB IETFilterConfig_InitLicense_Stub(
  236. IRpcStubBuffer *This,
  237. IRpcChannelBuffer *_pRpcChannelBuffer,
  238. PRPC_MESSAGE _pRpcMessage,
  239. DWORD *_pdwStubPhase);
  240. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IETFilterConfig_GetSecureChannelObject_Proxy(
  241. IETFilterConfig * This,
  242. /* [out] */ IUnknown **ppUnkDRMSecureChannel);
  243. void __RPC_STUB IETFilterConfig_GetSecureChannelObject_Stub(
  244. IRpcStubBuffer *This,
  245. IRpcChannelBuffer *_pRpcChannelBuffer,
  246. PRPC_MESSAGE _pRpcMessage,
  247. DWORD *_pdwStubPhase);
  248. #endif /* __IETFilterConfig_INTERFACE_DEFINED__ */
  249. #ifndef __IDTFilterConfig_INTERFACE_DEFINED__
  250. #define __IDTFilterConfig_INTERFACE_DEFINED__
  251. /* interface IDTFilterConfig */
  252. /* [unique][helpstring][uuid][object][restricted] */
  253. EXTERN_C const IID IID_IDTFilterConfig;
  254. #if defined(__cplusplus) && !defined(CINTERFACE)
  255. MIDL_INTERFACE("C4C4C4D2-0049-4E2B-98FB-9537F6CE516D")
  256. IDTFilterConfig : public IUnknown
  257. {
  258. public:
  259. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetSecureChannelObject(
  260. /* [out] */ IUnknown **ppUnkDRMSecureChannel) = 0;
  261. };
  262. #else /* C style interface */
  263. typedef struct IDTFilterConfigVtbl
  264. {
  265. BEGIN_INTERFACE
  266. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  267. IDTFilterConfig * This,
  268. /* [in] */ REFIID riid,
  269. /* [iid_is][out] */ void **ppvObject);
  270. ULONG ( STDMETHODCALLTYPE *AddRef )(
  271. IDTFilterConfig * This);
  272. ULONG ( STDMETHODCALLTYPE *Release )(
  273. IDTFilterConfig * This);
  274. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetSecureChannelObject )(
  275. IDTFilterConfig * This,
  276. /* [out] */ IUnknown **ppUnkDRMSecureChannel);
  277. END_INTERFACE
  278. } IDTFilterConfigVtbl;
  279. interface IDTFilterConfig
  280. {
  281. CONST_VTBL struct IDTFilterConfigVtbl *lpVtbl;
  282. };
  283. #ifdef COBJMACROS
  284. #define IDTFilterConfig_QueryInterface(This,riid,ppvObject) \
  285. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  286. #define IDTFilterConfig_AddRef(This) \
  287. (This)->lpVtbl -> AddRef(This)
  288. #define IDTFilterConfig_Release(This) \
  289. (This)->lpVtbl -> Release(This)
  290. #define IDTFilterConfig_GetSecureChannelObject(This,ppUnkDRMSecureChannel) \
  291. (This)->lpVtbl -> GetSecureChannelObject(This,ppUnkDRMSecureChannel)
  292. #endif /* COBJMACROS */
  293. #endif /* C style interface */
  294. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IDTFilterConfig_GetSecureChannelObject_Proxy(
  295. IDTFilterConfig * This,
  296. /* [out] */ IUnknown **ppUnkDRMSecureChannel);
  297. void __RPC_STUB IDTFilterConfig_GetSecureChannelObject_Stub(
  298. IRpcStubBuffer *This,
  299. IRpcChannelBuffer *_pRpcChannelBuffer,
  300. PRPC_MESSAGE _pRpcMessage,
  301. DWORD *_pdwStubPhase);
  302. #endif /* __IDTFilterConfig_INTERFACE_DEFINED__ */
  303. #ifndef __IXDSCodecConfig_INTERFACE_DEFINED__
  304. #define __IXDSCodecConfig_INTERFACE_DEFINED__
  305. /* interface IXDSCodecConfig */
  306. /* [unique][helpstring][uuid][object] */
  307. EXTERN_C const IID IID_IXDSCodecConfig;
  308. #if defined(__cplusplus) && !defined(CINTERFACE)
  309. MIDL_INTERFACE("C4C4C4D3-0049-4E2B-98FB-9537F6CE516D")
  310. IXDSCodecConfig : public IUnknown
  311. {
  312. public:
  313. };
  314. #else /* C style interface */
  315. typedef struct IXDSCodecConfigVtbl
  316. {
  317. BEGIN_INTERFACE
  318. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  319. IXDSCodecConfig * This,
  320. /* [in] */ REFIID riid,
  321. /* [iid_is][out] */ void **ppvObject);
  322. ULONG ( STDMETHODCALLTYPE *AddRef )(
  323. IXDSCodecConfig * This);
  324. ULONG ( STDMETHODCALLTYPE *Release )(
  325. IXDSCodecConfig * This);
  326. END_INTERFACE
  327. } IXDSCodecConfigVtbl;
  328. interface IXDSCodecConfig
  329. {
  330. CONST_VTBL struct IXDSCodecConfigVtbl *lpVtbl;
  331. };
  332. #ifdef COBJMACROS
  333. #define IXDSCodecConfig_QueryInterface(This,riid,ppvObject) \
  334. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  335. #define IXDSCodecConfig_AddRef(This) \
  336. (This)->lpVtbl -> AddRef(This)
  337. #define IXDSCodecConfig_Release(This) \
  338. (This)->lpVtbl -> Release(This)
  339. #endif /* COBJMACROS */
  340. #endif /* C style interface */
  341. #endif /* __IXDSCodecConfig_INTERFACE_DEFINED__ */
  342. #ifndef __EncDec_LIBRARY_DEFINED__
  343. #define __EncDec_LIBRARY_DEFINED__
  344. /* library EncDec */
  345. /* [helpstring][version][uuid] */
  346. EXTERN_C const IID LIBID_EncDec;
  347. #ifndef __IETFilter_INTERFACE_DEFINED__
  348. #define __IETFilter_INTERFACE_DEFINED__
  349. /* interface IETFilter */
  350. /* [unique][helpstring][uuid][object] */
  351. EXTERN_C const IID IID_IETFilter;
  352. #if defined(__cplusplus) && !defined(CINTERFACE)
  353. MIDL_INTERFACE("C4C4C4B1-0049-4E2B-98FB-9537F6CE516D")
  354. IETFilter : public IUnknown
  355. {
  356. public:
  357. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EvalRatObjOK(
  358. /* [retval][out] */ HRESULT *pHrCoCreateRetVal) = 0;
  359. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetCurrRating(
  360. /* [out] */ EnTvRat_System *pEnSystem,
  361. /* [out] */ EnTvRat_GenericLevel *pEnRating,
  362. /* [out] */ LONG *plbfEnAttr) = 0;
  363. };
  364. #else /* C style interface */
  365. typedef struct IETFilterVtbl
  366. {
  367. BEGIN_INTERFACE
  368. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  369. IETFilter * This,
  370. /* [in] */ REFIID riid,
  371. /* [iid_is][out] */ void **ppvObject);
  372. ULONG ( STDMETHODCALLTYPE *AddRef )(
  373. IETFilter * This);
  374. ULONG ( STDMETHODCALLTYPE *Release )(
  375. IETFilter * This);
  376. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EvalRatObjOK )(
  377. IETFilter * This,
  378. /* [retval][out] */ HRESULT *pHrCoCreateRetVal);
  379. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetCurrRating )(
  380. IETFilter * This,
  381. /* [out] */ EnTvRat_System *pEnSystem,
  382. /* [out] */ EnTvRat_GenericLevel *pEnRating,
  383. /* [out] */ LONG *plbfEnAttr);
  384. END_INTERFACE
  385. } IETFilterVtbl;
  386. interface IETFilter
  387. {
  388. CONST_VTBL struct IETFilterVtbl *lpVtbl;
  389. };
  390. #ifdef COBJMACROS
  391. #define IETFilter_QueryInterface(This,riid,ppvObject) \
  392. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  393. #define IETFilter_AddRef(This) \
  394. (This)->lpVtbl -> AddRef(This)
  395. #define IETFilter_Release(This) \
  396. (This)->lpVtbl -> Release(This)
  397. #define IETFilter_get_EvalRatObjOK(This,pHrCoCreateRetVal) \
  398. (This)->lpVtbl -> get_EvalRatObjOK(This,pHrCoCreateRetVal)
  399. #define IETFilter_GetCurrRating(This,pEnSystem,pEnRating,plbfEnAttr) \
  400. (This)->lpVtbl -> GetCurrRating(This,pEnSystem,pEnRating,plbfEnAttr)
  401. #endif /* COBJMACROS */
  402. #endif /* C style interface */
  403. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IETFilter_get_EvalRatObjOK_Proxy(
  404. IETFilter * This,
  405. /* [retval][out] */ HRESULT *pHrCoCreateRetVal);
  406. void __RPC_STUB IETFilter_get_EvalRatObjOK_Stub(
  407. IRpcStubBuffer *This,
  408. IRpcChannelBuffer *_pRpcChannelBuffer,
  409. PRPC_MESSAGE _pRpcMessage,
  410. DWORD *_pdwStubPhase);
  411. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IETFilter_GetCurrRating_Proxy(
  412. IETFilter * This,
  413. /* [out] */ EnTvRat_System *pEnSystem,
  414. /* [out] */ EnTvRat_GenericLevel *pEnRating,
  415. /* [out] */ LONG *plbfEnAttr);
  416. void __RPC_STUB IETFilter_GetCurrRating_Stub(
  417. IRpcStubBuffer *This,
  418. IRpcChannelBuffer *_pRpcChannelBuffer,
  419. PRPC_MESSAGE _pRpcMessage,
  420. DWORD *_pdwStubPhase);
  421. #endif /* __IETFilter_INTERFACE_DEFINED__ */
  422. #ifndef __IETFilterEvents_DISPINTERFACE_DEFINED__
  423. #define __IETFilterEvents_DISPINTERFACE_DEFINED__
  424. /* dispinterface IETFilterEvents */
  425. /* [helpstring][uuid] */
  426. EXTERN_C const IID DIID_IETFilterEvents;
  427. #if defined(__cplusplus) && !defined(CINTERFACE)
  428. MIDL_INTERFACE("C4C4C4C1-0049-4E2B-98FB-9537F6CE516D")
  429. IETFilterEvents : public IDispatch
  430. {
  431. };
  432. #else /* C style interface */
  433. typedef struct IETFilterEventsVtbl
  434. {
  435. BEGIN_INTERFACE
  436. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  437. IETFilterEvents * This,
  438. /* [in] */ REFIID riid,
  439. /* [iid_is][out] */ void **ppvObject);
  440. ULONG ( STDMETHODCALLTYPE *AddRef )(
  441. IETFilterEvents * This);
  442. ULONG ( STDMETHODCALLTYPE *Release )(
  443. IETFilterEvents * This);
  444. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  445. IETFilterEvents * This,
  446. /* [out] */ UINT *pctinfo);
  447. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  448. IETFilterEvents * This,
  449. /* [in] */ UINT iTInfo,
  450. /* [in] */ LCID lcid,
  451. /* [out] */ ITypeInfo **ppTInfo);
  452. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  453. IETFilterEvents * This,
  454. /* [in] */ REFIID riid,
  455. /* [size_is][in] */ LPOLESTR *rgszNames,
  456. /* [in] */ UINT cNames,
  457. /* [in] */ LCID lcid,
  458. /* [size_is][out] */ DISPID *rgDispId);
  459. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  460. IETFilterEvents * This,
  461. /* [in] */ DISPID dispIdMember,
  462. /* [in] */ REFIID riid,
  463. /* [in] */ LCID lcid,
  464. /* [in] */ WORD wFlags,
  465. /* [out][in] */ DISPPARAMS *pDispParams,
  466. /* [out] */ VARIANT *pVarResult,
  467. /* [out] */ EXCEPINFO *pExcepInfo,
  468. /* [out] */ UINT *puArgErr);
  469. END_INTERFACE
  470. } IETFilterEventsVtbl;
  471. interface IETFilterEvents
  472. {
  473. CONST_VTBL struct IETFilterEventsVtbl *lpVtbl;
  474. };
  475. #ifdef COBJMACROS
  476. #define IETFilterEvents_QueryInterface(This,riid,ppvObject) \
  477. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  478. #define IETFilterEvents_AddRef(This) \
  479. (This)->lpVtbl -> AddRef(This)
  480. #define IETFilterEvents_Release(This) \
  481. (This)->lpVtbl -> Release(This)
  482. #define IETFilterEvents_GetTypeInfoCount(This,pctinfo) \
  483. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  484. #define IETFilterEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  485. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  486. #define IETFilterEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  487. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  488. #define IETFilterEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  489. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  490. #endif /* COBJMACROS */
  491. #endif /* C style interface */
  492. #endif /* __IETFilterEvents_DISPINTERFACE_DEFINED__ */
  493. EXTERN_C const CLSID CLSID_ETFilter;
  494. #ifdef __cplusplus
  495. class DECLSPEC_UUID("C4C4C4F1-0049-4E2B-98FB-9537F6CE516D")
  496. ETFilter;
  497. #endif
  498. #ifndef __IDTFilter_INTERFACE_DEFINED__
  499. #define __IDTFilter_INTERFACE_DEFINED__
  500. /* interface IDTFilter */
  501. /* [unique][helpstring][uuid][object] */
  502. EXTERN_C const IID IID_IDTFilter;
  503. #if defined(__cplusplus) && !defined(CINTERFACE)
  504. MIDL_INTERFACE("C4C4C4B2-0049-4E2B-98FB-9537F6CE516D")
  505. IDTFilter : public IUnknown
  506. {
  507. public:
  508. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EvalRatObjOK(
  509. /* [retval][out] */ HRESULT *pHrCoCreateRetVal) = 0;
  510. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetCurrRating(
  511. /* [out] */ EnTvRat_System *pEnSystem,
  512. /* [out] */ EnTvRat_GenericLevel *pEnRating,
  513. /* [out] */ LONG *plbfEnAttr) = 0;
  514. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_BlockedRatingAttributes(
  515. /* [in] */ EnTvRat_System enSystem,
  516. /* [in] */ EnTvRat_GenericLevel enLevel,
  517. /* [retval][out] */ LONG *plbfEnAttr) = 0;
  518. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_BlockedRatingAttributes(
  519. /* [in] */ EnTvRat_System enSystem,
  520. /* [in] */ EnTvRat_GenericLevel enLevel,
  521. /* [in] */ LONG lbfAttrs) = 0;
  522. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_BlockUnRated(
  523. /* [retval][out] */ BOOL *pfBlockUnRatedShows) = 0;
  524. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_BlockUnRated(
  525. /* [in] */ BOOL fBlockUnRatedShows) = 0;
  526. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_BlockUnRatedDelay(
  527. /* [retval][out] */ LONG *pmsecsDelayBeforeBlock) = 0;
  528. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_BlockUnRatedDelay(
  529. /* [in] */ LONG msecsDelayBeforeBlock) = 0;
  530. };
  531. #else /* C style interface */
  532. typedef struct IDTFilterVtbl
  533. {
  534. BEGIN_INTERFACE
  535. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  536. IDTFilter * This,
  537. /* [in] */ REFIID riid,
  538. /* [iid_is][out] */ void **ppvObject);
  539. ULONG ( STDMETHODCALLTYPE *AddRef )(
  540. IDTFilter * This);
  541. ULONG ( STDMETHODCALLTYPE *Release )(
  542. IDTFilter * This);
  543. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EvalRatObjOK )(
  544. IDTFilter * This,
  545. /* [retval][out] */ HRESULT *pHrCoCreateRetVal);
  546. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetCurrRating )(
  547. IDTFilter * This,
  548. /* [out] */ EnTvRat_System *pEnSystem,
  549. /* [out] */ EnTvRat_GenericLevel *pEnRating,
  550. /* [out] */ LONG *plbfEnAttr);
  551. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BlockedRatingAttributes )(
  552. IDTFilter * This,
  553. /* [in] */ EnTvRat_System enSystem,
  554. /* [in] */ EnTvRat_GenericLevel enLevel,
  555. /* [retval][out] */ LONG *plbfEnAttr);
  556. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BlockedRatingAttributes )(
  557. IDTFilter * This,
  558. /* [in] */ EnTvRat_System enSystem,
  559. /* [in] */ EnTvRat_GenericLevel enLevel,
  560. /* [in] */ LONG lbfAttrs);
  561. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BlockUnRated )(
  562. IDTFilter * This,
  563. /* [retval][out] */ BOOL *pfBlockUnRatedShows);
  564. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BlockUnRated )(
  565. IDTFilter * This,
  566. /* [in] */ BOOL fBlockUnRatedShows);
  567. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BlockUnRatedDelay )(
  568. IDTFilter * This,
  569. /* [retval][out] */ LONG *pmsecsDelayBeforeBlock);
  570. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BlockUnRatedDelay )(
  571. IDTFilter * This,
  572. /* [in] */ LONG msecsDelayBeforeBlock);
  573. END_INTERFACE
  574. } IDTFilterVtbl;
  575. interface IDTFilter
  576. {
  577. CONST_VTBL struct IDTFilterVtbl *lpVtbl;
  578. };
  579. #ifdef COBJMACROS
  580. #define IDTFilter_QueryInterface(This,riid,ppvObject) \
  581. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  582. #define IDTFilter_AddRef(This) \
  583. (This)->lpVtbl -> AddRef(This)
  584. #define IDTFilter_Release(This) \
  585. (This)->lpVtbl -> Release(This)
  586. #define IDTFilter_get_EvalRatObjOK(This,pHrCoCreateRetVal) \
  587. (This)->lpVtbl -> get_EvalRatObjOK(This,pHrCoCreateRetVal)
  588. #define IDTFilter_GetCurrRating(This,pEnSystem,pEnRating,plbfEnAttr) \
  589. (This)->lpVtbl -> GetCurrRating(This,pEnSystem,pEnRating,plbfEnAttr)
  590. #define IDTFilter_get_BlockedRatingAttributes(This,enSystem,enLevel,plbfEnAttr) \
  591. (This)->lpVtbl -> get_BlockedRatingAttributes(This,enSystem,enLevel,plbfEnAttr)
  592. #define IDTFilter_put_BlockedRatingAttributes(This,enSystem,enLevel,lbfAttrs) \
  593. (This)->lpVtbl -> put_BlockedRatingAttributes(This,enSystem,enLevel,lbfAttrs)
  594. #define IDTFilter_get_BlockUnRated(This,pfBlockUnRatedShows) \
  595. (This)->lpVtbl -> get_BlockUnRated(This,pfBlockUnRatedShows)
  596. #define IDTFilter_put_BlockUnRated(This,fBlockUnRatedShows) \
  597. (This)->lpVtbl -> put_BlockUnRated(This,fBlockUnRatedShows)
  598. #define IDTFilter_get_BlockUnRatedDelay(This,pmsecsDelayBeforeBlock) \
  599. (This)->lpVtbl -> get_BlockUnRatedDelay(This,pmsecsDelayBeforeBlock)
  600. #define IDTFilter_put_BlockUnRatedDelay(This,msecsDelayBeforeBlock) \
  601. (This)->lpVtbl -> put_BlockUnRatedDelay(This,msecsDelayBeforeBlock)
  602. #endif /* COBJMACROS */
  603. #endif /* C style interface */
  604. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IDTFilter_get_EvalRatObjOK_Proxy(
  605. IDTFilter * This,
  606. /* [retval][out] */ HRESULT *pHrCoCreateRetVal);
  607. void __RPC_STUB IDTFilter_get_EvalRatObjOK_Stub(
  608. IRpcStubBuffer *This,
  609. IRpcChannelBuffer *_pRpcChannelBuffer,
  610. PRPC_MESSAGE _pRpcMessage,
  611. DWORD *_pdwStubPhase);
  612. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IDTFilter_GetCurrRating_Proxy(
  613. IDTFilter * This,
  614. /* [out] */ EnTvRat_System *pEnSystem,
  615. /* [out] */ EnTvRat_GenericLevel *pEnRating,
  616. /* [out] */ LONG *plbfEnAttr);
  617. void __RPC_STUB IDTFilter_GetCurrRating_Stub(
  618. IRpcStubBuffer *This,
  619. IRpcChannelBuffer *_pRpcChannelBuffer,
  620. PRPC_MESSAGE _pRpcMessage,
  621. DWORD *_pdwStubPhase);
  622. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IDTFilter_get_BlockedRatingAttributes_Proxy(
  623. IDTFilter * This,
  624. /* [in] */ EnTvRat_System enSystem,
  625. /* [in] */ EnTvRat_GenericLevel enLevel,
  626. /* [retval][out] */ LONG *plbfEnAttr);
  627. void __RPC_STUB IDTFilter_get_BlockedRatingAttributes_Stub(
  628. IRpcStubBuffer *This,
  629. IRpcChannelBuffer *_pRpcChannelBuffer,
  630. PRPC_MESSAGE _pRpcMessage,
  631. DWORD *_pdwStubPhase);
  632. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IDTFilter_put_BlockedRatingAttributes_Proxy(
  633. IDTFilter * This,
  634. /* [in] */ EnTvRat_System enSystem,
  635. /* [in] */ EnTvRat_GenericLevel enLevel,
  636. /* [in] */ LONG lbfAttrs);
  637. void __RPC_STUB IDTFilter_put_BlockedRatingAttributes_Stub(
  638. IRpcStubBuffer *This,
  639. IRpcChannelBuffer *_pRpcChannelBuffer,
  640. PRPC_MESSAGE _pRpcMessage,
  641. DWORD *_pdwStubPhase);
  642. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IDTFilter_get_BlockUnRated_Proxy(
  643. IDTFilter * This,
  644. /* [retval][out] */ BOOL *pfBlockUnRatedShows);
  645. void __RPC_STUB IDTFilter_get_BlockUnRated_Stub(
  646. IRpcStubBuffer *This,
  647. IRpcChannelBuffer *_pRpcChannelBuffer,
  648. PRPC_MESSAGE _pRpcMessage,
  649. DWORD *_pdwStubPhase);
  650. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IDTFilter_put_BlockUnRated_Proxy(
  651. IDTFilter * This,
  652. /* [in] */ BOOL fBlockUnRatedShows);
  653. void __RPC_STUB IDTFilter_put_BlockUnRated_Stub(
  654. IRpcStubBuffer *This,
  655. IRpcChannelBuffer *_pRpcChannelBuffer,
  656. PRPC_MESSAGE _pRpcMessage,
  657. DWORD *_pdwStubPhase);
  658. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IDTFilter_get_BlockUnRatedDelay_Proxy(
  659. IDTFilter * This,
  660. /* [retval][out] */ LONG *pmsecsDelayBeforeBlock);
  661. void __RPC_STUB IDTFilter_get_BlockUnRatedDelay_Stub(
  662. IRpcStubBuffer *This,
  663. IRpcChannelBuffer *_pRpcChannelBuffer,
  664. PRPC_MESSAGE _pRpcMessage,
  665. DWORD *_pdwStubPhase);
  666. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IDTFilter_put_BlockUnRatedDelay_Proxy(
  667. IDTFilter * This,
  668. /* [in] */ LONG msecsDelayBeforeBlock);
  669. void __RPC_STUB IDTFilter_put_BlockUnRatedDelay_Stub(
  670. IRpcStubBuffer *This,
  671. IRpcChannelBuffer *_pRpcChannelBuffer,
  672. PRPC_MESSAGE _pRpcMessage,
  673. DWORD *_pdwStubPhase);
  674. #endif /* __IDTFilter_INTERFACE_DEFINED__ */
  675. #ifndef __IDTFilterEvents_DISPINTERFACE_DEFINED__
  676. #define __IDTFilterEvents_DISPINTERFACE_DEFINED__
  677. /* dispinterface IDTFilterEvents */
  678. /* [helpstring][uuid] */
  679. EXTERN_C const IID DIID_IDTFilterEvents;
  680. #if defined(__cplusplus) && !defined(CINTERFACE)
  681. MIDL_INTERFACE("C4C4C4C2-0049-4E2B-98FB-9537F6CE516D")
  682. IDTFilterEvents : public IDispatch
  683. {
  684. };
  685. #else /* C style interface */
  686. typedef struct IDTFilterEventsVtbl
  687. {
  688. BEGIN_INTERFACE
  689. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  690. IDTFilterEvents * This,
  691. /* [in] */ REFIID riid,
  692. /* [iid_is][out] */ void **ppvObject);
  693. ULONG ( STDMETHODCALLTYPE *AddRef )(
  694. IDTFilterEvents * This);
  695. ULONG ( STDMETHODCALLTYPE *Release )(
  696. IDTFilterEvents * This);
  697. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  698. IDTFilterEvents * This,
  699. /* [out] */ UINT *pctinfo);
  700. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  701. IDTFilterEvents * This,
  702. /* [in] */ UINT iTInfo,
  703. /* [in] */ LCID lcid,
  704. /* [out] */ ITypeInfo **ppTInfo);
  705. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  706. IDTFilterEvents * This,
  707. /* [in] */ REFIID riid,
  708. /* [size_is][in] */ LPOLESTR *rgszNames,
  709. /* [in] */ UINT cNames,
  710. /* [in] */ LCID lcid,
  711. /* [size_is][out] */ DISPID *rgDispId);
  712. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  713. IDTFilterEvents * This,
  714. /* [in] */ DISPID dispIdMember,
  715. /* [in] */ REFIID riid,
  716. /* [in] */ LCID lcid,
  717. /* [in] */ WORD wFlags,
  718. /* [out][in] */ DISPPARAMS *pDispParams,
  719. /* [out] */ VARIANT *pVarResult,
  720. /* [out] */ EXCEPINFO *pExcepInfo,
  721. /* [out] */ UINT *puArgErr);
  722. END_INTERFACE
  723. } IDTFilterEventsVtbl;
  724. interface IDTFilterEvents
  725. {
  726. CONST_VTBL struct IDTFilterEventsVtbl *lpVtbl;
  727. };
  728. #ifdef COBJMACROS
  729. #define IDTFilterEvents_QueryInterface(This,riid,ppvObject) \
  730. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  731. #define IDTFilterEvents_AddRef(This) \
  732. (This)->lpVtbl -> AddRef(This)
  733. #define IDTFilterEvents_Release(This) \
  734. (This)->lpVtbl -> Release(This)
  735. #define IDTFilterEvents_GetTypeInfoCount(This,pctinfo) \
  736. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  737. #define IDTFilterEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  738. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  739. #define IDTFilterEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  740. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  741. #define IDTFilterEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  742. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  743. #endif /* COBJMACROS */
  744. #endif /* C style interface */
  745. #endif /* __IDTFilterEvents_DISPINTERFACE_DEFINED__ */
  746. EXTERN_C const CLSID CLSID_DTFilter;
  747. #ifdef __cplusplus
  748. class DECLSPEC_UUID("C4C4C4F2-0049-4E2B-98FB-9537F6CE516D")
  749. DTFilter;
  750. #endif
  751. #ifndef __IXDSCodec_INTERFACE_DEFINED__
  752. #define __IXDSCodec_INTERFACE_DEFINED__
  753. /* interface IXDSCodec */
  754. /* [unique][helpstring][uuid][object] */
  755. EXTERN_C const IID IID_IXDSCodec;
  756. #if defined(__cplusplus) && !defined(CINTERFACE)
  757. MIDL_INTERFACE("C4C4C4B3-0049-4E2B-98FB-9537F6CE516D")
  758. IXDSCodec : public IUnknown
  759. {
  760. public:
  761. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_XDSToRatObjOK(
  762. /* [retval][out] */ HRESULT *pHrCoCreateRetVal) = 0;
  763. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CCSubstreamService(
  764. /* [in] */ long SubstreamMask) = 0;
  765. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CCSubstreamService(
  766. /* [retval][out] */ long *pSubstreamMask) = 0;
  767. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetContentAdvisoryRating(
  768. /* [out] */ PackedTvRating *pRat,
  769. /* [out] */ long *pPktSeqID,
  770. /* [out] */ long *pCallSeqID,
  771. /* [out] */ REFERENCE_TIME *pTimeStart,
  772. /* [out] */ REFERENCE_TIME *pTimeEnd) = 0;
  773. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetXDSPacket(
  774. /* [out] */ long *pXDSClassPkt,
  775. /* [out] */ long *pXDSTypePkt,
  776. /* [out] */ BSTR *pBstrXDSPkt,
  777. /* [out] */ long *pPktSeqID,
  778. /* [out] */ long *pCallSeqID,
  779. /* [out] */ REFERENCE_TIME *pTimeStart,
  780. /* [out] */ REFERENCE_TIME *pTimeEnd) = 0;
  781. };
  782. #else /* C style interface */
  783. typedef struct IXDSCodecVtbl
  784. {
  785. BEGIN_INTERFACE
  786. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  787. IXDSCodec * This,
  788. /* [in] */ REFIID riid,
  789. /* [iid_is][out] */ void **ppvObject);
  790. ULONG ( STDMETHODCALLTYPE *AddRef )(
  791. IXDSCodec * This);
  792. ULONG ( STDMETHODCALLTYPE *Release )(
  793. IXDSCodec * This);
  794. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_XDSToRatObjOK )(
  795. IXDSCodec * This,
  796. /* [retval][out] */ HRESULT *pHrCoCreateRetVal);
  797. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CCSubstreamService )(
  798. IXDSCodec * This,
  799. /* [in] */ long SubstreamMask);
  800. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CCSubstreamService )(
  801. IXDSCodec * This,
  802. /* [retval][out] */ long *pSubstreamMask);
  803. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetContentAdvisoryRating )(
  804. IXDSCodec * This,
  805. /* [out] */ PackedTvRating *pRat,
  806. /* [out] */ long *pPktSeqID,
  807. /* [out] */ long *pCallSeqID,
  808. /* [out] */ REFERENCE_TIME *pTimeStart,
  809. /* [out] */ REFERENCE_TIME *pTimeEnd);
  810. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetXDSPacket )(
  811. IXDSCodec * This,
  812. /* [out] */ long *pXDSClassPkt,
  813. /* [out] */ long *pXDSTypePkt,
  814. /* [out] */ BSTR *pBstrXDSPkt,
  815. /* [out] */ long *pPktSeqID,
  816. /* [out] */ long *pCallSeqID,
  817. /* [out] */ REFERENCE_TIME *pTimeStart,
  818. /* [out] */ REFERENCE_TIME *pTimeEnd);
  819. END_INTERFACE
  820. } IXDSCodecVtbl;
  821. interface IXDSCodec
  822. {
  823. CONST_VTBL struct IXDSCodecVtbl *lpVtbl;
  824. };
  825. #ifdef COBJMACROS
  826. #define IXDSCodec_QueryInterface(This,riid,ppvObject) \
  827. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  828. #define IXDSCodec_AddRef(This) \
  829. (This)->lpVtbl -> AddRef(This)
  830. #define IXDSCodec_Release(This) \
  831. (This)->lpVtbl -> Release(This)
  832. #define IXDSCodec_get_XDSToRatObjOK(This,pHrCoCreateRetVal) \
  833. (This)->lpVtbl -> get_XDSToRatObjOK(This,pHrCoCreateRetVal)
  834. #define IXDSCodec_put_CCSubstreamService(This,SubstreamMask) \
  835. (This)->lpVtbl -> put_CCSubstreamService(This,SubstreamMask)
  836. #define IXDSCodec_get_CCSubstreamService(This,pSubstreamMask) \
  837. (This)->lpVtbl -> get_CCSubstreamService(This,pSubstreamMask)
  838. #define IXDSCodec_GetContentAdvisoryRating(This,pRat,pPktSeqID,pCallSeqID,pTimeStart,pTimeEnd) \
  839. (This)->lpVtbl -> GetContentAdvisoryRating(This,pRat,pPktSeqID,pCallSeqID,pTimeStart,pTimeEnd)
  840. #define IXDSCodec_GetXDSPacket(This,pXDSClassPkt,pXDSTypePkt,pBstrXDSPkt,pPktSeqID,pCallSeqID,pTimeStart,pTimeEnd) \
  841. (This)->lpVtbl -> GetXDSPacket(This,pXDSClassPkt,pXDSTypePkt,pBstrXDSPkt,pPktSeqID,pCallSeqID,pTimeStart,pTimeEnd)
  842. #endif /* COBJMACROS */
  843. #endif /* C style interface */
  844. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IXDSCodec_get_XDSToRatObjOK_Proxy(
  845. IXDSCodec * This,
  846. /* [retval][out] */ HRESULT *pHrCoCreateRetVal);
  847. void __RPC_STUB IXDSCodec_get_XDSToRatObjOK_Stub(
  848. IRpcStubBuffer *This,
  849. IRpcChannelBuffer *_pRpcChannelBuffer,
  850. PRPC_MESSAGE _pRpcMessage,
  851. DWORD *_pdwStubPhase);
  852. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IXDSCodec_put_CCSubstreamService_Proxy(
  853. IXDSCodec * This,
  854. /* [in] */ long SubstreamMask);
  855. void __RPC_STUB IXDSCodec_put_CCSubstreamService_Stub(
  856. IRpcStubBuffer *This,
  857. IRpcChannelBuffer *_pRpcChannelBuffer,
  858. PRPC_MESSAGE _pRpcMessage,
  859. DWORD *_pdwStubPhase);
  860. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IXDSCodec_get_CCSubstreamService_Proxy(
  861. IXDSCodec * This,
  862. /* [retval][out] */ long *pSubstreamMask);
  863. void __RPC_STUB IXDSCodec_get_CCSubstreamService_Stub(
  864. IRpcStubBuffer *This,
  865. IRpcChannelBuffer *_pRpcChannelBuffer,
  866. PRPC_MESSAGE _pRpcMessage,
  867. DWORD *_pdwStubPhase);
  868. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IXDSCodec_GetContentAdvisoryRating_Proxy(
  869. IXDSCodec * This,
  870. /* [out] */ PackedTvRating *pRat,
  871. /* [out] */ long *pPktSeqID,
  872. /* [out] */ long *pCallSeqID,
  873. /* [out] */ REFERENCE_TIME *pTimeStart,
  874. /* [out] */ REFERENCE_TIME *pTimeEnd);
  875. void __RPC_STUB IXDSCodec_GetContentAdvisoryRating_Stub(
  876. IRpcStubBuffer *This,
  877. IRpcChannelBuffer *_pRpcChannelBuffer,
  878. PRPC_MESSAGE _pRpcMessage,
  879. DWORD *_pdwStubPhase);
  880. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IXDSCodec_GetXDSPacket_Proxy(
  881. IXDSCodec * This,
  882. /* [out] */ long *pXDSClassPkt,
  883. /* [out] */ long *pXDSTypePkt,
  884. /* [out] */ BSTR *pBstrXDSPkt,
  885. /* [out] */ long *pPktSeqID,
  886. /* [out] */ long *pCallSeqID,
  887. /* [out] */ REFERENCE_TIME *pTimeStart,
  888. /* [out] */ REFERENCE_TIME *pTimeEnd);
  889. void __RPC_STUB IXDSCodec_GetXDSPacket_Stub(
  890. IRpcStubBuffer *This,
  891. IRpcChannelBuffer *_pRpcChannelBuffer,
  892. PRPC_MESSAGE _pRpcMessage,
  893. DWORD *_pdwStubPhase);
  894. #endif /* __IXDSCodec_INTERFACE_DEFINED__ */
  895. #ifndef __IXDSCodecEvents_DISPINTERFACE_DEFINED__
  896. #define __IXDSCodecEvents_DISPINTERFACE_DEFINED__
  897. /* dispinterface IXDSCodecEvents */
  898. /* [helpstring][uuid] */
  899. EXTERN_C const IID DIID_IXDSCodecEvents;
  900. #if defined(__cplusplus) && !defined(CINTERFACE)
  901. MIDL_INTERFACE("C4C4C4C3-0049-4E2B-98FB-9537F6CE516D")
  902. IXDSCodecEvents : public IDispatch
  903. {
  904. };
  905. #else /* C style interface */
  906. typedef struct IXDSCodecEventsVtbl
  907. {
  908. BEGIN_INTERFACE
  909. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  910. IXDSCodecEvents * This,
  911. /* [in] */ REFIID riid,
  912. /* [iid_is][out] */ void **ppvObject);
  913. ULONG ( STDMETHODCALLTYPE *AddRef )(
  914. IXDSCodecEvents * This);
  915. ULONG ( STDMETHODCALLTYPE *Release )(
  916. IXDSCodecEvents * This);
  917. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  918. IXDSCodecEvents * This,
  919. /* [out] */ UINT *pctinfo);
  920. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  921. IXDSCodecEvents * This,
  922. /* [in] */ UINT iTInfo,
  923. /* [in] */ LCID lcid,
  924. /* [out] */ ITypeInfo **ppTInfo);
  925. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  926. IXDSCodecEvents * This,
  927. /* [in] */ REFIID riid,
  928. /* [size_is][in] */ LPOLESTR *rgszNames,
  929. /* [in] */ UINT cNames,
  930. /* [in] */ LCID lcid,
  931. /* [size_is][out] */ DISPID *rgDispId);
  932. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  933. IXDSCodecEvents * This,
  934. /* [in] */ DISPID dispIdMember,
  935. /* [in] */ REFIID riid,
  936. /* [in] */ LCID lcid,
  937. /* [in] */ WORD wFlags,
  938. /* [out][in] */ DISPPARAMS *pDispParams,
  939. /* [out] */ VARIANT *pVarResult,
  940. /* [out] */ EXCEPINFO *pExcepInfo,
  941. /* [out] */ UINT *puArgErr);
  942. END_INTERFACE
  943. } IXDSCodecEventsVtbl;
  944. interface IXDSCodecEvents
  945. {
  946. CONST_VTBL struct IXDSCodecEventsVtbl *lpVtbl;
  947. };
  948. #ifdef COBJMACROS
  949. #define IXDSCodecEvents_QueryInterface(This,riid,ppvObject) \
  950. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  951. #define IXDSCodecEvents_AddRef(This) \
  952. (This)->lpVtbl -> AddRef(This)
  953. #define IXDSCodecEvents_Release(This) \
  954. (This)->lpVtbl -> Release(This)
  955. #define IXDSCodecEvents_GetTypeInfoCount(This,pctinfo) \
  956. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  957. #define IXDSCodecEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  958. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  959. #define IXDSCodecEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  960. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  961. #define IXDSCodecEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  962. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  963. #endif /* COBJMACROS */
  964. #endif /* C style interface */
  965. #endif /* __IXDSCodecEvents_DISPINTERFACE_DEFINED__ */
  966. EXTERN_C const CLSID CLSID_XDSCodec;
  967. #ifdef __cplusplus
  968. class DECLSPEC_UUID("C4C4C4F3-0049-4E2B-98FB-9537F6CE516D")
  969. XDSCodec;
  970. #endif
  971. #endif /* __EncDec_LIBRARY_DEFINED__ */
  972. /* Additional Prototypes for ALL interfaces */
  973. /* end of Additional Prototypes */
  974. #ifdef __cplusplus
  975. }
  976. #endif
  977. #endif