Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5996de5c
Commit
5996de5c
authored
Feb 24, 2016
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 25, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added HTMLXMLHttpRequestFactory DISPID_VALUE implementation.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3ece2ab7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
1 deletion
+33
-1
xmlhttprequest.c
dlls/mshtml/xmlhttprequest.c
+33
-1
No files found.
dlls/mshtml/xmlhttprequest.c
View file @
5996de5c
...
...
@@ -828,12 +828,44 @@ static const IHTMLXMLHttpRequestFactoryVtbl HTMLXMLHttpRequestFactoryVtbl = {
HTMLXMLHttpRequestFactory_create
};
static
inline
HTMLXMLHttpRequestFactory
*
factory_from_DispatchEx
(
DispatchEx
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
HTMLXMLHttpRequestFactory
,
dispex
);
}
static
HRESULT
HTMLXMLHttpRequestFactory_value
(
DispatchEx
*
iface
,
LCID
lcid
,
WORD
flags
,
DISPPARAMS
*
params
,
VARIANT
*
res
,
EXCEPINFO
*
ei
,
IServiceProvider
*
caller
)
{
HTMLXMLHttpRequestFactory
*
This
=
factory_from_DispatchEx
(
iface
);
IHTMLXMLHttpRequest
*
xhr
;
HRESULT
hres
;
TRACE
(
"
\n
"
);
if
(
flags
!=
DISPATCH_CONSTRUCT
)
{
FIXME
(
"flags %x not supported
\n
"
,
flags
);
return
E_NOTIMPL
;
}
hres
=
IHTMLXMLHttpRequestFactory_create
(
&
This
->
IHTMLXMLHttpRequestFactory_iface
,
&
xhr
);
if
(
FAILED
(
hres
))
return
hres
;
V_VT
(
res
)
=
VT_DISPATCH
;
V_DISPATCH
(
res
)
=
(
IDispatch
*
)
xhr
;
return
S_OK
;
}
static
const
dispex_static_data_vtbl_t
HTMLXMLHttpRequestFactory_dispex_vtbl
=
{
HTMLXMLHttpRequestFactory_value
};
static
const
tid_t
HTMLXMLHttpRequestFactory_iface_tids
[]
=
{
IHTMLXMLHttpRequestFactory_tid
,
0
};
static
dispex_static_data_t
HTMLXMLHttpRequestFactory_dispex
=
{
NULL
,
&
HTMLXMLHttpRequestFactory_dispex_vtbl
,
IHTMLXMLHttpRequestFactory_tid
,
NULL
,
HTMLXMLHttpRequestFactory_iface_tids
...
...
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