Struct km::driver_object::DRIVER_OBJECT [] [src]

pub struct DRIVER_OBJECT {
    pub Type: u16,
    pub Size: u16,
    pub DeviceObject: *mut DEVICE_OBJECT,
    pub Flags: u32,
    pub DriverStart: *const u8,
    pub DriverSize: u32,
    pub DriverSection: *const u8,
    pub DriverExtension: *mut u8,
    pub DriverName: UNICODE_STRING,
    pub HardwareDatabase: *const UNICODE_STRING,
    pub FastIoDispatch: *mut u8,
    pub DriverInit: PDRIVER_INITIALIZE,
    pub DriverStartIo: PDRIVER_STARTIO,
    pub DriverUnload: PDRIVER_UNLOAD,
    pub MajorFunction: [PDRIVER_DISPATCH; 28],
}

Represents the image of a loaded kernel-mode driver.

Fields

Type
Size
DeviceObject
Flags
DriverStart
DriverSize
DriverSection
DriverExtension
DriverName
HardwareDatabase
FastIoDispatch
DriverInit
DriverStartIo
DriverUnload

The entry point for the driver's Unload routine, if any.

MajorFunction

A dispatch table consisting of an array of entry points for the driver's DispatchXxx routines.