FsGetDefRootName
FsGetDefRootName is called only when the plugin is installed. It asks the plugin for the default root name which should appear in the Network Neighborhood. This root name is NOT part of the path passed to the plugin when Totalcmd accesses the plugin file system! The root will always be "\", and all subpaths will be built from the directory names returned by the plugin.
 
Example: The root name may be "Linux file system" for a plugin which accesses Linux drives. If this function isn't implemented, Totalcmd will suggest the name of the DLL (without extension .DLL) as the plugin root. This function is called directly after loading the plugin (when the user installs it), FsInit() is NOT called when installing the plugin.
 
Declaration:
 
void __stdcall FsGetDefRootName(char* DefRootName, int maxlen);
 
Description of parameters:
 
DefRootName Pointer to a buffer (allocated by the calling program) which can receive the root name.
 
maxlen Maximum number of characters (including the final 0) which fit in the buffer.
 
 
Return value:
 
None.
 
See also: FsFindFirst, FsFindNext