Parallels Desktop® 10 for Mac — C API Reference Guide
|
Checks whether specified for encrypted virtual hard disk password matched to the current one.
PRL_HANDLE PrlVmDevHd_CheckPassword( PRL_HANDLE hVmDev, PRL_UINT32 nFlags );
PrlApiVm.h
A handle of type PHT_JOB containing the results of this asynchronous operation or PRL_INVALID_HANDLE if there's not enough memory to instantiate the job object.
To get the return code from the PHT_JOB object, use the PrlJob_GetRetCode function. Possible values are:
PRL_ERR_INVALID_ARG - can be returned in follow cases: invalid handle (NULL or not of PHT_VIRTUAL_DEV_HARD_DISK type) was passed; virtual hard disk device object isn't bound to any VM object (was created with PrlVmDev_Create call for example); PrlVmDevHd_SetPassword wasn't called before this call - nothing to check then.
PRL_ERR_SUCCESS - function completed successfully.
Copyright © 1999-2015 Parallels IP Holdings GmbH and its affiliates. All rights reserved.
|
What do you think about this topic?
Send feedback!
|