Daniel Skorka wrote: > MarkKaye <markkoza@xxxxxxxxx> wrote: > > I've written a Windows app that uses various DeviceIoControl codes that > > as far as I can see aren't implemented in Wine. They are: > > > > IOCTL_DISK_GET_DRIVE_GEOMETRY > > FSCTL_LOCK_VOLUME > > FSCTL_DISMOUNT_VOLUME > > IOCTL_DISK_GET_PARTITION_INFO > > IOCTL_STORAGE_GET_DEVICE_NUMBER > > IOCTL_DISK_GET_DRIVE_LAYOUT > > > > Anybody have any ideas how I can get the app running on Wine? > > Unfortunately, I still need the code to run on Windows too. > > The app only deals with disk drive devices. Is it possible to hack Wine > > to return the same data structures I would receive in Windows? Any > > possible solutions will be appreciated! > > There's several ways to do this: > - Implement support for these IOCTLs in wine (if sensible) > - Stub them out. They won't do anything, but your app might run anyway. > - Make your app not use these ioctls. > > What exactly is it your app is doing, and does it even make sense to use > your app on linux? > > Daniel > -- > Before you post: > Read the Wine User Guide http://winehq.org/site/docs/wineusr-guide/index > When you post: > Which wine version? Self compiled or prepackaged? Hi Daniel, Thanks for the info. I think I'll have a look at implementing support for the IOCTLs in Wine. The app is something we wrote that takes backups of system drives, mainly Windows systems. We ported it from DOS around 12 months ago and have been using the MS PE Win32 boot disk to perform restores. I've been tinkering around with some small Linux distros for a few days and prefer them to MS PE. If I can get the app running on a Linux boot disk I'll be very happy :o) Many Thanks, Mark _______________________________________________ wine-users mailing list wine-users@xxxxxxxxxx http://www.winehq.org/mailman/listinfo/wine-users