mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
mshtml: Added IHTMLStyleSheetRulesCollection::get_length implementation.
This commit is contained in:
parent
4ac1ba130a
commit
23393756dd
@ -154,8 +154,20 @@ static HRESULT WINAPI HTMLStyleSheetRulesCollection_get_length(IHTMLStyleSheetRu
|
||||
long *p)
|
||||
{
|
||||
HTMLStyleSheetRulesCollection *This = HTMLSTYLERULESCOL_THIS(iface);
|
||||
FIXME("(%p)->(%p)\n", This, p);
|
||||
return E_NOTIMPL;
|
||||
PRUint32 len = 0;
|
||||
|
||||
TRACE("(%p)->(%p)\n", This, p);
|
||||
|
||||
if(This->nslist) {
|
||||
nsresult nsres;
|
||||
|
||||
nsres = nsIDOMCSSRuleList_GetLength(This->nslist, &len);
|
||||
if(NS_FAILED(nsres))
|
||||
ERR("GetLength failed: %08x\n", nsres);
|
||||
}
|
||||
|
||||
*p = len;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI HTMLStyleSheetRulesCollection_item(IHTMLStyleSheetRulesCollection *iface,
|
||||
|
Loading…
Reference in New Issue
Block a user