53 if (IID_IUnknown == riid || IID_IClassFactory == riid)
55 IUnknown* pUnk =
this;
67 return InterlockedIncrement(&
m_RefCnt);
86 IUnknown __RPC_FAR *pUnkOuter,
88 void __RPC_FAR *__RPC_FAR *ppvObject)
90 if (pUnkOuter !=
nullptr)
91 return CLASS_E_NOAGGREGATION;
93 IUnknown* pUnk =
nullptr;
99 pUnk =
static_cast<IQueryInfo*
>(
new CInfoTip());
109 return E_OUTOFMEMORY;
112 HRESULT
hr = pUnk->QueryInterface(riid, ppvObject);
virtual HRESULT STDMETHODCALLTYPE LockServer(BOOL fLock) override
virtual HRESULT STDMETHODCALLTYPE CreateInstance(IUnknown __RPC_FAR *pUnkOuter, REFIID riid, void __RPC_FAR *__RPC_FAR *ppvObject) override
virtual ULONG STDMETHODCALLTYPE Release() override
virtual ULONG STDMETHODCALLTYPE AddRef() override
CClassFactory(const CLSID &clsid)
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void __RPC_FAR *__RPC_FAR *ppvObject) override
static LONG s_ServerLocks
const wchar_t *typedef BOOL
const CLSID CLSID_PROPERTYSHEET_HANDLER
const CLSID CLSID_THUMBVIEWER_HANDLER
const CLSID CLSID_INFOTIP_HANDLER
const CLSID CLSID_COLUMN_HANDLER