IHlink::GetFriendlyNameIHlink::GetFriendlyName*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHlink::GetAdditionalParams
*Next Topic: IHlink::GetHlinkSite

IHlink::GetFriendlyName

HRESULT GetFriendlyName(
    DWORD grfHLFNAMEF,           //Flag specifying the friendly name to return. 
    LPWSTR * ppwzFriendlyName    //Buffer to receive the friendly name.
   ); 

Retrieves the friendly name of the target. The container normally uses this name to determine how to represent the hyperlink in its user interface.

grfHLFNAMEF
[in] Flag specifying the friendly name to return.
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::SetFriendlyName, IHlinkTarget::GetFriendlyName


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.