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