Contents Previous Page Next Page
IHlinkBrowseContext::OnNavigateHlink

Notifies a browse context that a hyperlink has been navigated.

HRESULT OnNavigateHlink(

    DWORD 
grfHLNF,                   // Navigation flags                                            
                                                                                                    
    IMoniker * pmkTarget,            // Moniker interface pointer of the hyperlink target           
                                                                                                    
    LPCWSTR pszLocation,             // Location within the hyperlink target of new hyperlink       
                                                                                                    
    LPCWSTR szFriendlyName           // 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.

pmkTarget

[in] Pointer to an IMoniker interface on the hyperlink target.

pszLocation

[in] A string identifying the location within the hyperlink target that was navigated to. May not be NULL.

szFriendlyName

[in] The friendly name of the location within the hyperlink target that has been navigated to. May not be NULL.

Return Values

S_OK

The browse context has been successfully notified that a hyperlink has been navigated.

See Also

HlinkOnNavigate, HLNF, IHlinkFrame::OnNavigate, IHlinkSite::OnNavigationComplete