Ignore:
Timestamp:
Sep 5, 2001, 3:39:12 PM (24 years ago)
Author:
bird
Message:

Added $Id:$ keyword.

File:
1 edited

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 $ */
    12/*
    23 * Implementation of IFilterGraph.
     
    2930IFilterGraph2_fnQueryInterface(IFilterGraph2* iface,REFIID riid,void** ppobj)
    3031{
    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);
    3637}
    3738
     
    3940IFilterGraph2_fnAddRef(IFilterGraph2* iface)
    4041{
    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);
    4647}
    4748
     
    4950IFilterGraph2_fnRelease(IFilterGraph2* iface)
    5051{
    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);
    5657}
    5758
     
    5960IFilterGraph2_fnAddFilter(IFilterGraph2* iface,IBaseFilter* pFilter, LPCWSTR pName)
    6061{
    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;
    6566}
    6667
     
    6869IFilterGraph2_fnRemoveFilter(IFilterGraph2* iface,IBaseFilter* pFilter)
    6970{
    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;
    7475}
    7576
     
    7778IFilterGraph2_fnEnumFilters(IFilterGraph2* iface,IEnumFilters** ppEnum)
    7879{
    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;
    8384}
    8485
     
    8687IFilterGraph2_fnFindFilterByName(IFilterGraph2* iface,LPCWSTR pName,IBaseFilter** ppFilter)
    8788{
    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;
    9293}
    9394
     
    9596IFilterGraph2_fnConnectDirect(IFilterGraph2* iface,IPin* pOut,IPin* pIn,const AM_MEDIA_TYPE* pmt)
    9697{
    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;
    101102}
    102103
     
    104105IFilterGraph2_fnReconnect(IFilterGraph2* iface,IPin* pPin)
    105106{
    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;
    110111}
    111112
     
    113114IFilterGraph2_fnDisconnect(IFilterGraph2* iface,IPin* pPin)
    114115{
    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;
    119120}
    120121
     
    122123IFilterGraph2_fnSetDefaultSyncSource(IFilterGraph2* iface)
    123124{
    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;
    128129}
    129130
     
    131132IFilterGraph2_fnConnect(IFilterGraph2* iface,IPin* pOut,IPin* pIn)
    132133{
    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;
    137138}
    138139
     
    140141IFilterGraph2_fnRender(IFilterGraph2* iface,IPin* pOut)
    141142{
    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;
    146147}
    147148
     
    149150IFilterGraph2_fnRenderFile(IFilterGraph2* iface,LPCWSTR lpFileName,LPCWSTR lpPlayList)
    150151{
    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;
    155156}
    156157
     
    158159IFilterGraph2_fnAddSourceFilter(IFilterGraph2* iface,LPCWSTR lpFileName,LPCWSTR lpFilterName,IBaseFilter** ppBaseFilter)
    159160{
    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;
    164165}
    165166
     
    167168IFilterGraph2_fnSetLogFile(IFilterGraph2* iface,DWORD_PTR hFile)
    168169{
    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;
    173174}
    174175
     
    176177IFilterGraph2_fnAbort(IFilterGraph2* iface)
    177178{
    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;
    184185}
    185186
     
    187188IFilterGraph2_fnShouldOperationContinue(IFilterGraph2* iface)
    188189{
    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;
    195196}
    196197
     
    198199IFilterGraph2_fnAddSourceFilterForMoniker(IFilterGraph2* iface,IMoniker* pMon,IBindCtx* pCtx,LPCWSTR pFilterName,IBaseFilter** ppFilter)
    199200{
    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;
    204205}
    205206
     
    207208IFilterGraph2_fnReconnectEx(IFilterGraph2* iface,IPin* pPin,const AM_MEDIA_TYPE* pmt)
    208209{
    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;
    213214}
    214215
     
    216217IFilterGraph2_fnRenderEx(IFilterGraph2* iface,IPin* pPin,DWORD dwParam1,DWORD* pdwParam2)
    217218{
    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;
    223224}
    224225
     
    228229static ICOM_VTABLE(IFilterGraph2) ifgraph =
    229230{
    230         ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
    231         /* 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,
    256257};
    257258
    258259void CFilterGraph_InitIFilterGraph2( CFilterGraph* pfg )
    259260{
    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.