EventCount

Get the number of events which are children of this source.

 

Property get

HRESULT EventCount([out, retval]
long *pVal);

Parameters

pVal

[out, retval] pointer to a long variable that receives the numer of children

Return Values

S_OK

Function was successfully called

E_POINTER

pVal was no valid pointer

E_ACCESSDENIED

The object is locked due to an asynchronous operation