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
29d66b48
Commit
29d66b48
authored
Nov 30, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 03, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLElement2::get_dir implementation.
parent
dec68336
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
2 deletions
+26
-2
htmlelem2.c
dlls/mshtml/htmlelem2.c
+26
-2
No files found.
dlls/mshtml/htmlelem2.c
View file @
29d66b48
...
...
@@ -598,8 +598,32 @@ static HRESULT WINAPI HTMLElement2_put_dir(IHTMLElement2 *iface, BSTR v)
static
HRESULT
WINAPI
HTMLElement2_get_dir
(
IHTMLElement2
*
iface
,
BSTR
*
p
)
{
HTMLElement
*
This
=
HTMLELEM2_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
*
p
=
NULL
;
if
(
This
->
nselem
)
{
nsAString
dir_str
;
nsresult
nsres
;
nsAString_Init
(
&
dir_str
,
NULL
);
nsres
=
nsIDOMHTMLElement_GetDir
(
This
->
nselem
,
&
dir_str
);
if
(
NS_SUCCEEDED
(
nsres
))
{
const
PRUnichar
*
dir
;
nsAString_GetData
(
&
dir_str
,
&
dir
,
NULL
);
if
(
*
dir
)
*
p
=
SysAllocString
(
dir
);
}
else
{
ERR
(
"GetDir failed: %08x
\n
"
,
nsres
);
}
nsAString_Finish
(
&
dir_str
);
}
TRACE
(
"ret %s
\n
"
,
debugstr_w
(
*
p
));
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLElement2_createControlRange
(
IHTMLElement2
*
iface
,
IDispatch
**
range
)
...
...
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