DOKAN_OPTION

All DOKAN_OPTION flags used in DOKAN_OPTIONS.Options. More...

Macros

#define DOKAN_OPTION_DEBUG   1
 
#define DOKAN_OPTION_STDERR   2
 
#define DOKAN_OPTION_ALT_STREAM   4
 
#define DOKAN_OPTION_WRITE_PROTECT   8
 
#define DOKAN_OPTION_NETWORK   16
 
#define DOKAN_OPTION_REMOVABLE   32
 
#define DOKAN_OPTION_MOUNT_MANAGER   64
 
#define DOKAN_OPTION_CURRENT_SESSION   128
 
#define DOKAN_OPTION_FILELOCK_USER_MODE   256
 
#define DOKAN_OPTION_ENABLE_NOTIFICATION_API   512
 
#define DOKAN_OPTION_DISABLE_OPLOCKS   1024
 
#define DOKAN_OPTION_ENABLE_FCB_GARBAGE_COLLECTION   2048
 

Detailed Description

All DOKAN_OPTION flags used in DOKAN_OPTIONS.Options.

See also
DOKAN_FILE_INFO

Macro Definition Documentation

#define DOKAN_OPTION_ALT_STREAM   4

Enable the use of alternate stream paths in the form <file-name>:<stream-name>. If this is not specified then the driver will fail any attempt to access a path with a colon.

#define DOKAN_OPTION_CURRENT_SESSION   128

Mount the drive on current session only

#define DOKAN_OPTION_DEBUG   1

Enable ouput debug message

#define DOKAN_OPTION_DISABLE_OPLOCKS   1024

Whether to disable any oplock support on the volume. Regular range locks are enabled regardless.

#define DOKAN_OPTION_ENABLE_FCB_GARBAGE_COLLECTION   2048

The advantage of the FCB GC approach is that it prevents filter drivers (Anti-virus) from exponentially slowing down procedures like zip file extraction due to repeatedly rebuilding state that they attach to the FCB header.

#define DOKAN_OPTION_ENABLE_NOTIFICATION_API   512

Whether DokanNotifyXXX functions should be enabled, which requires this library to maintain a special handle while the file system is mounted. Without this flag, the functions always return FALSE if invoked.

#define DOKAN_OPTION_FILELOCK_USER_MODE   256

Enable Lockfile/Unlockfile operations. Otherwise Dokan will take care of it

#define DOKAN_OPTION_MOUNT_MANAGER   64

Use mount manager

#define DOKAN_OPTION_NETWORK   16

Use network drive - Dokan network provider needs to be installed

#define DOKAN_OPTION_REMOVABLE   32

Use removable drive

#define DOKAN_OPTION_STDERR   2

Enable ouput debug message to stderr

#define DOKAN_OPTION_WRITE_PROTECT   8

Enable mount drive as write-protected