MCPcopy Create free account
hub / github.com/HelloBush/Java_MHXYdemo / QueryInterface

Method QueryInterface

lib/jacob-1.20_src/jacob-1.20/jni/EventProxy.cpp:115–124  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

113// by the DispatchEvent wrapper who looked it up as the
114// source object's default source interface
115STDMETHODIMP 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

Calls

no outgoing calls

Tested by

no test coverage detected