I'm using Visual studio 2010/C# and have added references and linked the DLLs DiskUtils and DiskUtils.common. In looking at the examples, I don't even see code for the headers.
The following code will not work because Disk, BiosParitionTable and FatFileSystem are not found.
Disk disk = Disk.InitializeDynamic(vhdStream, diskSize);
(FatFileSystem fs = FatFileSystem.FormatPartition(disk, 0, null
Where are these objects geting defined?