diff options
Diffstat (limited to 'src/file_object.rs')
| -rw-r--r-- | src/file_object.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/file_object.rs b/src/file_object.rs new file mode 100644 index 0000000..b0d24a2 --- /dev/null +++ b/src/file_object.rs @@ -0,0 +1,15 @@ +//! File Object. + +use ::device_object::PDEVICE_OBJECT; + +pub type PFILE_OBJECT = *mut FILE_OBJECT; + +/// The `FILE_OBJECT` structure is used by the system to represent a file object. +#[repr(C)] +pub struct FILE_OBJECT +{ + Type: u16, + Size: u16, + DeviceObject: PDEVICE_OBJECT, + // ... +} |