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
066e0812
Commit
066e0812
authored
Sep 06, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 08, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLEventObj::get_ctrKey implementation.
parent
461b3768
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 @
066e0812
...
...
@@ -265,8 +265,31 @@ static HRESULT WINAPI HTMLEventObj_get_altKey(IHTMLEventObj *iface, VARIANT_BOOL
static
HRESULT
WINAPI
HTMLEventObj_get_ctrlKey
(
IHTMLEventObj
*
iface
,
VARIANT_BOOL
*
p
)
{
HTMLEventObj
*
This
=
HTMLEVENTOBJ_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
PRBool
ret
=
FALSE
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
if
(
This
->
nsevent
)
{
nsIDOMKeyEvent
*
key_event
;
nsresult
nsres
;
nsres
=
nsIDOMEvent_QueryInterface
(
This
->
nsevent
,
&
IID_nsIDOMKeyEvent
,
(
void
**
)
&
key_event
);
if
(
NS_SUCCEEDED
(
nsres
))
{
nsIDOMKeyEvent_GetCtrlKey
(
key_event
,
&
ret
);
nsIDOMKeyEvent_Release
(
key_event
);
}
else
{
nsIDOMMouseEvent
*
mouse_event
;
nsres
=
nsIDOMEvent_QueryInterface
(
This
->
nsevent
,
&
IID_nsIDOMMouseEvent
,
(
void
**
)
&
mouse_event
);
if
(
NS_SUCCEEDED
(
nsres
))
{
nsIDOMMouseEvent_GetCtrlKey
(
mouse_event
,
&
ret
);
nsIDOMMouseEvent_Release
(
mouse_event
);
}
}
}
*
p
=
ret
?
VARIANT_TRUE
:
VARIANT_FALSE
;
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLEventObj_get_shiftKey
(
IHTMLEventObj
*
iface
,
VARIANT_BOOL
*
p
)
...
...
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