CfGetCorrelationVector function (cfapi.h)

Allows the sync provider to query the current correlation vector for a given placeholder file.


HRESULT CfGetCorrelationVector(
  [in]  HANDLE              FileHandle,
  [out] PCORRELATION_VECTOR CorrelationVector


[in] FileHandle

The handle to the placeholder file.

[out] CorrelationVector

The correlation vector for the FileHandle.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.


Minimum supported client Windows 10, version 1709 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header cfapi.h
Library CldApi.lib
DLL CldApi.dll