Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds entries to or finds entries in an IReplicaKeyMap object.
HRESULT FindOrAddReplica(
const BYTE * pbReplicaId,
DWORD * pdwReplicaKey);
Parameters
- pbReplicaId
[in] The ID of the replica to add or find.
- pdwReplicaKey
[out] The key of the replica in the map. If an entry for pbReplicaId does not exist in the map, an entry is created and a new key is assigned to it.
Return Value
S_OK
E_POINTER
SYNC_E_ID_FORMAT_MISMATCH when pbReplicaId is not of the format that the provider specified.