Returns the amount of physical memory, in bytes, currently occupied by the virtual machine.
PRL_RESULT PrlStat_GetRealRamSize( PRL_HANDLE hStat, PRL_UINT64_PTR pnSize );
PrlApiStat.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.