Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a licensed control, initializes it, and hosts it in the window identified by hWnd.
STDMETHOD( CreateControlLic )(
LPCOLESTR lpTricsData,
HWND hWnd,
IStream* pStream,
BSTR bstrLic
);
Parameters
- bstrLic
[in] The BSTR that contains the license key for the control.
Remarks
See IAxWinHostWindow::CreateControl for a description of the remaining parameters and return value.
Calling this method is equivalent to calling IAxWinHostWindowLic::CreateControlLicEx
Example
See Hosting ActiveX Controls Using ATL AXHost for a sample that uses IAxWinHostWindowLic::CreateControlLic.
Requirements
Header: atliface.h