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
6fafc229
Commit
6fafc229
authored
Mar 07, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 08, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added get_name and get_value implementation of IHTMLTextAreaElement interface.
parent
4ac4246f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
4 deletions
+40
-4
htmltextarea.c
dlls/mshtml/htmltextarea.c
+40
-4
No files found.
dlls/mshtml/htmltextarea.c
View file @
6fafc229
...
...
@@ -149,8 +149,26 @@ static HRESULT WINAPI HTMLTextAreaElement_put_value(IHTMLTextAreaElement *iface,
static
HRESULT
WINAPI
HTMLTextAreaElement_get_value
(
IHTMLTextAreaElement
*
iface
,
BSTR
*
p
)
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
nsAString
value_str
;
const
PRUnichar
*
value
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
nsAString_Init
(
&
value_str
,
NULL
);
nsres
=
nsIDOMHTMLTextAreaElement_GetValue
(
This
->
nstextarea
,
&
value_str
);
if
(
NS_SUCCEEDED
(
nsres
))
{
nsAString_GetData
(
&
value_str
,
&
value
,
NULL
);
*
p
=
SysAllocString
(
value
);
}
else
{
ERR
(
"GetValue failed: %08lx
\n
"
,
nsres
);
}
nsAString_Finish
(
&
value_str
);
TRACE
(
"%s
\n
"
,
debugstr_w
(
*
p
));
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLTextAreaElement_put_name
(
IHTMLTextAreaElement
*
iface
,
BSTR
v
)
...
...
@@ -163,8 +181,26 @@ static HRESULT WINAPI HTMLTextAreaElement_put_name(IHTMLTextAreaElement *iface,
static
HRESULT
WINAPI
HTMLTextAreaElement_get_name
(
IHTMLTextAreaElement
*
iface
,
BSTR
*
p
)
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
nsAString
name_str
;
const
PRUnichar
*
name
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
nsAString_Init
(
&
name_str
,
NULL
);
nsres
=
nsIDOMHTMLTextAreaElement_GetName
(
This
->
nstextarea
,
&
name_str
);
if
(
NS_SUCCEEDED
(
nsres
))
{
nsAString_GetData
(
&
name_str
,
&
name
,
NULL
);
*
p
=
SysAllocString
(
name
);
}
else
{
ERR
(
"GetName failed: %08lx
\n
"
,
nsres
);
}
nsAString_Finish
(
&
name_str
);
TRACE
(
"%s
\n
"
,
debugstr_w
(
*
p
));
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLTextAreaElement_put_status
(
IHTMLTextAreaElement
*
iface
,
VARIANT
v
)
...
...
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