mshtml: Added IHTMLInputElement::select implementation.
authorJacek Caban <jacek@codeweavers.com>
Fri, 10 Oct 2008 20:48:58 +0000 (15:48 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 13 Oct 2008 09:16:52 +0000 (11:16 +0200)
dlls/mshtml/htmlinput.c

index e53f4c7a5b26520fb63a4786250a6e3b3ced660a..fa120d0eda03bdec3e34fefd8717e7d96db5b443 100644 (file)
@@ -288,8 +288,17 @@ static HRESULT WINAPI HTMLInputElement_get_maxLength(IHTMLInputElement *iface, l
 static HRESULT WINAPI HTMLInputElement_select(IHTMLInputElement *iface)
 {
     HTMLInputElement *This = HTMLINPUT_THIS(iface);
-    FIXME("(%p)\n", This);
-    return E_NOTIMPL;
+    nsresult nsres;
+
+    TRACE("(%p)\n", This);
+
+    nsres = nsIDOMHTMLInputElement_Select(This->nsinput);
+    if(NS_FAILED(nsres)) {
+        ERR("Select failed: %08x\n", nsres);
+        return E_FAIL;
+    }
+
+    return S_OK;
 }
 
 static HRESULT WINAPI HTMLInputElement_put_onchange(IHTMLInputElement *iface, VARIANT v)