On Tue Nov 4 05:52:36 2025 +0000, Paul Gofman wrote:
It looks a bit suspicious that Wine specific flag in WINE_MODREF is added for this. There should maybe some difference in Windows LDR data to reflect those sxs dlls, or instead a different algorithm for handling that in GetModuleHandle? I think we basically try to maintain Windows LDR data compatibility.
Okay. I will dig further. It looks like there is an LDRP_REDIRECTED flag that might be related.