Share via


onreadystatechange Property (IXMLHTTPRequest) (Windows Embedded CE 6.0)

1/6/2010

Specifies the event handler to be called when the readyState Property (IXMLHTTPRequest) changes. Note that onreadystatechange is designed for scripting environments and is not readily accessible in Microsoft® Visual Basic® or C++.

Script Syntax

oXMLHttpRequest.onreadystatechange = funcMyHandler;

Remarks

Ee503482.collapse(en-US,WinEmbedded.60).gifScript Parameters

None.

Ee503482.collapse(en-US,WinEmbedded.60).gifScript Return Value

None.

Ee503482.collapse(en-US,WinEmbedded.60).gifC/C++ Syntax

HRESULT put_onreadystatechange(
  Idispatch* pReadyStateSink
);

Remarks

Ee503482.collapse(en-US,WinEmbedded.60).gifParameters

  • pReadyStateSink
    [in] Name of the function that should be called when the readyState property value changes.

Ee503482.collapse(en-US,WinEmbedded.60).gifC/C++ Return Values

  • S_OK
    Value returned if successful.

Ee503482.collapse(en-US,WinEmbedded.60).gifRequirements

Header msxml2.h, msxml2.idl
Windows Embedded CE Windows CE .NET 4.0 and later

General Remarks

When using scripting languages, this property can be set in ways other than directly accessing the property through IXMLHTTPRequest. It can also be set using the onreadystatechange attribute of the <XML> tag, and the SCRIPT FOR... construct.

This member is an extension of the Worldwide Web Consortium (W3C) Document Object Model (DOM).

The property is write-only, and applies to the following interface:

IXMLHTTPRequest

See Also

Reference

XML HTTP Properties

Concepts

readyState Property (IXMLHTTPRequest)