Struct km::device_object::DEVICE_OBJECT  
                   
                       [−]
                   
               [src]
pub struct DEVICE_OBJECT {
    pub Type: u16,
    pub Size: u16,
    pub ReferenceCount: i32,
    pub DriverObject: *const DRIVER_OBJECT,
    pub NextDevice: *mut DEVICE_OBJECT,
    pub AttachedDevice: *mut DEVICE_OBJECT,
    pub CurrentIrp: *const IRP,
    pub Timer: *mut u8,
    pub Flags: u32,
    pub Characteristics: u32,
    pub Vpb: *mut u8,
    pub DeviceExtension: *mut u8,
    pub DeviceType: u32,
    pub StackSize: u8,
    pub Queue: *mut WAIT_CONTEXT_BLOCK,
    pub AlignmentRequirement: u32,
    pub DeviceQueue: KDEVICE_QUEUE,
    pub Dpc: KDPC,
    pub ActiveThreadCount: u32,
    pub SecurityDescriptor: *const u8,
    pub DeviceLock: KEVENT,
    pub SectorSize: u16,
    pub Spare1: u16,
    pub DeviceObjectExtension: *mut DEVOBJ_EXTENSION,
    pub Reserved: *const u8,
}The DEVICE_OBJECT structure is used by the operating system to represent a device object.
Fields
Type | |
Size | |
ReferenceCount | |
DriverObject | |
NextDevice | |
AttachedDevice | |
CurrentIrp | |
Timer | |
Flags | |
Characteristics | |
Vpb | |
DeviceExtension | |
DeviceType | |
StackSize | |
Queue | |
AlignmentRequirement | |
DeviceQueue | |
Dpc | |
ActiveThreadCount | |
SecurityDescriptor | |
DeviceLock | |
SectorSize | |
Spare1 | |
DeviceObjectExtension | |
Reserved |