次の方法で共有


GetHlink method

[IHlinkBrowseContext::GetHlink 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.

 

Gets a hyperlink from the browse context.

Syntax

HRESULT retVal = object.GetHlink(uHLID, ppihl);

Parameters

  • uHLID [in]
    Type: unsigned long

    An integer that specifies the hyperlink to retrieve. This can be one of the HLID values, such as HLID_PREVIOUS or HLID_NEXT.

  • ppihl [out]
    Type: IHlink

    The address of the buffer to receive the IHlink interface pointer of the hyperlink object.

See also

IHlinkBrowseContext::SetCurrentHlink