[D5|NT4+|Winapi] IOCTL_DISK_GET_DRIVE_LAYOUT and DeviceIoControl
Posted on 2000-03-09
Is there someone outta there that knows how to use IOCTL_DISK_GET_DRIVE_LAYOUT with DeviceIoControl to retrieve the features of each partition. What I want is to get information about partitions on all the disks in my computer.
in fact I'm particularly interessed in getting
from the PARTITION_INFORMATION structure.
Can someone submit me a sample that shows how to call that ? I know it's only for NT. But this is enought for me.
thanks for your help.
If you know how to do, but don't have a sample, I will give you some more points to write me something.
Thanks in advance.