CComClassFactorySingleton::CreateInstance

This method calls QueryInterface through m_Obj to retrieve an interface pointer.

Syntax

HRESULT CreateInstance( LPUNKNOWN pUnkOuter, REFIID riid, void** ppvObj );

At a Glance

Header file: Atlcom.h
Platforms:
Versions: 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CComClassFactorySingleton Overview, CComClassFactorySingleton Methods, CoCreateInstance, CoGetClassObject