Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlDiskParams_SetName Function
PHT_VIRTUAL_DISK_PARAMS

Sets virtual disk name.

Syntax
PRL_RESULT PrlDiskParams_SetName(
    PRL_HANDLE hParams, 
    PRL_CONST_STR pString
);
File

PrlDisk.h

Parameters

hParams
[in] A handle of type PHT_VIRTUAL_DISK_PARAMS identifying the virtual disk parameters object.
pString
[in] The value to set. The value must be a a UTF-8 encoded, null-terminated string.

Returns

PRL_RESULT. Possible values are: 

PRL_ERR_INVALID_ARG - Invalid handle or null pointer was passed. PRL_ERR_SUCCESS - Function completed successfully. 

Links
© 2021 Parallels International GmbH. All rights reserved.