ID_PARAMETERS structure (winsync.h)

Represents the format schema for the group of IDs that are used to identify entities in a synchronization session.

Syntax

typedef struct _ID_PARAMETERS {
  DWORD             dwSize;
  ID_PARAMETER_PAIR replicaId;
  ID_PARAMETER_PAIR itemId;
  ID_PARAMETER_PAIR changeUnitId;
} ID_PARAMETERS;

Members

dwSize

The number of bytes in the ID_PARAMETERS structure.

replicaId

The ID format that is expected for replica IDs.

itemId

The ID format that is expected for item IDs.

changeUnitId

The ID format that is expected for change unit IDs.

Remarks

To obtain ID parameters, both providers are queried through a call to ISyncProvider::GetIdParameters. These ID parameters are then compared to verify that both providers use the same ID schema. If this verification fails, the synchronization session is not created, and an error code is returned.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header winsync.h

See also

ID_PARAMETER_PAIR Structure

ISyncProvider Interface

Windows Sync Structures