IReplicaKeyMap::LookupReplicaKey method (winsync.h)
Gets the replica key that corresponds to the specified replica ID.
Syntax
HRESULT LookupReplicaKey(
[in] const BYTE *pbReplicaId,
[out] DWORD *pdwReplicaKey
);
Parameters
[in] pbReplicaId
The replica ID to look up.
[out] pdwReplicaKey
Returns the replica key that corresponds to pbReplicaId.
Return value
The possible return codes include, but are not limited to, the values shown in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
|
|
When pbReplicaId is not in the format that is specified by the ID format schema of the provider. |
|
When pbReplicaId is not found. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | winsync.h |