Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 the name portion and the location portion of the target.
Syntax
HRESULT retVal = object.GetStringReference(dwWhichRef, ppwzTarget, ppwzLocation);
Parameters
dwWhichRef [in]
Type: DWORDAn HLINKGETREF value that specifies whether to retrieve the absolute reference or the relative reference to the hyperlink target.
ppwzTarget [out]
Type: LPWSTRThe address of a string that contains the hyperlink target of the hyperlink reference. If this is NULL, the caller does not receive the target string of the hyperlink reference.
ppwzLocation [out]
Type: LPWSTRThe address of a string that contains the location portion of the hyperlink reference. If this is NULL, the caller does not receive the location portion of the hyperlink reference.
See also
Reference