This function executes a hyperlink jump to a new document or object (specified in pmkTarget). HlinkNavigateMoniker is implemented as a simple macro that calls the HlinkSimpleNavigateToMoniker function, passing it NULL for most parameters.
HRESULT HlinkNavigateMoniker(
IUnknown * punk, |
//IUnknown pointer to the initiating document or object |
IMoniker * pmkTarget |
//Moniker of the hyperlink target |
); |
Parameters
Return Values
This function can also return any value returned by IHlink::Navigate.
Remarks
The HlinkNavigateMoniker helper function should be used by all applications, documents, and objects that have simple navigation needs. This single function call 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, HlinkNavigateString, HlinkNavigateToStringReference, HlinkSimpleNavigateToMoniker, IHlink::Navigate