https://bugs.winehq.org/show_bug.cgi?id=45363
--- Comment #4 from sr-tream@yandex.ru --- (In reply to Fabian Maurer from comment #3)
You mean you're trying to mod a game and the dll calls CreateToolhelp32Snapshot? For testing a minimal sample would be nice.
code for with this function: https://pastebin.com/LxR35ibX After the next recompilation of the code, it started working in the wine, before that it worked only in Windows.