IEnumSyncProviderConfigUIInfos::Next method (syncregistration.h)
Returns the next ISyncProviderConfigUIInfo object.
Syntax
HRESULT Next(
[in] ULONG cFactories,
[out] ISyncProviderConfigUIInfo **ppSyncProviderConfigUIInfo,
[out] ULONG *pcFetched
);
Parameters
[in] cFactories
The number of ISyncProviderConfigUIInfo objects to retrieve in the range of zero to 1.
[out] ppSyncProviderConfigUIInfo
Returns the next pcFetchedISyncProviderConfigUIInfo objects.
[out] pcFetched
Returns the number of ISyncProviderConfigUIInfo objects that are retrieved.
Return value
The possible return codes include, but are not limited to, the values shown in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
The requested number of objects was not available. |
|
Invalid pointer. |
|
There was not enough memory available to return the next ISyncProviderConfigUIInfo object. |
Remarks
This method will attempt to return the number of items specified by the cFactories parameter. If the specified number of items is not available, S_FALSE will be returned, and pcFetched will contain the number of items that were able to be retrieved.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | syncregistration.h |