IReplStore::IsValidObject
Note This interface is not supported on Windows CE 3.0-based platforms.
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
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.
Requirements
| Runs On | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 2.0 and later | Cesync.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.