CallbackFileSystem.AddMountingPointEx method
Filter:
Pascal C++ (Lib) C++ (VCL) C++ (.NET) C# VB.NETOverview
Adds a mounting point for the storage.
Declaration
[Pascal]
procedure AddMountingPointEx(MountingPoint: WideString;
LocalLink : boolean;
AuthenticationID : PInt64);
[C++ (Lib)]
void AddMountingPointEx(const unsigned short *MountingPoint,
BOOL LocalLink,
PLUID AuthenticationID);
[C++ (VCL)]
void __fastcall AddMountingPointEx(WideString MountingPoint,
bool LocalLink,
__int64 * AuthenticationID);
[C++ (.NET)]
void AddMountingPointEx(String ^MountingPoint,
bool LocalLink
);
void AddMountingPointEx(String ^MountingPoint,
bool LocalLink,
LUID AuthenticationID
);
[C#]
void AddMountingPointEx(String MountingPoint,
bool LocalLink);
void AddMountingPointEx(String MountingPoint,
bool LocalLink,
LUID AuthenticationID);
[VB.NET]
Sub AddMountingPointEx(ByVal MountingPoint As String,
ByVal LocalLink As Boolean)
Sub AddMountingPointEx(ByVal MountingPoint As String,
ByVal LocalLink As Boolean,
ByVal AuthenticationID As LUID)
Parameters
- MountingPoint - the mounting point without "\\.\" part.
- LocalLink - if this parameter is true the added mounting point is visible only within the user session identified by AuthenticationId.
If the parameter is false the mounting point is visible to all users, that are logged in already or that log in to the system while the storage remains active. - AuthenticationId - Authentication ID of the session. This parameter can be null/NULL/nil/Nothing if LocalLink is false or if the mounting point is added for the "current" session.
Description
Use this method to add a mounting point for the mounted volume and specify whether the point is available only to specific user or to all users in the system. Use DeleteMountingPointEx to delete the mounting point.
Read more about mounting points and authentication IDs.
See also
MountingPointCountEx AddNetworkMountingPoint DeleteMountingPointEx GetMountingPointEx
