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

Method QueryInterface

LegacyUpdate/ElevationHelper.cpp:106–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104#pragma mark - IUnknown
105
106STDMETHODIMP CElevationHelper::QueryInterface(REFIID riid, void **ppvObject) {
107 if (ppvObject == NULL) {
108 return E_POINTER;
109 }
110
111 *ppvObject = NULL;
112
113 return IDispatchImpl<IElevationHelper, &LIBID_LegacyUpdateLib>::QueryInterface(riid, ppvObject);
114}
115
116STDMETHODIMP_(ULONG) CElevationHelper::AddRef(void) {
117 return InterlockedIncrement(&m_refCount);

Callers 2

CreateMethod · 0.45
SetBrowserHwndMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected