CfUpdateSyncProviderStatus function (cfapi.h)

Updates the current status of the sync provider.

Syntax

HRESULT CfUpdateSyncProviderStatus(
  [in] CF_CONNECTION_KEY       ConnectionKey,
  [in] CF_SYNC_PROVIDER_STATUS ProviderStatus
);

Parameters

[in] ConnectionKey

A connection key representing a communication channel with the sync filter.

[in] ProviderStatus

The current status of the sync provider.

Return value

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

Requirements

   
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