This code was trying to block negative values of memid (incorrectly).
I have run more tests and found that it's possible to set some negative
values (e.g. on TKIND_INTERFACE: -1, -4..-8, -500..?). Unless we know
what values are allowed it's probably better to not check memid.
TRACE("(%p,%d,%p)\n", iface, index, pFuncDesc);
- if(!pFuncDesc || (pFuncDesc->memid>0x7fffffff && pFuncDesc->memid!=MEMBERID_NIL))
+ if(!pFuncDesc)
return E_INVALIDARG;
TRACE("{%d,%p,%p,%d,%d,%d,%d,%d,%d,%d,{%d},%d}\n", pFuncDesc->memid,