Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This method determines if the specified handles are valid.

Syntax

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 Value

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

IsValidObjectis used to determine if the specified handles are valid. The ActiveSync service provider should check both hFolderand hItemto determine if either of them is not NULL.

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

IReplStore