取得這個檔案目前的驗證狀態。
語法
HRESULT GetValidationState(
[out] BOOL *pState
);
參數
[out] pState
如果檔案的內容有效,則為TRUE,否則為 FALSE。
傳回值
方法會傳回下列傳回值。
| 傳回碼 | 描述 |
|---|---|
|
Success |
備註
請注意, FALSE 不表示檔案無效,可能表示尚未呼叫 IBackgroundCopyFile3::SetValidationState 。
規格需求
| 需求 | 值 |
|---|---|
| 最低支援的用戶端 | Windows Vista |
| 最低支援的伺服器 | Windows Server 2008 |
| 目標平台 | Windows |
| 標頭 | bits3_0.h (包含 Bits.h) |
| 程式庫 | Bits.lib |