Parent
Get or set the parent of this source.
This property may be used to retrieve the parent of this event (if one). Setting the parent is for internal use only. Setting this value to inappropriate values will result in undefined states and side effects. To set the parent for a event use the IEvtCfgSource::AddEvent or IEvtCfgSource::RemoveEvent methods.
Property get
HRESULT Name([out, retval]
IDispatch** ppVal);
Parameters
ppVal
[out, retval] pointer to a IDispatch* variable that receives the the parent of this event
Return Values
S_OK
Function was successfully called. If the event does have a parent, *ppVal is valid, otherwise it is set to NULL
E_POINTER
ppVal was no valid pointer
E_ACCESSDENIED
The object is locked due to an asynchronous operation