https://bugs.winehq.org/show_bug.cgi?id=40296
Bug ID: 40296 Summary: WNASPI32.DLL should migrate to DeviceIoControl() Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: carlo.bramix@libero.it Distribution: ---
I would like to suggest to remove from the WNASPI32.DLL implementation in WINE all references to linux ioctl() and the various conditional code like "#ifdef linux" and migrate to a plain Windows-like based code, by using DeviceIoControl() instead for sending SCSI commands. This change will make possible to write a DLL that will work in other environment besides linux and it will leave this kind of complexity limited in NTDLL.
PS: WNASPI32 is missing in the list of components when you file a bug in bugzilla.