Changeset 6649 for trunk/src/quartz/imevent.c
- Timestamp:
- Sep 5, 2001, 3:39:12 PM (24 years ago)
- File:
-
- 1 edited
-
trunk/src/quartz/imevent.c (modified) (19 diffs)
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 $ */ 1 2 /* 2 3 * Implementation of IMediaEvent[Ex] for FilterGraph. … … 30 31 IMediaEventEx_fnQueryInterface(IMediaEventEx* iface,REFIID riid,void** ppobj) 31 32 { 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); 37 38 } 38 39 … … 40 41 IMediaEventEx_fnAddRef(IMediaEventEx* iface) 41 42 { 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); 47 48 } 48 49 … … 50 51 IMediaEventEx_fnRelease(IMediaEventEx* iface) 51 52 { 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); 57 58 } 58 59 … … 60 61 IMediaEventEx_fnGetTypeInfoCount(IMediaEventEx* iface,UINT* pcTypeInfo) 61 62 { 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; 67 68 } 68 69 … … 70 71 IMediaEventEx_fnGetTypeInfo(IMediaEventEx* iface,UINT iTypeInfo, LCID lcid, ITypeInfo** ppobj) 71 72 { 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; 77 78 } 78 79 … … 80 81 IMediaEventEx_fnGetIDsOfNames(IMediaEventEx* iface,REFIID riid, LPOLESTR* ppwszName, UINT cNames, LCID lcid, DISPID* pDispId) 81 82 { 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; 87 88 } 88 89 … … 90 91 IMediaEventEx_fnInvoke(IMediaEventEx* iface,DISPID DispId, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams, VARIANT* pVarRes, EXCEPINFO* pExcepInfo, UINT* puArgErr) 91 92 { 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; 97 98 } 98 99 … … 101 102 IMediaEventEx_fnGetEventHandle(IMediaEventEx* iface,OAEVENT* hEvent) 102 103 { 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; 108 109 } 109 110 … … 111 112 IMediaEventEx_fnGetEvent(IMediaEventEx* iface,long* lEventCode,LONG_PTR* plParam1,LONG_PTR* plParam2,long lTimeOut) 112 113 { 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; 118 119 } 119 120 … … 121 122 IMediaEventEx_fnWaitForCompletion(IMediaEventEx* iface,long lTimeOut,long* plEventCode) 122 123 { 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; 128 129 } 129 130 … … 131 132 IMediaEventEx_fnCancelDefaultHandling(IMediaEventEx* iface,long lEventCode) 132 133 { 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; 138 139 } 139 140 … … 141 142 IMediaEventEx_fnRestoreDefaultHandling(IMediaEventEx* iface,long lEventCode) 142 143 { 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; 148 149 } 149 150 … … 151 152 IMediaEventEx_fnFreeEventParams(IMediaEventEx* iface,long lEventCode,LONG_PTR lParam1,LONG_PTR lParam2) 152 153 { 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; 158 159 } 159 160 … … 161 162 IMediaEventEx_fnSetNotifyWindow(IMediaEventEx* iface,OAHWND hwnd,long message,LONG_PTR lParam) 162 163 { 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; 168 169 } 169 170 … … 171 172 IMediaEventEx_fnSetNotifyFlags(IMediaEventEx* iface,long lNotifyFlags) 172 173 { 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; 178 179 } 179 180 … … 181 182 IMediaEventEx_fnGetNotifyFlags(IMediaEventEx* iface,long* plNotifyFlags) 182 183 { 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; 188 189 } 189 190 … … 192 193 static ICOM_VTABLE(IMediaEventEx) imediaevent = 193 194 { 194 ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE195 /* 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, 215 216 }; 216 217 … … 218 219 void CFilterGraph_InitIMediaEventEx( CFilterGraph* pfg ) 219 220 { 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.
