Solid File System

Virtual file system enigne that can be embedded into your software.

SolFSStorage.AddMountingPoint method


Pascal    Plain C    C++ (DLL/Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET    Java 

SolFSStorage     See also    


Adds a mounting point for the storage.

Not applicable


    procedure AddMountingPoint(MountingPoint: TSolFSString);
    procedure AddMountingPoint( MountingPoint: TSolFSString; Flags : LongWord; AuthenticationId : PLUID );
    type TSolFSString = {$ifdef UNICODE}UnicodeString{$else}WideString{$endif};

[Plain C]
    long _stdcall StorageAddMountingPoint( unsigned long Storage, const wchar_t* MountingPoint, SolFSLongWord Flags, SolFSPointer AuthenticationId );

[C++ (DLL/Lib)]
    void AddMountingPoint(unsigned short *mountingPoint);
    void AddMountingPoint( unsigned short *mountingPoint, unsigned long Flags, PLUID AuthenticationId );

[C++ (VCL)]
    void __fastcall AddMountingPoint(TSolFSString MountingPoint);
    void __fastcall AddMountingPoint( TSolFSString MountingPoint, unsigned long Flags, LUID* AuthenticationId );

[C++ (.NET)]
    void AddMountingPoint(String *MountingPoint);
    void AddMountingPoint( String *MountingPoint, UInt32 Flags, LUID *AuthenticationId );

    void AddMountingPoint(String MountingPoint);
    void AddMountingPoint( String MountingPoint, UInt32 Flags, LUID *AuthenticationId );

    Sub AddMountingPoint(ByVal MountingPoint As String)
    Sub AddMountingPoint( ByVal MountingPoint As String, ByVal Flags As UInt32, ByRef AuthenticationId As LUID )

    not applicable;


  • MountingPoint - the mounting point without "\\.\" part.
  • Flags - Zero or more flags that specify parameters of mounting point creation (see details below).
    Several flags are joined using bitwise-OR in C++, C# and VB.NET.
  • AuthenticationId - Authentication ID of the session.
    This parameter can be NULL/null/Nothing/nil if SOLFS_SYMLINK_LOCAL flag is not set or if the mounting point is added for the "current" session.
  • [Plain C] Storage - handle to the storage returned by Create or Open function.

Return value

     [Plain C]  0 if the function succeeded or one of Error codes if the function failed.

Values of Flags


Use this method to add a mounting point for mounted volume. Read more about mounting points.

See also

DeleteMountingPoint     GetMountingPoint     MountingPointCount    

Back to top