Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
430df1ca
Commit
430df1ca
authored
Jun 21, 2015
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 22, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLXMLHttpRequest::onreadystatechange property implementation.
parent
4b1ff007
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
5 deletions
+34
-5
xmlhttprequest.c
dlls/mshtml/xmlhttprequest.c
+34
-5
No files found.
dlls/mshtml/xmlhttprequest.c
View file @
430df1ca
...
...
@@ -17,6 +17,7 @@
*/
#include <stdarg.h>
#include <assert.h>
#define COBJMACROS
...
...
@@ -28,6 +29,7 @@
#include "wine/debug.h"
#include "mshtml_private.h"
#include "htmlevent.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
mshtml
);
...
...
@@ -169,15 +171,19 @@ static HRESULT WINAPI HTMLXMLHttpRequest_get_statusText(IHTMLXMLHttpRequest *ifa
static
HRESULT
WINAPI
HTMLXMLHttpRequest_put_onreadystatechange
(
IHTMLXMLHttpRequest
*
iface
,
VARIANT
v
)
{
HTMLXMLHttpRequest
*
This
=
impl_from_IHTMLXMLHttpRequest
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_variant
(
&
v
));
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_variant
(
&
v
));
return
set_event_handler
(
&
This
->
event_target
,
EVENTID_READYSTATECHANGE
,
&
v
);
}
static
HRESULT
WINAPI
HTMLXMLHttpRequest_get_onreadystatechange
(
IHTMLXMLHttpRequest
*
iface
,
VARIANT
*
p
)
{
HTMLXMLHttpRequest
*
This
=
impl_from_IHTMLXMLHttpRequest
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
get_event_handler
(
&
This
->
event_target
,
EVENTID_READYSTATECHANGE
,
p
);
}
static
HRESULT
WINAPI
HTMLXMLHttpRequest_abort
(
IHTMLXMLHttpRequest
*
iface
)
...
...
@@ -246,12 +252,35 @@ static const IHTMLXMLHttpRequestVtbl HTMLXMLHttpRequestVtbl = {
HTMLXMLHttpRequest_setRequestHeader
};
static
inline
HTMLXMLHttpRequest
*
impl_from_DispatchEx
(
DispatchEx
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
HTMLXMLHttpRequest
,
event_target
.
dispex
);
}
static
void
HTMLXMLHttpRequest_bind_event
(
DispatchEx
*
dispex
,
int
eid
)
{
HTMLXMLHttpRequest
*
This
=
impl_from_DispatchEx
(
dispex
);
FIXME
(
"(%p)
\n
"
,
This
);
assert
(
eid
==
EVENTID_READYSTATECHANGE
);
}
static
dispex_static_data_vtbl_t
HTMLXMLHttpRequest_dispex_vtbl
=
{
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
HTMLXMLHttpRequest_bind_event
};
static
const
tid_t
HTMLXMLHttpRequest_iface_tids
[]
=
{
IHTMLXMLHttpRequest_tid
,
0
};
static
dispex_static_data_t
HTMLXMLHttpRequest_dispex
=
{
NULL
,
&
HTMLXMLHttpRequest_dispex_vtbl
,
DispHTMLXMLHttpRequest_tid
,
NULL
,
HTMLXMLHttpRequest_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