pub fn open_disk_type(
path: &Path,
read_only: bool,
) -> Result<Resource<DiskHandleKind>>
Expand description
Opens the resources needed for using a disk from a file at path
.
If the file ends with .vhd and is a fixed VHD1, it will be opened using the user-mode VHD parser. Otherwise, if the file ends with .vhd or .vhdx, the file will be opened using the kernel-mode VHD parser.