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.

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in hlink.h.

See Also

IHlink::GetFriendlyName