Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlVmCfg_SetCloseAppOnShutdown Function
PHT_VM_CONFIGURATION  See Also

Allows to specify whether the Virtuozzo application (such Virtuozzo Desktop) will be closed on the virtual machine shutdown.

Syntax
PRL_RESULT PrlVmCfg_SetCloseAppOnShutdown(
    PRL_HANDLE hVmCfg, 
    PRL_BOOL bVmCloseAppOnShutdown
);
File

PrlApiVm.h

Parameters

hVmCfg
A handle of type PHT_VIRTUAL_MACHINE identifying the virtual machine.
bVmCloseAppOnShutdown
Action type. Specify PRL_TRUE to close the application. Specify PRL_FALSE to keep it running.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

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