Struct windows_sys::Wdk::Foundation::FILE_OBJECT
#[repr(C)]pub struct FILE_OBJECT {Show 30 fields
pub Type: i16,
pub Size: i16,
pub DeviceObject: *mut DEVICE_OBJECT,
pub Vpb: *mut VPB,
pub FsContext: *mut c_void,
pub FsContext2: *mut c_void,
pub SectionObjectPointer: *mut SECTION_OBJECT_POINTERS,
pub PrivateCacheMap: *mut c_void,
pub FinalStatus: NTSTATUS,
pub RelatedFileObject: *mut FILE_OBJECT,
pub LockOperation: BOOLEAN,
pub DeletePending: BOOLEAN,
pub ReadAccess: BOOLEAN,
pub WriteAccess: BOOLEAN,
pub DeleteAccess: BOOLEAN,
pub SharedRead: BOOLEAN,
pub SharedWrite: BOOLEAN,
pub SharedDelete: BOOLEAN,
pub Flags: u32,
pub FileName: UNICODE_STRING,
pub CurrentByteOffset: i64,
pub Waiters: u32,
pub Busy: u32,
pub LastLock: *mut c_void,
pub Lock: KEVENT,
pub Event: KEVENT,
pub CompletionContext: *mut IO_COMPLETION_CONTEXT,
pub IrpListLock: usize,
pub IrpList: LIST_ENTRY,
pub FileObjectExtension: *mut c_void,
}
Fields§
§Type: i16
§Size: i16
§DeviceObject: *mut DEVICE_OBJECT
§Vpb: *mut VPB
§FsContext: *mut c_void
§FsContext2: *mut c_void
§SectionObjectPointer: *mut SECTION_OBJECT_POINTERS
§PrivateCacheMap: *mut c_void
§FinalStatus: NTSTATUS
§RelatedFileObject: *mut FILE_OBJECT
§LockOperation: BOOLEAN
§DeletePending: BOOLEAN
§ReadAccess: BOOLEAN
§WriteAccess: BOOLEAN
§DeleteAccess: BOOLEAN
§Flags: u32
§FileName: UNICODE_STRING
§CurrentByteOffset: i64
§Waiters: u32
§Busy: u32
§LastLock: *mut c_void
§Lock: KEVENT
§Event: KEVENT
§CompletionContext: *mut IO_COMPLETION_CONTEXT
§IrpListLock: usize
§IrpList: LIST_ENTRY
§FileObjectExtension: *mut c_void
Trait Implementations§
§impl Clone for FILE_OBJECT
impl Clone for FILE_OBJECT
§fn clone(&self) -> FILE_OBJECT
fn clone(&self) -> FILE_OBJECT
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for FILE_OBJECT
Auto Trait Implementations§
impl Freeze for FILE_OBJECT
impl RefUnwindSafe for FILE_OBJECT
impl !Send for FILE_OBJECT
impl !Sync for FILE_OBJECT
impl Unpin for FILE_OBJECT
impl UnwindSafe for FILE_OBJECT
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)