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

Sets the share name (as it will appear in the guest OS).

Syntax
PRL_RESULT PrlShare_SetName(
    PRL_HANDLE hVmShare, 
    PRL_CONST_STR sNewShareName
);
File
Parameters

hVmShare
A handle of type PHT_SHARE identifying the shared folder.
sNewShareName
The user-defined share name (must be a a UTF-8 encoded, null-terminated string).

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!