Jacek Caban : jscript: Ignore version bits in grfdex.
Alexandre Julliard
julliard at winehq.org
Tue Oct 20 10:33:34 CDT 2009
Module: wine
Branch: master
Commit: 48eef3bc671353e4dc64b61c2c9848558c6df974
URL: http://source.winehq.org/git/wine.git/?a=commit;h=48eef3bc671353e4dc64b61c2c9848558c6df974
Author: Jacek Caban <jacek at codeweavers.com>
Date: Mon Oct 19 20:39:56 2009 +0200
jscript: Ignore version bits in grfdex.
---
dlls/jscript/dispex.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/jscript/dispex.c b/dlls/jscript/dispex.c
index 307efd9..d0a328e 100644
--- a/dlls/jscript/dispex.c
+++ b/dlls/jscript/dispex.c
@@ -30,6 +30,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(jscript);
static const IID IID_IDispatchJS =
{0x719c3050,0xf9d3,0x11cf,{0xa4,0x93,0x00,0x40,0x05,0x23,0xa8,0xa6}};
+#define FDEX_VERSION_MASK 0xf0000000
+
typedef enum {
PROP_VARIANT,
PROP_BUILTIN,
@@ -538,7 +540,7 @@ static HRESULT WINAPI DispatchEx_GetDispID(IDispatchEx *iface, BSTR bstrName, DW
TRACE("(%p)->(%s %x %p)\n", This, debugstr_w(bstrName), grfdex, pid);
- if(grfdex & ~(fdexNameCaseSensitive|fdexNameEnsure|fdexNameImplicit)) {
+ if(grfdex & ~(fdexNameCaseSensitive|fdexNameEnsure|fdexNameImplicit|FDEX_VERSION_MASK)) {
FIXME("Unsupported grfdex %x\n", grfdex);
return E_NOTIMPL;
}
@@ -606,7 +608,7 @@ static HRESULT WINAPI DispatchEx_DeleteMemberByName(IDispatchEx *iface, BSTR bst
TRACE("(%p)->(%s %x)\n", This, debugstr_w(bstrName), grfdex);
- if(grfdex & ~(fdexNameCaseSensitive|fdexNameEnsure|fdexNameImplicit))
+ if(grfdex & ~(fdexNameCaseSensitive|fdexNameEnsure|fdexNameImplicit|FDEX_VERSION_MASK))
FIXME("Unsupported grfdex %x\n", grfdex);
hres = find_prop_name(This, bstrName, &prop);
More information about the wine-cvs
mailing list