Changeset 6649 for trunk/src/quartz/ifgraph.c
- Timestamp:
- Sep 5, 2001, 3:39:12 PM (24 years ago)
- File:
-
- 1 edited
-
trunk/src/quartz/ifgraph.c (modified) (23 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/quartz/ifgraph.c
r6578 r6649 1 /* $Id: ifgraph.c,v 1.3 2001-09-05 13:36:35 bird Exp $ */ 1 2 /* 2 3 * Implementation of IFilterGraph. … … 29 30 IFilterGraph2_fnQueryInterface(IFilterGraph2* iface,REFIID riid,void** ppobj) 30 31 { 31 CFilterGraph_THIS(iface,fgraph);32 33 TRACE("(%p)->()\n",This);34 35 return IUnknown_QueryInterface(This->unk.punkControl,riid,ppobj);32 CFilterGraph_THIS(iface,fgraph); 33 34 TRACE("(%p)->()\n",This); 35 36 return IUnknown_QueryInterface(This->unk.punkControl,riid,ppobj); 36 37 } 37 38 … … 39 40 IFilterGraph2_fnAddRef(IFilterGraph2* iface) 40 41 { 41 CFilterGraph_THIS(iface,fgraph);42 43 TRACE("(%p)->()\n",This);44 45 return IUnknown_AddRef(This->unk.punkControl);42 CFilterGraph_THIS(iface,fgraph); 43 44 TRACE("(%p)->()\n",This); 45 46 return IUnknown_AddRef(This->unk.punkControl); 46 47 } 47 48 … … 49 50 IFilterGraph2_fnRelease(IFilterGraph2* iface) 50 51 { 51 CFilterGraph_THIS(iface,fgraph);52 53 TRACE("(%p)->()\n",This);54 55 return IUnknown_Release(This->unk.punkControl);52 CFilterGraph_THIS(iface,fgraph); 53 54 TRACE("(%p)->()\n",This); 55 56 return IUnknown_Release(This->unk.punkControl); 56 57 } 57 58 … … 59 60 IFilterGraph2_fnAddFilter(IFilterGraph2* iface,IBaseFilter* pFilter, LPCWSTR pName) 60 61 { 61 CFilterGraph_THIS(iface,fgraph);62 63 FIXME( "(%p)->() stub!\n", This );64 return E_NOTIMPL;62 CFilterGraph_THIS(iface,fgraph); 63 64 FIXME( "(%p)->() stub!\n", This ); 65 return E_NOTIMPL; 65 66 } 66 67 … … 68 69 IFilterGraph2_fnRemoveFilter(IFilterGraph2* iface,IBaseFilter* pFilter) 69 70 { 70 CFilterGraph_THIS(iface,fgraph);71 72 FIXME( "(%p)->() stub!\n", This );73 return E_NOTIMPL;71 CFilterGraph_THIS(iface,fgraph); 72 73 FIXME( "(%p)->() stub!\n", This ); 74 return E_NOTIMPL; 74 75 } 75 76 … … 77 78 IFilterGraph2_fnEnumFilters(IFilterGraph2* iface,IEnumFilters** ppEnum) 78 79 { 79 CFilterGraph_THIS(iface,fgraph);80 81 FIXME( "(%p)->() stub!\n", This );82 return E_NOTIMPL;80 CFilterGraph_THIS(iface,fgraph); 81 82 FIXME( "(%p)->() stub!\n", This ); 83 return E_NOTIMPL; 83 84 } 84 85 … … 86 87 IFilterGraph2_fnFindFilterByName(IFilterGraph2* iface,LPCWSTR pName,IBaseFilter** ppFilter) 87 88 { 88 CFilterGraph_THIS(iface,fgraph);89 90 FIXME( "(%p)->() stub!\n", This );91 return E_NOTIMPL;89 CFilterGraph_THIS(iface,fgraph); 90 91 FIXME( "(%p)->() stub!\n", This ); 92 return E_NOTIMPL; 92 93 } 93 94 … … 95 96 IFilterGraph2_fnConnectDirect(IFilterGraph2* iface,IPin* pOut,IPin* pIn,const AM_MEDIA_TYPE* pmt) 96 97 { 97 CFilterGraph_THIS(iface,fgraph);98 99 FIXME( "(%p)->() stub!\n", This );100 return E_NOTIMPL;98 CFilterGraph_THIS(iface,fgraph); 99 100 FIXME( "(%p)->() stub!\n", This ); 101 return E_NOTIMPL; 101 102 } 102 103 … … 104 105 IFilterGraph2_fnReconnect(IFilterGraph2* iface,IPin* pPin) 105 106 { 106 CFilterGraph_THIS(iface,fgraph);107 108 FIXME( "(%p)->() stub!\n", This );109 return E_NOTIMPL;107 CFilterGraph_THIS(iface,fgraph); 108 109 FIXME( "(%p)->() stub!\n", This ); 110 return E_NOTIMPL; 110 111 } 111 112 … … 113 114 IFilterGraph2_fnDisconnect(IFilterGraph2* iface,IPin* pPin) 114 115 { 115 CFilterGraph_THIS(iface,fgraph);116 117 FIXME( "(%p)->() stub!\n", This );118 return E_NOTIMPL;116 CFilterGraph_THIS(iface,fgraph); 117 118 FIXME( "(%p)->() stub!\n", This ); 119 return E_NOTIMPL; 119 120 } 120 121 … … 122 123 IFilterGraph2_fnSetDefaultSyncSource(IFilterGraph2* iface) 123 124 { 124 CFilterGraph_THIS(iface,fgraph);125 126 FIXME( "(%p)->() stub!\n", This );127 return E_NOTIMPL;125 CFilterGraph_THIS(iface,fgraph); 126 127 FIXME( "(%p)->() stub!\n", This ); 128 return E_NOTIMPL; 128 129 } 129 130 … … 131 132 IFilterGraph2_fnConnect(IFilterGraph2* iface,IPin* pOut,IPin* pIn) 132 133 { 133 CFilterGraph_THIS(iface,fgraph);134 135 FIXME( "(%p)->() stub!\n", This );136 return E_NOTIMPL;134 CFilterGraph_THIS(iface,fgraph); 135 136 FIXME( "(%p)->() stub!\n", This ); 137 return E_NOTIMPL; 137 138 } 138 139 … … 140 141 IFilterGraph2_fnRender(IFilterGraph2* iface,IPin* pOut) 141 142 { 142 CFilterGraph_THIS(iface,fgraph);143 144 FIXME( "(%p)->() stub!\n", This );145 return E_NOTIMPL;143 CFilterGraph_THIS(iface,fgraph); 144 145 FIXME( "(%p)->() stub!\n", This ); 146 return E_NOTIMPL; 146 147 } 147 148 … … 149 150 IFilterGraph2_fnRenderFile(IFilterGraph2* iface,LPCWSTR lpFileName,LPCWSTR lpPlayList) 150 151 { 151 CFilterGraph_THIS(iface,fgraph);152 153 FIXME( "(%p)->() stub!\n", This );154 return E_NOTIMPL;152 CFilterGraph_THIS(iface,fgraph); 153 154 FIXME( "(%p)->() stub!\n", This ); 155 return E_NOTIMPL; 155 156 } 156 157 … … 158 159 IFilterGraph2_fnAddSourceFilter(IFilterGraph2* iface,LPCWSTR lpFileName,LPCWSTR lpFilterName,IBaseFilter** ppBaseFilter) 159 160 { 160 CFilterGraph_THIS(iface,fgraph);161 162 FIXME( "(%p)->() stub!\n", This );163 return E_NOTIMPL;161 CFilterGraph_THIS(iface,fgraph); 162 163 FIXME( "(%p)->() stub!\n", This ); 164 return E_NOTIMPL; 164 165 } 165 166 … … 167 168 IFilterGraph2_fnSetLogFile(IFilterGraph2* iface,DWORD_PTR hFile) 168 169 { 169 CFilterGraph_THIS(iface,fgraph);170 171 FIXME( "(%p)->() stub!\n", This );172 return E_NOTIMPL;170 CFilterGraph_THIS(iface,fgraph); 171 172 FIXME( "(%p)->() stub!\n", This ); 173 return E_NOTIMPL; 173 174 } 174 175 … … 176 177 IFilterGraph2_fnAbort(IFilterGraph2* iface) 177 178 { 178 CFilterGraph_THIS(iface,fgraph);179 180 /* undoc. */181 182 FIXME( "(%p)->() stub!\n", This );183 return E_NOTIMPL;179 CFilterGraph_THIS(iface,fgraph); 180 181 /* undoc. */ 182 183 FIXME( "(%p)->() stub!\n", This ); 184 return E_NOTIMPL; 184 185 } 185 186 … … 187 188 IFilterGraph2_fnShouldOperationContinue(IFilterGraph2* iface) 188 189 { 189 CFilterGraph_THIS(iface,fgraph);190 191 /* undoc. */192 193 FIXME( "(%p)->() stub!\n", This );194 return E_NOTIMPL;190 CFilterGraph_THIS(iface,fgraph); 191 192 /* undoc. */ 193 194 FIXME( "(%p)->() stub!\n", This ); 195 return E_NOTIMPL; 195 196 } 196 197 … … 198 199 IFilterGraph2_fnAddSourceFilterForMoniker(IFilterGraph2* iface,IMoniker* pMon,IBindCtx* pCtx,LPCWSTR pFilterName,IBaseFilter** ppFilter) 199 200 { 200 CFilterGraph_THIS(iface,fgraph);201 202 FIXME( "(%p)->() stub!\n", This );203 return E_NOTIMPL;201 CFilterGraph_THIS(iface,fgraph); 202 203 FIXME( "(%p)->() stub!\n", This ); 204 return E_NOTIMPL; 204 205 } 205 206 … … 207 208 IFilterGraph2_fnReconnectEx(IFilterGraph2* iface,IPin* pPin,const AM_MEDIA_TYPE* pmt) 208 209 { 209 CFilterGraph_THIS(iface,fgraph);210 211 FIXME( "(%p)->() stub!\n", This );212 return E_NOTIMPL;210 CFilterGraph_THIS(iface,fgraph); 211 212 FIXME( "(%p)->() stub!\n", This ); 213 return E_NOTIMPL; 213 214 } 214 215 … … 216 217 IFilterGraph2_fnRenderEx(IFilterGraph2* iface,IPin* pPin,DWORD dwParam1,DWORD* pdwParam2) 217 218 { 218 CFilterGraph_THIS(iface,fgraph);219 220 /* undoc. */221 FIXME( "(%p)->() stub!\n", This );222 return E_NOTIMPL;219 CFilterGraph_THIS(iface,fgraph); 220 221 /* undoc. */ 222 FIXME( "(%p)->() stub!\n", This ); 223 return E_NOTIMPL; 223 224 } 224 225 … … 228 229 static ICOM_VTABLE(IFilterGraph2) ifgraph = 229 230 { 230 ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE231 /* IUnknown fields */232 IFilterGraph2_fnQueryInterface,233 IFilterGraph2_fnAddRef,234 IFilterGraph2_fnRelease,235 /* IFilterGraph fields */236 IFilterGraph2_fnAddFilter,237 IFilterGraph2_fnRemoveFilter,238 IFilterGraph2_fnEnumFilters,239 IFilterGraph2_fnFindFilterByName,240 IFilterGraph2_fnConnectDirect,241 IFilterGraph2_fnReconnect,242 IFilterGraph2_fnDisconnect,243 IFilterGraph2_fnSetDefaultSyncSource,244 /* IGraphBuilder fields */245 IFilterGraph2_fnConnect,246 IFilterGraph2_fnRender,247 IFilterGraph2_fnRenderFile,248 IFilterGraph2_fnAddSourceFilter,249 IFilterGraph2_fnSetLogFile,250 IFilterGraph2_fnAbort,251 IFilterGraph2_fnShouldOperationContinue,252 /* IFilterGraph2 fields */253 IFilterGraph2_fnAddSourceFilterForMoniker,254 IFilterGraph2_fnReconnectEx,255 IFilterGraph2_fnRenderEx,231 ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE 232 /* IUnknown fields */ 233 IFilterGraph2_fnQueryInterface, 234 IFilterGraph2_fnAddRef, 235 IFilterGraph2_fnRelease, 236 /* IFilterGraph fields */ 237 IFilterGraph2_fnAddFilter, 238 IFilterGraph2_fnRemoveFilter, 239 IFilterGraph2_fnEnumFilters, 240 IFilterGraph2_fnFindFilterByName, 241 IFilterGraph2_fnConnectDirect, 242 IFilterGraph2_fnReconnect, 243 IFilterGraph2_fnDisconnect, 244 IFilterGraph2_fnSetDefaultSyncSource, 245 /* IGraphBuilder fields */ 246 IFilterGraph2_fnConnect, 247 IFilterGraph2_fnRender, 248 IFilterGraph2_fnRenderFile, 249 IFilterGraph2_fnAddSourceFilter, 250 IFilterGraph2_fnSetLogFile, 251 IFilterGraph2_fnAbort, 252 IFilterGraph2_fnShouldOperationContinue, 253 /* IFilterGraph2 fields */ 254 IFilterGraph2_fnAddSourceFilterForMoniker, 255 IFilterGraph2_fnReconnectEx, 256 IFilterGraph2_fnRenderEx, 256 257 }; 257 258 258 259 void CFilterGraph_InitIFilterGraph2( CFilterGraph* pfg ) 259 260 { 260 TRACE("(%p)\n",pfg);261 ICOM_VTBL(&pfg->fgraph) = &ifgraph;262 } 261 TRACE("(%p)\n",pfg); 262 ICOM_VTBL(&pfg->fgraph) = &ifgraph; 263 }
Note:
See TracChangeset
for help on using the changeset viewer.
