Contents Index Topic Contents | ||
Previous Topic: IHlink::GetMonikerReference Next Topic: IHlink::GetTargetFrameName |
IHlink::GetStringReference
HRESULT GetStringReference( DWORD dwWhichRef, //Absolute or relative reference LPWSTR * ppwzTarget, //Receives the string that helps identify the hyperlink target LPWSTR * ppwzLocation //Receives the location portion of the hyperlink target );Retrieves strings that identify the hyperlink target and the location within the hyperlink target.
- Returns S_OK to indicate the target and location strings of the hyperlink target have been successfully supplied.
- dwWhichRef
- [in] Value from the HLINKGETREF enumeration specifying whether to get the absolute or relative reference to the hyperlink target.
- ppwzTarget
- [out] On return, points to a string that helps identify the hyperlink target of the hyperlink reference. If NULL, the caller is not interested in the target string of the hyperlink reference.
- ppwzLocation
- [out] On return, points to the location portion of the hyperlink reference. If NULL, the caller is not interested in the location portion of the hyperlink reference.
See also IHlink::GetMonikerReference, HLINKGETREF, HlinkNavigateToStringReference, HlinkSimpleNavigateToString
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.