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: ULONG64Context 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: ULONG64Reserved. Used internally by Dokan library. Never modify.
DokanOptions: PDOKAN_OPTIONSA pointer to DOKAN_OPTIONS which was passed to DokanMain or DokanCreateFileSystem.
ProcessingContext: PVOIDReserved. 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: ULONGProcess ID for the thread that originally requested a given I/O operation.
IsDirectory: UCHARRequesting a directory file.
Must be set in DOKAN_OPERATIONS.ZwCreateFile if the file appears to be a folder.
DeleteOnClose: UCHARFlag if the file has to be deleted during DOKAN_OPERATIONS. Cleanup event.
PagingIo: UCHARRead or write is paging IO.
SynchronousIo: UCHARRead or write is synchronous IO.
Nocache: UCHARRead or write directly from data source without cache
WriteToEndOfFile: UCHARIf TRUE, write to the current end of file instead of using the Offset parameter.