[IHlink::GetFriendlyName 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 the display name of the target.
HRESULT retVal = object.GetFriendlyName(grfHLFNAMEF, ppwzFriendlyName);
An HLFNAMEF-defined flag value that specifies the display name to return.
The container typically uses the display name to determine how to represent the hyperlink in its user interface.