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
c5953bec
Commit
c5953bec
authored
Nov 25, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLStyleSheetsCollection::item implementation.
parent
4b302f9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
2 deletions
+32
-2
htmlstylesheet.c
dlls/mshtml/htmlstylesheet.c
+32
-2
No files found.
dlls/mshtml/htmlstylesheet.c
View file @
c5953bec
...
...
@@ -170,8 +170,38 @@ static HRESULT WINAPI HTMLStyleSheetsCollection_item(IHTMLStyleSheetsCollection
VARIANT
*
pvarIndex
,
VARIANT
*
pvarResult
)
{
HTMLStyleSheetsCollection
*
This
=
HTMLSTYLESHEETSCOL_THIS
(
iface
);
FIXME
(
"(%p)->(%p %p)
\n
"
,
This
,
pvarIndex
,
pvarResult
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
pvarIndex
,
pvarResult
);
switch
(
V_VT
(
pvarIndex
))
{
case
VT_I4
:
{
nsIDOMStyleSheet
*
nsstylesheet
;
nsresult
nsres
;
TRACE
(
"index=%d
\n
"
,
V_I4
(
pvarIndex
));
nsres
=
nsIDOMStyleSheetList_Item
(
This
->
nslist
,
V_I4
(
pvarIndex
),
&
nsstylesheet
);
if
(
NS_FAILED
(
nsres
)
||
!
nsstylesheet
)
{
WARN
(
"Item failed: %08x
\n
"
,
nsres
);
V_VT
(
pvarResult
)
=
VT_EMPTY
;
return
E_INVALIDARG
;
}
V_VT
(
pvarResult
)
=
VT_DISPATCH
;
V_DISPATCH
(
pvarResult
)
=
(
IDispatch
*
)
HTMLStyleSheet_Create
(
nsstylesheet
);
return
S_OK
;
}
case
VT_BSTR
:
FIXME
(
"id=%s not implemented
\n
"
,
debugstr_w
(
V_BSTR
(
pvarResult
)));
return
E_NOTIMPL
;
default:
WARN
(
"Invalid vt=%d
\n
"
,
V_VT
(
pvarIndex
));
}
return
E_INVALIDARG
;
}
#undef HTMLSTYLESHEETSCOL_THIS
...
...
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