[Wine] DeviceIoControl

MarkKaye markkoza at gmail.com
Mon Mar 19 00:52:49 CDT 2007


Hi All,

Just getting started using Linux and very impressed.

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!


Thanks.

Best Wishes,
Mark



More information about the wine-users mailing list