CComClassFactorySingleton::CreateInstance

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

At a Glance

Header file: Atlcom.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

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

See Also

CoCreateInstance, CoGetClassObject