IReplStore::FindNextItem
Note This interface is not supported on Windows CE 3.0-based platforms.
This method returns a new item handle to the next object in a specified folder, if there is any.
HRESULT FindNextItem(
HREPLFLD hFolder,
HREPLITEM *phItem,
BOOL *pfExist);
Parameters
- hFolder
Handle to a folder. - phItem
[out] Pointer to a handle to the next object in the folder. - pfExist
[out] Pointer to a Boolean value that is set to TRUE if there is an object in the folder.
Return Values
One of the values described in the following table is returned.
| Value | Description |
|---|---|
| E_FAIL | There are problems with the enumeration. Replication should ignore the folder. |
| NOERROR | A new HREPLITEM was created for the next object in the folder and its pointer has been returned. |
Remarks
The IReplStore::FindNextItem method works with FindFirstItem and FindItemClose to enumerate all items in a specified folder. FindNextItem and FindFirstItem are the only methods in IReplStore that can create HREPLITEM structures for the objects. All HREPLITEM structures passed by the ActiveSync service manager are guaranteed to be originally created from these two methods.
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
HREPLITEM, IReplStore, IReplStore::FindFirstItem, IReplStore::FindItemClose
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.