This function executes a hyperlink jump to a new document or object (specified in pmkTarget).
HRESULT HlinkSimpleNavigateToMoniker(
IMoniker * pmkTarget, //Moniker of the hyperlink target
LPCWSTR szLocation, //Optional string representing
// location within target
LPCWSTR szTargetFrameName, //Optional string naming the target
// frame
IUnknown * punk, //IUnknown pointer to the initiating
// document or object
IBindCtx * pbc, //Bind context object
IBindStatusCallback * pbsc, //Bind status callback
DWORD grfHLNF, //Navigation flags
DWORD dwReserved //Reserved for future use
);
This function can also return any value returned by IHlink::Navigate.
The HlinkSimpleNavigateToMoniker 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.
Windows NT: Use version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in hlink.h.
HLNF, HlinkNavigateToStringReference, HlinkSimpleNavigateToString, IHlink::Navigate