How to convert basic disk to dynamic on windows?

221 Views Asked by At

What win apis exist to convert basic disk to dynamic? I would really appreciate if someone can share sample code. I came across IVdsPack::MigrateDisks but I am not able to find any sample code.

1

There are 1 best solutions below

1
On

I am not 100% sure but look into the Virtual Disk Service doc Specially IVdsDisk::ConvertStyle

If you target Windows 8 and later you can use the Windows Storage Management API