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
0466542a
Commit
0466542a
authored
Oct 14, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 15, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLOptionElement::get_text implementation.
parent
fa2f0665
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
htmloption.c
dlls/mshtml/htmloption.c
+18
-2
No files found.
dlls/mshtml/htmloption.c
View file @
0466542a
...
...
@@ -241,8 +241,24 @@ static HRESULT WINAPI HTMLOptionElement_put_text(IHTMLOptionElement *iface, BSTR
static
HRESULT
WINAPI
HTMLOptionElement_get_text
(
IHTMLOptionElement
*
iface
,
BSTR
*
p
)
{
HTMLOptionElement
*
This
=
HTMLOPTION_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
nsAString
text_str
;
const
PRUnichar
*
text
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
nsAString_Init
(
&
text_str
,
NULL
);
nsres
=
nsIDOMHTMLOptionElement_GetText
(
This
->
nsoption
,
&
text_str
);
if
(
NS_SUCCEEDED
(
nsres
))
{
nsAString_GetData
(
&
text_str
,
&
text
,
NULL
);
*
p
=
SysAllocString
(
text
);
}
else
{
ERR
(
"GetText failed: %08x
\n
"
,
nsres
);
*
p
=
NULL
;
}
nsAString_Finish
(
&
text_str
);
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLOptionElement_get_form
(
IHTMLOptionElement
*
iface
,
IHTMLFormElement
**
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