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

581 lines
16 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0357 */
  4. /* Compiler settings for medparam.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 __medparam_h__
  27. #define __medparam_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IMediaParamInfo_FWD_DEFINED__
  33. #define __IMediaParamInfo_FWD_DEFINED__
  34. typedef interface IMediaParamInfo IMediaParamInfo;
  35. #endif /* __IMediaParamInfo_FWD_DEFINED__ */
  36. #ifndef __IMediaParams_FWD_DEFINED__
  37. #define __IMediaParams_FWD_DEFINED__
  38. typedef interface IMediaParams IMediaParams;
  39. #endif /* __IMediaParams_FWD_DEFINED__ */
  40. /* header files for imported files */
  41. #include "oaidl.h"
  42. #include "ocidl.h"
  43. #include "strmif.h"
  44. #ifdef __cplusplus
  45. extern "C"{
  46. #endif
  47. void * __RPC_USER MIDL_user_allocate(size_t);
  48. void __RPC_USER MIDL_user_free( void * );
  49. /* interface __MIDL_itf_medparam_0000 */
  50. /* [local] */
  51. typedef float MP_DATA;
  52. typedef
  53. enum _MP_Type
  54. { MPT_INT = 0,
  55. MPT_FLOAT = MPT_INT + 1,
  56. MPT_BOOL = MPT_FLOAT + 1,
  57. MPT_ENUM = MPT_BOOL + 1,
  58. MPT_MAX = MPT_ENUM + 1
  59. } MP_TYPE;
  60. #define MPBOOL_TRUE ( 1 )
  61. #define MPBOOL_FALSE ( 0 )
  62. typedef
  63. enum _MP_CURVE_TYPE
  64. { MP_CURVE_JUMP = 0x1,
  65. MP_CURVE_LINEAR = 0x2,
  66. MP_CURVE_SQUARE = 0x4,
  67. MP_CURVE_INVSQUARE = 0x8,
  68. MP_CURVE_SINE = 0x10
  69. } MP_CURVE_TYPE;
  70. typedef DWORD MP_CAPS;
  71. #define MP_CAPS_CURVE_JUMP ( MP_CURVE_JUMP )
  72. #define MP_CAPS_CURVE_LINEAR ( MP_CURVE_LINEAR )
  73. #define MP_CAPS_CURVE_SQUARE ( MP_CURVE_SQUARE )
  74. #define MP_CAPS_CURVE_INVSQUARE ( MP_CURVE_INVSQUARE )
  75. #define MP_CAPS_CURVE_SINE ( MP_CURVE_SINE )
  76. typedef struct _MP_PARAMINFO
  77. {
  78. MP_TYPE mpType;
  79. MP_CAPS mopCaps;
  80. MP_DATA mpdMinValue;
  81. MP_DATA mpdMaxValue;
  82. MP_DATA mpdNeutralValue;
  83. WCHAR szUnitText[ 32 ];
  84. WCHAR szLabel[ 32 ];
  85. } MP_PARAMINFO;
  86. typedef DWORD DWORD;
  87. #define DWORD_ALLPARAMS ( -1 )
  88. typedef DWORD MP_TIMEDATA;
  89. DEFINE_GUID(GUID_TIME_REFERENCE,
  90. 0x93ad712b, 0xdaa0, 0x4ffe, 0xbc, 0x81, 0xb0, 0xce, 0x50, 0xf, 0xcd, 0xd9);
  91. DEFINE_GUID(GUID_TIME_MUSIC,
  92. 0x574c49d, 0x5b04, 0x4b15, 0xa5, 0x42, 0xae, 0x28, 0x20, 0x30, 0x11, 0x7b);
  93. DEFINE_GUID(GUID_TIME_SAMPLES,
  94. 0xa8593d05, 0xc43, 0x4984, 0x9a, 0x63, 0x97, 0xaf, 0x9e, 0x2, 0xc4, 0xc0);
  95. typedef DWORD MP_FLAGS;
  96. #define MPF_ENVLP_STANDARD ( 0 )
  97. #define MPF_ENVLP_BEGIN_CURRENTVAL ( 0x1 )
  98. #define MPF_ENVLP_BEGIN_NEUTRALVAL ( 0x2 )
  99. typedef struct _MP_ENVELOPE_SEGMENT
  100. {
  101. REFERENCE_TIME rtStart;
  102. REFERENCE_TIME rtEnd;
  103. MP_DATA valStart;
  104. MP_DATA valEnd;
  105. MP_CURVE_TYPE iCurve;
  106. MP_FLAGS flags;
  107. } MP_ENVELOPE_SEGMENT;
  108. #define MPF_PUNCHIN_REFTIME ( 0 )
  109. #define MPF_PUNCHIN_NOW ( 0x1 )
  110. #define MPF_PUNCHIN_STOPPED ( 0x2 )
  111. extern RPC_IF_HANDLE __MIDL_itf_medparam_0000_v0_0_c_ifspec;
  112. extern RPC_IF_HANDLE __MIDL_itf_medparam_0000_v0_0_s_ifspec;
  113. #ifndef __IMediaParamInfo_INTERFACE_DEFINED__
  114. #define __IMediaParamInfo_INTERFACE_DEFINED__
  115. /* interface IMediaParamInfo */
  116. /* [version][uuid][object] */
  117. EXTERN_C const IID IID_IMediaParamInfo;
  118. #if defined(__cplusplus) && !defined(CINTERFACE)
  119. MIDL_INTERFACE("6d6cbb60-a223-44aa-842f-a2f06750be6d")
  120. IMediaParamInfo : public IUnknown
  121. {
  122. public:
  123. virtual HRESULT STDMETHODCALLTYPE GetParamCount(
  124. /* [out] */ DWORD *pdwParams) = 0;
  125. virtual HRESULT STDMETHODCALLTYPE GetParamInfo(
  126. /* [in] */ DWORD dwParamIndex,
  127. /* [out] */ MP_PARAMINFO *pInfo) = 0;
  128. virtual HRESULT STDMETHODCALLTYPE GetParamText(
  129. /* [in] */ DWORD dwParamIndex,
  130. /* [out] */ WCHAR **ppwchText) = 0;
  131. virtual HRESULT STDMETHODCALLTYPE GetNumTimeFormats(
  132. /* [out] */ DWORD *pdwNumTimeFormats) = 0;
  133. virtual HRESULT STDMETHODCALLTYPE GetSupportedTimeFormat(
  134. /* [in] */ DWORD dwFormatIndex,
  135. /* [out] */ GUID *pguidTimeFormat) = 0;
  136. virtual HRESULT STDMETHODCALLTYPE GetCurrentTimeFormat(
  137. /* [out] */ GUID *pguidTimeFormat,
  138. /* [out] */ MP_TIMEDATA *pTimeData) = 0;
  139. };
  140. #else /* C style interface */
  141. typedef struct IMediaParamInfoVtbl
  142. {
  143. BEGIN_INTERFACE
  144. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  145. IMediaParamInfo * This,
  146. /* [in] */ REFIID riid,
  147. /* [iid_is][out] */ void **ppvObject);
  148. ULONG ( STDMETHODCALLTYPE *AddRef )(
  149. IMediaParamInfo * This);
  150. ULONG ( STDMETHODCALLTYPE *Release )(
  151. IMediaParamInfo * This);
  152. HRESULT ( STDMETHODCALLTYPE *GetParamCount )(
  153. IMediaParamInfo * This,
  154. /* [out] */ DWORD *pdwParams);
  155. HRESULT ( STDMETHODCALLTYPE *GetParamInfo )(
  156. IMediaParamInfo * This,
  157. /* [in] */ DWORD dwParamIndex,
  158. /* [out] */ MP_PARAMINFO *pInfo);
  159. HRESULT ( STDMETHODCALLTYPE *GetParamText )(
  160. IMediaParamInfo * This,
  161. /* [in] */ DWORD dwParamIndex,
  162. /* [out] */ WCHAR **ppwchText);
  163. HRESULT ( STDMETHODCALLTYPE *GetNumTimeFormats )(
  164. IMediaParamInfo * This,
  165. /* [out] */ DWORD *pdwNumTimeFormats);
  166. HRESULT ( STDMETHODCALLTYPE *GetSupportedTimeFormat )(
  167. IMediaParamInfo * This,
  168. /* [in] */ DWORD dwFormatIndex,
  169. /* [out] */ GUID *pguidTimeFormat);
  170. HRESULT ( STDMETHODCALLTYPE *GetCurrentTimeFormat )(
  171. IMediaParamInfo * This,
  172. /* [out] */ GUID *pguidTimeFormat,
  173. /* [out] */ MP_TIMEDATA *pTimeData);
  174. END_INTERFACE
  175. } IMediaParamInfoVtbl;
  176. interface IMediaParamInfo
  177. {
  178. CONST_VTBL struct IMediaParamInfoVtbl *lpVtbl;
  179. };
  180. #ifdef COBJMACROS
  181. #define IMediaParamInfo_QueryInterface(This,riid,ppvObject) \
  182. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  183. #define IMediaParamInfo_AddRef(This) \
  184. (This)->lpVtbl -> AddRef(This)
  185. #define IMediaParamInfo_Release(This) \
  186. (This)->lpVtbl -> Release(This)
  187. #define IMediaParamInfo_GetParamCount(This,pdwParams) \
  188. (This)->lpVtbl -> GetParamCount(This,pdwParams)
  189. #define IMediaParamInfo_GetParamInfo(This,dwParamIndex,pInfo) \
  190. (This)->lpVtbl -> GetParamInfo(This,dwParamIndex,pInfo)
  191. #define IMediaParamInfo_GetParamText(This,dwParamIndex,ppwchText) \
  192. (This)->lpVtbl -> GetParamText(This,dwParamIndex,ppwchText)
  193. #define IMediaParamInfo_GetNumTimeFormats(This,pdwNumTimeFormats) \
  194. (This)->lpVtbl -> GetNumTimeFormats(This,pdwNumTimeFormats)
  195. #define IMediaParamInfo_GetSupportedTimeFormat(This,dwFormatIndex,pguidTimeFormat) \
  196. (This)->lpVtbl -> GetSupportedTimeFormat(This,dwFormatIndex,pguidTimeFormat)
  197. #define IMediaParamInfo_GetCurrentTimeFormat(This,pguidTimeFormat,pTimeData) \
  198. (This)->lpVtbl -> GetCurrentTimeFormat(This,pguidTimeFormat,pTimeData)
  199. #endif /* COBJMACROS */
  200. #endif /* C style interface */
  201. HRESULT STDMETHODCALLTYPE IMediaParamInfo_GetParamCount_Proxy(
  202. IMediaParamInfo * This,
  203. /* [out] */ DWORD *pdwParams);
  204. void __RPC_STUB IMediaParamInfo_GetParamCount_Stub(
  205. IRpcStubBuffer *This,
  206. IRpcChannelBuffer *_pRpcChannelBuffer,
  207. PRPC_MESSAGE _pRpcMessage,
  208. DWORD *_pdwStubPhase);
  209. HRESULT STDMETHODCALLTYPE IMediaParamInfo_GetParamInfo_Proxy(
  210. IMediaParamInfo * This,
  211. /* [in] */ DWORD dwParamIndex,
  212. /* [out] */ MP_PARAMINFO *pInfo);
  213. void __RPC_STUB IMediaParamInfo_GetParamInfo_Stub(
  214. IRpcStubBuffer *This,
  215. IRpcChannelBuffer *_pRpcChannelBuffer,
  216. PRPC_MESSAGE _pRpcMessage,
  217. DWORD *_pdwStubPhase);
  218. HRESULT STDMETHODCALLTYPE IMediaParamInfo_GetParamText_Proxy(
  219. IMediaParamInfo * This,
  220. /* [in] */ DWORD dwParamIndex,
  221. /* [out] */ WCHAR **ppwchText);
  222. void __RPC_STUB IMediaParamInfo_GetParamText_Stub(
  223. IRpcStubBuffer *This,
  224. IRpcChannelBuffer *_pRpcChannelBuffer,
  225. PRPC_MESSAGE _pRpcMessage,
  226. DWORD *_pdwStubPhase);
  227. HRESULT STDMETHODCALLTYPE IMediaParamInfo_GetNumTimeFormats_Proxy(
  228. IMediaParamInfo * This,
  229. /* [out] */ DWORD *pdwNumTimeFormats);
  230. void __RPC_STUB IMediaParamInfo_GetNumTimeFormats_Stub(
  231. IRpcStubBuffer *This,
  232. IRpcChannelBuffer *_pRpcChannelBuffer,
  233. PRPC_MESSAGE _pRpcMessage,
  234. DWORD *_pdwStubPhase);
  235. HRESULT STDMETHODCALLTYPE IMediaParamInfo_GetSupportedTimeFormat_Proxy(
  236. IMediaParamInfo * This,
  237. /* [in] */ DWORD dwFormatIndex,
  238. /* [out] */ GUID *pguidTimeFormat);
  239. void __RPC_STUB IMediaParamInfo_GetSupportedTimeFormat_Stub(
  240. IRpcStubBuffer *This,
  241. IRpcChannelBuffer *_pRpcChannelBuffer,
  242. PRPC_MESSAGE _pRpcMessage,
  243. DWORD *_pdwStubPhase);
  244. HRESULT STDMETHODCALLTYPE IMediaParamInfo_GetCurrentTimeFormat_Proxy(
  245. IMediaParamInfo * This,
  246. /* [out] */ GUID *pguidTimeFormat,
  247. /* [out] */ MP_TIMEDATA *pTimeData);
  248. void __RPC_STUB IMediaParamInfo_GetCurrentTimeFormat_Stub(
  249. IRpcStubBuffer *This,
  250. IRpcChannelBuffer *_pRpcChannelBuffer,
  251. PRPC_MESSAGE _pRpcMessage,
  252. DWORD *_pdwStubPhase);
  253. #endif /* __IMediaParamInfo_INTERFACE_DEFINED__ */
  254. #ifndef __IMediaParams_INTERFACE_DEFINED__
  255. #define __IMediaParams_INTERFACE_DEFINED__
  256. /* interface IMediaParams */
  257. /* [version][uuid][object] */
  258. EXTERN_C const IID IID_IMediaParams;
  259. #if defined(__cplusplus) && !defined(CINTERFACE)
  260. MIDL_INTERFACE("6d6cbb61-a223-44aa-842f-a2f06750be6e")
  261. IMediaParams : public IUnknown
  262. {
  263. public:
  264. virtual HRESULT STDMETHODCALLTYPE GetParam(
  265. /* [in] */ DWORD dwParamIndex,
  266. /* [out] */ MP_DATA *pValue) = 0;
  267. virtual HRESULT STDMETHODCALLTYPE SetParam(
  268. /* [in] */ DWORD dwParamIndex,
  269. /* [in] */ MP_DATA value) = 0;
  270. virtual HRESULT STDMETHODCALLTYPE AddEnvelope(
  271. /* [in] */ DWORD dwParamIndex,
  272. /* [in] */ DWORD cSegments,
  273. /* [in] */ MP_ENVELOPE_SEGMENT *pEnvelopeSegments) = 0;
  274. virtual HRESULT STDMETHODCALLTYPE FlushEnvelope(
  275. /* [in] */ DWORD dwParamIndex,
  276. /* [in] */ REFERENCE_TIME refTimeStart,
  277. /* [in] */ REFERENCE_TIME refTimeEnd) = 0;
  278. virtual HRESULT STDMETHODCALLTYPE SetTimeFormat(
  279. /* [in] */ GUID guidTimeFormat,
  280. /* [in] */ MP_TIMEDATA mpTimeData) = 0;
  281. };
  282. #else /* C style interface */
  283. typedef struct IMediaParamsVtbl
  284. {
  285. BEGIN_INTERFACE
  286. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  287. IMediaParams * This,
  288. /* [in] */ REFIID riid,
  289. /* [iid_is][out] */ void **ppvObject);
  290. ULONG ( STDMETHODCALLTYPE *AddRef )(
  291. IMediaParams * This);
  292. ULONG ( STDMETHODCALLTYPE *Release )(
  293. IMediaParams * This);
  294. HRESULT ( STDMETHODCALLTYPE *GetParam )(
  295. IMediaParams * This,
  296. /* [in] */ DWORD dwParamIndex,
  297. /* [out] */ MP_DATA *pValue);
  298. HRESULT ( STDMETHODCALLTYPE *SetParam )(
  299. IMediaParams * This,
  300. /* [in] */ DWORD dwParamIndex,
  301. /* [in] */ MP_DATA value);
  302. HRESULT ( STDMETHODCALLTYPE *AddEnvelope )(
  303. IMediaParams * This,
  304. /* [in] */ DWORD dwParamIndex,
  305. /* [in] */ DWORD cSegments,
  306. /* [in] */ MP_ENVELOPE_SEGMENT *pEnvelopeSegments);
  307. HRESULT ( STDMETHODCALLTYPE *FlushEnvelope )(
  308. IMediaParams * This,
  309. /* [in] */ DWORD dwParamIndex,
  310. /* [in] */ REFERENCE_TIME refTimeStart,
  311. /* [in] */ REFERENCE_TIME refTimeEnd);
  312. HRESULT ( STDMETHODCALLTYPE *SetTimeFormat )(
  313. IMediaParams * This,
  314. /* [in] */ GUID guidTimeFormat,
  315. /* [in] */ MP_TIMEDATA mpTimeData);
  316. END_INTERFACE
  317. } IMediaParamsVtbl;
  318. interface IMediaParams
  319. {
  320. CONST_VTBL struct IMediaParamsVtbl *lpVtbl;
  321. };
  322. #ifdef COBJMACROS
  323. #define IMediaParams_QueryInterface(This,riid,ppvObject) \
  324. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  325. #define IMediaParams_AddRef(This) \
  326. (This)->lpVtbl -> AddRef(This)
  327. #define IMediaParams_Release(This) \
  328. (This)->lpVtbl -> Release(This)
  329. #define IMediaParams_GetParam(This,dwParamIndex,pValue) \
  330. (This)->lpVtbl -> GetParam(This,dwParamIndex,pValue)
  331. #define IMediaParams_SetParam(This,dwParamIndex,value) \
  332. (This)->lpVtbl -> SetParam(This,dwParamIndex,value)
  333. #define IMediaParams_AddEnvelope(This,dwParamIndex,cSegments,pEnvelopeSegments) \
  334. (This)->lpVtbl -> AddEnvelope(This,dwParamIndex,cSegments,pEnvelopeSegments)
  335. #define IMediaParams_FlushEnvelope(This,dwParamIndex,refTimeStart,refTimeEnd) \
  336. (This)->lpVtbl -> FlushEnvelope(This,dwParamIndex,refTimeStart,refTimeEnd)
  337. #define IMediaParams_SetTimeFormat(This,guidTimeFormat,mpTimeData) \
  338. (This)->lpVtbl -> SetTimeFormat(This,guidTimeFormat,mpTimeData)
  339. #endif /* COBJMACROS */
  340. #endif /* C style interface */
  341. HRESULT STDMETHODCALLTYPE IMediaParams_GetParam_Proxy(
  342. IMediaParams * This,
  343. /* [in] */ DWORD dwParamIndex,
  344. /* [out] */ MP_DATA *pValue);
  345. void __RPC_STUB IMediaParams_GetParam_Stub(
  346. IRpcStubBuffer *This,
  347. IRpcChannelBuffer *_pRpcChannelBuffer,
  348. PRPC_MESSAGE _pRpcMessage,
  349. DWORD *_pdwStubPhase);
  350. HRESULT STDMETHODCALLTYPE IMediaParams_SetParam_Proxy(
  351. IMediaParams * This,
  352. /* [in] */ DWORD dwParamIndex,
  353. /* [in] */ MP_DATA value);
  354. void __RPC_STUB IMediaParams_SetParam_Stub(
  355. IRpcStubBuffer *This,
  356. IRpcChannelBuffer *_pRpcChannelBuffer,
  357. PRPC_MESSAGE _pRpcMessage,
  358. DWORD *_pdwStubPhase);
  359. HRESULT STDMETHODCALLTYPE IMediaParams_AddEnvelope_Proxy(
  360. IMediaParams * This,
  361. /* [in] */ DWORD dwParamIndex,
  362. /* [in] */ DWORD cSegments,
  363. /* [in] */ MP_ENVELOPE_SEGMENT *pEnvelopeSegments);
  364. void __RPC_STUB IMediaParams_AddEnvelope_Stub(
  365. IRpcStubBuffer *This,
  366. IRpcChannelBuffer *_pRpcChannelBuffer,
  367. PRPC_MESSAGE _pRpcMessage,
  368. DWORD *_pdwStubPhase);
  369. HRESULT STDMETHODCALLTYPE IMediaParams_FlushEnvelope_Proxy(
  370. IMediaParams * This,
  371. /* [in] */ DWORD dwParamIndex,
  372. /* [in] */ REFERENCE_TIME refTimeStart,
  373. /* [in] */ REFERENCE_TIME refTimeEnd);
  374. void __RPC_STUB IMediaParams_FlushEnvelope_Stub(
  375. IRpcStubBuffer *This,
  376. IRpcChannelBuffer *_pRpcChannelBuffer,
  377. PRPC_MESSAGE _pRpcMessage,
  378. DWORD *_pdwStubPhase);
  379. HRESULT STDMETHODCALLTYPE IMediaParams_SetTimeFormat_Proxy(
  380. IMediaParams * This,
  381. /* [in] */ GUID guidTimeFormat,
  382. /* [in] */ MP_TIMEDATA mpTimeData);
  383. void __RPC_STUB IMediaParams_SetTimeFormat_Stub(
  384. IRpcStubBuffer *This,
  385. IRpcChannelBuffer *_pRpcChannelBuffer,
  386. PRPC_MESSAGE _pRpcMessage,
  387. DWORD *_pdwStubPhase);
  388. #endif /* __IMediaParams_INTERFACE_DEFINED__ */
  389. /* Additional Prototypes for ALL interfaces */
  390. /* end of Additional Prototypes */
  391. #ifdef __cplusplus
  392. }
  393. #endif
  394. #endif