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/imevent.c

    r6578 r6649  
     1/* $Id: imevent.c,v 1.2 2001-09-05 13:36:36 bird Exp $ */
    12/*
    23 * Implementation of IMediaEvent[Ex] for FilterGraph.
     
    3031IMediaEventEx_fnQueryInterface(IMediaEventEx* iface,REFIID riid,void** ppobj)
    3132{
    32         CFilterGraph_THIS(iface,mediaevent);
    33 
    34         TRACE("(%p)->()\n",This);
    35 
    36         return IUnknown_QueryInterface(This->unk.punkControl,riid,ppobj);
     33    CFilterGraph_THIS(iface,mediaevent);
     34
     35    TRACE("(%p)->()\n",This);
     36
     37    return IUnknown_QueryInterface(This->unk.punkControl,riid,ppobj);
    3738}
    3839
     
    4041IMediaEventEx_fnAddRef(IMediaEventEx* iface)
    4142{
    42         CFilterGraph_THIS(iface,mediaevent);
    43 
    44         TRACE("(%p)->()\n",This);
    45 
    46         return IUnknown_AddRef(This->unk.punkControl);
     43    CFilterGraph_THIS(iface,mediaevent);
     44
     45    TRACE("(%p)->()\n",This);
     46
     47    return IUnknown_AddRef(This->unk.punkControl);
    4748}
    4849
     
    5051IMediaEventEx_fnRelease(IMediaEventEx* iface)
    5152{
    52         CFilterGraph_THIS(iface,mediaevent);
    53 
    54         TRACE("(%p)->()\n",This);
    55 
    56         return IUnknown_Release(This->unk.punkControl);
     53    CFilterGraph_THIS(iface,mediaevent);
     54
     55    TRACE("(%p)->()\n",This);
     56
     57    return IUnknown_Release(This->unk.punkControl);
    5758}
    5859
     
    6061IMediaEventEx_fnGetTypeInfoCount(IMediaEventEx* iface,UINT* pcTypeInfo)
    6162{
    62         CFilterGraph_THIS(iface,mediaevent);
    63 
    64         FIXME("(%p)->()\n",This);
    65 
    66         return E_NOTIMPL;
     63    CFilterGraph_THIS(iface,mediaevent);
     64
     65    FIXME("(%p)->()\n",This);
     66
     67    return E_NOTIMPL;
    6768}
    6869
     
    7071IMediaEventEx_fnGetTypeInfo(IMediaEventEx* iface,UINT iTypeInfo, LCID lcid, ITypeInfo** ppobj)
    7172{
    72         CFilterGraph_THIS(iface,mediaevent);
    73 
    74         FIXME("(%p)->()\n",This);
    75 
    76         return E_NOTIMPL;
     73    CFilterGraph_THIS(iface,mediaevent);
     74
     75    FIXME("(%p)->()\n",This);
     76
     77    return E_NOTIMPL;
    7778}
    7879
     
    8081IMediaEventEx_fnGetIDsOfNames(IMediaEventEx* iface,REFIID riid, LPOLESTR* ppwszName, UINT cNames, LCID lcid, DISPID* pDispId)
    8182{
    82         CFilterGraph_THIS(iface,mediaevent);
    83 
    84         FIXME("(%p)->()\n",This);
    85 
    86         return E_NOTIMPL;
     83    CFilterGraph_THIS(iface,mediaevent);
     84
     85    FIXME("(%p)->()\n",This);
     86
     87    return E_NOTIMPL;
    8788}
    8889
     
    9091IMediaEventEx_fnInvoke(IMediaEventEx* iface,DISPID DispId, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams, VARIANT* pVarRes, EXCEPINFO* pExcepInfo, UINT* puArgErr)
    9192{
    92         CFilterGraph_THIS(iface,mediaevent);
    93 
    94         FIXME("(%p)->()\n",This);
    95 
    96         return E_NOTIMPL;
     93    CFilterGraph_THIS(iface,mediaevent);
     94
     95    FIXME("(%p)->()\n",This);
     96
     97    return E_NOTIMPL;
    9798}
    9899
     
    101102IMediaEventEx_fnGetEventHandle(IMediaEventEx* iface,OAEVENT* hEvent)
    102103{
    103         CFilterGraph_THIS(iface,mediaevent);
    104 
    105         FIXME("(%p)->() stub!\n",This);
    106 
    107         return E_NOTIMPL;
     104    CFilterGraph_THIS(iface,mediaevent);
     105
     106    FIXME("(%p)->() stub!\n",This);
     107
     108    return E_NOTIMPL;
    108109}
    109110
     
    111112IMediaEventEx_fnGetEvent(IMediaEventEx* iface,long* lEventCode,LONG_PTR* plParam1,LONG_PTR* plParam2,long lTimeOut)
    112113{
    113         CFilterGraph_THIS(iface,mediaevent);
    114 
    115         FIXME("(%p)->() stub!\n",This);
    116 
    117         return E_NOTIMPL;
     114    CFilterGraph_THIS(iface,mediaevent);
     115
     116    FIXME("(%p)->() stub!\n",This);
     117
     118    return E_NOTIMPL;
    118119}
    119120
     
    121122IMediaEventEx_fnWaitForCompletion(IMediaEventEx* iface,long lTimeOut,long* plEventCode)
    122123{
    123         CFilterGraph_THIS(iface,mediaevent);
    124 
    125         FIXME("(%p)->() stub!\n",This);
    126 
    127         return E_NOTIMPL;
     124    CFilterGraph_THIS(iface,mediaevent);
     125
     126    FIXME("(%p)->() stub!\n",This);
     127
     128    return E_NOTIMPL;
    128129}
    129130
     
    131132IMediaEventEx_fnCancelDefaultHandling(IMediaEventEx* iface,long lEventCode)
    132133{
    133         CFilterGraph_THIS(iface,mediaevent);
    134 
    135         FIXME("(%p)->() stub!\n",This);
    136 
    137         return E_NOTIMPL;
     134    CFilterGraph_THIS(iface,mediaevent);
     135
     136    FIXME("(%p)->() stub!\n",This);
     137
     138    return E_NOTIMPL;
    138139}
    139140
     
    141142IMediaEventEx_fnRestoreDefaultHandling(IMediaEventEx* iface,long lEventCode)
    142143{
    143         CFilterGraph_THIS(iface,mediaevent);
    144 
    145         FIXME("(%p)->() stub!\n",This);
    146 
    147         return E_NOTIMPL;
     144    CFilterGraph_THIS(iface,mediaevent);
     145
     146    FIXME("(%p)->() stub!\n",This);
     147
     148    return E_NOTIMPL;
    148149}
    149150
     
    151152IMediaEventEx_fnFreeEventParams(IMediaEventEx* iface,long lEventCode,LONG_PTR lParam1,LONG_PTR lParam2)
    152153{
    153         CFilterGraph_THIS(iface,mediaevent);
    154 
    155         FIXME("(%p)->() stub!\n",This);
    156 
    157         return E_NOTIMPL;
     154    CFilterGraph_THIS(iface,mediaevent);
     155
     156    FIXME("(%p)->() stub!\n",This);
     157
     158    return E_NOTIMPL;
    158159}
    159160
     
    161162IMediaEventEx_fnSetNotifyWindow(IMediaEventEx* iface,OAHWND hwnd,long message,LONG_PTR lParam)
    162163{
    163         CFilterGraph_THIS(iface,mediaevent);
    164 
    165         FIXME("(%p)->() stub!\n",This);
    166 
    167         return E_NOTIMPL;
     164    CFilterGraph_THIS(iface,mediaevent);
     165
     166    FIXME("(%p)->() stub!\n",This);
     167
     168    return E_NOTIMPL;
    168169}
    169170
     
    171172IMediaEventEx_fnSetNotifyFlags(IMediaEventEx* iface,long lNotifyFlags)
    172173{
    173         CFilterGraph_THIS(iface,mediaevent);
    174 
    175         FIXME("(%p)->() stub!\n",This);
    176 
    177         return E_NOTIMPL;
     174    CFilterGraph_THIS(iface,mediaevent);
     175
     176    FIXME("(%p)->() stub!\n",This);
     177
     178    return E_NOTIMPL;
    178179}
    179180
     
    181182IMediaEventEx_fnGetNotifyFlags(IMediaEventEx* iface,long* plNotifyFlags)
    182183{
    183         CFilterGraph_THIS(iface,mediaevent);
    184 
    185         FIXME("(%p)->() stub!\n",This);
    186 
    187         return E_NOTIMPL;
     184    CFilterGraph_THIS(iface,mediaevent);
     185
     186    FIXME("(%p)->() stub!\n",This);
     187
     188    return E_NOTIMPL;
    188189}
    189190
     
    192193static ICOM_VTABLE(IMediaEventEx) imediaevent =
    193194{
    194         ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
    195         /* IUnknown fields */
    196         IMediaEventEx_fnQueryInterface,
    197         IMediaEventEx_fnAddRef,
    198         IMediaEventEx_fnRelease,
    199         /* IDispatch fields */
    200         IMediaEventEx_fnGetTypeInfoCount,
    201         IMediaEventEx_fnGetTypeInfo,
    202         IMediaEventEx_fnGetIDsOfNames,
    203         IMediaEventEx_fnInvoke,
    204         /* IMediaEvent fields */
    205         IMediaEventEx_fnGetEventHandle,
    206         IMediaEventEx_fnGetEvent,
    207         IMediaEventEx_fnWaitForCompletion,
    208         IMediaEventEx_fnCancelDefaultHandling,
    209         IMediaEventEx_fnRestoreDefaultHandling,
    210         IMediaEventEx_fnFreeEventParams,
    211         /* IMediaEventEx fields */
    212         IMediaEventEx_fnSetNotifyWindow,
    213         IMediaEventEx_fnSetNotifyFlags,
    214         IMediaEventEx_fnGetNotifyFlags,
     195    ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
     196    /* IUnknown fields */
     197    IMediaEventEx_fnQueryInterface,
     198    IMediaEventEx_fnAddRef,
     199    IMediaEventEx_fnRelease,
     200    /* IDispatch fields */
     201    IMediaEventEx_fnGetTypeInfoCount,
     202    IMediaEventEx_fnGetTypeInfo,
     203    IMediaEventEx_fnGetIDsOfNames,
     204    IMediaEventEx_fnInvoke,
     205    /* IMediaEvent fields */
     206    IMediaEventEx_fnGetEventHandle,
     207    IMediaEventEx_fnGetEvent,
     208    IMediaEventEx_fnWaitForCompletion,
     209    IMediaEventEx_fnCancelDefaultHandling,
     210    IMediaEventEx_fnRestoreDefaultHandling,
     211    IMediaEventEx_fnFreeEventParams,
     212    /* IMediaEventEx fields */
     213    IMediaEventEx_fnSetNotifyWindow,
     214    IMediaEventEx_fnSetNotifyFlags,
     215    IMediaEventEx_fnGetNotifyFlags,
    215216};
    216217
     
    218219void CFilterGraph_InitIMediaEventEx( CFilterGraph* pfg )
    219220{
    220         TRACE("(%p)\n",pfg);
    221         ICOM_VTBL(&pfg->mediaevent) = &imediaevent;
    222 }
     221    TRACE("(%p)\n",pfg);
     222    ICOM_VTBL(&pfg->mediaevent) = &imediaevent;
     223}
Note: See TracChangeset for help on using the changeset viewer.