Determines the recommended memory size for an individual virtual machine.
PRL_RESULT PrlDispCfg_GetRecommendMaxVmMem( PRL_HANDLE hDispConfig, PRL_UINT32_PTR pnMemSize );
PrlApiDisp.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.
Setting the virtual machine memory size to the value returned by this function is the safest way to do it but is not mandatory. You can use your own value but you have to make sure that it falls within the limits returned by the PrlDispCfg_GetMaxVmMem and PrlDispCfg_GetMinVmMem functions.