The IReplStore::CopyObject method copies data from one handle to another handle.
BOOL CopyObject(
HREPLOBJ hObjSrc,
HREPLOBJ hObjDst
);
Header file: | Cesync.h |
Platforms: | H/PC |
Windows CE versions: | 2.0 and later |
The IReplStore::CopyObject method is used to copy the contents of a given handle to another. Any resource allocated in the source like pointers or handles must be freed before they are overwritten, and any resource in the destination should be reset so it won't get freed after the assignment to the source. CopyObject is always called when the ActiveSync service manager detects that an object has been modified since the last replication and therefore its contents must be updated from the modified handle returned by the ActiveSync service provider from FindNextItem or FindNextItem.