Creates a hyperlink site from strings representing the hyperlink target, the location within the target, and a friendly name, and then navigates to that site.
HRESULT HlinkNavigateToStringReference(
LPCWSTR pwzTarget, //String helping to identify the
// hyperlink target
LPCWSTR pwzLocation, //Location within the hyperlink target
// of new hyperlink
IHlinkSite * pihlsite, //Site object interface for the new
// hyperlink object
DWORD dwSiteData, //Additional site data for the new
// hyperlink object
IHlinkFrame * pihlframe, //Frame object interface for the new
// hyperlink object
DWORD grfHLNF, //Navigation flags
LPBC pibc, //Bind context object
IBindStatusCallback * pibsc, //Bind status callback object
IHlinkBrowseContext * pihlbc //Browse context object
);
This helper function is identical to calling:
// create hyperlink site, IBindStatusCallback,
// gather bind context, and browse context
HlinkCreateFromString(pwzTarget, pwzLocation,
pwzFriendlyName, &hlSite, dwSiteData, NULL,
IID_IHlink, (void**)&phl);
HlinkNavigate(pihl, pihlframe, grfHLNF, pbc, pibsc, pihlbc);
phl->Release();
Windows NT: Use version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in hlink.h.
HLNF, HlinkNavigate, HlinkCreateFromString, HlinkSimpleNavigateToString