I don't think this patch makes sense.
Well, it doesn't do much - IUnknown_AddRef is litterally the same as IDirect3DDevice9Ex_AddRef(or at least it can be). But I think if we have at least name-specialized macros for each interface we should use the one that matches the object we have
Or am I missing something?