Problem with DeviceIoControl()
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I am using DeviceIoControl() to create partition using IOCTL_DISK_SET_DRIVE_LAYOUT parameter. The code is working fine to create primary partition. But if i want to create logical drive in extended partition i don't know that whether i have to write two entry or single entry in the DRIVE_LAYOUT_INFORMATION structure(one for extended partition info and the other for the logical drive to be created) and how to find out in which entry of DRIVE_LAYOUT_INFORMATION structure i have to write this information. Thanks.