Obtains a handle of type PHT_VIRTUAL_DISK identifying an existing virtual disk.
PRL_RESULT PrlDisk_OpenDisk( PRL_HANDLE_PTR pHandle, PRL_CONST_STR pDiskName, const PRL_DISK_OPEN_FLAGS OpenFlags, PRL_CONST_VOID_PTR pAdditionalFlags );
PrlDisk.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid argument values.
PRL_ERR_SUCCESS - function completed successfully.
Use this function when you want to view or modify the configuration of an existing virtual disk. Once you obtain the disk handle, use its functions to perform the desired disk manipulations.