Jacek Caban : mshtml: Added IHTMLDOMChildrenCollection:: get_length implementation.
Module: wine Branch: master Commit: 4ff929ebeb9ab1aff3fdc8b0dd2d3a2119096c72 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4ff929ebeb9ab1aff3fdc8b0dd... Author: Jacek Caban <jacek(a)codeweavers.com> Date: Wed Apr 30 18:17:44 2008 +0200 mshtml: Added IHTMLDOMChildrenCollection::get_length implementation. --- dlls/mshtml/htmlnode.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/dlls/mshtml/htmlnode.c b/dlls/mshtml/htmlnode.c index 0f3e848..73c588a 100644 --- a/dlls/mshtml/htmlnode.c +++ b/dlls/mshtml/htmlnode.c @@ -134,8 +134,13 @@ static HRESULT WINAPI HTMLDOMChildrenCollection_Invoke(IHTMLDOMChildrenCollectio static HRESULT WINAPI HTMLDOMChildrenCollection_get_length(IHTMLDOMChildrenCollection *iface, long *p) { HTMLDOMChildrenCollection *This = HTMLCHILDCOL_THIS(iface); - FIXME("(%p)->(%p)\n", This, p); - return E_NOTIMPL; + PRUint32 length=0; + + TRACE("(%p)->(%p)\n", This, p); + + nsIDOMNodeList_GetLength(This->nslist, &length); + *p = length; + return S_OK; } static HRESULT WINAPI HTMLDOMChildrenCollection__newEnum(IHTMLDOMChildrenCollection *iface, IUnknown **p)
participants (1)
-
Alexandre Julliard