QueryHlink method

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

Tests the validity of a hyperlink ID value.


HRESULT retVal = object.QueryHlink(grfHLQF, uHLID);


grfHLQF [in]


An unsigned integer value that specifies a flag used to test the validity of a hyperlink. This can be one of the HLQF values.

uHLID [in]

Type: unsigned long

An integer that specifies the hyperlink to test. One of the HLID values, such as HLID_PREVIOUS or HLID_NEXT, can be used to indicate a logically identified hyperlink.