Retrieves the name and location portions of the target.
Syntax
HRESULT GetStringReference( DWORD dwWhichRef, LPWSTR *ppwzTarget, LPWSTR *ppwzLocation );
Parameters
- dwWhichRef
- [in] HLINKGETREF value that specifies whether to retrieve the absolute or relative reference to the hyperlink target.
- ppwzTarget
- [out] Address of a string that contains the hyperlink target of the hyperlink reference. If this is NULL, the caller does not receive the target string of the hyperlink reference.
- ppwzLocation
- [out] Address of a string that contains the location portion of the hyperlink reference. If this is NULL, the caller does not receive the location portion of the hyperlink reference.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
See Also
IHlink::GetMonikerReference, HlinkNavigateToStringReference, HlinkSimpleNavigateToString