On 11/04/18 10:41, Alexandre Julliard wrote:
Zebediah Figura z.figura12@gmail.com writes:
This is necessary for services.exe to correctly start the driver, and seems desirable given the function's other uses.
I don't think it's a good idea to claim that non-PE files are Windows binaries. It's going to break many assumptions in app code, and even in Wine itself (cf. SHGetFileInfo).
Thanks for the review; sorry it took so long to get back to this.
services.exe uses GetBinaryType to determine which architecture of winedevice.exe to start, and in the case of the given test DLL it'll be passed a builtin .so when running under Linux. What should be done instead in this case? Reimplement MODULE_GetBinaryType in services.exe? Somehow pass a fake DLL from the test?