Parallels C API Reference Guide
|
Creates a new virtual disk.
PRL_RESULT PrlDisk_CreateDisk( PRL_HANDLE_PTR pHandle, PRL_CONST_STR pDiskName, PRL_CONST_DISK_PARAMETERS_PTR pParams, const PRL_DISK_CALLBACK pCallback, PRL_CONST_VOID_PTR pAdditional );
If this parameter contains a NULL pointer, the function will be called synchronously.
PRL_RESULT . Possible values:
PRL_ERR_INVALID_ARG - invalid argument values.
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). To use this function you must be connected to the Parallels Service. If you are creating a new virtual disk locally, you can use the PrlDisk_CreateDisk_Local function which doesn't require the Parallels Service connection.
Copyright (c) 1999-2008 Parallels Software International Inc.
|
What do you think about this topic?
Send feedback!
|