Contents Previous Page Next Page
IHlinkBrowseContext::GetHlink

Retrieves a hyperlink from this browse context.

HRESULT GetHlink(

    ULONG 
uHLID,        // Hyperlink to retrieve                                      
                                                                                      
    IHlink ** pphl      // 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.

pphl

[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.

See Also

HLID, IHlink, IHlinkBrowseContext::SetCurrentHlink