Share via


IReplStore::IsValidObject (Windows CE 5.0)

Send Feedback

This method determines if the specified handles are valid.

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

Parameters

  • hFolder
    [in] Handle to a folder. This parameter can be NULL.
  • hItem
    [in] Handle to an item. This parameter can be NULL.
  • uFlags
    [in] Reserved; set to zero.

Return Values

The following table shows the possible return values for this method.

Value Description
NOERROR Specified handles are all valid.
RERR_CORRUPT Data in specified handle is corrupted.
RERR_OBJECT_DELETED Object identified by handle is no longer in store.

Remarks

IsValidObject 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.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Cesync.h.
Link Library: Coredll.lib.

See Also

IReplStore

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.