The PrlApi_GetRecommendMinVmMem returns recommend minimal memory size for guest OS defined in the OS version parameter.
PRL_RESULT PrlApi_GetRecommendMinVmMem( PRL_UINT32 nOsVersion, PRL_UINT32_PTR pnMinMemSize );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.