beckhoff — 6.7.3.6 GetFirstMessage

Event Configuration Property get HRESULT DocLinkCount([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 6.7.3.5 GetDocLink Get the DocLink with the specified name. HRESULT GetDocLink([in] BSTR name, [out,retval] IEvtCfgDocLink** ppLink); Parameters name [in] name of the link to be retreived. ppLink [out, retval] pointer to a pointer to store the returned DocLink object. Return Values S_OK ppLink contains a valid pointer to an IEvtCfgSource object.

E_INVALIDARG No link with the specified name is child of the event E_POINTER ppLink was no valid pointer. 6.7.3.6 GetFirstMessage Get the first message string of the event. This method resets the internal iterator and calls GetNextMessage [ } 45] To continue enumation call GetNextMessagee [ } 45] HRESULT GetFirstMessage([out] BSTR* message, [out,retval] long* pLangId); TcEventLogger 44 Version: 1.1