IHlinkFrame::UpdateHlinkIHlinkFrame::UpdateHlink*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHlinkFrame::SetBrowseContext
*Next Topic: IHlinkSite

IHlinkFrame::UpdateHlink

HRESULT UpdateHlink(
    ULONG uHLID,              //Hyperlink to retrieve
    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
   );

Updates the hyperlink frame.

uHLID
[in] Used to identify the hyperlink to retrieve. Can be a value taken from the HLID constants to indicate a logically identified hyperlink, such as HLID_PREVIOUS or HLID_NEXT.
pimkTarget
[in, unique] Address of 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.

This method is called before navigation, typically by the IHlinkSite::ReadyToNavigate method. An application that does not implement the IHlinkSite interface can call this method before calling the navigation function.

See also HlinkOnNavigate, HLID, IHlinkBrowseContext::OnNavigateHlink, IHlinkSite::OnNavigationComplete


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.