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 ActiveX control, initializes it, and hosts it in the specified window, similar to IAxWinHostWindow::CreateControl.
STDMETHOD( CreateControlLicEx )(
   LPCOLESTR lpszTricsData,
   HWND hWnd,
   IStream* pStream,
   IUnknown** ppUnk,
   REFIID riidAdvise,
   IUnknown* punkAdvise, 
   BSTR bstrLic
);
Parameters
- bstrLic
 [in] The BSTR that contains the license key for the control.
Remarks
See IAxWinHostWindow::CreateControlEx for a description of the remaining parameters and return value.
Example
See Hosting ActiveX Controls Using ATL AXHost for a sample that uses IAxWinHostWindowLic::CreateControlLicEx.
Requirements
Header: atliface.h