Struct dokany_sys::DOKAN_FILE_INFO
source · #[repr(C)]pub struct DOKAN_FILE_INFO {
pub Context: ULONG64,
pub DokanContext: ULONG64,
pub DokanOptions: PDOKAN_OPTIONS,
pub ProcessingContext: PVOID,
pub ProcessId: ULONG,
pub IsDirectory: UCHAR,
pub DeleteOnClose: UCHAR,
pub PagingIo: UCHAR,
pub SynchronousIo: UCHAR,
pub Nocache: UCHAR,
pub WriteToEndOfFile: UCHAR,
}
Expand description
Dokan file information on the current operation.
Fields§
§Context: ULONG64
Context that can be used to carry information between operations.
The context can carry whatever type like HANDLE
, struct, int,
internal reference that will help the implementation understand the request context of the event.
DokanContext: ULONG64
Reserved. Used internally by Dokan library. Never modify.
DokanOptions: PDOKAN_OPTIONS
A pointer to DOKAN_OPTIONS which was passed to DokanMain or DokanCreateFileSystem.
ProcessingContext: PVOID
Reserved. Used internally by Dokan library. Never modify.
If the processing for the event requires extra data to be associated with it then a pointer to that data can be placed here
ProcessId: ULONG
Process ID for the thread that originally requested a given I/O operation.
IsDirectory: UCHAR
Requesting a directory file.
Must be set in DOKAN_OPERATIONS.ZwCreateFile if the file appears to be a folder.
DeleteOnClose: UCHAR
Flag if the file has to be deleted during DOKAN_OPERATIONS. Cleanup event.
PagingIo: UCHAR
Read or write is paging IO.
SynchronousIo: UCHAR
Read or write is synchronous IO.
Nocache: UCHAR
Read or write directly from data source without cache
WriteToEndOfFile: UCHAR
If TRUE
, write to the current end of file instead of using the Offset parameter.