Virtuozzo Virtualization SDK C API Reference
Shuts down the Virtuozzo Service.
The current user must have sufficient privileges to execute the Virtuozzo Service shutdown.
PRL_ERR_INVALID_ARG - invalid handle was passed.
PRL_ERR_ACCESS_TOKEN_INVALID - the user doesn't have sufficient privileges.
PRL_ERR_ANOTHER_USER_SESSIONS_PRESENT - another user is currently connected to the Virtuozzo Service, the Virtuozzo Service shutdown aborted.
PRL_ERR_SOME_VMS_RUNNING - running virtual machines found, stop the running machines first.
PRL_ERR_SOME_TASKS_PRESENT - running tasks detected, wait for the tasks to finish or cancel them.
PRL_ERR_SUCCESS - function completed successfully.