Struct windows_sys::Wdk::Foundation::DEVICE_OBJECT

#[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,
}

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) -> DEVICE_OBJECT

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 T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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 T
where 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 T
where 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 T
where 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.