PDOKAN_INSTANCE Struct Reference

Dokan mount instance informations. More...

#include <dokani.h>

Data Fields

CRITICAL_SECTION CriticalSection
 
WCHAR DeviceName [64]
 
WCHAR MountPoint [MAX_PATH]
 
WCHAR UNCName [64]
 
ULONG DeviceNumber
 
ULONG MountId
 
PDOKAN_OPTIONS DokanOptions
 
PDOKAN_OPERATIONS DokanOperations
 
LIST_ENTRY ListEntry
 
HANDLE GlobalDevice
 
HANDLE Device
 
HANDLE DeviceClosedWaitHandle
 
DOKAN_INSTANCE_THREADINFO ThreadInfo
 
HANDLE NotifyHandle
 
HANDLE KeepaliveHandle
 
BOOL FileSystemStopped
 
LONG UnmountedCalled
 

Detailed Description

Dokan mount instance informations.

This struct is build from the information provided by the user at DokanMain call.

See also
DokanMain
DOKAN_OPTIONS
DOKAN_OPERATIONS

Field Documentation

CRITICAL_SECTION PDOKAN_INSTANCE::CriticalSection

to ensure that unmount dispatch is called at once

HANDLE PDOKAN_INSTANCE::Device

Device handle used to communicate with the kernel mount instance

HANDLE PDOKAN_INSTANCE::DeviceClosedWaitHandle

Device unmount event. It is set when the device is stopped

WCHAR PDOKAN_INSTANCE::DeviceName[64]

Current DeviceName. When there are many mounts, each mount uses different DeviceName.

ULONG PDOKAN_INSTANCE::DeviceNumber

Device number

PDOKAN_OPERATIONS PDOKAN_INSTANCE::DokanOperations

DOKAN_OPERATIONS linked to the mount

PDOKAN_OPTIONS PDOKAN_INSTANCE::DokanOptions

DOKAN_OPTIONS linked to the mount

BOOL PDOKAN_INSTANCE::FileSystemStopped

Whether the filesystem was intentionally stopped

HANDLE PDOKAN_INSTANCE::GlobalDevice

Global Dokan Kernel device handle

HANDLE PDOKAN_INSTANCE::KeepaliveHandle

Handle of the Keepalive file opened at mount

LIST_ENTRY PDOKAN_INSTANCE::ListEntry

Current list entry informations

ULONG PDOKAN_INSTANCE::MountId

Mount ID

WCHAR PDOKAN_INSTANCE::MountPoint[MAX_PATH]

Mount point. Can be "M:\" (drive letter) or "C:\mount\dokan" (path in NTFS)

HANDLE PDOKAN_INSTANCE::NotifyHandle

Handle with the notify file opened at mount

DOKAN_INSTANCE_THREADINFO PDOKAN_INSTANCE::ThreadInfo

Thread pool context of the mount instance

WCHAR PDOKAN_INSTANCE::UNCName[64]

UNC name used for network volume

LONG PDOKAN_INSTANCE::UnmountedCalled

Whether the Unmounted notification was called. Only the first incrementer thread will call it.


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