IReplStore::BytesToObject

This method converts an array of bytes to an HREPLOBJ, which can be HREPLITEM or HREPLFLD, when loading.

At a Glance

Header file: Cesync.h
Windows CE versions: 2.0 and later

Syntax

HREPLOBJ BytesToObject( LPBYTE lpb, UINT cb );

Parameters

lpb

Long pointer to a buffer where the array of bytes should be stored. This parameter can be NULL.

cb

Size of the buffer.

Remarks

The IReplStore::BytesToObject method is used to convert a series of bytes into an item or folder handle. BytesToObject returns the new handle.

See Also

IReplStore::ObjectToBytes