Note This interface is not supported on Windows CE 3.0-based platforms.
This method copies one HREPLOBJ, which can be either a HREPLITEM or HREPLFLD, over to another.
BOOL CopyObject( HREPLOBJ hObjSrc, HREPLOBJ hObjDst);
Handle to the source.
Handle to the destination.
One of the values described in the following table is returned.
|TRUE||The operation was successful.|
|FALSE||The operation failed. A possible reason is that the two handles are of different types or of different sizes.|
The IReplStore::CopyObject method is used to copy the contents of a specified handle to another. Any resource allocated in the source must be freed before they are overwritten, and any resource in the destination should be reset so it is not 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 its contents must therefore be updated from the modified handle returned by the ActiveSync service provider from FindNextItem or FindNextItem.
|Runs On||Versions||Defined in||Include||Link to|
|Windows CE OS||2.0 and later||Cesync.h|
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.