Robert Shearman : include:
Add IXMLHttpRequest interface and XMLHttpRequest coclass to xmldoc.idl.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jun 12 10:02:22 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: f701435ca330f8f8dec48c9b14f30f8a904323aa
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=f701435ca330f8f8dec48c9b14f30f8a904323aa
Author: Robert Shearman <rob at codeweavers.com>
Date: Mon Jun 12 01:34:40 2006 +0100
include: Add IXMLHttpRequest interface and XMLHttpRequest coclass to xmldoc.idl.
---
include/xmldom.idl | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 63 insertions(+), 0 deletions(-)
diff --git a/include/xmldom.idl b/include/xmldom.idl
index 4675253..ebc1bd0 100644
--- a/include/xmldom.idl
+++ b/include/xmldom.idl
@@ -666,3 +666,66 @@ coclass DOMFreeThreadedDocument
[default] interface IXMLDOMDocument;
[default, source] dispinterface XMLDOMDocumentEvents;
}
+
+[
+object,
+uuid(ed8c108d-4349-11d2-91a4-00c04f7969e8),
+odl,
+dual,
+oleautomation,
+pointer_default(unique)
+]
+interface IXMLHttpRequest : IDispatch
+{
+ [id(1)]
+ HRESULT open([in] BSTR bstrMethod, [in] BSTR bstrUrl,
+ [in, optional] VARIANT varAsync,
+ [in, optional] VARIANT varUser,
+ [in, optional] VARIANT varPassword);
+ [id(2)]
+ HRESULT setRequestHeader([in] BSTR bstrHeader, [in] BSTR bstrValue);
+
+ [id(3)]
+ HRESULT getResponseHeader([in] BSTR bstrHeader, [out, retval] BSTR *pbstrValue);
+
+ [id(4)]
+ HRESULT getAllResponseHeaders([out, retval] BSTR *pbstrHeaders);
+
+ [id(5)]
+ HRESULT send([in, optional] VARIANT varBody);
+
+ [id(6)]
+ HRESULT abort();
+
+ [propget, id(7)]
+ HRESULT status([out, retval] long *plStatus);
+
+ [propget, id(8)]
+ HRESULT statusText([out, retval] BSTR *bstrStatus);
+
+ [propget, id(9)]
+ HRESULT responseXML([out, retval] IDispatch **ppBody);
+
+ [propget, id(10)]
+ HRESULT responseText([out, retval] BSTR *pbstrBody);
+
+ [propget, id(11)]
+ HRESULT responseBody([out, retval] VARIANT *pvarBody);
+
+ [propget, id(12)]
+ HRESULT responseStream([out, retval] VARIANT *pvarBody);
+
+ [propget, id(13)]
+ HRESULT readyState([out, retval] long *plState);
+
+ [propput, id(14)]
+ HRESULT onreadystatechange([in] IDispatch *pReadyStateSink);
+};
+
+[
+uuid(ed8c108e-4349-11d2-91a4-00c04f7969e8)
+]
+coclass XMLHTTPRequest
+{
+ [default] interface IXMLHttpRequest;
+};
More information about the wine-cvs
mailing list