Contents Index Topic Contents | ||
Previous Topic: IHlinkTarget::GetBrowseContext Next Topic: IHlinkTarget::GetMoniker |
IHlinkTarget::GetFriendlyName
HRESULT GetFriendlyName( LPCWSTR pwzLocation, //Hyperlink location within this target LPWSTR * ppwzFriendlyName //Buffer to receive the friendly name );Retrieves a friendly name for the given hyperlink destination within this target.
- Returns S_OK if the friendly name string of the hyperlink destination with this target has been retrieved, or E_OUTOFMEMORY if there is insufficient memory to retrieve the friendly name.
- pwzLocation
- [in, unique] String that indicates the position of the hyperlink destination within this hyperlink target.
- ppwzFriendlyName
- [out] Address of the buffer to return the friendly name. This string must be allocated using CoTaskMemAlloc. It is the caller's responsibility to free this string using CoTaskMemFree.
See also IHlink::GetFriendlyName
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.