Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlApi_GetRecommendMinVmMem Function
System Functions

The PrlApi_GetRecommendMinVmMem returns recommend minimal memory size for guest OS defined in the OS version parameter.

Syntax
PRL_RESULT PrlApi_GetRecommendMinVmMem(
    PRL_UINT32 nOsVersion, 
    PRL_UINT32_PTR pnMinMemSize
);
File

PrlApiVm.h

Parameters

nOsVersion
OS version
pnMinMemSize
[out] A pointer to a variable that receives the result. Result is the recommend minimal memory size for guest OS.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

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