Alexandre Julliard pushed to branch master at wine / wine
Commits: 61d17af8 by Nikolay Sivov at 2025-06-18T21:50:50+02:00 widl: Always use NdrClientCall2() for interpreted stubs.
NdrClientCall() should only be used in 32-bit mode when Oi or Oic stub optimizations are used. Currently our interpreted mode targets Oicf mode and other levels are not supported.
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com
- - - - - fa3b03d9 by Nikolay Sivov at 2025-06-18T21:50:50+02:00 widl: Do not write "const" modifiers for _PARAM_STRUCT fields.
The issue comes from per-field structure copy that we generate on 32-bit. For non-pointer fields like "const int" this breaks compilation when assigning to a const field. The best solution would be to remove local struct variable completely and pass first argument address as a stack address. This is what midl does. My understanding is that doing it midl way used to break on some compilers, and we have to keep the copy. Once we encounter pointer type that needs such copy, we'll have to patch it more to cast the const away for example.
Such type modification matches what midl does for structures in _Thunk's, so the fix itself is correct.
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com
- - - - - 3925de24 by Piotr Caban at 2025-06-18T21:50:50+02:00 include: Add errlup.idl.
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com
- - - - -
5 changed files:
- dlls/msdaps/usrmarshal.c - include/Makefile.in - + include/errlup.idl - include/oledb.idl - tools/widl/typegen.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/e51d0d68cf889ee1540fc4aa237d2d...