IAxWinHostWindowLic::CreateControlLic

创建一个授权控件,将其初始化,并将其在 hWnd确定的窗口。

STDMETHOD( CreateControlLic )( 
   LPCOLESTR lpTricsData, 
   HWND hWnd, 
   IStream* pStream,
   BSTR bstrLic 
);

参数

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

备注

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

调用此方法的调用 IAxWinHostWindowLic::CreateControlLicEx等效

示例

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

要求

Header: atliface.h

请参见

参考

IAxWinHostWindowLic Interface