# IHlinkBrowseContext::SetCurrentHlink

Sets the current hyperlink in this browse context’s navigation stack.

HRESULT SetCurrentHlink(

ULONG uHLID | // Hyperlink ID to set in the navigation stack
); |

Parameters

uHLID
  [in] Identifies the hyperlink to set in the current browse context’s navigation stack. May be a value taken from the HLID constants to indicate a logically identified hyperlink, such as HLID_PREVIOUS or HLID_NEXT.

Return Values

S_OK
  This hyperlink has been successfully set in the current browse context’s navigation stack.
E_FAIL
  Indicates the specified hyperlink does not exist in this browse context.

See Also

HLID, IHlinkBrowseContext::GetHlink