CComClassFactory2::RequestLicKey

This method creates and returns a license key, provided that the fRuntimeKeyAvail member of the LICINFO structure is TRUE.

Syntax

HRESULT RequestLicKey( DWORD dwReserved, BSTR* pbstrKey );

At a Glance

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

See Also

CComClassFactory2 Overview, CComClassFactory2 Methods, CComClassFactory2::GetLicInfo