HRESULT IHTMLDocument2::get_links(IHTMLElementCollection **p);
A pointer to the IHTMLElementCollection interface of the collection that contains all of the link elements and the area elements.
Returns S_OK if successful, or an error value otherwise.
The link objects and the area objects are in the same order as they appear in the document. If duplicate names are found, a collection of those named items is returned. Collections of duplicate names must be referenced subsequently by ordinal position.