beckhoff — 6.7.4.3 GetNextLink

Event Configuration [out, retval] pointer to a pointer to the target link. If *ppLink is NULL, a new DocLink will be created. Return Values S_OK ppLink contains a exact copy of this link. E_POINTER ppLink was no valid pointer 6.7.4.2 GetFirstLink Get the first link from this object. This method resets the internal iterator and calls GetNextLink [ } 51] To continue enumation call GetNextLink HRESULT GetFirstLink([out] BSTR* name, [out,retval] long* pLangId); Parameters name [out] pointer to a BSTR variable to store the first URL associated with this doclink. pLangId [out, retval] pointer to a long variable to store the lang Id of the returned URL.

Return Values S_OK name contains the first URL of this doclink. S_FALSE The doclink does not have any URL. *name is set to NULL. E_POINTER name was no valid pointer 6.7.4.3 GetNextLink Get the next link according to the internal iterator. Before starting enumeration of links call GetFirstLink [ } 51] After adding or removing links you must restart enumeration by calling GetFirstLink HRESULT GetNextLink([out] BSTR* link, [out, retval] long* langId); Parameters link [out] pointer to a BSTR variable to store the next link. langId TcEventLogger 51 Version: 1.1