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
6da1c730
Commit
6da1c730
authored
Apr 30, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
May 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLDOMChildrenCollection::item implementation.
parent
4ff929eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
htmlnode.c
dlls/mshtml/htmlnode.c
+19
-2
No files found.
dlls/mshtml/htmlnode.c
View file @
6da1c730
...
...
@@ -153,8 +153,25 @@ static HRESULT WINAPI HTMLDOMChildrenCollection__newEnum(IHTMLDOMChildrenCollect
static
HRESULT
WINAPI
HTMLDOMChildrenCollection_item
(
IHTMLDOMChildrenCollection
*
iface
,
long
index
,
IDispatch
**
ppItem
)
{
HTMLDOMChildrenCollection
*
This
=
HTMLCHILDCOL_THIS
(
iface
);
FIXME
(
"(%p)->(%ld %p)
\n
"
,
This
,
index
,
ppItem
);
return
E_NOTIMPL
;
nsIDOMNode
*
nsnode
=
NULL
;
PRUint32
length
=
0
;
nsresult
nsres
;
TRACE
(
"(%p)->(%ld %p)
\n
"
,
This
,
index
,
ppItem
);
nsIDOMNodeList_GetLength
(
This
->
nslist
,
&
length
);
if
(
index
<
0
||
index
>
length
)
return
E_INVALIDARG
;
nsres
=
nsIDOMNodeList_Item
(
This
->
nslist
,
index
,
&
nsnode
);
if
(
NS_FAILED
(
nsres
)
||
!
nsnode
)
{
ERR
(
"Item failed: %08x
\n
"
,
nsres
);
return
E_FAIL
;
}
*
ppItem
=
(
IDispatch
*
)
get_node
(
This
->
doc
,
nsnode
,
TRUE
);
IDispatch_AddRef
(
*
ppItem
);
return
S_OK
;
}
#undef HTMLCHILDCOL_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