[Wine] Re: DeviceIoControl support

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Mon Mar 19 00:52:50 CDT 2007


MarkKoza <markkoza at gmail.com> wrote:
> Hi All,

> Just getting into 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.

Look at how other IOCTL_s were implemented. dlls/ntdll and
dlls/kernel are a good place to start.

-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------


More information about the wine-users mailing list