[This is preliminary documentation and is subject to change.]
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.
Namespace: Tools.TotalCommanderTAssembly: Tools.TotalCommander (in Tools.TotalCommander.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
[EditorBrowsableAttribute(EditorBrowsableState.Never)] [CLSCompliantAttribute(false)] public void FsGetDefRootName( sbyte* DefRootName, int maxlen ) |
| Visual Basic |
|---|
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _ <CLSCompliantAttribute(False)> _ Public Sub FsGetDefRootName ( _ DefRootName As SByte*, _ maxlen As Integer _ ) |
| Visual C++ |
|---|
[EditorBrowsableAttribute(EditorBrowsableState::Never)] [CLSCompliantAttribute(false)] public: void FsGetDefRootName( signed char* DefRootName, int maxlen ) |
| F# |
|---|
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>] [<CLSCompliantAttribute(false)>] member FsGetDefRootName : DefRootName:nativeptr<sbyte> * maxlen:int -> unit |
| JScript |
|---|
|
Parameters
- DefRootName
- Type: System..::..SByte*
Pointer to a buffer (allocated by the calling program) which can receive the root name.
- maxlen
- Type: System..::..Int32
Maximum number of characters (including the final 0) which fit in the buffer."
Remarks
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), [M:Tools.TotalCommanderT.FileSystemPlugin.FsInit(System.Int32,=FUNC:System.Int32(System.Int32,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.Int32),=FUNC:System.Void(System.Int32,System.Int32,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*),=FUNC:System.Int32(System.Int32,System.Int32,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.Int32))] is NOT called when installing the plugin.
This function is called by Total Commander and is not intended for direct use