Collapse All
Parallels C API Reference Guide
PrlUsrCfg_SetVmDirUuid Function
PrlApi.h PHT_USER_PROFILE

Sets user default VM dir.

Syntax
PRL_RESULT PrlUsrCfg_SetVmDirUuid(
    PRL_HANDLE hUserProfile, 
    PRL_CONST_STR sNewVmDirUuid
);
File
Parameters

handle
A handle of type PHT_USER_PROFILE identifying the user.
unnamed_param
new VM dir
Returns

PRL_RESULT . Possible values: PRL_ERR_INVALID_ARG - non valid PHT_USER_PROFILE handle or non valid (NULL) pointer to the new VM dir string was specified PRL_ERR_SUCCESS - operation completed successfully

Remarks

Specified string value must be UTF-8 encoding and ends with '0' terminating symbol.

Links
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!