Skip to content

wow64: Convert SCSI_PASS_THROUGH and SCSI_PASS_THROUGH_DIRECT structures in wow64_NtDeviceIoControlFile.

Akihiro Sagawa requested to merge sgwaki/wine:fix.scsi_ioctl into master

Otherwise, NtDeviceIoControlFile fails because of a structure size mismatch. This happens since SCSI_PASS_THROUGH and SCSI_PASS_THROUGH_DIRECT structures contain a pointer-type member, which is 4 bytes in a 32-bit system and 8 bytes in a 64-bit system.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=58257

Edited by Akihiro Sagawa

Merge request reports

Loading