IEnumSyncSchedules::Next method
[The IEnumSyncSchedules interface is available for use through Windows XP. It is unavailable in subsequent versions of Windows.]
Gets an array of one or more schedules from the enumeration.
HRESULT Next(
[in] ULONG celt,
[out] SYNCSCHEDULECOOKIE *pSyncSchedCookie,
[out] ULONG *pceltFetched
);
celt [in]
Type: ULONGA ULONG value that represents the number of interfaces to retrieve.
pSyncSchedCookie [out]
Type: SYNCSCHEDULECOOKIE*A pointer to the first interface in the array.
pceltFetched [out]
Type: ULONG*A pointer to the number of interfaces successfully retrieved.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
IEnumSyncSchedules keeps an internal count that specifies which interface is next to be retrieved. Multiple calls to this method will not reset this count. To reset the count, call IEnumSyncSchedules::Reset. To increment the count without retrieving interfaces, call IEnumSyncSchedules::Skip.
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
End of client support |
Windows XP |
End of server support |
Windows Server 2003 |
Header |
Syncmgr.h |
IDL |
Syncmgr.idl |
DLL |
Mobsync.dll |