Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlVmCfg_SetShareClipboard Function
PHT_VM_CONFIGURATION

Enables or disables the clipboard sharing feature.

Syntax
PRL_RESULT PrlVmCfg_SetShareClipboard(
    PRL_HANDLE hVmCfg, 
    PRL_BOOL bEnabled
);
File

PrlApiVm.h

Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
bEnabled
Action type. Set to PRL_TRUE to enabled clipboard sharing. Set to PRL_FALSE to disable it.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Remarks

When clipboard sharing is enabled, you can copy and paste text and files from the host to a virtual machine or vise versa, or from one virtual machine to another. This feature requires Virtuozzo Tools installed in a virtual machine.

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