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
f5a02526
Commit
f5a02526
authored
Feb 06, 2018
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IDOMUIEvent::initUIEvent implementation.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
90bccb49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
2 deletions
+25
-2
htmlevent.c
dlls/mshtml/htmlevent.c
+25
-2
No files found.
dlls/mshtml/htmlevent.c
View file @
f5a02526
...
...
@@ -1219,8 +1219,31 @@ static HRESULT WINAPI DOMUIEvent_initUIEvent(IDOMUIEvent *iface, BSTR type, VARI
VARIANT_BOOL
cancelable
,
IHTMLWindow2
*
view
,
LONG
detail
)
{
DOMEvent
*
This
=
impl_from_IDOMUIEvent
(
iface
);
FIXME
(
"(%p)->(%s %x %x %p %x)
\n
"
,
This
,
debugstr_w
(
type
),
can_bubble
,
cancelable
,
view
,
detail
);
return
E_NOTIMPL
;
nsAString
type_str
;
nsresult
nsres
;
HRESULT
hres
;
TRACE
(
"(%p)->(%s %x %x %p %x)
\n
"
,
This
,
debugstr_w
(
type
),
can_bubble
,
cancelable
,
view
,
detail
);
if
(
This
->
target
)
{
TRACE
(
"called on already dispatched event
\n
"
);
return
S_OK
;
}
hres
=
IDOMEvent_initEvent
(
&
This
->
IDOMEvent_iface
,
type
,
can_bubble
,
cancelable
);
if
(
FAILED
(
hres
))
return
hres
;
nsAString_InitDepend
(
&
type_str
,
type
);
nsres
=
nsIDOMUIEvent_InitUIEvent
(
This
->
ui_event
,
&
type_str
,
can_bubble
,
cancelable
,
NULL
/* FIXME */
,
detail
);
nsAString_Finish
(
&
type_str
);
if
(
NS_FAILED
(
nsres
))
{
FIXME
(
"InitUIEvent failed: %08x
\n
"
,
nsres
);
return
E_FAIL
;
}
return
S_OK
;
}
static
const
IDOMUIEventVtbl
DOMUIEventVtbl
=
{
...
...
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