The PHT_SHARE handle is used to manage host shares. With this handle, you can make a host OS folder visible and accessible in a virtual machine. The handle is obtained by making the PrlVmCfg_GetShare or the PrlVmCfg_CreateShare function call.
To create a new share:
To modify an existing share, use the PrlVmCfg_GetShare function to obtain a handle containing the share information. Then repeat the steps described above.
|
Name
|
Description
|
|
Returns the shared folder description.
|
|
|
Returns the shared folder name (as it appears in the guest OS).
|
|
|
Returns the shared folder path.
|
|
|
Determines whether the share is enabled or not.
|
|
|
Determines if the share is read-only.
|
|
|
Removes the share from the virtual machine configuration.
|
|
|
Sets the shared folder description.
|
|
|
Enables the specified share.
|
|
|
Sets the share name (as it will appear in the guest OS).
|
|
|
Sets the shared folder path.
|
|
|
Makes the specified shared folder read-only.
|