May 9, 2026
3:25 p.m.
GetTypeAttr unconditionally inflated cFuncs by the IDispatch vtbl size and GetRefTypeOfImplType(0) returned dispatch_href, even for typeinfos created via ICreateTypeLib2 without AddImplType. In that case dispatch_href is -1, so callers that walked GetRefTypeOfImplType chains followed an invalid href. Only inflate cFuncs when an impl type is registered, and only return dispatch_href when the typelib actually has an IDispatch reference. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10855