Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PrlDispCfg_GetMinVmMem Function
PrlApi.h  PHT_DISP_CONFIG  See Also  Send Feedback

Determines the minimum required memory size that must be allocated to an individual virtual machine.

Syntax
PRL_RESULT PrlDispCfg_GetMinVmMem(
    PRL_HANDLE hDispConfig, 
    PRL_UINT32_PTR pnMemSize
);
File
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

The value returned by this function indicates the minimum amount of memory that is absolutely required for a virtual machine to run. The actual amount of memory for a particular virtual machine is set in the virtual machine configuration and cannot be less than the value returned by this function.

See Also
Links
Copyright (c) 1999-2009 Parallels Software International Inc.
What do you think about this topic? Send feedback!