June 2, 2026
8:12 a.m.
This MR started as I tried to implement \__HrLoadAllImportsForDll from native delayimp.lib on top of kernel32.ResolveDelayLoadsFromDll (or its ntdll counterpart). It turns out the semantics are different (esp. when some entries are missing), so I ended up implementing directly without kernelbase or ntdll pieces. So, implementation of ResolveDelayLoadsFromDll is left out of this MR (as we don't have an app using it). Anyway, this MR contains the leftover from the work: - tests for ResolveDelayLoadsFromDll (refactoring some existing code), - test & fix for unloading delay imported DLLs. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11052