Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlDispCfg_GetMinReservMemLimit Function
PHT_DISP_CONFIG  See Also

Determines the minimum amount of physical memory that must be reserved for Virtuozzo Service operation.

Syntax
PRL_RESULT PrlDispCfg_GetMinReservMemLimit(
    PRL_HANDLE hDispConfig, 
    PRL_UINT32_PTR pnMemSize
);
File

PrlApiDisp.h

Parameters

hDispConfig
A handle of type PHT_DISP_CONFIG.
pnMemSize
[out] A pointer to a variable that receives the memory size (in megabytes).

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Remarks

By default, memory limits and the actual size of the reserved memory are calculated automatically based on the total RAM available on the host machine. If needed, you can modify the default values. When setting the size of the memory reserved on the host machine for Virtuozzo Service, use this function to find out the minimum required size.

See Also
Links
Copyright ©2016-2017 Parallels International GmbH. All rights reserved.