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
a468ec57
Commit
a468ec57
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 IHTMLSelectElement::selectedIndex property implementation.
parent
8bfc6f75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
4 deletions
+20
-4
htmlselect.c
dlls/mshtml/htmlselect.c
+20
-4
No files found.
dlls/mshtml/htmlselect.c
View file @
a468ec57
...
...
@@ -195,15 +195,31 @@ static HRESULT WINAPI HTMLSelectElement_get_onchange(IHTMLSelectElement *iface,
static
HRESULT
WINAPI
HTMLSelectElement_put_selectedIndex
(
IHTMLSelectElement
*
iface
,
long
v
)
{
HTMLSelectElement
*
This
=
HTMLSELECT_THIS
(
iface
);
FIXME
(
"(%p)->(%ld)
\n
"
,
This
,
v
);
return
E_NOTIMPL
;
nsresult
nsres
;
TRACE
(
"(%p)->(%ld)
\n
"
,
This
,
v
);
nsres
=
nsIDOMHTMLSelectElement_SetSelectedIndex
(
This
->
nsselect
,
v
);
if
(
NS_FAILED
(
nsres
))
ERR
(
"SetSelectedIndex failed: %08x
\n
"
,
nsres
);
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLSelectElement_get_selectedIndex
(
IHTMLSelectElement
*
iface
,
long
*
p
)
{
HTMLSelectElement
*
This
=
HTMLSELECT_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
PRInt32
idx
=
0
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
nsres
=
nsIDOMHTMLSelectElement_GetSelectedIndex
(
This
->
nsselect
,
&
idx
);
if
(
NS_FAILED
(
nsres
))
ERR
(
"GetSelectedIndex failed: %08x
\n
"
,
nsres
);
*
p
=
idx
;
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLSelectElement_get_type
(
IHTMLSelectElement
*
iface
,
BSTR
*
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