Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PrlShare_SetEnabled Function
PrlApi.h  PHT_SHARE  See Also  Send Feedback

Enables the specified share.

Syntax
PRL_RESULT PrlShare_SetEnabled(
    PRL_HANDLE hVmShare, 
    PRL_BOOL bEnabled
);
File
Parameters

hVmShare
A handle of type PHT_SHARE identifying the shared folder.
bEnabled
Specify PRL_TRUE to enable the share. Specified PRL_FALSE to disable it. If a share is disabled, it cannot be accessed from the guest OS.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

See Also
Links
Copyright (c) 1999-2009 Parallels Software International Inc.
What do you think about this topic? Send feedback!