You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//The current Dokan version (200 means ver 2.0.0).
47
-
DOKAN_VERSION = 206;
47
+
DOKAN_VERSION = 220;
48
48
//Minimum Dokan version (ver 2.0.0) accepted
49
49
DOKAN_MINIMUM_COMPATIBLE_VERSION = 200;
50
50
@@ -68,12 +68,15 @@ interface
68
68
//Use mount manager
69
69
DOKAN_OPTION_MOUNT_MANAGER = 64;
70
70
//Mount the drive on current session only
71
+
//Note: As Windows process only have on sessionID which is here used to define what is the current session,
72
+
//impersonation will not work if someone attend to mount for a user from another one (like system service).
73
+
//See issue #1196
71
74
DOKAN_OPTION_CURRENT_SESSION = 128;
72
75
//Enable Lockfile/Unlockfile operations. Otherwise Dokan will take care of it
73
76
DOKAN_OPTION_FILELOCK_USER_MODE = 256;
74
77
//Enable Case sensitive path.
75
78
//By default all path are case insensitive.
76
-
//For case sensitive: \dir\File & \diR\file are different files
79
+
//For case sensitive: \dir\File & \diR\\file are different files
77
80
//but for case insensitive they are the same.
78
81
DOKAN_OPTION_CASE_SENSITIVE = 512;
79
82
//Allows unmounting of network drive via explorer */
@@ -88,14 +91,15 @@ interface
88
91
89
92
type
90
93
DOKAN_HANDLE = THandle;
94
+
HANDLE = THandle;
91
95
92
96
//Dokan mount options used to describe Dokan device behavior.
93
97
_DOKAN_OPTIONS = record
94
98
Version: USHORT; //Version of the Dokan features requested without dots (version "123" is equal to Dokan version 1.2.3).
95
99
SingleThread: ByteBool; //Only use a single thread to process events. This is highly not recommended as can easily create a bottleneck.
96
100
Options: ULONG; //Features enabled for the mount. See \ref DOKAN_OPTION.
97
101
GlobalContext: ULONG64; //FileSystem can store anything here.
98
-
MountPoint: LPCWSTR; //Mount point. It can be a driver letter like "M:\" or a folder path "C:\mount\dokan" on a NTFS partition.
102
+
MountPoint: LPCWSTR; //Mount point. It can be a driver letter like "M:\" or an existing empty folder path "C:\mount\dokan" on a NTFS partition. */
99
103
UNCName: LPCWSTR; //UNC Name for the Network Redirector
100
104
Timeout: ULONG; //Max timeout in milliseconds of each request before Dokan gives up to wait events to complete. The default timeout value is 15 seconds.
101
105
AllocationUnitSize: ULONG;//Allocation Unit Size of the volume. This will affect the file size.
@@ -410,6 +414,8 @@ _DOKAN_MOUNT_POINT_INFO = record
410
414
DokanCreateFileSystem: function (DokanOptions : PDOKAN_OPTIONS; DokanOperations : PDOKAN_OPERATIONS; var DokanInstance : DOKAN_HANDLE) : Integer; stdcall = nil;
411
415
DokanIsFileSystemRunning: function (DokanInstance : DOKAN_HANDLE) : BOOL; stdcall = nil;
0 commit comments