http://bugs.winehq.org/show_bug.cgi?id=46254
--- Comment #17 from Maotong Zhang zmtong1988@gmail.com --- (In reply to Janne from comment #16)
Created attachment 79059 [details] patch
I tested to patch EnumResourceTypesW. After patch test application do not crash anymore with NULL pointer. Also gives same error 998 as Windows. patch attached.
Issue resolved. I think unsigned int should be changed to ULONG_PTR.