Returns the virtual machine memory (RAM) size, in megabytes.
PRL_RESULT PrlVmCfg_GetRamSize( PRL_HANDLE hVmCfg, PRL_UINT32_PTR pnVmRamSize );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_NO_DATA - the memory information is not available in the virtual machine configuration.
PRL_ERR_SUCCESS - function completed successfully.