SourceCount
Get the number of sources in the configuration.
HRESULT SourceCount([out, retval]
long *pVal);
Parameters
pVal
[out, retval] pointer to a variable to store the returned Value.
Return Values
S_OK
ppSource contains a valid pointer to an IEvtCfgSource object.
E_POINTER
pVal was no valid Pointer
E_ACCESSDENIED
The object is locked due to an asynchronous operation