Alexandre Julliard pushed to branch master at wine / wine Commits: 5529c199 by Yuxuan Shui at 2026-01-28T22:00:01+01:00 kernel32/tests: Fix CreateToolhelp32Snapshot failure check. CreateToolhelp32Snapshot returns INVALID_HANDLE_VALUE in case of failure, not NULL. - - - - - 360004c8 by Yuxuan Shui at 2026-01-28T22:00:01+01:00 kernel32/tests: Handle ERROR_BAD_LENGTH from CreateToolhelp32Snapshot. According to Microsoft's documentation on CreateToolhelp32Snapshot:
If the function fails with ERROR_BAD_LENGTH, retry the function until it succeeds.
- - - - - 5d2f24fc by Yuxuan Shui at 2026-01-28T22:00:01+01:00 include: Add TH32CS_SNAPMODULE32. - - - - - 83853da5 by Yuxuan Shui at 2026-01-28T22:00:01+01:00 kernel32: Fix CreateToolhelp32Snapshot on old WoW64. On old WoW64 PEB->LdrData is NULL, so later ReadProcessMemory(&NULL->InLoadOrderModuleList.Flink) fails. Don't return failure in this case. - - - - - 3355646c by Yuxuan Shui at 2026-01-28T22:00:01+01:00 kernel32/tests: Test CreateToolhelp32Snapshot with TH32CS_SNAPMODULE32. - - - - - e537be15 by Yuxuan Shui at 2026-01-28T22:00:01+01:00 kernel32: Implement TH32CS_SNAPMODULE32 support for CreateToolhelp32Snapshot. - - - - - 3 changed files: - dlls/kernel32/tests/toolhelp.c - dlls/kernel32/toolhelp.c - include/tlhelp32.h View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/8a7321b92222c2ccaf6059a0b120c8... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/8a7321b92222c2ccaf6059a0b120c8... You're receiving this email because of your account on gitlab.winehq.org.