IHlink::GetAdditionalPara...     IHlink::GetHlinkSite Meth...     IHlink Interface    
Web Workshop (Miscellaneous)

IHlink::GetFriendlyName Method


Retrieves the display name of the target.

Syntax

HRESULT GetFriendlyName(
    DWORD grfHLFNAMEF,          
    LPWSTR *ppwzFriendlyName    
); 

Parameters

grfHLFNAMEF
[in] HLFNAMEF-defined flag value that specifies the display name to return.
ppwzFriendlyName
[out] Address of the buffer to receive 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 an error code otherwise.

Remarks

The container normally uses the display name to determine how to represent the hyperlink in its user interface.

Windows CE

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


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.