Discuss this help topic in CBFS Forum

CallbackFileSystem.GetMountingPoint method


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

CallbackFileSystem     See also    


Retrieves the mounting point with the given index.


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

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

[C++ (VCL)]
    void __fastcall GetMountingPoint(int Index, TCBString &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 )

    boolean getMountingPoint( int index, stringRef mountingPoint, longRef flags, LUID authenticationId);


  • 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    

Discuss this help topic in CBFS Forum