Requests a unique license key from the control's DLL and stores it in the BSTR pointed to by pbstrKey.
virtual BOOL GetLicenseKey( DWORD dwReserved, BSTR *pbstrKey );
- Reserved for future use.
- Pointer to a BSTR that will store the license key.
Nonzero if the license-key string is not NULL; otherwise 0.
The default implementation of this function returns 0 and stores nothing in the BSTR. If you use MFC ActiveX ControlWizard to create your project, ControlWizard supplies an override that retrieves the control's license key.