Notifies a browse context that a hyperlink has been clicked.
Syntax
HRESULT OnNavigateHlink( DWORD grfHLNF, IMoniker *pimkTarget, LPCWSTR pwzLocation, LPCWSTR pwzFriendlyName, ULONG *puHLID );
Parameters
- grfHLNF
- [in] Unsigned integer value that specifies a flag that describes how the navigation is to proceed. This can be any of the HLNF values.
- pimkTarget
- [in] Address of an IMoniker interface on the hyperlink target.
- pwzLocation
- [in] Address of a string that indicates the location within the hyperlink target to which the browser navigated. This must not be NULL.
- pwzFriendlyName
- [in] Address of a string that contains the display name of the location within the hyperlink target to which the browser navigated. This must not be NULL.
- puHLID
- [out] Address of the hyperlink identifier to set in the current browse context's navigation stack.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
See Also
HlinkOnNavigate, IHlinkFrame::OnNavigate, IHlinkSite::OnNavigationComplete