ISimpleSyncServices::GetSerializedReplicaInfo

Gets information about serialized metadata, such as the ID of the replica with which it is associated.

Syntax

HRESULT GetSerializedReplicaInfo(
  IStream * pStream,
  BYTE * pbReplicaId,
  DWORD * pcbReplicaId,
  ID_PARAMETERS * pIdParameters);

Parameters

  • pStream
    [in] The destination stream to which metadata is serialized.

  • pbReplicaId
    [in, out, unique, size_is(*pcbReplicaId)] Returns the ID of the replica that is associated with this metadata.

  • pcbReplicaId
    [in, out] Specifies the number of bytes in pbReplicaId. Returns the required number of bytes for pbReplicaId when pbReplicaId is too small, or the number of bytes written to pbReplicaId when data is written.

  • pIdParameters
    [out] An ID_PARAMETERS Structure that specifies format settings, such as the replica ID format, for the provider whose metadata is serialized.

Return Value

  • S_OK

See Also

Reference

ISimpleSyncServices Interface