jscript: Ignore version bits in grfdex.
This commit is contained in:
parent
be8107a235
commit
48eef3bc67
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue