IReplicaKeyMap interface (winsync.h)
Represents a mapping between replica keys and replica IDs.
Inheritance
The IReplicaKeyMap interface inherits from the IUnknown interface. IReplicaKeyMap also has these types of members:
Methods
The IReplicaKeyMap interface has these methods.
IReplicaKeyMap::LookupReplicaId Gets the replica ID that corresponds to the specified replica key. |
IReplicaKeyMap::LookupReplicaKey Gets the replica key that corresponds to the specified replica ID. |
IReplicaKeyMap::Serialize Serializes the replica key map data to a byte array. |
Remarks
Because replica IDs repeatedly occur in the metadata for a replica and are suggested to be 16-byte GUIDs, Windows Sync represents replica IDs by using a map between replica IDs to 4-byte replica keys. Windows Sync then uses replica keys where references to particular replicas are required.
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 |