33 if (IsEqualIID(riid, __uuidof(IUnknown)) ||
34 IsEqualIID(riid, __uuidof(IClassFactory)))
36 *ppvObject =
static_cast<IClassFactory*
>(
this);
53 return CLASS_E_NOAGGREGATION;
HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject) override
ULONG STDMETHODCALLTYPE Release() override
ULONG STDMETHODCALLTYPE AddRef() override
virtual ~ClassFactory() override
HRESULT STDMETHODCALLTYPE CreateInstance(IUnknown *pUnkOuter, REFIID riid, void **ppvObject) override
HRESULT STDMETHODCALLTYPE LockServer(BOOL fLock) override
HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject) override
const wchar_t *typedef BOOL