This function executes a hyperlink jump to a new document or object (specified in szTarget). HlinkNavigateString is implemented as a simple macro that calls the HlinkSimpleNavigateToString function, passing it NULL for most parameters.
HRESULT HlinkNavigateString(
IUnknown * punk, |
//IUnknown pointer to the initiating document or object |
LPCWSTR szTarget |
//Moniker of the hyperlink target |
); |
Parameters
Return Values
Remarks
The HlinkNavigateString helper function should be used by all applications, documents, and objects that have simple navigation needs. This single function call that will “do the right thing” depending on whether the navigation is originating from within a hyperlink frame or within a hyperlink-unaware application.
See Also
HLNF, HlinkNavigateMoniker, HlinkNavigateToStringReference, HlinkSimpleNavigateToString, IHlink::Navigate