COleObjectFactory::GetLicenseKey

Call this member function to retrieve the unique license key from the control's DLL and store it in the BSTR pointed to by pbstrKey.

Syntax

virtual BOOL GetLicenseKey( DWORD dwReserved, BSTR *pbstrKey );

At a Glance

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

See Also

COleObjectFactory Overview, COleObjectFactory Member Functions, Application Architecture Classes, COleObjectFactory::VerifyUserLicense, COleObjectFactory::VerifyLicenseKey