Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlShare_Remove Function
PHT_SHARE

Removes the share from the virtual machine configuration.

Syntax
PRL_RESULT PrlShare_Remove(
    PRL_HANDLE hVmShare
);
File

PrlApiVm.h

Parameters

hVmShare
A handle of type PHT_SHARE identifying the shared folder.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Remarks

Once a share is removed from the virtual machine configuration, the folder cannot be accessed from the guest OS. Just like any other virtual machine configuration modification, this operation must be performed within the PrlVm_BeginEdit / PrlVm_Commit block.

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