Subscriber portal
Gets the replica key that corresponds to the specified replica ID.
HRESULT LookupReplicaKey( const BYTE *pbReplicaId, DWORD *pdwReplicaKey);
[in] The replica ID to look up.
[out] Returns the replica key that corresponds to pbReplicaId.
S_OK
E_POINTER
SYNC_E_ID_FORMAT_MISMATCH when pbReplicaId is not in the format thatis specified by the ID format schema of the provider.
SYNC_E_REPLICA_NOT_FOUND when pbReplicaId is not found.