Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenddstream.idl
Go to the documentation of this file.
00001 /* 00002 * Copyright 2004 Christian Costa 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation; either 00007 * version 2.1 of the License, or (at your option) any later version. 00008 * 00009 * This library is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Lesser General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public 00015 * License along with this library; if not, write to the Free Software 00016 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 00017 */ 00018 00019 import "unknwn.idl"; 00020 import "mmstream.idl"; 00021 00022 cpp_quote("#ifndef __DDRAW_INCLUDED__") 00023 typedef void * LPDDSURFACEDESC; 00024 typedef struct tDDSURFACEDESC DDSURFACEDESC; 00025 interface IDirectDraw; 00026 interface IDirectDrawSurface; 00027 interface IDirectDrawPalette; 00028 cpp_quote("#endif") 00029 cpp_quote("#include <ddraw.h>") 00030 00031 enum { 00032 DDSFF_PROGRESSIVERENDER = 0x00000001 00033 }; 00034 00035 interface IDirectDrawMediaStream; 00036 interface IDirectDrawStreamSample; 00037 00038 [ 00039 object, 00040 local, 00041 uuid(F4104FCE-9A70-11d0-8FDE-00C04FD9189D), 00042 pointer_default(unique) 00043 ] 00044 interface IDirectDrawMediaStream : IMediaStream 00045 { 00046 HRESULT GetFormat( 00047 [out] DDSURFACEDESC *pDDSDCurrent, 00048 [out] IDirectDrawPalette **ppDirectDrawPalette, 00049 [out] DDSURFACEDESC *pDDSDDesired, 00050 [out] DWORD *pdwFlags); 00051 00052 HRESULT SetFormat( 00053 [in] const DDSURFACEDESC *pDDSurfaceDesc, 00054 [in] IDirectDrawPalette *pDirectDrawPalette); 00055 00056 HRESULT GetDirectDraw( 00057 [out] IDirectDraw **ppDirectDraw); 00058 00059 HRESULT SetDirectDraw( 00060 [in] IDirectDraw *pDirectDraw); 00061 00062 HRESULT CreateSample( 00063 [in] IDirectDrawSurface *pSurface, 00064 [in] const RECT *pRect, 00065 [in] DWORD dwFlags, 00066 [out] IDirectDrawStreamSample **ppSample); 00067 00068 HRESULT GetTimePerFrame( 00069 [out] STREAM_TIME *pFrameTime); 00070 } 00071 00072 00073 [ 00074 object, 00075 local, 00076 uuid(F4104FCF-9A70-11d0-8FDE-00C04FD9189D), 00077 pointer_default(unique) 00078 ] 00079 interface IDirectDrawStreamSample : IStreamSample 00080 { 00081 HRESULT GetSurface( 00082 [out] IDirectDrawSurface ** ppDirectDrawSurface, 00083 [out] RECT * pRect); 00084 00085 HRESULT SetRect( 00086 [in] const RECT * pRect); 00087 00088 } Generated on Sat May 26 2012 04:29:16 for ReactOS by
1.7.6.1
|