Collapse All
Parallels C API Reference Guide
PrlVmCfg_SetCustomProperty Function
PrlApi.h PHT_VM_CONFIGURATION

Sets the virtual machine custom property information.

Syntax
PRL_RESULT PrlVmCfg_SetCustomProperty(
    PRL_HANDLE hVmCfg, 
    PRL_CONST_STR sNewVmCustomProperty
);
File
Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
sNewVmCustomProperty
A pointer to a buffer containing the custom information. The data must be in CDATA format.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

If you have some custom data, which relates to a virtual machine in some way, you can save it in the virtual machine configuration for future retrieval. This can be any data that your client application requires. The data is stored in CDATA format.

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