mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 07:37:02 +00:00
mshtml: Added IHTMLSelectElement::get_length implementation.
This commit is contained in:
parent
dfa0b91fb4
commit
8916d64177
1 changed files with 13 additions and 2 deletions
|
@ -291,8 +291,19 @@ static HRESULT WINAPI HTMLSelectElement_put_length(IHTMLSelectElement *iface, lo
|
|||
static HRESULT WINAPI HTMLSelectElement_get_length(IHTMLSelectElement *iface, long *p)
|
||||
{
|
||||
HTMLSelectElement *This = HTMLSELECT_THIS(iface);
|
||||
FIXME("(%p)->(%p)\n", This, p);
|
||||
return E_NOTIMPL;
|
||||
PRUint32 length = 0;
|
||||
nsresult nsres;
|
||||
|
||||
TRACE("(%p)->(%p)\n", This, p);
|
||||
|
||||
nsres = nsIDOMHTMLSelectElement_GetLength(This->nsselect, &length);
|
||||
if(NS_FAILED(nsres))
|
||||
ERR("GetLength failed: %08x\n", nsres);
|
||||
|
||||
*p = length;
|
||||
|
||||
TRACE("ret %ld\n", *p);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI HTMLSelectElement_get__newEnum(IHTMLSelectElement *iface, IUnknown **p)
|
||||
|
|
Loading…
Reference in a new issue