1 |
bearsoft |
1.1 |
|
2 |
|
|
#pragma warning( disable: 4049 ) /* more than 64k source lines */
|
3 |
|
|
|
4 |
|
|
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
/* File created by MIDL compiler version 6.00.0338 */
|
8 |
|
|
/* Compiler settings for medparam.idl:
|
9 |
|
|
Oicf, W1, Zp8, env=Win32 (32b run)
|
10 |
|
|
protocol : dce , ms_ext, c_ext, robust
|
11 |
|
|
error checks: allocation ref bounds_check enum stub_data
|
12 |
|
|
VC __declspec() decoration level:
|
13 |
|
|
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
|
14 |
|
|
DECLSPEC_UUID(), MIDL_INTERFACE()
|
15 |
|
|
*/
|
16 |
|
|
//@@MIDL_FILE_HEADING( )
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
/* verify that the <rpcndr.h> version is high enough to compile this file*/
|
20 |
|
|
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
21 |
|
|
#define __REQUIRED_RPCNDR_H_VERSION__ 475
|
22 |
|
|
#endif
|
23 |
|
|
|
24 |
|
|
#include "rpc.h"
|
25 |
|
|
#include "rpcndr.h"
|
26 |
|
|
|
27 |
|
|
#ifndef __RPCNDR_H_VERSION__
|
28 |
|
|
#error this stub requires an updated version of <rpcndr.h>
|
29 |
|
|
#endif // __RPCNDR_H_VERSION__
|
30 |
|
|
|
31 |
|
|
#ifndef COM_NO_WINDOWS_H
|
32 |
|
|
#include "windows.h"
|
33 |
|
|
#include "ole2.h"
|
34 |
|
|
#endif /*COM_NO_WINDOWS_H*/
|
35 |
|
|
|
36 |
|
|
#ifndef __medparam_h__
|
37 |
|
|
#define __medparam_h__
|
38 |
|
|
|
39 |
|
|
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
|
40 |
|
|
#pragma once
|
41 |
|
|
#endif
|
42 |
|
|
|
43 |
|
|
/* Forward Declarations */
|
44 |
|
|
|
45 |
|
|
#ifndef __IMediaParamInfo_FWD_DEFINED__
|
46 |
|
|
#define __IMediaParamInfo_FWD_DEFINED__
|
47 |
|
|
typedef interface IMediaParamInfo IMediaParamInfo;
|
48 |
|
|
#endif /* __IMediaParamInfo_FWD_DEFINED__ */
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
#ifndef __IMediaParams_FWD_DEFINED__
|
52 |
|
|
#define __IMediaParams_FWD_DEFINED__
|
53 |
|
|
typedef interface IMediaParams IMediaParams;
|
54 |
|
|
#endif /* __IMediaParams_FWD_DEFINED__ */
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
/* header files for imported files */
|
58 |
|
|
#include "oaidl.h"
|
59 |
|
|
#include "ocidl.h"
|
60 |
|
|
#include "strmif.h"
|
61 |
|
|
|
62 |
|
|
#ifdef __cplusplus
|
63 |
|
|
extern "C"{
|
64 |
|
|
#endif
|
65 |
|
|
|
66 |
|
|
void * __RPC_USER MIDL_user_allocate(size_t);
|
67 |
|
|
void __RPC_USER MIDL_user_free( void * );
|
68 |
|
|
|
69 |
|
|
/* interface __MIDL_itf_medparam_0000 */
|
70 |
|
|
/* [local] */
|
71 |
|
|
|
72 |
|
|
typedef float MP_DATA;
|
73 |
|
|
|
74 |
|
|
typedef
|
75 |
|
|
enum _MP_Type
|
76 |
|
|
{ MPT_INT = 0,
|
77 |
|
|
MPT_FLOAT = MPT_INT + 1,
|
78 |
|
|
MPT_BOOL = MPT_FLOAT + 1,
|
79 |
|
|
MPT_ENUM = MPT_BOOL + 1,
|
80 |
|
|
MPT_MAX = MPT_ENUM + 1
|
81 |
|
|
} MP_TYPE;
|
82 |
|
|
|
83 |
|
|
#define MPBOOL_TRUE ( 1 )
|
84 |
|
|
|
85 |
|
|
#define MPBOOL_FALSE ( 0 )
|
86 |
|
|
|
87 |
|
|
typedef
|
88 |
|
|
enum _MP_CURVE_TYPE
|
89 |
|
|
{ MP_CURVE_JUMP = 0x1,
|
90 |
|
|
MP_CURVE_LINEAR = 0x2,
|
91 |
|
|
MP_CURVE_SQUARE = 0x4,
|
92 |
|
|
MP_CURVE_INVSQUARE = 0x8,
|
93 |
|
|
MP_CURVE_SINE = 0x10
|
94 |
|
|
} MP_CURVE_TYPE;
|
95 |
|
|
|
96 |
|
|
typedef DWORD MP_CAPS;
|
97 |
|
|
|
98 |
|
|
#define MP_CAPS_CURVE_JUMP ( MP_CURVE_JUMP )
|
99 |
|
|
|
100 |
|
|
#define MP_CAPS_CURVE_LINEAR ( MP_CURVE_LINEAR )
|
101 |
|
|
|
102 |
|
|
#define MP_CAPS_CURVE_SQUARE ( MP_CURVE_SQUARE )
|
103 |
|
|
|
104 |
|
|
#define MP_CAPS_CURVE_INVSQUARE ( MP_CURVE_INVSQUARE )
|
105 |
|
|
|
106 |
|
|
#define MP_CAPS_CURVE_SINE ( MP_CURVE_SINE )
|
107 |
|
|
|
108 |
|
|
typedef struct _MP_PARAMINFO
|
109 |
|
|
{
|
110 |
|
|
MP_TYPE mpType;
|
111 |
|
|
MP_CAPS mopCaps;
|
112 |
|
|
MP_DATA mpdMinValue;
|
113 |
|
|
MP_DATA mpdMaxValue;
|
114 |
|
|
MP_DATA mpdNeutralValue;
|
115 |
|
|
WCHAR szUnitText[ 32 ];
|
116 |
|
|
WCHAR szLabel[ 32 ];
|
117 |
|
|
} MP_PARAMINFO;
|
118 |
|
|
|
119 |
|
|
typedef DWORD DWORD;
|
120 |
|
|
|
121 |
|
|
#define DWORD_ALLPARAMS ( -1 )
|
122 |
|
|
|
123 |
|
|
typedef DWORD MP_TIMEDATA;
|
124 |
|
|
|
125 |
|
|
DEFINE_GUID(GUID_TIME_REFERENCE,
|
126 |
|
|
0x93ad712b, 0xdaa0, 0x4ffe, 0xbc, 0x81, 0xb0, 0xce, 0x50, 0xf, 0xcd, 0xd9);
|
127 |
|
|
DEFINE_GUID(GUID_TIME_MUSIC,
|
128 |
|
|
0x574c49d, 0x5b04, 0x4b15, 0xa5, 0x42, 0xae, 0x28, 0x20, 0x30, 0x11, 0x7b);
|
129 |
|
|
DEFINE_GUID(GUID_TIME_SAMPLES,
|
130 |
|
|
0xa8593d05, 0xc43, 0x4984, 0x9a, 0x63, 0x97, 0xaf, 0x9e, 0x2, 0xc4, 0xc0);
|
131 |
|
|
typedef DWORD MP_FLAGS;
|
132 |
|
|
|
133 |
|
|
#define MPF_ENVLP_STANDARD ( 0 )
|
134 |
|
|
|
135 |
|
|
#define MPF_ENVLP_BEGIN_CURRENTVAL ( 0x1 )
|
136 |
|
|
|
137 |
|
|
#define MPF_ENVLP_BEGIN_NEUTRALVAL ( 0x2 )
|
138 |
|
|
|
139 |
|
|
typedef struct _MP_ENVELOPE_SEGMENT
|
140 |
|
|
{
|
141 |
|
|
REFERENCE_TIME rtStart;
|
142 |
|
|
REFERENCE_TIME rtEnd;
|
143 |
|
|
MP_DATA valStart;
|
144 |
|
|
MP_DATA valEnd;
|
145 |
|
|
MP_CURVE_TYPE iCurve;
|
146 |
|
|
MP_FLAGS flags;
|
147 |
|
|
} MP_ENVELOPE_SEGMENT;
|
148 |
|
|
|
149 |
|
|
#define MPF_PUNCHIN_REFTIME ( 0 )
|
150 |
|
|
|
151 |
|
|
#define MPF_PUNCHIN_NOW ( 0x1 )
|
152 |
|
|
|
153 |
|
|
#define MPF_PUNCHIN_STOPPED ( 0x2 )
|
154 |
|
|
|
155 |
|
|
|
156 |
|
|
|
157 |
|
|
extern RPC_IF_HANDLE __MIDL_itf_medparam_0000_v0_0_c_ifspec;
|
158 |
|
|
extern RPC_IF_HANDLE __MIDL_itf_medparam_0000_v0_0_s_ifspec;
|
159 |
|
|
|
160 |
|
|
#ifndef __IMediaParamInfo_INTERFACE_DEFINED__
|
161 |
|
|
#define __IMediaParamInfo_INTERFACE_DEFINED__
|
162 |
|
|
|
163 |
|
|
/* interface IMediaParamInfo */
|
164 |
|
|
/* [version][uuid][object] */
|
165 |
|
|
|
166 |
|
|
|
167 |
|
|
EXTERN_C const IID IID_IMediaParamInfo;
|
168 |
|
|
|
169 |
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
170 |
|
|
|
171 |
|
|
MIDL_INTERFACE("6d6cbb60-a223-44aa-842f-a2f06750be6d")
|
172 |
|
|
IMediaParamInfo : public IUnknown
|
173 |
|
|
{
|
174 |
|
|
public:
|
175 |
|
|
virtual HRESULT STDMETHODCALLTYPE GetParamCount(
|
176 |
|
|
/* [out] */ DWORD *pdwParams) = 0;
|
177 |
|
|
|
178 |
|
|
virtual HRESULT STDMETHODCALLTYPE GetParamInfo(
|
179 |
|
|
/* [in] */ DWORD dwParamIndex,
|
180 |
|
|
/* [out] */ MP_PARAMINFO *pInfo) = 0;
|
181 |
|
|
|
182 |
|
|
virtual HRESULT STDMETHODCALLTYPE GetParamText(
|
183 |
|
|
/* [in] */ DWORD dwParamIndex,
|
184 |
|
|
/* [out] */ WCHAR **ppwchText) = 0;
|
185 |
|
|
|
186 |
|
|
virtual HRESULT STDMETHODCALLTYPE GetNumTimeFormats(
|
187 |
|
|
/* [out] */ DWORD *pdwNumTimeFormats) = 0;
|
188 |
|
|
|
189 |
|
|
virtual HRESULT STDMETHODCALLTYPE GetSupportedTimeFormat(
|
190 |
|
|
/* [in] */ DWORD dwFormatIndex,
|
191 |
|
|
/* [out] */ GUID *pguidTimeFormat) = 0;
|
192 |
|
|
|
193 |
|
|
virtual HRESULT STDMETHODCALLTYPE GetCurrentTimeFormat(
|
194 |
|
|
/* [out] */ GUID *pguidTimeFormat,
|
195 |
|
|
/* [out] */ MP_TIMEDATA *pTimeData) = 0;
|
196 |
|
|
|
197 |
|
|
};
|
198 |
|
|
|
199 |
|
|
#else /* C style interface */
|
200 |
|
|
|
201 |
|
|
typedef struct IMediaParamInfoVtbl
|
202 |
|
|
{
|
203 |
|
|
BEGIN_INTERFACE
|
204 |
|
|
|
205 |
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
206 |
|
|
IMediaParamInfo * This,
|
207 |
|
|
/* [in] */ REFIID riid,
|
208 |
|
|
/* [iid_is][out] */ void **ppvObject);
|
209 |
|
|
|
210 |
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
211 |
|
|
IMediaParamInfo * This);
|
212 |
|
|
|
213 |
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
214 |
|
|
IMediaParamInfo * This);
|
215 |
|
|
|
216 |
|
|
HRESULT ( STDMETHODCALLTYPE *GetParamCount )(
|
217 |
|
|
IMediaParamInfo * This,
|
218 |
|
|
/* [out] */ DWORD *pdwParams);
|
219 |
|
|
|
220 |
|
|
HRESULT ( STDMETHODCALLTYPE *GetParamInfo )(
|
221 |
|
|
IMediaParamInfo * This,
|
222 |
|
|
/* [in] */ DWORD dwParamIndex,
|
223 |
|
|
/* [out] */ MP_PARAMINFO *pInfo);
|
224 |
|
|
|
225 |
|
|
HRESULT ( STDMETHODCALLTYPE *GetParamText )(
|
226 |
|
|
IMediaParamInfo * This,
|
227 |
|
|
/* [in] */ DWORD dwParamIndex,
|
228 |
|
|
/* [out] */ WCHAR **ppwchText);
|
229 |
|
|
|
230 |
|
|
HRESULT ( STDMETHODCALLTYPE *GetNumTimeFormats )(
|
231 |
|
|
IMediaParamInfo * This,
|
232 |
|
|
/* [out] */ DWORD *pdwNumTimeFormats);
|
233 |
|
|
|
234 |
|
|
HRESULT ( STDMETHODCALLTYPE *GetSupportedTimeFormat )(
|
235 |
|
|
IMediaParamInfo * This,
|
236 |
|
|
/* [in] */ DWORD dwFormatIndex,
|
237 |
|
|
/* [out] */ GUID *pguidTimeFormat);
|
238 |
|
|
|
239 |
|
|
HRESULT ( STDMETHODCALLTYPE *GetCurrentTimeFormat )(
|
240 |
|
|
IMediaParamInfo * This,
|
241 |
|
|
/* [out] */ GUID *pguidTimeFormat,
|
242 |
|
|
/* [out] */ MP_TIMEDATA *pTimeData);
|
243 |
|
|
|
244 |
|
|
END_INTERFACE
|
245 |
|
|
} IMediaParamInfoVtbl;
|
246 |
|
|
|
247 |
|
|
interface IMediaParamInfo
|
248 |
|
|
{
|
249 |
|
|
CONST_VTBL struct IMediaParamInfoVtbl *lpVtbl;
|
250 |
|
|
};
|
251 |
|
|
|
252 |
|
|
|
253 |
|
|
|
254 |
|
|
#ifdef COBJMACROS
|
255 |
|
|
|
256 |
|
|
|
257 |
|
|
#define IMediaParamInfo_QueryInterface(This,riid,ppvObject) \
|
258 |
|
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
259 |
|
|
|
260 |
|
|
#define IMediaParamInfo_AddRef(This) \
|
261 |
|
|
(This)->lpVtbl -> AddRef(This)
|
262 |
|
|
|
263 |
|
|
#define IMediaParamInfo_Release(This) \
|
264 |
|
|
(This)->lpVtbl -> Release(This)
|
265 |
|
|
|
266 |
|
|
|
267 |
|
|
#define IMediaParamInfo_GetParamCount(This,pdwParams) \
|
268 |
|
|
(This)->lpVtbl -> GetParamCount(This,pdwParams)
|
269 |
|
|
|
270 |
|
|
#define IMediaParamInfo_GetParamInfo(This,dwParamIndex,pInfo) \
|
271 |
|
|
(This)->lpVtbl -> GetParamInfo(This,dwParamIndex,pInfo)
|
272 |
|
|
|
273 |
|
|
#define IMediaParamInfo_GetParamText(This,dwParamIndex,ppwchText) \
|
274 |
|
|
(This)->lpVtbl -> GetParamText(This,dwParamIndex,ppwchText)
|
275 |
|
|
|
276 |
|
|
#define IMediaParamInfo_GetNumTimeFormats(This,pdwNumTimeFormats) \
|
277 |
|
|
(This)->lpVtbl -> GetNumTimeFormats(This,pdwNumTimeFormats)
|
278 |
|
|
|
279 |
|
|
#define IMediaParamInfo_GetSupportedTimeFormat(This,dwFormatIndex,pguidTimeFormat) \
|
280 |
|
|
(This)->lpVtbl -> GetSupportedTimeFormat(This,dwFormatIndex,pguidTimeFormat)
|
281 |
|
|
|
282 |
|
|
#define IMediaParamInfo_GetCurrentTimeFormat(This,pguidTimeFormat,pTimeData) \
|
283 |
|
|
(This)->lpVtbl -> GetCurrentTimeFormat(This,pguidTimeFormat,pTimeData)
|
284 |
|
|
|
285 |
|
|
#endif /* COBJMACROS */
|
286 |
|
|
|
287 |
|
|
|
288 |
|
|
#endif /* C style interface */
|
289 |
|
|
|
290 |
|
|
|
291 |
|
|
|
292 |
|
|
HRESULT STDMETHODCALLTYPE IMediaParamInfo_GetParamCount_Proxy(
|
293 |
|
|
IMediaParamInfo * This,
|
294 |
|
|
/* [out] */ DWORD *pdwParams);
|
295 |
|
|
|
296 |
|
|
|
297 |
|
|
void __RPC_STUB IMediaParamInfo_GetParamCount_Stub(
|
298 |
|
|
IRpcStubBuffer *This,
|
299 |
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
300 |
|
|
PRPC_MESSAGE _pRpcMessage,
|
301 |
|
|
DWORD *_pdwStubPhase);
|
302 |
|
|
|
303 |
|
|
|
304 |
|
|
HRESULT STDMETHODCALLTYPE IMediaParamInfo_GetParamInfo_Proxy(
|
305 |
|
|
IMediaParamInfo * This,
|
306 |
|
|
/* [in] */ DWORD dwParamIndex,
|
307 |
|
|
/* [out] */ MP_PARAMINFO *pInfo);
|
308 |
|
|
|
309 |
|
|
|
310 |
|
|
void __RPC_STUB IMediaParamInfo_GetParamInfo_Stub(
|
311 |
|
|
IRpcStubBuffer *This,
|
312 |
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
313 |
|
|
PRPC_MESSAGE _pRpcMessage,
|
314 |
|
|
DWORD *_pdwStubPhase);
|
315 |
|
|
|
316 |
|
|
|
317 |
|
|
HRESULT STDMETHODCALLTYPE IMediaParamInfo_GetParamText_Proxy(
|
318 |
|
|
IMediaParamInfo * This,
|
319 |
|
|
/* [in] */ DWORD dwParamIndex,
|
320 |
|
|
/* [out] */ WCHAR **ppwchText);
|
321 |
|
|
|
322 |
|
|
|
323 |
|
|
void __RPC_STUB IMediaParamInfo_GetParamText_Stub(
|
324 |
|
|
IRpcStubBuffer *This,
|
325 |
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
326 |
|
|
PRPC_MESSAGE _pRpcMessage,
|
327 |
|
|
DWORD *_pdwStubPhase);
|
328 |
|
|
|
329 |
|
|
|
330 |
|
|
HRESULT STDMETHODCALLTYPE IMediaParamInfo_GetNumTimeFormats_Proxy(
|
331 |
|
|
IMediaParamInfo * This,
|
332 |
|
|
/* [out] */ DWORD *pdwNumTimeFormats);
|
333 |
|
|
|
334 |
|
|
|
335 |
|
|
void __RPC_STUB IMediaParamInfo_GetNumTimeFormats_Stub(
|
336 |
|
|
IRpcStubBuffer *This,
|
337 |
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
338 |
|
|
PRPC_MESSAGE _pRpcMessage,
|
339 |
|
|
DWORD *_pdwStubPhase);
|
340 |
|
|
|
341 |
|
|
|
342 |
|
|
HRESULT STDMETHODCALLTYPE IMediaParamInfo_GetSupportedTimeFormat_Proxy(
|
343 |
|
|
IMediaParamInfo * This,
|
344 |
|
|
/* [in] */ DWORD dwFormatIndex,
|
345 |
|
|
/* [out] */ GUID *pguidTimeFormat);
|
346 |
|
|
|
347 |
|
|
|
348 |
|
|
void __RPC_STUB IMediaParamInfo_GetSupportedTimeFormat_Stub(
|
349 |
|
|
IRpcStubBuffer *This,
|
350 |
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
351 |
|
|
PRPC_MESSAGE _pRpcMessage,
|
352 |
|
|
DWORD *_pdwStubPhase);
|
353 |
|
|
|
354 |
|
|
|
355 |
|
|
HRESULT STDMETHODCALLTYPE IMediaParamInfo_GetCurrentTimeFormat_Proxy(
|
356 |
|
|
IMediaParamInfo * This,
|
357 |
|
|
/* [out] */ GUID *pguidTimeFormat,
|
358 |
|
|
/* [out] */ MP_TIMEDATA *pTimeData);
|
359 |
|
|
|
360 |
|
|
|
361 |
|
|
void __RPC_STUB IMediaParamInfo_GetCurrentTimeFormat_Stub(
|
362 |
|
|
IRpcStubBuffer *This,
|
363 |
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
364 |
|
|
PRPC_MESSAGE _pRpcMessage,
|
365 |
|
|
DWORD *_pdwStubPhase);
|
366 |
|
|
|
367 |
|
|
|
368 |
|
|
|
369 |
|
|
#endif /* __IMediaParamInfo_INTERFACE_DEFINED__ */
|
370 |
|
|
|
371 |
|
|
|
372 |
|
|
#ifndef __IMediaParams_INTERFACE_DEFINED__
|
373 |
|
|
#define __IMediaParams_INTERFACE_DEFINED__
|
374 |
|
|
|
375 |
|
|
/* interface IMediaParams */
|
376 |
|
|
/* [version][uuid][object] */
|
377 |
|
|
|
378 |
|
|
|
379 |
|
|
EXTERN_C const IID IID_IMediaParams;
|
380 |
|
|
|
381 |
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
382 |
|
|
|
383 |
|
|
MIDL_INTERFACE("6d6cbb61-a223-44aa-842f-a2f06750be6e")
|
384 |
|
|
IMediaParams : public IUnknown
|
385 |
|
|
{
|
386 |
|
|
public:
|
387 |
|
|
virtual HRESULT STDMETHODCALLTYPE GetParam(
|
388 |
|
|
/* [in] */ DWORD dwParamIndex,
|
389 |
|
|
/* [out] */ MP_DATA *pValue) = 0;
|
390 |
|
|
|
391 |
|
|
virtual HRESULT STDMETHODCALLTYPE SetParam(
|
392 |
|
|
/* [in] */ DWORD dwParamIndex,
|
393 |
|
|
/* [in] */ MP_DATA value) = 0;
|
394 |
|
|
|
395 |
|
|
virtual HRESULT STDMETHODCALLTYPE AddEnvelope(
|
396 |
|
|
/* [in] */ DWORD dwParamIndex,
|
397 |
|
|
/* [in] */ DWORD cSegments,
|
398 |
|
|
/* [in] */ MP_ENVELOPE_SEGMENT *pEnvelopeSegments) = 0;
|
399 |
|
|
|
400 |
|
|
virtual HRESULT STDMETHODCALLTYPE FlushEnvelope(
|
401 |
|
|
/* [in] */ DWORD dwParamIndex,
|
402 |
|
|
/* [in] */ REFERENCE_TIME refTimeStart,
|
403 |
|
|
/* [in] */ REFERENCE_TIME refTimeEnd) = 0;
|
404 |
|
|
|
405 |
|
|
virtual HRESULT STDMETHODCALLTYPE SetTimeFormat(
|
406 |
|
|
/* [in] */ GUID guidTimeFormat,
|
407 |
|
|
/* [in] */ MP_TIMEDATA mpTimeData) = 0;
|
408 |
|
|
|
409 |
|
|
};
|
410 |
|
|
|
411 |
|
|
#else /* C style interface */
|
412 |
|
|
|
413 |
|
|
typedef struct IMediaParamsVtbl
|
414 |
|
|
{
|
415 |
|
|
BEGIN_INTERFACE
|
416 |
|
|
|
417 |
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
418 |
|
|
IMediaParams * This,
|
419 |
|
|
/* [in] */ REFIID riid,
|
420 |
|
|
/* [iid_is][out] */ void **ppvObject);
|
421 |
|
|
|
422 |
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
423 |
|
|
IMediaParams * This);
|
424 |
|
|
|
425 |
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
426 |
|
|
IMediaParams * This);
|
427 |
|
|
|
428 |
|
|
HRESULT ( STDMETHODCALLTYPE *GetParam )(
|
429 |
|
|
IMediaParams * This,
|
430 |
|
|
/* [in] */ DWORD dwParamIndex,
|
431 |
|
|
/* [out] */ MP_DATA *pValue);
|
432 |
|
|
|
433 |
|
|
HRESULT ( STDMETHODCALLTYPE *SetParam )(
|
434 |
|
|
IMediaParams * This,
|
435 |
|
|
/* [in] */ DWORD dwParamIndex,
|
436 |
|
|
/* [in] */ MP_DATA value);
|
437 |
|
|
|
438 |
|
|
HRESULT ( STDMETHODCALLTYPE *AddEnvelope )(
|
439 |
|
|
IMediaParams * This,
|
440 |
|
|
/* [in] */ DWORD dwParamIndex,
|
441 |
|
|
/* [in] */ DWORD cSegments,
|
442 |
|
|
/* [in] */ MP_ENVELOPE_SEGMENT *pEnvelopeSegments);
|
443 |
|
|
|
444 |
|
|
HRESULT ( STDMETHODCALLTYPE *FlushEnvelope )(
|
445 |
|
|
IMediaParams * This,
|
446 |
|
|
/* [in] */ DWORD dwParamIndex,
|
447 |
|
|
/* [in] */ REFERENCE_TIME refTimeStart,
|
448 |
|
|
/* [in] */ REFERENCE_TIME refTimeEnd);
|
449 |
|
|
|
450 |
|
|
HRESULT ( STDMETHODCALLTYPE *SetTimeFormat )(
|
451 |
|
|
IMediaParams * This,
|
452 |
|
|
/* [in] */ GUID guidTimeFormat,
|
453 |
|
|
/* [in] */ MP_TIMEDATA mpTimeData);
|
454 |
|
|
|
455 |
|
|
END_INTERFACE
|
456 |
|
|
} IMediaParamsVtbl;
|
457 |
|
|
|
458 |
|
|
interface IMediaParams
|
459 |
|
|
{
|
460 |
|
|
CONST_VTBL struct IMediaParamsVtbl *lpVtbl;
|
461 |
|
|
};
|
462 |
|
|
|
463 |
|
|
|
464 |
|
|
|
465 |
|
|
#ifdef COBJMACROS
|
466 |
|
|
|
467 |
|
|
|
468 |
|
|
#define IMediaParams_QueryInterface(This,riid,ppvObject) \
|
469 |
|
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
470 |
|
|
|
471 |
|
|
#define IMediaParams_AddRef(This) \
|
472 |
|
|
(This)->lpVtbl -> AddRef(This)
|
473 |
|
|
|
474 |
|
|
#define IMediaParams_Release(This) \
|
475 |
|
|
(This)->lpVtbl -> Release(This)
|
476 |
|
|
|
477 |
|
|
|
478 |
|
|
#define IMediaParams_GetParam(This,dwParamIndex,pValue) \
|
479 |
|
|
(This)->lpVtbl -> GetParam(This,dwParamIndex,pValue)
|
480 |
|
|
|
481 |
|
|
#define IMediaParams_SetParam(This,dwParamIndex,value) \
|
482 |
|
|
(This)->lpVtbl -> SetParam(This,dwParamIndex,value)
|
483 |
|
|
|
484 |
|
|
#define IMediaParams_AddEnvelope(This,dwParamIndex,cSegments,pEnvelopeSegments) \
|
485 |
|
|
(This)->lpVtbl -> AddEnvelope(This,dwParamIndex,cSegments,pEnvelopeSegments)
|
486 |
|
|
|
487 |
|
|
#define IMediaParams_FlushEnvelope(This,dwParamIndex,refTimeStart,refTimeEnd) \
|
488 |
|
|
(This)->lpVtbl -> FlushEnvelope(This,dwParamIndex,refTimeStart,refTimeEnd)
|
489 |
|
|
|
490 |
|
|
#define IMediaParams_SetTimeFormat(This,guidTimeFormat,mpTimeData) \
|
491 |
|
|
(This)->lpVtbl -> SetTimeFormat(This,guidTimeFormat,mpTimeData)
|
492 |
|
|
|
493 |
|
|
#endif /* COBJMACROS */
|
494 |
|
|
|
495 |
|
|
|
496 |
|
|
#endif /* C style interface */
|
497 |
|
|
|
498 |
|
|
|
499 |
|
|
|
500 |
|
|
HRESULT STDMETHODCALLTYPE IMediaParams_GetParam_Proxy(
|
501 |
|
|
IMediaParams * This,
|
502 |
|
|
/* [in] */ DWORD dwParamIndex,
|
503 |
|
|
/* [out] */ MP_DATA *pValue);
|
504 |
|
|
|
505 |
|
|
|
506 |
|
|
void __RPC_STUB IMediaParams_GetParam_Stub(
|
507 |
|
|
IRpcStubBuffer *This,
|
508 |
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
509 |
|
|
PRPC_MESSAGE _pRpcMessage,
|
510 |
|
|
DWORD *_pdwStubPhase);
|
511 |
|
|
|
512 |
|
|
|
513 |
|
|
HRESULT STDMETHODCALLTYPE IMediaParams_SetParam_Proxy(
|
514 |
|
|
IMediaParams * This,
|
515 |
|
|
/* [in] */ DWORD dwParamIndex,
|
516 |
|
|
/* [in] */ MP_DATA value);
|
517 |
|
|
|
518 |
|
|
|
519 |
|
|
void __RPC_STUB IMediaParams_SetParam_Stub(
|
520 |
|
|
IRpcStubBuffer *This,
|
521 |
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
522 |
|
|
PRPC_MESSAGE _pRpcMessage,
|
523 |
|
|
DWORD *_pdwStubPhase);
|
524 |
|
|
|
525 |
|
|
|
526 |
|
|
HRESULT STDMETHODCALLTYPE IMediaParams_AddEnvelope_Proxy(
|
527 |
|
|
IMediaParams * This,
|
528 |
|
|
/* [in] */ DWORD dwParamIndex,
|
529 |
|
|
/* [in] */ DWORD cSegments,
|
530 |
|
|
/* [in] */ MP_ENVELOPE_SEGMENT *pEnvelopeSegments);
|
531 |
|
|
|
532 |
|
|
|
533 |
|
|
void __RPC_STUB IMediaParams_AddEnvelope_Stub(
|
534 |
|
|
IRpcStubBuffer *This,
|
535 |
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
536 |
|
|
PRPC_MESSAGE _pRpcMessage,
|
537 |
|
|
DWORD *_pdwStubPhase);
|
538 |
|
|
|
539 |
|
|
|
540 |
|
|
HRESULT STDMETHODCALLTYPE IMediaParams_FlushEnvelope_Proxy(
|
541 |
|
|
IMediaParams * This,
|
542 |
|
|
/* [in] */ DWORD dwParamIndex,
|
543 |
|
|
/* [in] */ REFERENCE_TIME refTimeStart,
|
544 |
|
|
/* [in] */ REFERENCE_TIME refTimeEnd);
|
545 |
|
|
|
546 |
|
|
|
547 |
|
|
void __RPC_STUB IMediaParams_FlushEnvelope_Stub(
|
548 |
|
|
IRpcStubBuffer *This,
|
549 |
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
550 |
|
|
PRPC_MESSAGE _pRpcMessage,
|
551 |
|
|
DWORD *_pdwStubPhase);
|
552 |
|
|
|
553 |
|
|
|
554 |
|
|
HRESULT STDMETHODCALLTYPE IMediaParams_SetTimeFormat_Proxy(
|
555 |
|
|
IMediaParams * This,
|
556 |
|
|
/* [in] */ GUID guidTimeFormat,
|
557 |
|
|
/* [in] */ MP_TIMEDATA mpTimeData);
|
558 |
|
|
|
559 |
|
|
|
560 |
|
|
void __RPC_STUB IMediaParams_SetTimeFormat_Stub(
|
561 |
|
|
IRpcStubBuffer *This,
|
562 |
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
563 |
|
|
PRPC_MESSAGE _pRpcMessage,
|
564 |
|
|
DWORD *_pdwStubPhase);
|
565 |
|
|
|
566 |
|
|
|
567 |
|
|
|
568 |
|
|
#endif /* __IMediaParams_INTERFACE_DEFINED__ */
|
569 |
|
|
|
570 |
|
|
|
571 |
|
|
/* Additional Prototypes for ALL interfaces */
|
572 |
|
|
|
573 |
|
|
/* end of Additional Prototypes */
|
574 |
|
|
|
575 |
|
|
#ifdef __cplusplus
|
576 |
|
|
}
|
577 |
|
|
#endif
|
578 |
|
|
|
579 |
|
|
#endif
|
580 |
|
|
|
581 |
|
|
|