MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / QueryInterface

Method QueryInterface

source/script_com.cpp:1022–1035  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1020
1021
1022STDMETHODIMP ComEvent::QueryInterface(REFIID riid, void **ppv)
1023{
1024 if (riid == mIID || riid == IID_IDispatch || riid == IID_IUnknown)
1025 {
1026 AddRef();
1027 *ppv = this;
1028 return S_OK;
1029 }
1030 else
1031 {
1032 *ppv = NULL;
1033 return E_NOINTERFACE;
1034 }
1035}
1036
1037STDMETHODIMP ComEvent::GetIDsOfNames(REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
1038{

Callers 9

BIF_DECLFunction · 0.80
FileCreateShortcutMethod · 0.80
BIF_DECLFunction · 0.80
ifFunction · 0.80
BIF_DECLFunction · 0.80
VariantToTokenFunction · 0.80
ConnectMethod · 0.80
ControlGetActiveXMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected