Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenqedit.idl
Go to the documentation of this file.
00001 /* 00002 * Copyright (C) 2008 Google (Lei Zhang) 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 "oaidl.idl"; 00020 import "ocidl.idl"; 00021 /* import "dxtrans.idl"; */ 00022 import "amstream.idl"; 00023 import "msxml.idl"; 00024 00025 [ 00026 object, 00027 uuid(0579154A-2B53-4994-B0D0-E773148EFF85), 00028 local, 00029 pointer_default(unique) 00030 ] 00031 interface ISampleGrabberCB : IUnknown 00032 { 00033 HRESULT SampleCB( 00034 double SampleTime, 00035 IMediaSample * pSample 00036 ); 00037 HRESULT BufferCB( 00038 double SampleTime, 00039 BYTE * pBuffer, 00040 LONG BufferLen 00041 ); 00042 } 00043 00044 [ 00045 object, 00046 uuid(6B652FFF-11FE-4fce-92AD-0266B5D7C78F), 00047 local, 00048 pointer_default(unique) 00049 ] 00050 interface ISampleGrabber: IUnknown 00051 { 00052 HRESULT SetOneShot( 00053 BOOL OneShot 00054 ); 00055 00056 HRESULT SetMediaType( 00057 const AM_MEDIA_TYPE * pType 00058 ); 00059 00060 HRESULT GetConnectedMediaType( 00061 AM_MEDIA_TYPE * pType 00062 ); 00063 00064 HRESULT SetBufferSamples( 00065 BOOL BufferThem 00066 ); 00067 00068 HRESULT GetCurrentBuffer( 00069 [in,out] LONG * pBufferSize, 00070 [out] LONG * pBuffer 00071 ); 00072 00073 HRESULT GetCurrentSample( 00074 [out] IMediaSample ** ppSample 00075 ); 00076 00077 HRESULT SetCallback( 00078 ISampleGrabberCB * pCallback, 00079 LONG WhichMethodToCallback 00080 ); 00081 }; 00082 00083 [ 00084 object, 00085 uuid(65bd0710-24d2-4FF7-9324-ed2e5d3abafa), 00086 pointer_default(unique) 00087 ] 00088 interface IMediaDet : IUnknown 00089 { 00090 HRESULT get_Filter( 00091 [out] IUnknown* *pVal 00092 ); 00093 00094 HRESULT put_Filter( 00095 IUnknown* newVal 00096 ); 00097 00098 HRESULT get_OutputStreams( 00099 [out] LONG *pVal 00100 ); 00101 00102 HRESULT get_CurrentStream( 00103 [out] LONG *pVal 00104 ); 00105 00106 HRESULT put_CurrentStream( 00107 LONG newVal 00108 ); 00109 00110 HRESULT get_StreamType( 00111 [out] GUID *pVal 00112 ); 00113 00114 HRESULT get_StreamTypeB( 00115 [out] BSTR *pVal 00116 ); 00117 00118 HRESULT get_StreamLength( 00119 [out] double *pVal 00120 ); 00121 00122 HRESULT get_Filename( 00123 [out] BSTR *pVal 00124 ); 00125 00126 HRESULT put_Filename( 00127 BSTR newVal 00128 ); 00129 00130 HRESULT GetBitmapBits( 00131 double StreamTime, 00132 LONG * pBufferSize, 00133 char * pBuffer, 00134 LONG Width, 00135 LONG Height 00136 ); 00137 00138 HRESULT WriteBitmapBits( 00139 double StreamTime, 00140 LONG Width, 00141 LONG Height, 00142 BSTR Filename 00143 ); 00144 00145 HRESULT get_StreamMediaType( 00146 [out] AM_MEDIA_TYPE * pVal 00147 ); 00148 00149 HRESULT GetSampleGrabber( 00150 [out] ISampleGrabber ** ppVal 00151 ); 00152 00153 HRESULT get_FrameRate( 00154 [out] double *pVal 00155 ); 00156 00157 HRESULT EnterBitmapGrabMode( 00158 double SeekTime 00159 ); 00160 }; 00161 00162 [ 00163 uuid(78530B68-61F9-11D2-8CAD-00A024580902), 00164 version(1.0), 00165 ] 00166 library DexterLib 00167 { 00168 [ 00169 uuid(65BD0711-24D2-4ff7-9324-ED2E5D3ABAFA), 00170 ] 00171 coclass MediaDet 00172 { 00173 [default] interface IMediaDet; 00174 }; 00175 }; Generated on Fri May 25 2012 04:29:14 for ReactOS by
1.7.6.1
|