ReactOS  0.4.14-dev-317-g96040ec
ddstream.idl
Go to the documentation of this file.
1 /*
2  * Copyright 2004 Christian Costa
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18 
19 import "unknwn.idl";
20 import "mmstream.idl";
21 
22 cpp_quote("#ifndef __DDRAW_INCLUDED__")
23 typedef void * LPDDSURFACEDESC;
24 typedef struct tDDSURFACEDESC DDSURFACEDESC;
25 interface IDirectDraw;
26 interface IDirectDrawSurface;
27 interface IDirectDrawPalette;
28 cpp_quote("#endif")
29 cpp_quote("#include <ddraw.h>")
30 
31 enum {
33 };
34 
35 interface IDirectDrawMediaStream;
36 interface IDirectDrawStreamSample;
37 
38 [
39 object,
40 local,
41 uuid(F4104FCE-9A70-11d0-8FDE-00C04FD9189D),
43 ]
45 {
47  [out] DDSURFACEDESC *pDDSDCurrent,
48  [out] IDirectDrawPalette **ppDirectDrawPalette,
49  [out] DDSURFACEDESC *pDDSDDesired,
50  [out] DWORD *pdwFlags);
51 
53  [in] const DDSURFACEDESC *pDDSurfaceDesc,
54  [in] IDirectDrawPalette *pDirectDrawPalette);
55 
57  [out] IDirectDraw **ppDirectDraw);
58 
60  [in] IDirectDraw *pDirectDraw);
61 
63  [in] IDirectDrawSurface *pSurface,
64  [in] const RECT *pRect,
65  [in] DWORD dwFlags,
66  [out] IDirectDrawStreamSample **ppSample);
67 
69  [out] STREAM_TIME *pFrameTime);
70 }
71 
72 
73 [
74 object,
75 local,
76 uuid(F4104FCF-9A70-11d0-8FDE-00C04FD9189D),
78 ]
80 {
82  [out] IDirectDrawSurface ** ppDirectDrawSurface,
83  [out] RECT * pRect);
84 
86  [in] const RECT * pRect);
87 
88 }
LONGLONG STREAM_TIME
Definition: mmstream.idl:45
HRESULT SetDirectDraw([in] IDirectDraw *pDirectDraw)
HRESULT SetRect([in] const RECT *pRect)
coclass AMMultiMediaStream cpp_quote("DEFINE_GUID(CLSID_AMDirectDrawStream, 0x49c47ce4, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);") cpp_quote("DEFINE_GUID(CLSID_AMAudioStream
HRESULT GetSurface([out] IDirectDrawSurface **ppDirectDrawSurface, [out] RECT *pRect)
HRESULT SetFormat([in] const DDSURFACEDESC *pDDSurfaceDesc, [in] IDirectDrawPalette *pDirectDrawPalette)
HRESULT GetTimePerFrame([out] STREAM_TIME *pFrameTime)
HRESULT CreateSample([in] IDirectDrawSurface *pSurface, [in] const RECT *pRect, [in] DWORD dwFlags, [out] IDirectDrawStreamSample **ppSample)
_In_ DD_SURFACE_LOCAL * pSurface
Definition: winddi.h:3481
LONG HRESULT
Definition: typedefs.h:77
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
#define interface
Definition: basetyps.h:61
#define local
Definition: zutil.h:30
HRESULT GetFormat([out] DDSURFACEDESC *pDDSDCurrent, [out] IDirectDrawPalette **ppDirectDrawPalette, [out] DDSURFACEDESC *pDDSDDesired, [out] DWORD *pdwFlags)
GLuint in
Definition: glext.h:9616
static unsigned char pointer_default
Definition: parser.tab.c:114
HRESULT GetDirectDraw([out] IDirectDraw **ppDirectDraw)
void * object
Definition: jmemsys.h:48