On Tue Nov 25 19:51:37 2025 +0000, Yuxuan Shui wrote:
Yes, on old wow, `TH32CS_SNAPMODULE32` from a 64bit process against a 32bit process will list all 32bit modules and none of the 64bit modules. this is the same behavior `EnumProcessModules` have. I skipped tests involving `TH32CS_SNAPMODULE32` on old wow altogether, so this "only 32bit modules are listed" is not tested, because it's a behavior only old wow wine has, and is different from native Windows.
yes it cannot be tested under Windows, but it doesn't mean we cannot test it under Wine only and expect some results
that's what the tests in psapi and dbghelp do.
so we can either add the tests in this MR, or run only the tests (for this configuration) in dbghelp, but the later will require to review the two MRs at once