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
e370f4bf
Commit
e370f4bf
authored
Apr 04, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 04, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLWindow2::onerror semi-stub implementation.
parent
299f9e6b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
htmlevent.c
dlls/mshtml/htmlevent.c
+5
-0
htmlevent.h
dlls/mshtml/htmlevent.h
+1
-0
htmlwindow.c
dlls/mshtml/htmlwindow.c
+8
-4
No files found.
dlls/mshtml/htmlevent.c
View file @
e370f4bf
...
...
@@ -68,6 +68,9 @@ static const WCHAR ondragW[] = {'o','n','d','r','a','g',0};
static
const
WCHAR
dragstartW
[]
=
{
'd'
,
'r'
,
'a'
,
'g'
,
's'
,
't'
,
'a'
,
'r'
,
't'
,
0
};
static
const
WCHAR
ondragstartW
[]
=
{
'o'
,
'n'
,
'd'
,
'r'
,
'a'
,
'g'
,
's'
,
't'
,
'a'
,
'r'
,
't'
,
0
};
static
const
WCHAR
errorW
[]
=
{
'e'
,
'r'
,
'r'
,
'o'
,
'r'
,
0
};
static
const
WCHAR
onerrorW
[]
=
{
'o'
,
'n'
,
'e'
,
'r'
,
'r'
,
'o'
,
'r'
,
0
};
static
const
WCHAR
focusW
[]
=
{
'f'
,
'o'
,
'c'
,
'u'
,
's'
,
0
};
static
const
WCHAR
onfocusW
[]
=
{
'o'
,
'n'
,
'f'
,
'o'
,
'c'
,
'u'
,
's'
,
0
};
...
...
@@ -160,6 +163,8 @@ static const event_info_t event_info[] = {
EVENT_CANCELABLE
},
{
dragstartW
,
ondragstartW
,
EVENTT_MOUSE
,
DISPID_EVMETH_ONDRAGSTART
,
EVENT_CANCELABLE
},
{
errorW
,
onerrorW
,
EVENTT_NONE
,
DISPID_EVMETH_ONERROR
,
0
},
{
focusW
,
onfocusW
,
EVENTT_HTML
,
DISPID_EVMETH_ONFOCUS
,
EVENT_DEFAULTLISTENER
},
{
keydownW
,
onkeydownW
,
EVENTT_KEY
,
DISPID_EVMETH_ONKEYDOWN
,
...
...
dlls/mshtml/htmlevent.h
View file @
e370f4bf
...
...
@@ -25,6 +25,7 @@ typedef enum {
EVENTID_DBLCLICK
,
EVENTID_DRAG
,
EVENTID_DRAGSTART
,
EVENTID_ERROR
,
EVENTID_FOCUS
,
EVENTID_KEYDOWN
,
EVENTID_KEYUP
,
...
...
dlls/mshtml/htmlwindow.c
View file @
e370f4bf
...
...
@@ -971,15 +971,19 @@ static HRESULT WINAPI HTMLWindow2_get_onhelp(IHTMLWindow2 *iface, VARIANT *p)
static
HRESULT
WINAPI
HTMLWindow2_put_onerror
(
IHTMLWindow2
*
iface
,
VARIANT
v
)
{
HTMLWindow
*
This
=
impl_from_IHTMLWindow2
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_variant
(
&
v
));
return
E_NOTIMPL
;
FIXME
(
"(%p)->(%s) semi-stub
\n
"
,
This
,
debugstr_variant
(
&
v
));
return
set_window_event
(
This
,
EVENTID_ERROR
,
&
v
);
}
static
HRESULT
WINAPI
HTMLWindow2_get_onerror
(
IHTMLWindow2
*
iface
,
VARIANT
*
p
)
{
HTMLWindow
*
This
=
impl_from_IHTMLWindow2
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
get_window_event
(
This
,
EVENTID_ERROR
,
p
);
}
static
HRESULT
WINAPI
HTMLWindow2_put_onresize
(
IHTMLWindow2
*
iface
,
VARIANT
v
)
...
...
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