IReplStore::IsValidObject (Windows Embedded CE 6.0)
1/6/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
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
Header | cesync.h |
Library | coredll.lib |
Windows Embedded CE | Windows CE 2.0 and later |