#[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.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.