Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PrlVmCfg_IsHostSharingEnabled Function
PrlApi.h  PHT_VM_CONFIGURATION  Send Feedback

Determines if host sharing is enabled (host shared folders are visible in the guest OS).

Syntax
PRL_RESULT PrlVmCfg_IsHostSharingEnabled(
    PRL_HANDLE hVmCfg, 
    PRL_BOOL_PTR pbVmHostSharingEnabled
);
File
Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
pbVmHostSharingEnabled
[out] A pointer to a variable that receives the result. PRL_TRUE indicates that sharing is enabled. PRL_FALSE indicates otherwise.

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 (c) 1999-2009 Parallels Software International Inc.
What do you think about this topic? Send feedback!