http://bugs.winehq.org/show_bug.cgi?id=46254
Janne janne.kekkonen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |janne.kekkonen@gmail.com
--- Comment #3 from Janne janne.kekkonen@gmail.com --- Created attachment 79049 --> http://bugs.winehq.org/attachment.cgi?id=79049 EnumResourceTypesA test code
I made simpple application which calls EnumResourceTypesA.
Application was tested on Wine 10.9 and on Windows 11.
In case callback function returns TRUE. EnumResourceTypesA returns TRUE In Windows11: GetLastError returns 126. In Wine: GetLastError returns 126.
If callback function returns FALSE. EnumResourceTypesA returns FALSE. In Windows11: GetLastError returns 15106. In Wine: GetLastError returns 126.
If callback function pointer is NULL.
In Windows11: EnumResourceTypesA returns FALSE. GetLastError returns: 998.
Wine Crashes.
Source of my test application attached.