取得與錯誤相關的檔案物件的介面指標。
語法
HRESULT GetFile(
[out] IBackgroundCopyFile **pVal
);
參數
[out] pVal
一個 IBackgroundCopyFile 介面指標,你用它的方法來判斷與錯誤相關的本地與遠端檔案名稱。 如果錯誤與本地或遠端檔案無關, ppFile 參數會被設定為 NULL 。 完成後,釋放 ppFile。
返回值
此方法回傳以下 HRESULT 值。
| 回傳碼 | Description |
|---|---|
|
成功取得指向檔案物件的介面指標。 |
|
錯誤與本地或遠端檔案無關。 ppFile 參數設為 NULL。 |
需求
| Requirement | 價值觀 |
|---|---|
| 最低支援的用戶端 | 視窗XP |
| 支援的最低伺服器 | Windows Server 2003 |
| 目標平臺 | 窗戶 |
| Header | Bits.h |
| Library | Bits.lib |
| DLL | QmgrPrxy.dll |
另請參閱
IBackgroundCopyError::GetError