This function can be used to create a new virtual disk locally without being connected to the Parallels Service.
PRL_RESULT PrlDisk_CreateDiskEx( PRL_HANDLE hParams, PRL_HANDLE_PTR phDisk );
PrlDisk.h
PRL_RESULT. Possible values are:
PRL_ERR_INVALID_ARG - Invalid handle or null pointer was passed. PRL_ERR_OUT_OF_MEMORY - Not enough memory to create an object. PRL_ERR_SUCCESS - Function completed successfully.
The function creates a new virtual disk and obtains a handle of type PHT_VIRTUAL_DISK identifying the new disk. The handle can then be used to perform other operations on the disk if necessary (see other functions from this group).