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
impl Clone for DEVICE_OBJECT
§fn clone(&self) -> 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)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for DEVICE_OBJECT
Auto Trait Implementations§
impl Freeze for DEVICE_OBJECT
impl RefUnwindSafe for DEVICE_OBJECT
impl !Send for DEVICE_OBJECT
impl !Sync for DEVICE_OBJECT
impl Unpin for DEVICE_OBJECT
impl UnwindSafe for DEVICE_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
)