# IHlinkFrame::OnNavigate

Notifies the hyperlink frame that a hyperlink has been navigated to.

HRESULT OnNavigate(

DWORD grfHLNF | // Navigation flags
IMoniker * pimkTarget, | // Moniker interface pointer of the hyperlink target
LPCWSTR pwzLocation, | // Location within the hyperlink target of new hyperlink
LPCWSTR pwzFriendlyName | // Friendly name of the hyperlink
); |

Parameters

grfHLNF
  [in] Flags describing how the navigation is to proceed. The value of the flag can be any valid HLNF enumeration value.
pimkTarget
  [in, unique] Pointer to an IMoniker interface on the hyperlink target.
pwzLocation
  [in, unique] A string identifying the location within the hyperlink target that was navigated to. Must not be NULL.
pwzFriendlyName
  [in, unique] The friendly name of the location within the hyperlink target that has been navigated to. Must not be NULL.

Return Values

S_OK
  The hyperlink frame has been successfully notified.

See Also

HlinkOnNavigate, HLNF, IHlinkBrowseContext::OnNavigateHlink, IHlinkSite::OnNavigationComplete