IHlinkBrowseContext::GetHlink

Retrieves a hyperlink from this browse context.

HRESULT GetHlink(
  ULONG uHLID,    //Hyperlink to retrieve
  IHlink * ppihl  //Buffer to return the IHlink interface of the 
                  //hyperlink
);
 

Parameters

uHLID
[in] Identifies the hyperlink to retrieve. May be a value taken from the HLID constants to indicate a logically identified hyperlink, such as HLID_PREVIOUS or HLID_NEXT.
ppihl
[out] Pointer to the buffer to return the IHlink interface pointer of the hyperlink object.

Return Values

S_OK
The hyperlink has been successfully retrieved from this browse context.
E_FAIL
Indicates the specified hyperlink does not exist in this browse context.

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in hlink.h.

See Also

HLID, IHlink, IHlinkBrowseContext::SetCurrentHlink