Collapse All
Parallels Desktop® 10 for Mac — C API Reference Guide
PrlVm_PtmSet Function
PHT_VIRTUAL_MACHINE

Set object properties .

Syntax
PRL_RESULT PrlVm_PtmSet(
    PRL_HANDLE hVm, 
    PRL_PTM_CONST_OBJECT_PTR pObjects, 
    PRL_UINT32 cObjects
);
File

PrlApiPtm.h

Parameters

hVm
[in] A handle of type PHT_DESKTOP_CONTROL .
pObjects
[in] A pointer to an array PRL_PTM_OBJECT structures
cObjects
[in] number of elements pointed by pObjectsList pointer Zero value is not a valid argument, in this case function returns PRL_ERR_INVALID_ARG
Returns

PRL_RESULT . Possible values: PRL_ERR_INVALID_HANDLE - invalid handle passed PRL_ERR_INVALID_ARG - invalid argument(s) have been passed PRL_ERR_UNIMPLEMENTED - feature is not implemented for specified handle. PRL_ERR_FAILURE - failed to send command. PRL_ERR_SUCCESS - function completed successfully.

Remarks

Routine allows atomically updating multiple properties of multiple objects

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