CF_CALLBACK_REGISTRATION structure (cfapi.h)

The callbacks to be registered by the sync provider.

Syntax

typedef struct CF_CALLBACK_REGISTRATION {
  CF_CALLBACK_TYPE Type;
  CF_CALLBACK      Callback;
} CF_CALLBACK_REGISTRATION;

Members

Type

The type of callback to be registered. See CF_CALLBACK_TYPE.

Callback

A pointer to the callback function.

Remarks

This callback registration is how a sync provider communicates to the library which functions to call to execute various requests from the platform.

Note that the sync provider only needs to register implemented callbacks, and CF_CALLBACK_REGISTRATION should always end with CF_CALLBACK_REGISTRATION_END.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1709 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Header cfapi.h

See also

CF_CALLBACK_TYPE

CfConnectSyncRoot