http://bugs.winehq.org/show_bug.cgi?id=25478
--- Comment #20 from Erich Hoover ehoover@mines.edu 2011-01-31 11:48:36 CST --- (In reply to comment #19)
... I obviously have no idea what the actual ioctl would be called, but you can construct it with the following macro (once you define FILE_DEVICE_VOLUME): CTL_CODE(FILE_DEVICE_VOLUME, 0, METHOD_BUFFERED, FILE_ANY_ACCESS)
Actually, a quick look at winioctl.h shows that the IOCTL_VOLUME_BASE code is already defined (though as 'V' instead of the hex code) and the ioctl is: IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS