Iterates to the next component and retrieves it.
After an element is returned using the Next method, you can perform operations on it. The collection should be treated as read-only. Elements should not be removed during iteration because removing elements can result in inconsistencies.
If the return value is S_OK, iteration can continue. If the return value is S_FALSE, iteration must stop. The macro SUCCEEDED should not be used to determine success or failure.
The caller must release the interface when the operation is complete.