https://bugs.winehq.org/show_bug.cgi?id=44954
--- Comment #15 from Matthew matthew@digivation.net --- I added some debugging FIXME's to the is_resource_dll() function and observed a couple of things:
1) During load, NtQuerySection never returns STATUS_SUCCESS for any dlls passed via is_resource_dll. All status returns = 0xC0000024, which maps to "STATUS_OBJECT_TYPE_MISMATCH" thus for this case it seems the new return code is never run. All returns of the new patched function are thus "FALSE."
2) The 'info.ImageContainsCode' flag seems to work correctly.
Thanks, Matthew