I’m trying to do direct disk access on Win CE (5.0), and I need to p/invoke a DeviceIoControl call with IOCTL_DISK_READ.
But I can’t find which header file that’s defined in (I’m using VS2008 rather than a CE SDK), so I can’t find the value of the IOCTL.
If anyone knows the value (or where I can get it) I’d be very grateful.
from
diskio.hEDIT
For completeness sake so you don’t have to backtrack the other values
from
winioctl.hEDIT 2
And for those who are lazy (like me) it unfolds like this:
which is
Which would be (in C#)