IReplStore::IsValidObject

This method determines if the specified handles are valid.

At a Glance

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

Syntax

HRESULT IsValidObject( HREPLFLD hFolder, HREPLITEM hItem,
UINT
uFlags );

Parameters

hFolder

Handle to a folder. This parameter can be NULL.

hItem

Handle to an item. This parameter can be NULL.

uFlags

Reserved; set to zero.

Return Values

One of the values described in the following table is returned.

Value Description
NOERROR The specified handles are all valid.
RERR_CORRUPT The data in the specified handle is corrupted.
RERR_OBJECT_DELETED The object identified by the handle is no longer in the store.

Remarks

The IReplStore::IsValidObject method is used to determine if the specified handles are valid. The ActiveSync service provider should check both hFolder and hItem to determine if either of them is not NULL.

See Also

IReplStore