Share via


IReplStore::IsValidObject

This method determines if the specified handles are valid.

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

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

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.