# IHlink::SetFriendlyName

Sets the friendly name for the hyperlink. The friendly name is used by hyperlink containers to represent the hyperlink within their user interface.

HRESULT SetFriendlyName(

LPCWSTR pwzFriendlyName | // Friendly name of the hyperlink
); |

Parameters

pwzFriendlyName
  [in, unique]The friendly name string of the hyperlink target.

Return Values

S_OK
  The friendly name string of the hyperlink was set.

See Also

IHlink::GetFriendlyName