VixMntapi_GetVolumeHandles()

Retrieves handles to volumes in the disk set. The third parameter VixVolumeHandle can be a volume handle or an array of volume handles. If you pass an array this function returns the volume handle for the first volume only. If you pass a pointer (such as VixVolumeHandle *volumeHandles) it returns all the volume handles.

VixError
VixMntapi_GetVolumeHandles(VixDiskSetHandle diskSet,
                           int *numberOfVolumes,
                           VixVolumeHandle **volumeHandles);

Parameters:

  • diskSet [in] Handle to an open disk set.
  • numberOfVolumes [out] Number of volume handles.
  • volumeHandles [out] Volume handles to be filled in.