#[repr(C)]
pub struct DEVICE_OBJECT {
Show 25 fields pub Type: i16, pub Size: u16, pub ReferenceCount: i32, pub DriverObject: *mut DRIVER_OBJECT, pub NextDevice: *mut DEVICE_OBJECT, pub AttachedDevice: *mut DEVICE_OBJECT, pub CurrentIrp: *mut IRP, pub Timer: PIO_TIMER, pub Flags: u32, pub Characteristics: u32, pub Vpb: *mut VPB, pub DeviceExtension: *mut c_void, pub DeviceType: u32, pub StackSize: i8, pub Queue: DEVICE_OBJECT_0, pub AlignmentRequirement: u32, pub DeviceQueue: KDEVICE_QUEUE, pub Dpc: KDPC, pub ActiveThreadCount: u32, pub SecurityDescriptor: PSECURITY_DESCRIPTOR, pub DeviceLock: KEVENT, pub SectorSize: u16, pub Spare1: u16, pub DeviceObjectExtension: *mut DEVOBJ_EXTENSION, pub Reserved: *mut c_void,
}
Expand description

Required features: "Wdk_Storage_FileSystem", "Wdk_System_SystemServices", "Win32_Foundation", "Win32_Security", "Win32_System_IO", "Win32_System_Kernel", "Win32_System_Power", "Win32_System_WindowsProgramming"

Fields§

§Type: i16§Size: u16§ReferenceCount: i32§DriverObject: *mut DRIVER_OBJECT§NextDevice: *mut DEVICE_OBJECT§AttachedDevice: *mut DEVICE_OBJECT§CurrentIrp: *mut IRP§Timer: PIO_TIMER§Flags: u32§Characteristics: u32§Vpb: *mut VPB§DeviceExtension: *mut c_void§DeviceType: u32§StackSize: i8§Queue: DEVICE_OBJECT_0§AlignmentRequirement: u32§DeviceQueue: KDEVICE_QUEUE§Dpc: KDPC§ActiveThreadCount: u32§SecurityDescriptor: PSECURITY_DESCRIPTOR§DeviceLock: KEVENT§SectorSize: u16§Spare1: u16§DeviceObjectExtension: *mut DEVOBJ_EXTENSION§Reserved: *mut c_void

Trait Implementations§

§

impl Clone for DEVICE_OBJECT

§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Copy for DEVICE_OBJECT

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.