REPLSETUP

This structure is used to initiate the object handler.

At a Glance

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

Syntax

typedef struct tagReplSetup{
UINT cbStruct;
BOOL fRead;
DWORD dwFlags;
HRESULT hr;
TCHAR szObjType[ MAX_OBJTYPE_NAME ];
IReplNotify *pNotify;
DWORD oid;
DWORD oidNew;
IReplStore *pStore ;
HREPLFLD hFolder;
HREPLITEM hItem;
} REPLSETUP, *PREPLSETUP;

Members

cbStruct

[in] Size of this structure

fRead

[in] Boolean that is set to TRUE if setting up for reading (serializing) the object, or to FALSE if setting up for writing (deserializing) the object.

dwFlags

[in] Reserved by replication.

Hr

[out] Result of the read/write operation.

szObjType

[in] Null-terminated string that contains the name of the object type.

pNotify

[in] Pointer to IReplNotify::IUnknown interface.

Oid

[in] Identifier of the object.

oidNew

[out] Identifier of the new object. This is different from the object identifier if a new object was created during writing.

pStore

[in] Pointer to IReplStore interface. This parameter exists in the desktop computer only. It is unused for device side use.

hFolder

[in] Handle to the folder. This parameter exists in the desktop computer only. It is unused for device side use.

hItem

[in/out] Handle to the object to be read or written. This parameter exists in the desktop computer only. It is unused for device side use.

See Also

IReplObjHandler::Setup