Share via


IDestinationStreamFactory::GetDestinationStream 方法 (shobjidl_core.h)

取得空的數據流,這個數據流會接收正在複製的新版本檔案。

語法

HRESULT GetDestinationStream(
  [out] IStream **ppstm
);

參數

[out] ppstm

類型: IStream**

新數據流指標的位址。

傳回值

類型: HRESULT

如果此方法成功,則會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。

備註

屬性處理程式作者會呼叫 IDestinationStreamFactory::GetDestinationStream ,以取得新版檔案將寫入的新空白數據流。 處理程式會視需要手動建置目的地數據流,從來源數據流複製。

規格需求

需求
最低支援的用戶端 Windows Vista [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2008 [僅限傳統型應用程式]
目標平台 Windows
標頭 shobjidl_core.h (包括 Shobjidl.h)