Export (0) Print
Expand All

HlinkNavigateMoniker Function

Deprecated. Executes a hyperlink jump, that is specified by a moniker, to a new document or object.

Syntax


HRESULT HlinkNavigateMoniker(
    IUnknown *pUnk,
    IMoniker *pmkTarget
);

Parameters

pUnk
[in] The address of the IUnknown interface on the document or object that is initiating the hyperlink. If this is NULL, it is assumed that the hyperlink originates from a Microsoft ActiveX-unaware application.
pmkTarget
[in] The address of the moniker that identifies the hyperlink target. If this is NULL, the navigation is inside a document.

Return Value

Returns S_OK if successful. This function can also return any value returned by IHlink::Navigate.

Remarks

HlinkNavigateMoniker is implemented as a simple macro that calls the HlinkSimpleNavigateToMoniker function, passing it NULL for most parameters.

The HlinkNavigateMoniker helper function can be used by all applications, documents, and objects that have simple navigation requirements. The simple hyperlink navigation model enables a user to jump from one page to another page, but does not provide support for more complex operations, such as cutting and pasting hyperlinks. This function performs navigation, if it originates in a hyperlink frame.

Function Information

Stock Implementation Urlmon.dll
Custom Implementation No
Header Urlmon.h
Import library Urlmon.lib
Minimum availability Internet Explorer 3.0
Minimum operating systems Windows NT 4.0, Windows 95

See Also

Community Additions

ADD
Show:
© 2015 Microsoft