Collapse All
Parallels Virtualization SDK
PrlVmCfg_SetEditRestriction Function
PHT_VM_CONFIGURATION

Set "Restrict Editing" password for specified VM config

@param valid PRL_HANDLE @param current password, NULL if VM is not restricted @param new password, NULL to remove restriction

@return PRL_RESULT .

Syntax
PRL_RESULT PrlVmCfg_SetEditRestriction(
    PRL_HANDLE hVmCfg, 
    PRL_CONST_STR sOldPass, 
    PRL_CONST_STR sNewPass
);
File

PrlApiDeprecated.h

Remarks

Possible values: PRL_ERR_INVALID_ARG - non valid handle was specified or current password was specified for not restricted VM PRL_ERR_ACCESS_TO_VM_DENIED - wrong current password is used PRL_ERR_SUCCESS - operation successfully completed

Links
Copyright © 1999-2017 Parallels International GmbH. All rights reserved.