CComClassFactory2::CreateInstanceLic

This method is similar to CreateInstance, except that CreateInstanceLic requires a license key.

Syntax

HRESULT CreateInstanceLic( IUnknown* pUnkOuter, IUnknown* pUnkReserved, REFIID riid, BSTR bstrKey, void** ppvObject );

At a Glance

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

See Also

CComClassFactory2 Overview, CComClassFactory2 Methods, CoCreateInstance, CoGetClassObject