I only support the eventIID interface which was passed in by the DispatchEvent wrapper who looked it up as the source object's default source interface
| 113 | // by the DispatchEvent wrapper who looked it up as the |
| 114 | // source object's default source interface |
| 115 | STDMETHODIMP EventProxy::QueryInterface(REFIID rid, void **ppv) |
| 116 | { |
| 117 | if (rid == IID_IUnknown || rid == eventIID || rid == IID_IDispatch) |
| 118 | { |
| 119 | *ppv = this; |
| 120 | AddRef(); |
| 121 | return S_OK; |
| 122 | } |
| 123 | return E_NOINTERFACE; |
| 124 | } |
| 125 | |
| 126 | // This should never get called - the event source fires events |
| 127 | // by dispid's, not by name |
no outgoing calls
no test coverage detected