GetNextSource
Get the next source in the configuration according to the internal iterator.
Before starting enumeration of sources call GetFirstSource
After adding or removing Sources you must restart enumeration by calling GetFirstSource
HRESULT GetNextSource([out,
retval] IEvtCfgSource** ppSource);
Parameters
[out, retval] pointer to a pointer to store the returned Source.
Return Values
S_OK
ppSource contains a valid pointer to an IEvtCfgSource object.
S_FALSE
The configuration does not contain more sources. *ppSource is set to NULL.
E_POINTER
ppSource was no valid pointer
E_ACCESSDENIED
The object is locked due to an asynchronous operation