Contents Previous Page Next Page
IHlinkSite::OnNavigationComplete

Notifies the hyperlink site that a hyperlink navigation has been successful. This notification in particularly useful if the hyperlink has been navigated asynchronously because it is the only notification the hyperlink receives to realize that hyperlinking has completed.

HRESULT OnNavigationComplete(

    DWORD 
dwSiteData,          // Site data for the hyperlink object      
                                                                          
    HRESULT hrStatus,          // Result of the hyperlink navigation      
                                                                          
    LPCWSTR pszStatus          // Description of the failure, if any      
                                                                          
   );                                                                     
                                                                          

Parameters

dwSiteData

[in] Identifies the hyperlink to the hyperlink site. The hyperlink site initializes the hyperlink with this value as part of IHlink::SetHlinkSite.

hrStatus

[in] Result of the hyperlink navigation. Either S_OK for success or E_ABORT or E_FAIL for failure.

pszStatus

[in] Pointer to the string describing the failure that occurred.

Return Values

S_OK

The hyperlink site has been successfully notified.

See Also

HlinkOnNavigate, IHlinkBrowseContext::OnNavigateHlink, IHlinkFrame::OnNavigate