The IReplStore::ObjectToBytes method converts the give handle (which is either HREPLFLD or HREPLITEM) to an array of bytes when saving.
UINT ObjectToBytes(
HREPLOBJ hObject,
LPBYTE lpb
);
Header file: | Cesync.h |
Platforms: | H/PC |
Windows CE versions: | 2.0 and later |
Number of bytes in the array.
The IReplStore::ObjectToBytes method is used to save the data represented by a handle to disk. The ActiveSync service manager calls ObjectToBytes first with lpb set to NULL. The ActiveSync service provider should then return the size required. The ActiveSync service manager then calls ObjectToBytes with a lpb parameter pointing to a buffer large enough for the array.