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
c2476726
Commit
c2476726
authored
Sep 30, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLEventObj::x implementation.
parent
54291ad3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
htmlevent.c
dlls/mshtml/htmlevent.c
+17
-2
No files found.
dlls/mshtml/htmlevent.c
View file @
c2476726
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
*/
*/
#include <stdarg.h>
#include <stdarg.h>
#include <assert.h>
#define COBJMACROS
#define COBJMACROS
...
@@ -621,10 +622,24 @@ static HRESULT WINAPI HTMLEventObj_get_reason(IHTMLEventObj *iface, LONG *p)
...
@@ -621,10 +622,24 @@ static HRESULT WINAPI HTMLEventObj_get_reason(IHTMLEventObj *iface, LONG *p)
static
HRESULT
WINAPI
HTMLEventObj_get_x
(
IHTMLEventObj
*
iface
,
LONG
*
p
)
static
HRESULT
WINAPI
HTMLEventObj_get_x
(
IHTMLEventObj
*
iface
,
LONG
*
p
)
{
{
HTMLEventObj
*
This
=
impl_from_IHTMLEventObj
(
iface
);
HTMLEventObj
*
This
=
impl_from_IHTMLEventObj
(
iface
);
LONG
x
=
0
;
FIXM
E
(
"(%p)->(%p)
\n
"
,
This
,
p
);
TRAC
E
(
"(%p)->(%p)
\n
"
,
This
,
p
);
*
p
=
-
1
;
if
(
This
->
nsevent
)
{
nsIDOMUIEvent
*
ui_event
;
nsresult
nsres
;
nsres
=
nsIDOMEvent_QueryInterface
(
This
->
nsevent
,
&
IID_nsIDOMUIEvent
,
(
void
**
)
&
ui_event
);
if
(
NS_SUCCEEDED
(
nsres
))
{
/* NOTE: pageX is not exactly right here. */
nsres
=
nsIDOMUIEvent_GetPageX
(
ui_event
,
&
x
);
assert
(
nsres
==
NS_OK
);
nsIDOMUIEvent_Release
(
ui_event
);
}
}
*
p
=
x
;
return
S_OK
;
return
S_OK
;
}
}
...
...
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