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
ff0bc51f
Commit
ff0bc51f
authored
Nov 05, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Test that IXMLHTTPRequest doesn't support IDispatchEx.
parent
674fb3c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
httprequest.c
dlls/msxml3/httprequest.c
+1
-4
domdoc.c
dlls/msxml3/tests/domdoc.c
+12
-0
No files found.
dlls/msxml3/httprequest.c
View file @
ff0bc51f
...
...
@@ -607,13 +607,10 @@ static HRESULT WINAPI httprequest_GetTypeInfo(IXMLHTTPRequest *iface, UINT iTInf
LCID
lcid
,
ITypeInfo
**
ppTInfo
)
{
httprequest
*
This
=
impl_from_IXMLHTTPRequest
(
iface
);
HRESULT
hr
;
TRACE
(
"(%p)->(%u %u %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
hr
=
get_typeinfo
(
IXMLHTTPRequest_tid
,
ppTInfo
);
return
hr
;
return
get_typeinfo
(
IXMLHTTPRequest_tid
,
ppTInfo
);
}
static
HRESULT
WINAPI
httprequest_GetIDsOfNames
(
IXMLHTTPRequest
*
iface
,
REFIID
riid
,
...
...
dlls/msxml3/tests/domdoc.c
View file @
ff0bc51f
...
...
@@ -10671,6 +10671,7 @@ static void test_dispex(void)
IXMLDOMParseError
*
error
;
IXMLDOMNamedNodeMap
*
map
;
IXMLDOMDocument
*
doc
;
IXMLHTTPRequest
*
req
;
IXMLDOMElement
*
elem
;
IDispatchEx
*
dispex
;
IXMLDOMNode
*
node
;
...
...
@@ -10772,6 +10773,17 @@ static void test_dispex(void)
IXMLDOMElement_Release
(
elem
);
IXMLDOMDocument_Release
(
doc
);
/* IXMLHTTPRequest */
hr
=
CoCreateInstance
(
&
CLSID_XMLHTTPRequest
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IXMLHttpRequest
,
(
void
**
)
&
req
);
if
(
hr
==
S_OK
)
{
hr
=
IXMLHTTPRequest_QueryInterface
(
req
,
&
IID_IDispatchEx
,
(
void
**
)
&
dispex
);
EXPECT_HR
(
hr
,
E_NOINTERFACE
);
IXMLHTTPRequest_Release
(
req
);
}
free_bstrs
();
}
...
...
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