GetNextLink

Get the next link according to the internal iterator.
Before starting enumeration of links call GetFirstLink
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

[out, retval] pointer to a long variable to store the lang Id of the returned link.

Return Values

S_OK

link contains the next link.

S_FALSE

The DocLink does not have further links. *link is set to NULL.

E_POINTER

link was no valid pointer