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 介面