Collapse All
Parallels C API Reference Guide
PrlVmCfg_SetAppInDockMode Function
PrlApi.h PHT_VM_CONFIGURATION

Sets the dock mode for the applications (see PRL_APP_IN_DOCK_MODE for available options).

Syntax
PRL_RESULT PrlVmCfg_SetAppInDockMode(
    PRL_HANDLE hVmCfg, 
    PRL_APP_IN_DOCK_MODE nVmAppInDockMode
);
File
Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
nVmAppInDockMode
The applications in dock mode option to set. See the PRL_APP_IN_DOCK_MODE enumeration for the list of options.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

Parallels Tools must be installed to use this feature. To obtain the Parallels Tools status, use the PrlVm_GetToolsState function.

Links
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!