ILoggedConflict::GetOwnerReplicaId

Gets the ID of the replica that originated the change that caused the conflict.


HRESULT GetOwnerReplicaId(
  BYTE * pbReplicaId,
  DWORD * pcbIdSize);

pbReplicaId

[in, out, unique, size_is(*pcbIdSize)] Returns the ID of the replica that originated the change that caused the conflict.

pcbIdSize

[in, out] Specifies the number of bytes in pbReplicaId. Returns the number of bytes required to retrieve the ID when pbReplicaId is too small, or returns the number of bytes written.

  • S_OK.

  • E_POINTER.

  • HRESULT_FROM_WIN32(ERROR_MORE_DATA) when pbReplicaId is too small. In this case, the required number of bytes is returned in pcbIdSize.

Show: