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

Creates a new handle of type PHT_SHARE and adds it to the specified virtual machine list of shares.

Syntax
PRL_RESULT PrlVmCfg_CreateShare(
    PRL_HANDLE hVmCfg, 
    PRL_HANDLE_PTR phVmShare
);
File

PrlApiVm.h

Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
phVmShare
[out] A pointer to a variable that receives the new handle.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Remarks

It is the responsibility of the caller to free the handle when it is no longer needed.

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