Event Configuration 6.7.3.1 AddDocLink Add a new DocLink to this event. DocLinks are identified by their Names. DocLinks may only have one parent. If the DocLink is already child of another event, the function will fail. HRESULT AddDocLink([in] IEvtCfgDocLinkt* pLink); Parameters pLink [in] pointer to the new DocLink object to be added. Return Values S_OK The new DocLink was successfully added. E_FAIL pLink could not be added to the event. This can happen if the Link is already child of another event E_POINTER pLink was no valid pointer E_ACCESSDENIED The object is locked due to an asynchronous operation 6.7.3.2 Class Get or set the Event Class.
Property get HRESULT Class([out, retval] long *pVal); Parameters pVal [out, retval] pointer to a long variable that receives the Event Class TcEventLogger 42 Version:
1.1 IEvtCfgEvent Methods Description GetFirstMessage [} 44] Start enumerating message strings GetNextMessage [} 45] Continue enumerating message strings GetFirstFormatString [} 44] Start enumerating format strings GetNextFormatString [} 45] Continue enumerating format strings GetFirstDocLink [} 44] Start enumerating DocLinks GetNextDocLink [} 45] Continue enumerating DocLinks Parent [} 48] Get or set the parent of the event IsParentOnlyReference [} 46] Check whether the event is only more referenced by its parent DocLinkCount [} 43] Number of Doc Links associated with this event CopyTo [} 43] Create a copy of the event object