IBackgroundCopyFile3::GetValidationState method

Gets the current validation state of this file.

Syntax

HRESULT GetValidationState(
  [out] BOOL *pState
);

Parameters

  • pState [out]
    TRUE if the contents of the file is valid, otherwise, FALSE.

Return value

The method returns the following return values.

Return code Description
S_OK

Success

 

Remarks

Note that FALSE may not mean that the file is not valid, it may mean the IBackgroundCopyFile3::SetValidationState has not been called.

Requirements

Minimum supported client

Windows 10, version 1709 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

Deliveryoptimization.h

IDL

DeliveryOptimization.idl

Library

Dosvc.lib

DLL

Dosvc.dll

IID

IID_IBackgroundCopyFile3 is defined as 659cdeaa-489e-11d9-a9cd-000d56965251

See also

IBackgroundCopyFile3

IBackgroundCopyFile3::SetValidationState