SolFSStorage.DeleteMountingPoint method


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

SolFSStorage     See also    


Deletes a mounting point for the storage.

Not applicable


    procedure DeleteMountingPoint(Index: integer);
    procedure DeleteMountingPoint( MountingPoint: TCBString; Flags : integer; AuthenticationID : PLUID );
    type TSolFSString = {$ifdef UNICODE}UnicodeString{$else}WideString{$endif};

[Plain C]
    long _stdcall StorageDeleteMountingPoint( unsigned long Storage, const wchar_t* MountingPoint, SolFSLongWord Flags, void* AuthenticationID );

[C++ (DLL/Lib)]
    void DeleteMountingPoint(unsigned long Index);
    void DeleteMountingPoint( const unsigned short *mountingPoint, DWORD Flags, PLUID AuthenticationID);

[C++ (VCL)]
    void __fastcall DeleteMountingPoint(unsigned long Index);
    void __fastcall DeleteMountingPoint( TCBString MountingPoint, DWORD Flags, PLUID AuthenticationID);

[C++ (.NET)]
    void DeleteMountingPoint(int Index);
    void DeleteMountingPoint( String ^MountingPoint, UInt32 Flags, LUID AuthenticationID );

    void DeleteMountingPoint(int Index);
    void DeleteMountingPoint( String MountingPoint, UInt32 Flags, LUID AuthenticationID );

    Sub DeleteMountingPoint(ByVal Index As Integer)
    Sub DeleteMountingPoint( ByVal MountingPoint As String, ByVal Flags As UInt32, ByVal AuthenticationID As LUID)

    not applicable;


  • Index - Index of the mounting point to delete
  • MountingPoint - The path of the mounting point (see About Mounting Points topic)
  • Flags - Flags parameter as specified in the call to AddMountingPoint.
  • AuthenticationId - Authentication ID as specified in the call to AddMountingPoint.
  • [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.


Use this method to delete a mounting point for mounted volume. Read more about mounting points. Note, that each volume must have at least one mounting point.

See also

AddMountingPoint     GetMountingPoint     MountingPointCount