Navigates to the hyperlink target.
HRESULT Navigate(
DWORD
grfHLNF, // How to navigate
IBindCtx * pbc, // Bind context interface pointer
IBindStatusCallback * pbsc, // Bind-status callback interface pointer
IHlink * phlNavigate // Hyperlink target interface pointer
);
Parameters
grfHLNF
[in] Flags describing how the navigation is to proceed. The value of the flag can be any valid HLNF enumeration value.
pbc
[in] Pointer to the IBindCtx object interface to use for any moniker binding during this operation. May not be NULL.
pbsc
[in] Pointer to the IBindStatusCallback object interface to use for any asynchronous moniker binding performed during the navigation. If NULL, the caller is not interested in progress notification, cancellation, pausing, or low-level binding information.
phlNavigate
[in] Pointer to the IHlink object interface to the hyperlink target.
Return Values
S_OK
The navigation to the target has been successful.
IHlink::Navigate errors
Since IHlinkFrame::Navigate calls IHlink::Navigate, the errors associated with this method can be returned.
See Also