GetFirstSource
Get the first source in the configuration.
This method resets the internal iterator and calls GetNextSource
To continue enumation call GetNextSource
HRESULT GetFirstSource([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 any sources. *ppSource is set to NULL.
E_POINTER
ppSource was no valid pointer
E_ACCESSDENIED
The object is locked due to an asynchronous operation