IHlinkTarget::GetBrowseCo...     IHlinkTarget::GetMoniker ...     IHlinkTarget Interface    
Web Workshop (Miscellaneous)

IHlinkTarget::GetFriendlyName Method


Retrieves a display name for the given hyperlink location within the target.

Syntax

HRESULT GetFriendlyName(
    LPCWSTR pwzLocation,     
    LPWSTR *ppwzFriendlyName    
);

Parameters

pwzLocation
[in] Address of a string that specifies the position of the hyperlink destination within the hyperlink target.
ppwzFriendlyName
[out] Address of a pointer to a string that receives the display name. This string must be allocated using CoTaskMemAlloc. It is the caller's responsibility to free this string using CoTaskMemFree.

Return Value

Returns S_OK if successful, or E_OUTOFMEMORY if there is insufficient memory to retrieve the display name.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

See Also

IHlink::GetFriendlyName



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.