Share via


IBindCallbackRedirect::Redirect method

Requests the application to redirect to the given URL location and provides it with the option to cancel.

Syntax

HRESULT Redirect(
  [in]  LPCWSTR      *lpcUrl,
  [out] VARIANT_BOOL *vbCancel
);

Parameters

  • lpcUrl [in]
    The requested URL location for redirection

  • vbCancel [out]
    Used to set whether redirection should be cancelled

Return value

Returns S_OK if successful, or E_INVALIDARG if one or more parameters are invalid.

See also

IBindCallbackRedirect