https://msdn.microsoft.com/en-us/library/windows/desktop/dd323684(v=vs.85).aspx
https://msdn.microsoft.com/en-us/library/windows/desktop/dd323699(v=vs.85).aspx
例子:
http://stackoverflow.com/questions/6485579/creating-vhd-files-with-the-virtualdisk-api
具体在硬盘里搜索“virtdisk",可以发现(但是XP系统里完全没有):
C:\mingw64\x86_64-w64-mingw32\include\virtdisk.h
C:\mingw64\x86_64-w64-mingw32\lib32\libvirtdisk.a
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\virtdisk.h
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib\virtdisk.lib
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib\IA64\virtdisk.lib
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib\x64\virtdisk.lib
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include\virtdisk.h
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib\virtdisk.lib
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib\x64\virtdisk.lib
C:\Program Files (x86)\Windows Kits\8.0\Include\um\virtdisk.h
C:\Program Files (x86)\Windows Kits\8.0\Lib\win8\um\x64\Virtdisk.Lib
C:\Program Files (x86)\Windows Kits\8.0\Lib\win8\um\x86\Virtdisk.Lib
C:\Program Files (x86)\Windows Kits\8.1\Include\um\virtdisk.h
C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x64\Virtdisk.Lib
C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x86\Virtdisk.Lib
C:\Qt\Qt5.3.2_min\Tools\mingw482_32\i686-w64-mingw32\include\virtdisk.h
C:\Qt\Qt5.3.2_min\Tools\mingw482_32\i686-w64-mingw32\lib\libvirtdisk.a
C:\Qt\Qt5.6.0\Tools\mingw492_32\i686-w64-mingw32\include\virtdisk.h
C:\Qt\Qt5.6.0\Tools\mingw492_32\i686-w64-mingw32\lib\libvirtdisk.a
C:\Windows\System32\virtdisk.dll
C:\Windows\SysWOW64\virtdisk.dll
C:\Windows\winsxs\amd64_microsoft-windows-virtualdiskapilibrary_31bf3856ad364e35_6.1.7600.16385_none_495791f12222ea12\virtdisk.dll
C:\Windows\winsxs\x86_microsoft-windows-virtualdiskapilibrary_31bf3856ad364e35_6.1.7600.16385_none_ed38f66d69c578dc\virtdisk.dll
C:\XE10\lib\win32c\release\psdk\VIRTDISK.lib