Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlVmCfg_SetCloseAppOnShutdown Function
PHT_VM_CONFIGURATION  See Also

Allows to specify whether the Parallels application (such Parallels 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
© 2021 Parallels International GmbH. All rights reserved.