11 Feb
2025
11 Feb
'25
5:54 p.m.
This is a cleanup in preparation for !7. Originally, !7 extended the use of `current_modref`, but I think we could avoid that with a more direct approach. Most of these changes are no-ops. For the relay handler, we no longer treat `GetProcAddress` calls inside `DllMain` as coming from a loaded DLL. I believe this was more of a side effect of how the code was structured rather than an intentional behavior that needs to be preserved. One more use of `current_modref` remains, which will be removed by !7. -- v4: ntdll: Remove no longer needed current_modref. ntdll: Use NULL importer in LdrGetProcedureAddress. https://gitlab.winehq.org/wine/wine/-/merge_requests/7287