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
74071b05
Commit
74071b05
authored
Oct 04, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLElement2::clientLeft implementation.
parent
6d6f341c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
htmlelem2.c
dlls/mshtml/htmlelem2.c
+19
-2
No files found.
dlls/mshtml/htmlelem2.c
View file @
74071b05
...
@@ -614,8 +614,25 @@ static HRESULT WINAPI HTMLElement2_get_clientTop(IHTMLElement2 *iface, LONG *p)
...
@@ -614,8 +614,25 @@ static HRESULT WINAPI HTMLElement2_get_clientTop(IHTMLElement2 *iface, LONG *p)
static
HRESULT
WINAPI
HTMLElement2_get_clientLeft
(
IHTMLElement2
*
iface
,
LONG
*
p
)
static
HRESULT
WINAPI
HTMLElement2_get_clientLeft
(
IHTMLElement2
*
iface
,
LONG
*
p
)
{
{
HTMLElement
*
This
=
HTMLELEM2_THIS
(
iface
);
HTMLElement
*
This
=
HTMLELEM2_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
nsIDOMNSElement
*
nselem
;
return
E_NOTIMPL
;
PRInt32
client_left
=
0
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
nsres
=
nsIDOMElement_QueryInterface
(
This
->
nselem
,
&
IID_nsIDOMNSElement
,
(
void
**
)
&
nselem
);
if
(
NS_SUCCEEDED
(
nsres
))
{
nsres
=
nsIDOMNSElement_GetClientLeft
(
nselem
,
&
client_left
);
nsIDOMNSElement_Release
(
nselem
);
if
(
NS_FAILED
(
nsres
))
ERR
(
"GetScrollHeight failed: %08x
\n
"
,
nsres
);
}
else
{
ERR
(
"Could not get nsIDOMNSElement interface: %08x
\n
"
,
nsres
);
}
*
p
=
client_left
;
TRACE
(
"*p = %d
\n
"
,
*
p
);
return
S_OK
;
}
}
static
HRESULT
WINAPI
HTMLElement2_attachEvent
(
IHTMLElement2
*
iface
,
BSTR
event
,
static
HRESULT
WINAPI
HTMLElement2_attachEvent
(
IHTMLElement2
*
iface
,
BSTR
event
,
...
...
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