Collapse All
Parallels C API Reference Guide
PrlDispCfg_SetRecommendMaxVmMem Function
PrlApi.h PHT_DISP_CONFIG See Also

Allows to manually set recommended memory size for an individual virtual machine.

Syntax
PRL_RESULT PrlDispCfg_SetRecommendMaxVmMem(
    PRL_HANDLE hDispConfig, 
    PRL_UINT32 nMemSize
);
File
Parameters

hDispConfig
A handle of type PHT_DISP_CONFIG .
nMemSize
The new recommended memory size in megabytes.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

By default, the recommended memory size for a virtual machine is calculated automatically. If needed, you can set your own recommended memory size using this function. The value must be selected from the memory limit range that can be determined using the PrlDispCfg_GetMinVmMem and PrlDispCfg_GetMaxVmMem functions. The value by itself is not used as a constraint of any kind and is just a suggestion that the end user may act on or not.

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