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,
}
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
impl Clone for DEVICE_OBJECT
impl Copy for DEVICE_OBJECT
Auto Trait Implementations§
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