All DOKAN_OPTION flags used in DOKAN_OPTIONS.Options. More...
Macros | |
#define | DOKAN_OPTION_DEBUG 1 |
#define | DOKAN_OPTION_STDERR (1 << 1) |
#define | DOKAN_OPTION_ALT_STREAM (1 << 2) |
#define | DOKAN_OPTION_WRITE_PROTECT (1 << 3) |
#define | DOKAN_OPTION_NETWORK (1 << 4) |
#define | DOKAN_OPTION_REMOVABLE (1 << 5) |
#define | DOKAN_OPTION_MOUNT_MANAGER (1 << 6) |
#define | DOKAN_OPTION_CURRENT_SESSION (1 << 7) |
#define | DOKAN_OPTION_FILELOCK_USER_MODE (1 << 8) |
#define | DOKAN_OPTION_CASE_SENSITIVE (1 << 9) |
#define | DOKAN_OPTION_ENABLE_UNMOUNT_NETWORK_DRIVE (1 << 10) |
#define | DOKAN_OPTION_DISPATCH_DRIVER_LOGS (1 << 11) |
#define | DOKAN_OPTION_ALLOW_IPC_BATCHING (1 << 12) |
Detailed Description
All DOKAN_OPTION flags used in DOKAN_OPTIONS.Options.
- See also
- DOKAN_FILE_INFO
Macro Definition Documentation
#define DOKAN_OPTION_ALLOW_IPC_BATCHING (1 << 12) |
Pull batches of events from the driver instead of a single one and execute them parallelly. This option should only be used on computers with low cpu count and userland filesystem taking time to process requests (like remote storage).
#define DOKAN_OPTION_ALT_STREAM (1 << 2) |
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 (1 << 7) |
Mount the drive on current session only Note: As Windows process only have on sessionID which is here used to define what is the current session, impersonation will not work if someone attend to mount for a user from another one (like system service). See issue #1196
#define DOKAN_OPTION_DEBUG 1 |
Enable ouput debug message
#define DOKAN_OPTION_DISPATCH_DRIVER_LOGS (1 << 11) |
Forward the kernel driver global and volume logs to the userland. Can be very slow if single thread is enabled.
#define DOKAN_OPTION_ENABLE_UNMOUNT_NETWORK_DRIVE (1 << 10) |
Allows unmounting of network drive via explorer
#define DOKAN_OPTION_FILELOCK_USER_MODE (1 << 8) |
Enable Lockfile/Unlockfile operations. Otherwise Dokan will take care of it
#define DOKAN_OPTION_MOUNT_MANAGER (1 << 6) |
Use Windows Mount Manager. This option is highly recommended to use for better system integration
If a drive letter is used but is busy, Mount manager will assign one for us and DOKAN_OPERATIONS::Mounted parameters will contain the new mount point.
#define DOKAN_OPTION_NETWORK (1 << 4) |
Use network drive - Dokan network provider needs to be installed and a DOKAN_OPTIONS::UNCName provided
#define DOKAN_OPTION_REMOVABLE (1 << 5) |
Use removable drive Be aware that on some environments, the userland application will be denied to communicate with the drive which will result in a unwanted unmount.
- See also
- Issue #843
#define DOKAN_OPTION_STDERR (1 << 1) |
Enable ouput debug message to stderr
#define DOKAN_OPTION_WRITE_PROTECT (1 << 3) |
Enable mount drive as write-protected