Solid File System

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

SolFSStorage.GetMountingPointCount method


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

SolFSStorage     See also    


Retrieves the mounting point with the given index.

Not applicable


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

[Plain C]
    long _stdcall StorageGetMountingPoint( SolFSHandle Storage, SolFSLongWord Index, PSolFSWideChar MountingPointBuffer, SolFSLongWord *MountingPointBufferSize, SolFSLongWord *Flags, SolFSPointer AuthenticationId);

[C++ (Lib)]
    void GetMountingPoint(int Index, LPTSTR *MountingPoint, DWORD *Flags, PLUID AuthenticationId );

[C++ (VCL)]
    void __fastcall GetMountingPoint(int Index, TSolFSString &MountingPoint, long & Flags, PLUID AuthenticationId );

[C++ (.NET)]
    void GetMountingPoint(int Index, String^ %MountingPoint, UInt32 % Flags, LUID %AuthenticationId );

    void GetMountingPoint( int Index, ref String MountingPoint, ref UInt32 Flags, ref LUID AuthenticationId );

    Sub GetMountingPoint( ByVal Index As Integer, ByRef MountingPoint As String, ByRef Flags As UInt32, ByRef AuthenticationId As LUID )


  • [Plain C] Storage - handle to the storage returned by Create or Open function.
  • [Plain C] MountingPointBuffer - buffer that will get the value on return.
  • [Plain C] MountingPointBufferSize - size of the buffer in bytes of the buffer passed in MountingPointBuffer. If the buffer was too small, on return this parameter will contain the needed buffer size.
  • Index - The index of the mounting point in the list
  • MountingPoint - the mounting point as specified in AddMountingPoint() method
  • Flags - Contains mounting point flags as specified in AddMountingPoint() method
  • AuthenticationId - The Authentication ID of the user session to which the mounting point belongs.


Use this method to get the mounting point and related information from the list of all mounting points for the given storage. Use MountingPointCount property to get the total number of the mounting points.

Read more about mounting points and authentication IDs.

[C++ (Lib)] Memory for MountingPoint value is allocated internally in API (you don't need to allocate it when calling this method). Use free() operator to free the memory which was allocated by API for MountingPoint value.

Call from...

This method may be called only from outside of callback / event handlers.

See also

MountingPointCount     AddMountingPoint     DeleteMountingPoint    

Back to top