Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlVmCfg_IsCloseAppOnShutdown Function
PHT_VM_CONFIGURATION

Determines whether the Virtuozzo application (such as Virtuozzo Desktop) will be automatically closed on the virtual machine shutdown.

Syntax
PRL_RESULT PrlVmCfg_IsCloseAppOnShutdown(
    PRL_HANDLE hVmCfg, 
    PRL_BOOL_PTR pbVmCloseAppOnShutdown
);
File

PrlApiVm.h

Parameters

pbVmCloseAppOnShutdown
[out] A pointer to a variable that receives the result. PLR_TRUE indicates that applications will be closed. PRL_FALSE indicates otherwise.
handle
A handle of type PHT_VIRTUAL_MACHINE identifying the virtual machine.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - operation successfully completed. 

Links
Copyright ©2016-2017 Parallels International GmbH. All rights reserved.