This helper function can be used to navigate to a hyperlink, given a hyperlink object and an optional hyperlink frame object.
HRESULT HlinkNavigate(
IHlink * pihl, //The target hyperlink
IHlinkFrame * pihlframe,
//The hyperlink frame of the hyperlink container
DWORD grfHLNF, //Navigation flags
LPBC pbc, //Bind context object interface pointer
IBindStatusCallback * pibsc,
//Bind status callback object interface pointer
IHlinkBrowseContext * pihlbc
//Browse context object interface pointer
);
HlinkNavigate encapsulates the following common sequence of calls:
if (phlFrame)
phlFrame->Navigate(grfHLNF, pbc, pbsc, phl);
else if (phl)
phl->Navigate(grfHLNF, pbc, pbsc, phlbc);
Windows NT: Use version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in hlink.h.
IHlinkBrowseContext, IHlink::Navigate, IHlinkFrame::Navigate, IHlinkTarget::Navigate