SetFriendlyName method

[IHlink::SetFriendlyName 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.

 

Sets the display name of the target.

Syntax

HRESULT retVal = object.SetFriendlyName(pwzFriendlyName);

Parameters

  • pwzFriendlyName [in]
    Type: LPCWSTR

    The address of a string that contains the display name of the hyperlink target.

See also

IHlink::GetFriendlyName