PDOKAN_OPTIONS Struct Reference

Dokan mount options used to describe Dokan device behavior. More...

#include <dokan.h>

Data Fields

USHORT Version
 
BOOLEAN SingleThread
 
ULONG Options
 
ULONG64 GlobalContext
 
LPCWSTR MountPoint
 
LPCWSTR UNCName
 
ULONG Timeout
 
ULONG AllocationUnitSize
 
ULONG SectorSize
 
ULONG VolumeSecurityDescriptorLength
 
CHAR VolumeSecurityDescriptor [VOLUME_SECURITY_DESCRIPTOR_MAX_SIZE]
 

Detailed Description

Dokan mount options used to describe Dokan device behavior.

See also
DokanMain

Field Documentation

ULONG PDOKAN_OPTIONS::AllocationUnitSize

Allocation Unit Size of the volume. This will affect the file size.

ULONG64 PDOKAN_OPTIONS::GlobalContext

FileSystem can store anything here.

LPCWSTR PDOKAN_OPTIONS::MountPoint

Mount point. It can be a driver letter like "M:\" or an existing empty folder path "C:\mount\dokan" on a NTFS partition.

ULONG PDOKAN_OPTIONS::Options

Features enabled for the mount. See DOKAN_OPTION.

ULONG PDOKAN_OPTIONS::SectorSize

Sector Size of the volume. This will affect the file size.

BOOLEAN PDOKAN_OPTIONS::SingleThread

Only use a single thread to process events. This is highly not recommended as can easily create a bottleneck.

ULONG PDOKAN_OPTIONS::Timeout

Max timeout in milliseconds of each request before Dokan gives up to wait events to complete. A timeout request is a sign that the userland implementation is no longer able to properly manage requests in time. The driver will therefore unmount the device when a timeout trigger in order to keep the system stable. The default timeout value is 15 seconds.

LPCWSTR PDOKAN_OPTIONS::UNCName

UNC Name for the Network Redirector

See also
Support for UNC Naming
USHORT PDOKAN_OPTIONS::Version

Version of the Dokan features requested without dots (version "123" is equal to Dokan version 1.2.3).

CHAR PDOKAN_OPTIONS::VolumeSecurityDescriptor[VOLUME_SECURITY_DESCRIPTOR_MAX_SIZE]

Optional Volume Security descriptor. See InitializeSecurityDescriptor

ULONG PDOKAN_OPTIONS::VolumeSecurityDescriptorLength

Length of the optional VolumeSecurityDescriptor provided. Set 0 will disable the option.


The documentation for this struct was generated from the following file: