[PATCH 14/19] mshtml: Added IHTMLInputElement::select implementation.

View: New views
1 Messages — Rating Filter:   Alert me  

[PATCH 14/19] mshtml: Added IHTMLInputElement::select implementation.

by Jacek Caban-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

---
  dlls/mshtml/htmlinput.c |   13 +++++++++++--
  1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/dlls/mshtml/htmlinput.c b/dlls/mshtml/htmlinput.c
index e53f4c7..fa120d0 100644
--- a/dlls/mshtml/htmlinput.c
+++ b/dlls/mshtml/htmlinput.c
@@ -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)



LightInTheBox - Buy quality products at wholesale price!