The PHT_RUNNING_TASK handle is used to recover from the lost Virtuozzo Service connection. It allows to attach to an existing task that was started in the previous session and is still running inside the Virtuozzo Service. The handle is obtained using the PrlLoginResponse_GetRunningTaskByIndex function. Only a limited number of tasks is supported by this functionality. They are defined in the PRL_RUNNING_TASK_TYPE_ENUM enumeration. For more information, please also see the PrlSrv_AttachToLostTask function.