This method creates and returns a license key, provided that the fRuntimeKeyAvail member of the LICINFO structure is TRUE.
HRESULT RequestLicKey( DWORD dwReserved, BSTR* pbstrKey );
Header file: | Atlcom.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
CComClassFactory2 Overview, CComClassFactory2 Methods, CComClassFactory2::GetLicInfo