UpdateHlink method

[IHlinkFrame::UpdateHlink may be altered or unavailable in subsequent versions of the operating system or product.]

Note  The Microsoft ActiveX Hyperlink API is deprecated in Windows Internet Explorer 8 and later, and ActiveX technology as a whole is unsupported in the Microsoft Edge browser in favor of standards-based web APIs. For more information, see Saying goodbye to ActiveX, VBScript, attachEvent... and Get ready for plug-in free browsing.

 

Updates the hyperlink frame.

Syntax

HRESULT retVal = object.UpdateHlink(uHLID, pimkTarget, pwzLocation, pwzFriendlyName);

Parameters

  • uHLID [in]
    Type: unsigned long

    An integer value that specifies the hyperlink to retrieve. This can be a value taken from the HLID constants to indicate a logically identified hyperlink, such as HLID_PREVIOUS or HLID_NEXT.

  • pimkTarget [in]
    Type: IMoniker

    The address of an IMoniker interface on the hyperlink target.

  • pwzLocation [in]
    Type: LPCWSTR

    The address of a string that specifies the navigation location in the hyperlink target. This cannot be NULL.

  • pwzFriendlyName [in]
    Type: LPCWSTR

    The address of a string that specifies the navigation location of the display name in the hyperlink target. This cannot be NULL.

See also

Reference

HlinkOnNavigate

IHlinkBrowseContext::OnNavigateHlink

IHlinkSite::OnNavigationComplete