This thread may be off topic or outside the scope of this forum.
I'm writing a larger application that (will) set a particular partition active.
It needs to generate the contents of a partition table for a disk and then
set one of them active based on certain criteria. The application is
written in C#, therefore it's managed code. It does something similar
to what diskpart.exe does on Windows 7, with a little bit more logic.
I've been trying to figure out how to get access to this information using
APIs. It looks like IoReadPartitionInformationEx and IoSetPartitionInformationEx are on right track, but they seem to be a part of Windows Device Framework and NOT accessible via managed code. But EasyBCD seems to implement what I want.
Can I obtain the EasyBCD source code? Is so, how? What's the license? Is it
"commercial use" friendly?
If that's the not kosher, I'm happy to write this myself. Must I really use the
Win DDK? If so, can I use it from managed code? Is there a tutorial?
Pl. advise. Thanks.
I'm writing a larger application that (will) set a particular partition active.
It needs to generate the contents of a partition table for a disk and then
set one of them active based on certain criteria. The application is
written in C#, therefore it's managed code. It does something similar
to what diskpart.exe does on Windows 7, with a little bit more logic.
I've been trying to figure out how to get access to this information using
APIs. It looks like IoReadPartitionInformationEx and IoSetPartitionInformationEx are on right track, but they seem to be a part of Windows Device Framework and NOT accessible via managed code. But EasyBCD seems to implement what I want.
Can I obtain the EasyBCD source code? Is so, how? What's the license? Is it
"commercial use" friendly?
If that's the not kosher, I'm happy to write this myself. Must I really use the
Win DDK? If so, can I use it from managed code? Is there a tutorial?
Pl. advise. Thanks.