This method calls QueryInterface through m_Obj to retrieve an interface pointer.
HRESULT CreateInstance( LPUNKNOWN pUnkOuter, REFIID riid, void** ppvObj );
Header file: | Atlcom.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
CComClassFactorySingleton Overview, CComClassFactorySingleton Methods, CoCreateInstance, CoGetClassObject