22 May
2025
22 May
'25
4:28 p.m.
I don't think Windows handles any ioctl conversion in generic code. Rather we should be handling this in the ioctl handler itself. For an ioctl implemented in ntdll we have the in_wow64_call() helper for this; cf. its usage in socket.c. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8120#note_104222