Home |
Function rtsmb_srv_share_add_tree_ex Function rtsmb_srv_set_group_permissions_ex Function rtsmb_srv_register_user_ex Function rtsmb_set_codepage_OEM Function rtsmb_set_codepage_ANSI |
Function rtsmb_srv_share_add_tree_exThis function creates a network share. int rtsmb_srv_share_add_tree_ex(const char * name, const char * comment, const char * path); Parametersnamename of the share. The name must not be longer than 12 characters. commentA comment describing the share. The comment must not be longer than 30 characters. pathLocal file system path to associate with the share. return value0 on success or -1 on failure. The path associated with the share is accessed using the Win32 API (CreateFile, etc). RTTarget-32's RTFileSystemList determines which file system will implement this share (i.e., RTFiles-32 or the RTTarget-32 RAM file system). If the given path does not exist, the function will attempt to create it. For clients to be able to access the share, rtsmb_srv_set_group_permissions_ex must be called to define each user group's access rights to the share. Function rtsmb_srv_set_group_permissions_ex
|