VixMntapi_OpenDiskSet()Last Updated December 16, 2024
Opens the set of disks for mounting on a Windows virtual machine. All the disks for a dynamic volume or Logical Disk Manager (LDM) must be opened together.
The
VixDiskLibHandle
type, defined in vixDiskLib.h
, is the same as for the diskHandle
parameter in the VixDiskLib_Open()
function, but here it is an array instead of a single value.Parameters:
- diskHandles[in] Array of handles to open disks.
- numberOfDisks[in] Number of disk handles in the array.
- openMode[in] Must be 0 (zero).
- diskSet[out] Disk set handle to be filled in.
If you want to mount disks on a Windows system, first call
VixDiskLib_Open()
for every disk, then use the returned disk handle array to call VixMntapi_OpenDiskSet()
, which returns a disk set handle.If you want to mount disks on a Linux system, call the function
VixMntapi_OpenDisks()
, which opens and creates the disk set handle, all in one function.