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 ddstream.idl:
|
9 |
|
|
Oicf, W1, Zp8, env=Win32 (32b run)
|
10 |
|
|
protocol : dce , ms_ext, c_ext
|
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__ 440
|
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 __ddstream_h__
|
37 |
|
|
#define __ddstream_h__
|
38 |
|
|
|
39 |
|
|
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
|
40 |
|
|
#pragma once
|
41 |
|
|
#endif
|
42 |
|
|
|
43 |
|
|
/* Forward Declarations */
|
44 |
|
|
|
45 |
|
|
#ifndef __IDirectDrawMediaStream_FWD_DEFINED__
|
46 |
|
|
#define __IDirectDrawMediaStream_FWD_DEFINED__
|
47 |
|
|
typedef interface IDirectDrawMediaStream IDirectDrawMediaStream;
|
48 |
|
|
#endif /* __IDirectDrawMediaStream_FWD_DEFINED__ */
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
#ifndef __IDirectDrawStreamSample_FWD_DEFINED__
|
52 |
|
|
#define __IDirectDrawStreamSample_FWD_DEFINED__
|
53 |
|
|
typedef interface IDirectDrawStreamSample IDirectDrawStreamSample;
|
54 |
|
|
#endif /* __IDirectDrawStreamSample_FWD_DEFINED__ */
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
/* header files for imported files */
|
58 |
|
|
#include "unknwn.h"
|
59 |
|
|
#include "mmstream.h"
|
60 |
|
|
|
61 |
|
|
#ifdef __cplusplus
|
62 |
|
|
extern "C"{
|
63 |
|
|
#endif
|
64 |
|
|
|
65 |
|
|
void * __RPC_USER MIDL_user_allocate(size_t);
|
66 |
|
|
void __RPC_USER MIDL_user_free( void * );
|
67 |
|
|
|
68 |
|
|
/* interface __MIDL_itf_ddstream_0000 */
|
69 |
|
|
/* [local] */
|
70 |
|
|
|
71 |
|
|
//
|
72 |
|
|
// The following declarations within the 'if 0' block are dummy typedefs used to make
|
73 |
|
|
// the ddstream.idl file build. The actual definitions are contained in DDRAW.H
|
74 |
|
|
//
|
75 |
|
|
#if 0
|
76 |
|
|
typedef void *LPDDSURFACEDESC;
|
77 |
|
|
|
78 |
|
|
typedef struct tDDSURFACEDESC DDSURFACEDESC;
|
79 |
|
|
|
80 |
|
|
#endif
|
81 |
|
|
#include <ddraw.h>
|
82 |
|
|
|
83 |
|
|
enum __MIDL___MIDL_itf_ddstream_0000_0001
|
84 |
|
|
{ DDSFF_PROGRESSIVERENDER = 0x1
|
85 |
|
|
} ;
|
86 |
|
|
|
87 |
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
|
|
|
91 |
|
|
|
92 |
|
|
|
93 |
|
|
extern RPC_IF_HANDLE __MIDL_itf_ddstream_0000_v0_0_c_ifspec;
|
94 |
|
|
extern RPC_IF_HANDLE __MIDL_itf_ddstream_0000_v0_0_s_ifspec;
|
95 |
|
|
|
96 |
|
|
#ifndef __IDirectDrawMediaStream_INTERFACE_DEFINED__
|
97 |
|
|
#define __IDirectDrawMediaStream_INTERFACE_DEFINED__
|
98 |
|
|
|
99 |
|
|
/* interface IDirectDrawMediaStream */
|
100 |
|
|
/* [unique][uuid][local][object] */
|
101 |
|
|
|
102 |
|
|
|
103 |
|
|
EXTERN_C const IID IID_IDirectDrawMediaStream;
|
104 |
|
|
|
105 |
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
106 |
|
|
|
107 |
|
|
MIDL_INTERFACE("F4104FCE-9A70-11d0-8FDE-00C04FD9189D")
|
108 |
|
|
IDirectDrawMediaStream : public IMediaStream
|
109 |
|
|
{
|
110 |
|
|
public:
|
111 |
|
|
virtual HRESULT STDMETHODCALLTYPE GetFormat(
|
112 |
|
|
/* [out] */ DDSURFACEDESC *pDDSDCurrent,
|
113 |
|
|
/* [out] */ IDirectDrawPalette **ppDirectDrawPalette,
|
114 |
|
|
/* [out] */ DDSURFACEDESC *pDDSDDesired,
|
115 |
|
|
/* [out] */ DWORD *pdwFlags) = 0;
|
116 |
|
|
|
117 |
|
|
virtual HRESULT STDMETHODCALLTYPE SetFormat(
|
118 |
|
|
/* [in] */ const DDSURFACEDESC *pDDSurfaceDesc,
|
119 |
|
|
/* [in] */ IDirectDrawPalette *pDirectDrawPalette) = 0;
|
120 |
|
|
|
121 |
|
|
virtual HRESULT STDMETHODCALLTYPE GetDirectDraw(
|
122 |
|
|
/* [out] */ IDirectDraw **ppDirectDraw) = 0;
|
123 |
|
|
|
124 |
|
|
virtual HRESULT STDMETHODCALLTYPE SetDirectDraw(
|
125 |
|
|
/* [in] */ IDirectDraw *pDirectDraw) = 0;
|
126 |
|
|
|
127 |
|
|
virtual HRESULT STDMETHODCALLTYPE CreateSample(
|
128 |
|
|
/* [in] */ IDirectDrawSurface *pSurface,
|
129 |
|
|
/* [in] */ const RECT *pRect,
|
130 |
|
|
/* [in] */ DWORD dwFlags,
|
131 |
|
|
/* [out] */ IDirectDrawStreamSample **ppSample) = 0;
|
132 |
|
|
|
133 |
|
|
virtual HRESULT STDMETHODCALLTYPE GetTimePerFrame(
|
134 |
|
|
/* [out] */ STREAM_TIME *pFrameTime) = 0;
|
135 |
|
|
|
136 |
|
|
};
|
137 |
|
|
|
138 |
|
|
#else /* C style interface */
|
139 |
|
|
|
140 |
|
|
typedef struct IDirectDrawMediaStreamVtbl
|
141 |
|
|
{
|
142 |
|
|
BEGIN_INTERFACE
|
143 |
|
|
|
144 |
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
145 |
|
|
IDirectDrawMediaStream * This,
|
146 |
|
|
/* [in] */ REFIID riid,
|
147 |
|
|
/* [iid_is][out] */ void **ppvObject);
|
148 |
|
|
|
149 |
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
150 |
|
|
IDirectDrawMediaStream * This);
|
151 |
|
|
|
152 |
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
153 |
|
|
IDirectDrawMediaStream * This);
|
154 |
|
|
|
155 |
|
|
HRESULT ( STDMETHODCALLTYPE *GetMultiMediaStream )(
|
156 |
|
|
IDirectDrawMediaStream * This,
|
157 |
|
|
/* [out] */ IMultiMediaStream **ppMultiMediaStream);
|
158 |
|
|
|
159 |
|
|
HRESULT ( STDMETHODCALLTYPE *GetInformation )(
|
160 |
|
|
IDirectDrawMediaStream * This,
|
161 |
|
|
/* [out] */ MSPID *pPurposeId,
|
162 |
|
|
/* [out] */ STREAM_TYPE *pType);
|
163 |
|
|
|
164 |
|
|
HRESULT ( STDMETHODCALLTYPE *SetSameFormat )(
|
165 |
|
|
IDirectDrawMediaStream * This,
|
166 |
|
|
/* [in] */ IMediaStream *pStreamThatHasDesiredFormat,
|
167 |
|
|
/* [in] */ DWORD dwFlags);
|
168 |
|
|
|
169 |
|
|
HRESULT ( STDMETHODCALLTYPE *AllocateSample )(
|
170 |
|
|
IDirectDrawMediaStream * This,
|
171 |
|
|
/* [in] */ DWORD dwFlags,
|
172 |
|
|
/* [out] */ IStreamSample **ppSample);
|
173 |
|
|
|
174 |
|
|
HRESULT ( STDMETHODCALLTYPE *CreateSharedSample )(
|
175 |
|
|
IDirectDrawMediaStream * This,
|
176 |
|
|
/* [in] */ IStreamSample *pExistingSample,
|
177 |
|
|
/* [in] */ DWORD dwFlags,
|
178 |
|
|
/* [out] */ IStreamSample **ppNewSample);
|
179 |
|
|
|
180 |
|
|
HRESULT ( STDMETHODCALLTYPE *SendEndOfStream )(
|
181 |
|
|
IDirectDrawMediaStream * This,
|
182 |
|
|
DWORD dwFlags);
|
183 |
|
|
|
184 |
|
|
HRESULT ( STDMETHODCALLTYPE *GetFormat )(
|
185 |
|
|
IDirectDrawMediaStream * This,
|
186 |
|
|
/* [out] */ DDSURFACEDESC *pDDSDCurrent,
|
187 |
|
|
/* [out] */ IDirectDrawPalette **ppDirectDrawPalette,
|
188 |
|
|
/* [out] */ DDSURFACEDESC *pDDSDDesired,
|
189 |
|
|
/* [out] */ DWORD *pdwFlags);
|
190 |
|
|
|
191 |
|
|
HRESULT ( STDMETHODCALLTYPE *SetFormat )(
|
192 |
|
|
IDirectDrawMediaStream * This,
|
193 |
|
|
/* [in] */ const DDSURFACEDESC *pDDSurfaceDesc,
|
194 |
|
|
/* [in] */ IDirectDrawPalette *pDirectDrawPalette);
|
195 |
|
|
|
196 |
|
|
HRESULT ( STDMETHODCALLTYPE *GetDirectDraw )(
|
197 |
|
|
IDirectDrawMediaStream * This,
|
198 |
|
|
/* [out] */ IDirectDraw **ppDirectDraw);
|
199 |
|
|
|
200 |
|
|
HRESULT ( STDMETHODCALLTYPE *SetDirectDraw )(
|
201 |
|
|
IDirectDrawMediaStream * This,
|
202 |
|
|
/* [in] */ IDirectDraw *pDirectDraw);
|
203 |
|
|
|
204 |
|
|
HRESULT ( STDMETHODCALLTYPE *CreateSample )(
|
205 |
|
|
IDirectDrawMediaStream * This,
|
206 |
|
|
/* [in] */ IDirectDrawSurface *pSurface,
|
207 |
|
|
/* [in] */ const RECT *pRect,
|
208 |
|
|
/* [in] */ DWORD dwFlags,
|
209 |
|
|
/* [out] */ IDirectDrawStreamSample **ppSample);
|
210 |
|
|
|
211 |
|
|
HRESULT ( STDMETHODCALLTYPE *GetTimePerFrame )(
|
212 |
|
|
IDirectDrawMediaStream * This,
|
213 |
|
|
/* [out] */ STREAM_TIME *pFrameTime);
|
214 |
|
|
|
215 |
|
|
END_INTERFACE
|
216 |
|
|
} IDirectDrawMediaStreamVtbl;
|
217 |
|
|
|
218 |
|
|
interface IDirectDrawMediaStream
|
219 |
|
|
{
|
220 |
|
|
CONST_VTBL struct IDirectDrawMediaStreamVtbl *lpVtbl;
|
221 |
|
|
};
|
222 |
|
|
|
223 |
|
|
|
224 |
|
|
|
225 |
|
|
#ifdef COBJMACROS
|
226 |
|
|
|
227 |
|
|
|
228 |
|
|
#define IDirectDrawMediaStream_QueryInterface(This,riid,ppvObject) \
|
229 |
|
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
230 |
|
|
|
231 |
|
|
#define IDirectDrawMediaStream_AddRef(This) \
|
232 |
|
|
(This)->lpVtbl -> AddRef(This)
|
233 |
|
|
|
234 |
|
|
#define IDirectDrawMediaStream_Release(This) \
|
235 |
|
|
(This)->lpVtbl -> Release(This)
|
236 |
|
|
|
237 |
|
|
|
238 |
|
|
#define IDirectDrawMediaStream_GetMultiMediaStream(This,ppMultiMediaStream) \
|
239 |
|
|
(This)->lpVtbl -> GetMultiMediaStream(This,ppMultiMediaStream)
|
240 |
|
|
|
241 |
|
|
#define IDirectDrawMediaStream_GetInformation(This,pPurposeId,pType) \
|
242 |
|
|
(This)->lpVtbl -> GetInformation(This,pPurposeId,pType)
|
243 |
|
|
|
244 |
|
|
#define IDirectDrawMediaStream_SetSameFormat(This,pStreamThatHasDesiredFormat,dwFlags) \
|
245 |
|
|
(This)->lpVtbl -> SetSameFormat(This,pStreamThatHasDesiredFormat,dwFlags)
|
246 |
|
|
|
247 |
|
|
#define IDirectDrawMediaStream_AllocateSample(This,dwFlags,ppSample) \
|
248 |
|
|
(This)->lpVtbl -> AllocateSample(This,dwFlags,ppSample)
|
249 |
|
|
|
250 |
|
|
#define IDirectDrawMediaStream_CreateSharedSample(This,pExistingSample,dwFlags,ppNewSample) \
|
251 |
|
|
(This)->lpVtbl -> CreateSharedSample(This,pExistingSample,dwFlags,ppNewSample)
|
252 |
|
|
|
253 |
|
|
#define IDirectDrawMediaStream_SendEndOfStream(This,dwFlags) \
|
254 |
|
|
(This)->lpVtbl -> SendEndOfStream(This,dwFlags)
|
255 |
|
|
|
256 |
|
|
|
257 |
|
|
#define IDirectDrawMediaStream_GetFormat(This,pDDSDCurrent,ppDirectDrawPalette,pDDSDDesired,pdwFlags) \
|
258 |
|
|
(This)->lpVtbl -> GetFormat(This,pDDSDCurrent,ppDirectDrawPalette,pDDSDDesired,pdwFlags)
|
259 |
|
|
|
260 |
|
|
#define IDirectDrawMediaStream_SetFormat(This,pDDSurfaceDesc,pDirectDrawPalette) \
|
261 |
|
|
(This)->lpVtbl -> SetFormat(This,pDDSurfaceDesc,pDirectDrawPalette)
|
262 |
|
|
|
263 |
|
|
#define IDirectDrawMediaStream_GetDirectDraw(This,ppDirectDraw) \
|
264 |
|
|
(This)->lpVtbl -> GetDirectDraw(This,ppDirectDraw)
|
265 |
|
|
|
266 |
|
|
#define IDirectDrawMediaStream_SetDirectDraw(This,pDirectDraw) \
|
267 |
|
|
(This)->lpVtbl -> SetDirectDraw(This,pDirectDraw)
|
268 |
|
|
|
269 |
|
|
#define IDirectDrawMediaStream_CreateSample(This,pSurface,pRect,dwFlags,ppSample) \
|
270 |
|
|
(This)->lpVtbl -> CreateSample(This,pSurface,pRect,dwFlags,ppSample)
|
271 |
|
|
|
272 |
|
|
#define IDirectDrawMediaStream_GetTimePerFrame(This,pFrameTime) \
|
273 |
|
|
(This)->lpVtbl -> GetTimePerFrame(This,pFrameTime)
|
274 |
|
|
|
275 |
|
|
#endif /* COBJMACROS */
|
276 |
|
|
|
277 |
|
|
|
278 |
|
|
#endif /* C style interface */
|
279 |
|
|
|
280 |
|
|
|
281 |
|
|
|
282 |
|
|
HRESULT STDMETHODCALLTYPE IDirectDrawMediaStream_GetFormat_Proxy(
|
283 |
|
|
IDirectDrawMediaStream * This,
|
284 |
|
|
/* [out] */ DDSURFACEDESC *pDDSDCurrent,
|
285 |
|
|
/* [out] */ IDirectDrawPalette **ppDirectDrawPalette,
|
286 |
|
|
/* [out] */ DDSURFACEDESC *pDDSDDesired,
|
287 |
|
|
/* [out] */ DWORD *pdwFlags);
|
288 |
|
|
|
289 |
|
|
|
290 |
|
|
void __RPC_STUB IDirectDrawMediaStream_GetFormat_Stub(
|
291 |
|
|
IRpcStubBuffer *This,
|
292 |
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
293 |
|
|
PRPC_MESSAGE _pRpcMessage,
|
294 |
|
|
DWORD *_pdwStubPhase);
|
295 |
|
|
|
296 |
|
|
|
297 |
|
|
HRESULT STDMETHODCALLTYPE IDirectDrawMediaStream_SetFormat_Proxy(
|
298 |
|
|
IDirectDrawMediaStream * This,
|
299 |
|
|
/* [in] */ const DDSURFACEDESC *pDDSurfaceDesc,
|
300 |
|
|
/* [in] */ IDirectDrawPalette *pDirectDrawPalette);
|
301 |
|
|
|
302 |
|
|
|
303 |
|
|
void __RPC_STUB IDirectDrawMediaStream_SetFormat_Stub(
|
304 |
|
|
IRpcStubBuffer *This,
|
305 |
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
306 |
|
|
PRPC_MESSAGE _pRpcMessage,
|
307 |
|
|
DWORD *_pdwStubPhase);
|
308 |
|
|
|
309 |
|
|
|
310 |
|
|
HRESULT STDMETHODCALLTYPE IDirectDrawMediaStream_GetDirectDraw_Proxy(
|
311 |
|
|
IDirectDrawMediaStream * This,
|
312 |
|
|
/* [out] */ IDirectDraw **ppDirectDraw);
|
313 |
|
|
|
314 |
|
|
|
315 |
|
|
void __RPC_STUB IDirectDrawMediaStream_GetDirectDraw_Stub(
|
316 |
|
|
IRpcStubBuffer *This,
|
317 |
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
318 |
|
|
PRPC_MESSAGE _pRpcMessage,
|
319 |
|
|
DWORD *_pdwStubPhase);
|
320 |
|
|
|
321 |
|
|
|
322 |
|
|
HRESULT STDMETHODCALLTYPE IDirectDrawMediaStream_SetDirectDraw_Proxy(
|
323 |
|
|
IDirectDrawMediaStream * This,
|
324 |
|
|
/* [in] */ IDirectDraw *pDirectDraw);
|
325 |
|
|
|
326 |
|
|
|
327 |
|
|
void __RPC_STUB IDirectDrawMediaStream_SetDirectDraw_Stub(
|
328 |
|
|
IRpcStubBuffer *This,
|
329 |
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
330 |
|
|
PRPC_MESSAGE _pRpcMessage,
|
331 |
|
|
DWORD *_pdwStubPhase);
|
332 |
|
|
|
333 |
|
|
|
334 |
|
|
HRESULT STDMETHODCALLTYPE IDirectDrawMediaStream_CreateSample_Proxy(
|
335 |
|
|
IDirectDrawMediaStream * This,
|
336 |
|
|
/* [in] */ IDirectDrawSurface *pSurface,
|
337 |
|
|
/* [in] */ const RECT *pRect,
|
338 |
|
|
/* [in] */ DWORD dwFlags,
|
339 |
|
|
/* [out] */ IDirectDrawStreamSample **ppSample);
|
340 |
|
|
|
341 |
|
|
|
342 |
|
|
void __RPC_STUB IDirectDrawMediaStream_CreateSample_Stub(
|
343 |
|
|
IRpcStubBuffer *This,
|
344 |
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
345 |
|
|
PRPC_MESSAGE _pRpcMessage,
|
346 |
|
|
DWORD *_pdwStubPhase);
|
347 |
|
|
|
348 |
|
|
|
349 |
|
|
HRESULT STDMETHODCALLTYPE IDirectDrawMediaStream_GetTimePerFrame_Proxy(
|
350 |
|
|
IDirectDrawMediaStream * This,
|
351 |
|
|
/* [out] */ STREAM_TIME *pFrameTime);
|
352 |
|
|
|
353 |
|
|
|
354 |
|
|
void __RPC_STUB IDirectDrawMediaStream_GetTimePerFrame_Stub(
|
355 |
|
|
IRpcStubBuffer *This,
|
356 |
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
357 |
|
|
PRPC_MESSAGE _pRpcMessage,
|
358 |
|
|
DWORD *_pdwStubPhase);
|
359 |
|
|
|
360 |
|
|
|
361 |
|
|
|
362 |
|
|
#endif /* __IDirectDrawMediaStream_INTERFACE_DEFINED__ */
|
363 |
|
|
|
364 |
|
|
|
365 |
|
|
#ifndef __IDirectDrawStreamSample_INTERFACE_DEFINED__
|
366 |
|
|
#define __IDirectDrawStreamSample_INTERFACE_DEFINED__
|
367 |
|
|
|
368 |
|
|
/* interface IDirectDrawStreamSample */
|
369 |
|
|
/* [unique][uuid][local][object] */
|
370 |
|
|
|
371 |
|
|
|
372 |
|
|
EXTERN_C const IID IID_IDirectDrawStreamSample;
|
373 |
|
|
|
374 |
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
375 |
|
|
|
376 |
|
|
MIDL_INTERFACE("F4104FCF-9A70-11d0-8FDE-00C04FD9189D")
|
377 |
|
|
IDirectDrawStreamSample : public IStreamSample
|
378 |
|
|
{
|
379 |
|
|
public:
|
380 |
|
|
virtual HRESULT STDMETHODCALLTYPE GetSurface(
|
381 |
|
|
/* [out] */ IDirectDrawSurface **ppDirectDrawSurface,
|
382 |
|
|
/* [out] */ RECT *pRect) = 0;
|
383 |
|
|
|
384 |
|
|
virtual HRESULT STDMETHODCALLTYPE SetRect(
|
385 |
|
|
/* [in] */ const RECT *pRect) = 0;
|
386 |
|
|
|
387 |
|
|
};
|
388 |
|
|
|
389 |
|
|
#else /* C style interface */
|
390 |
|
|
|
391 |
|
|
typedef struct IDirectDrawStreamSampleVtbl
|
392 |
|
|
{
|
393 |
|
|
BEGIN_INTERFACE
|
394 |
|
|
|
395 |
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
396 |
|
|
IDirectDrawStreamSample * This,
|
397 |
|
|
/* [in] */ REFIID riid,
|
398 |
|
|
/* [iid_is][out] */ void **ppvObject);
|
399 |
|
|
|
400 |
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
401 |
|
|
IDirectDrawStreamSample * This);
|
402 |
|
|
|
403 |
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
404 |
|
|
IDirectDrawStreamSample * This);
|
405 |
|
|
|
406 |
|
|
HRESULT ( STDMETHODCALLTYPE *GetMediaStream )(
|
407 |
|
|
IDirectDrawStreamSample * This,
|
408 |
|
|
/* [in] */ IMediaStream **ppMediaStream);
|
409 |
|
|
|
410 |
|
|
HRESULT ( STDMETHODCALLTYPE *GetSampleTimes )(
|
411 |
|
|
IDirectDrawStreamSample * This,
|
412 |
|
|
/* [out] */ STREAM_TIME *pStartTime,
|
413 |
|
|
/* [out] */ STREAM_TIME *pEndTime,
|
414 |
|
|
/* [out] */ STREAM_TIME *pCurrentTime);
|
415 |
|
|
|
416 |
|
|
HRESULT ( STDMETHODCALLTYPE *SetSampleTimes )(
|
417 |
|
|
IDirectDrawStreamSample * This,
|
418 |
|
|
/* [in] */ const STREAM_TIME *pStartTime,
|
419 |
|
|
/* [in] */ const STREAM_TIME *pEndTime);
|
420 |
|
|
|
421 |
|
|
HRESULT ( STDMETHODCALLTYPE *Update )(
|
422 |
|
|
IDirectDrawStreamSample * This,
|
423 |
|
|
/* [in] */ DWORD dwFlags,
|
424 |
|
|
/* [in] */ HANDLE hEvent,
|
425 |
|
|
/* [in] */ PAPCFUNC pfnAPC,
|
426 |
|
|
/* [in] */ DWORD_PTR dwAPCData);
|
427 |
|
|
|
428 |
|
|
HRESULT ( STDMETHODCALLTYPE *CompletionStatus )(
|
429 |
|
|
IDirectDrawStreamSample * This,
|
430 |
|
|
/* [in] */ DWORD dwFlags,
|
431 |
|
|
/* [in] */ DWORD dwMilliseconds);
|
432 |
|
|
|
433 |
|
|
HRESULT ( STDMETHODCALLTYPE *GetSurface )(
|
434 |
|
|
IDirectDrawStreamSample * This,
|
435 |
|
|
/* [out] */ IDirectDrawSurface **ppDirectDrawSurface,
|
436 |
|
|
/* [out] */ RECT *pRect);
|
437 |
|
|
|
438 |
|
|
HRESULT ( STDMETHODCALLTYPE *SetRect )(
|
439 |
|
|
IDirectDrawStreamSample * This,
|
440 |
|
|
/* [in] */ const RECT *pRect);
|
441 |
|
|
|
442 |
|
|
END_INTERFACE
|
443 |
|
|
} IDirectDrawStreamSampleVtbl;
|
444 |
|
|
|
445 |
|
|
interface IDirectDrawStreamSample
|
446 |
|
|
{
|
447 |
|
|
CONST_VTBL struct IDirectDrawStreamSampleVtbl *lpVtbl;
|
448 |
|
|
};
|
449 |
|
|
|
450 |
|
|
|
451 |
|
|
|
452 |
|
|
#ifdef COBJMACROS
|
453 |
|
|
|
454 |
|
|
|
455 |
|
|
#define IDirectDrawStreamSample_QueryInterface(This,riid,ppvObject) \
|
456 |
|
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
457 |
|
|
|
458 |
|
|
#define IDirectDrawStreamSample_AddRef(This) \
|
459 |
|
|
(This)->lpVtbl -> AddRef(This)
|
460 |
|
|
|
461 |
|
|
#define IDirectDrawStreamSample_Release(This) \
|
462 |
|
|
(This)->lpVtbl -> Release(This)
|
463 |
|
|
|
464 |
|
|
|
465 |
|
|
#define IDirectDrawStreamSample_GetMediaStream(This,ppMediaStream) \
|
466 |
|
|
(This)->lpVtbl -> GetMediaStream(This,ppMediaStream)
|
467 |
|
|
|
468 |
|
|
#define IDirectDrawStreamSample_GetSampleTimes(This,pStartTime,pEndTime,pCurrentTime) \
|
469 |
|
|
(This)->lpVtbl -> GetSampleTimes(This,pStartTime,pEndTime,pCurrentTime)
|
470 |
|
|
|
471 |
|
|
#define IDirectDrawStreamSample_SetSampleTimes(This,pStartTime,pEndTime) \
|
472 |
|
|
(This)->lpVtbl -> SetSampleTimes(This,pStartTime,pEndTime)
|
473 |
|
|
|
474 |
|
|
#define IDirectDrawStreamSample_Update(This,dwFlags,hEvent,pfnAPC,dwAPCData) \
|
475 |
|
|
(This)->lpVtbl -> Update(This,dwFlags,hEvent,pfnAPC,dwAPCData)
|
476 |
|
|
|
477 |
|
|
#define IDirectDrawStreamSample_CompletionStatus(This,dwFlags,dwMilliseconds) \
|
478 |
|
|
(This)->lpVtbl -> CompletionStatus(This,dwFlags,dwMilliseconds)
|
479 |
|
|
|
480 |
|
|
|
481 |
|
|
#define IDirectDrawStreamSample_GetSurface(This,ppDirectDrawSurface,pRect) \
|
482 |
|
|
(This)->lpVtbl -> GetSurface(This,ppDirectDrawSurface,pRect)
|
483 |
|
|
|
484 |
|
|
#define IDirectDrawStreamSample_SetRect(This,pRect) \
|
485 |
|
|
(This)->lpVtbl -> SetRect(This,pRect)
|
486 |
|
|
|
487 |
|
|
#endif /* COBJMACROS */
|
488 |
|
|
|
489 |
|
|
|
490 |
|
|
#endif /* C style interface */
|
491 |
|
|
|
492 |
|
|
|
493 |
|
|
|
494 |
|
|
HRESULT STDMETHODCALLTYPE IDirectDrawStreamSample_GetSurface_Proxy(
|
495 |
|
|
IDirectDrawStreamSample * This,
|
496 |
|
|
/* [out] */ IDirectDrawSurface **ppDirectDrawSurface,
|
497 |
|
|
/* [out] */ RECT *pRect);
|
498 |
|
|
|
499 |
|
|
|
500 |
|
|
void __RPC_STUB IDirectDrawStreamSample_GetSurface_Stub(
|
501 |
|
|
IRpcStubBuffer *This,
|
502 |
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
503 |
|
|
PRPC_MESSAGE _pRpcMessage,
|
504 |
|
|
DWORD *_pdwStubPhase);
|
505 |
|
|
|
506 |
|
|
|
507 |
|
|
HRESULT STDMETHODCALLTYPE IDirectDrawStreamSample_SetRect_Proxy(
|
508 |
|
|
IDirectDrawStreamSample * This,
|
509 |
|
|
/* [in] */ const RECT *pRect);
|
510 |
|
|
|
511 |
|
|
|
512 |
|
|
void __RPC_STUB IDirectDrawStreamSample_SetRect_Stub(
|
513 |
|
|
IRpcStubBuffer *This,
|
514 |
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
515 |
|
|
PRPC_MESSAGE _pRpcMessage,
|
516 |
|
|
DWORD *_pdwStubPhase);
|
517 |
|
|
|
518 |
|
|
|
519 |
|
|
|
520 |
|
|
#endif /* __IDirectDrawStreamSample_INTERFACE_DEFINED__ */
|
521 |
|
|
|
522 |
|
|
|
523 |
|
|
/* Additional Prototypes for ALL interfaces */
|
524 |
|
|
|
525 |
|
|
/* end of Additional Prototypes */
|
526 |
|
|
|
527 |
|
|
#ifdef __cplusplus
|
528 |
|
|
}
|
529 |
|
|
#endif
|
530 |
|
|
|
531 |
|
|
#endif
|
532 |
|
|
|
533 |
|
|
|