Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlDispCfg_GetReservedMemLimit Function
PHT_DISP_CONFIG  See Also

Determines the amount of physical memory reserved for Parallels Service operation.

Syntax
PRL_RESULT PrlDispCfg_GetReservedMemLimit(
    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, this memory size is calculated automatically based on the RAM size available on the host machine. If needed, the default value can be modified manually using the PrlDispCfg_SetReservedMemLimit function.

See Also
Links
© 2021 Parallels International GmbH. All rights reserved.