IReplStore::BytesToObject

The IReplStore::BytesToObject method converts an array of bytes to an HREPLOBJ, which can be HREPLITEM or HREPLFLD, when loading.

Syntax

HREPLOBJ BytesToObject(
LPBYTE
lpb,
UINT
cb
);

At a Glance

Header file: Cesync.h
Platforms: H/PC
Windows CE versions: 2.0 and later

Parameters

lpb
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