Collapse All
Parallels Desktop® 10 for Mac — C API Reference Guide
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
Copyright © 1999-2015 Parallels IP Holdings GmbH and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!