Returns the virtual machine uptime in seconds since some datetime (see PrlVmCfg_GetUptimeStartDate).
PRL_RESULT PrlVmCfg_GetUptime( PRL_HANDLE hVmCfg, PRL_UINT64_PTR pnVmUptime );
PrlApiVm.h
PRL_RESULT. Possible values are:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully. See also PrlVmCfg_GetUptimeStartDate PrlStat_GetOsUptime