https://bugs.winehq.org/show_bug.cgi?id=46254
Bug ID: 46254 Summary: EnumResourceTypesW should return True if there are no resources to enumerate Product: Wine Version: 3.17 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: stu.axon@gmail.com Distribution: ---
EnumResourceTypesW -- When there are no resource types to enumerate the function instead of True will return False (see https://github.com/wine-mirror/wine/blob/master/dlls/kernel32/resource.c#L25...)
This bug was originally reported in pywin32-ctypes https://github.com/enthought/pywin32-ctypes/issues/59
https://bugs.winehq.org/show_bug.cgi?id=46254
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEEDINFO Ever confirmed|0 |1
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- How did you test this? I tried this:
ret = EnumResourceTypesW(NULL, enum_res_proc, 0); ok(ret, "Unexpected return value %d, error %d.\n", ret, GetLastError());
in some module without resources, and I get 0 return value, and error 1812, same on Windows and Wine.
https://bugs.winehq.org/show_bug.cgi?id=46254
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- Any news?