IIsoImageManager::SetPath 方法 (imapi2fs.h)

使用 .iso 映像的邏輯路徑設定 Path 屬性值。

語法

HRESULT SetPath(
  [in] BSTR Val
);

參數

[in] Val

.iso 映像的邏輯路徑。 例如,「c:\path\file.iso」。

傳回值

S_OK會在成功時傳回,但可能會因為實作而傳回其他成功碼。

傳回碼 描述
IMAPI_E_INVALID_PATH
路徑 '%1!s!' 格式不正確或包含無效字元。

值:0xC0AAB110

備註

Windows Server 2003 Service Pack 1 (SP1) 、Windows XP service Pack 2 (SP2) ,以及透過 Windows Feature Pack for Storage 支援此方法。 Windows 7 和 Windows Server 2008 R2 原生支援此更新套件所提供的所有功能。

需求

   
最低支援的用戶端 Windows Vista、Windows XP SP2 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2003 [僅限桌面應用程式]
目標平台 Windows
標頭 imapi2fs.h

另請參閱

IIsoImageManager

IIsoImageManager::get_Path