SYNC_ID Structure

Represents an identifier for an item, change unit, or replica.

typedef struct _SYNC_ID
{
  USHORT cbIdSize;
  [size_is(cbIdSize-sizeof(USHORT))] BYTE pbId[*];
} SYNC_ID;

Members

  • cbIdSize
    The total number of bytes in the SYNC_ID structure. This value is the number of bytes that is contained in pbId plus the 2 bytes that are used by the cbIdSize parameter. For example, if pbId contains 16 bytes of data, cbIdSize must be set to 18. Must be greater than 0.
  • pbId
    The ID of the synchronization entity.

Remarks

Note

All IDs that are passed to Sync Framework must be in the same format as that specified by the ID_PARAMETERS structure.

Requirements

Header: Synchronization.h

See Also

Reference

ID_PARAMETERS Structure

Concepts

Sync Framework Core Components
Flexible IDs