[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-patches
Subject: jscript #5: Added IDispatchEx::GetIDsOfNames imeplementation.
From: Jacek Caban <jacek () codeweavers ! com>
Date: 2008-08-31 23:24:23
Message-ID: 48BB2827.2070301 () codeweavers ! com
[Download RAW message or body]
---
dlls/jscript/dispex.c | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
["ceadccdfb829fe38f63b8029745a410888e2c79a.diff" (text/x-patch)]
diff --git a/dlls/jscript/dispex.c b/dlls/jscript/dispex.c
index 7dfa0d0..88a53a8 100644
--- a/dlls/jscript/dispex.c
+++ b/dlls/jscript/dispex.c
@@ -96,9 +96,19 @@ static HRESULT WINAPI DispatchEx_GetIDsOfNames(IDispatchEx *iface, REFIID riid,
LCID lcid, DISPID *rgDispId)
{
DispatchEx *This = DISPATCHEX_THIS(iface);
- FIXME("(%p)->(%s %p %u %u %p)\n", This, debugstr_guid(riid), rgszNames, cNames,
+ UINT i;
+ HRESULT hres;
+
+ TRACE("(%p)->(%s %p %u %u %p)\n", This, debugstr_guid(riid), rgszNames, cNames,
lcid, rgDispId);
- return E_NOTIMPL;
+
+ for(i=0; i < cNames; i++) {
+ hres = IDispatchEx_GetDispID(_IDispatchEx_(This), rgszNames[i], 0, rgDispId+i);
+ if(FAILED(hres))
+ return hres;
+ }
+
+ return S_OK;
}
static HRESULT WINAPI DispatchEx_Invoke(IDispatchEx *iface, DISPID dispIdMember,
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic