Function

CFURLEnumeratorGetNextURL

Advances an enumerator to the next URL.

Declaration

CFURLEnumeratorResult CFURLEnumeratorGetNextURL(CFURLEnumeratorRef enumerator, CFURLRef *url, CFErrorRef *error);

Parameters

enumerator

The enumerator.

url

Contains the next URL if this function returns kCFURLEnumeratorSuccess.

error

Contains error information if this function returns kCFURLEnumeratorError. Error information is retained and must be released. Can be NULL.

Return Value

The result of advancing the enumerator.

Discussion

If this function returns kCFURLEnumeratorEnd, the enumeration has finished.

A return value of kCFURLEnumeratorError does not imply that the enumeration has finished.

If this function returns kCFURLEnumeratorError, the user info dictionary of error is populated with the following entries (when possible):

See Also

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software