Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
45db1d13
Commit
45db1d13
authored
Oct 09, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Implement ::get_responseXML().
parent
41ab8251
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
3 deletions
+24
-3
httprequest.c
dlls/msxml3/httprequest.c
+24
-3
No files found.
dlls/msxml3/httprequest.c
View file @
45db1d13
...
@@ -766,13 +766,34 @@ static HRESULT WINAPI httprequest_get_statusText(IXMLHTTPRequest *iface, BSTR *p
...
@@ -766,13 +766,34 @@ static HRESULT WINAPI httprequest_get_statusText(IXMLHTTPRequest *iface, BSTR *p
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
httprequest_get_responseXML
(
IXMLHTTPRequest
*
iface
,
IDispatch
**
ppB
ody
)
static
HRESULT
WINAPI
httprequest_get_responseXML
(
IXMLHTTPRequest
*
iface
,
IDispatch
**
b
ody
)
{
{
httprequest
*
This
=
impl_from_IXMLHTTPRequest
(
iface
);
httprequest
*
This
=
impl_from_IXMLHTTPRequest
(
iface
);
IXMLDOMDocument3
*
doc
;
HRESULT
hr
;
BSTR
str
;
FIXME
(
"stub %p %p
\n
"
,
This
,
ppB
ody
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
b
ody
);
return
E_NOTIMPL
;
if
(
!
body
)
return
E_INVALIDARG
;
if
(
This
->
state
!=
READYSTATE_COMPLETE
)
return
E_FAIL
;
hr
=
DOMDocument_create
(
&
CLSID_DOMDocument
,
NULL
,
(
void
**
)
&
doc
);
if
(
hr
!=
S_OK
)
return
hr
;
hr
=
IXMLHTTPRequest_get_responseText
(
iface
,
&
str
);
if
(
hr
==
S_OK
)
{
VARIANT_BOOL
ok
;
hr
=
IXMLDOMDocument3_loadXML
(
doc
,
str
,
&
ok
);
SysFreeString
(
str
);
}
IXMLDOMDocument3_QueryInterface
(
doc
,
&
IID_IDispatch
,
(
void
**
)
body
);
IXMLDOMDocument3_Release
(
doc
);
return
hr
;
}
}
static
HRESULT
WINAPI
httprequest_get_responseText
(
IXMLHTTPRequest
*
iface
,
BSTR
*
body
)
static
HRESULT
WINAPI
httprequest_get_responseText
(
IXMLHTTPRequest
*
iface
,
BSTR
*
body
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment