Share via


iTargetInfo::SetModulePath 方法 (wcmconfig.h)

設定離線安裝位置的模組路徑。

語法

HRESULT SetModulePath(
  [in] const WCHAR *Module,
  [in] const WCHAR *Path
);

參數

[in] Module

模組的名稱。

[in] Path

模組路徑。

傳回值

這個方法會傳回 HRESULT 值。 S_OK 表示成功。

規格需求

   
最低支援的用戶端 Windows Vista [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2008 [僅限傳統型應用程式]
目標平台 Windows
標頭 wcmconfig.h
Dll SMIEngine.dll

另請參閱

ITargetInfo