IAxWinHostWindowLic::CreateControlLicEx

创建一个授权的ActiveX控件,将其初始化,并将其承载于指定的窗口,与 IAxWinHostWindow::CreateControl

STDMETHOD( CreateControlLicEx )( 
   LPCOLESTR lpszTricsData, 
   HWND hWnd, 
   IStream* pStream, 
   IUnknown** ppUnk, 
   REFIID riidAdvise, 
   IUnknown* punkAdvise, 
   BSTR bstrLic 
);

参数

  • bstrLic
    [in]包含控件的许可证密钥的BSTR。

备注

为"剩余参数的说明参见 IAxWinHostWindow::CreateControlEx 和返回值。

示例

使用 IAxWinHostWindowLic::CreateControlLicEx的示例参见 承载使用ATL AXHost的ActiveX控件

要求

Header: atliface.h

请参见

参考

IAxWinHostWindowLic Interface