Virtuozzo Virtualization SDK C API Reference
|
Determines if host shared folders are mounted automatically in a given virtual machine.
PRL_RESULT PrlVmCfg_IsGuestSharingAutoMount( PRL_HANDLE hVmCfg, PRL_BOOL_PTR pbVmGuestSharingAutoMount );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.
If shares are mounted automatically, then shared folders will be mapped and appear in the guest OS on startup.
Virtuozzo Tools must be installed to use this feature. To obtain the Virtuozzo Tools status, use the PrlVm_GetToolsState function.