PDOKAN_OPTIONS Struct Reference

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

#include <dokan.h>

Data Fields

USHORT Version
 
USHORT ThreadCount
 
ULONG Options
 
ULONG64 GlobalContext
 
LPCWSTR MountPoint
 
LPCWSTR UNCName
 
ULONG Timeout
 
ULONG AllocationUnitSize
 
ULONG SectorSize
 

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 a 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.

USHORT PDOKAN_OPTIONS::ThreadCount

Number of threads to be used by Dokan library internally. More threads will handle more events at the same time.

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).


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