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
a9bebdf5
Commit
a9bebdf5
authored
Oct 10, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 13, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added set_event_handler(VT_NULL) implementation.
parent
3d3574eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
htmlevent.c
dlls/mshtml/htmlevent.c
+9
-1
No files found.
dlls/mshtml/htmlevent.c
View file @
a9bebdf5
...
...
@@ -503,14 +503,22 @@ static HRESULT set_event_handler_disp(event_target_t **event_target, HTMLDocumen
HRESULT
set_event_handler
(
event_target_t
**
event_target
,
HTMLDocument
*
doc
,
eventid_t
eid
,
VARIANT
*
var
)
{
switch
(
V_VT
(
var
))
{
case
VT_NULL
:
if
(
*
event_target
&&
(
*
event_target
)
->
event_table
[
eid
])
{
IDispatch_Release
((
*
event_target
)
->
event_table
[
eid
]);
(
*
event_target
)
->
event_table
[
eid
]
=
NULL
;
}
break
;
case
VT_DISPATCH
:
return
set_event_handler_disp
(
event_target
,
doc
,
eid
,
V_DISPATCH
(
var
));
default:
FIXME
(
"not supported vt=%d
\n
"
,
V_VT
(
var
));
return
E_NOTIMPL
;
}
return
E_NOTIMPL
;
return
S_OK
;
}
HRESULT
get_event_handler
(
event_target_t
**
event_target
,
eventid_t
eid
,
VARIANT
*
var
)
...
...
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