DWebBrowserEvents2::NavigateError

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The NavigateError event method fires when a binding error occurs, with a window or frameset element.

Syntax

void NavigateError(
  IDispatch* pDisp,
  VARIANT* pvtURL,
  VARIANT* pvtFrame,
  VARIANT* pvtStatusCode,
  VARIANT_BOOL* pvbCancel
);

Parameters

  • pDisp
    [in] Pointer to an IDispatch interface for the WebBrowser object that represents the window or frame in which the navigation error occurred.
  • pvtURL
    [in] Pointer to a VARIANT structure of type VT_BSTR that contains the URL for which navigation failed.
  • pvtFrame
    [in] Pointer to a VARIANT structure of type VT_BSTR that contains the name of the frame in which the resource is to be displayed, or NULL if no named frame was targeted for the resource.
  • pvtStatusCode
    [in] Pointer to a VARIANT structure of type VT_I4 containing an error status code, if available.
  • pvbCancel
    [in,out] Pointer to a VARIANT_BOOL value that specifies VARIANT_TRUE to cancel the navigation.

Return Value

None.

Event DISPID

DISPID_NAVIGATEERROR

The DISPID for this event is defined in piedocvw.h. Use this value to identify the event handler when implementing IDispatch::Invoke.

Requirements

Header piedocvw.h
Library piedocvw.lib
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later

See Also

Reference

DWebBrowserEvents2