Collapse All
Parallels C API Reference Guide
PrlVmCfg_SetCloseAppOnShutdown Function
PrlApi.h 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
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 © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!