IReplObjHandler

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This interface implements all required methods related to the serialization and deserialization of an object.

Method Description

DeleteObj

Informs the ActiveSync service provider that an object should be deleted.

GetPacket

ActiveSync service provider implements this method to deserialize an object into one or more packets. These packets are sent between the Windows Embedded CE–based device and the desktop computer by the ActiveSync service provider.

Reset

Resets the ActiveSync service provider to free all the resources the ActiveSync service provider used during serialization or deserialization.

SetPacket

ActiveSync service provider implements this method to serialize one or more packets into an object. These packets are guaranteed to be in the same order as when they are sent.

Setup

Sets up the ActiveSync service provider so it is ready to serialize or deserialize an object.

Return Values

This interface uses the RERR_USER_SKIP return value to indicate that an object is skipped by a user.

Remarks

The IReplObjHandler interface encapsulates all functions needed to serialize or deserialize objects. Any object can be deserialized into one or more data packets of any size. An ActiveSync service provider determines the number of packets and their sizes. These packets are exchanged between the Windows Embedded CE–based device and the desktop computer. The receiver of these packets is guaranteed to receive them in the exact same order as they are sent and the receiver can then serialize these packets back into an object.

Requirements

Header cesync.h
Library coredll.lib
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

ActiveSync Interfaces