Struct windows_sys::Wdk::Foundation::DRIVER_OBJECT
#[repr(C)]pub struct DRIVER_OBJECT {Show 15 fields
pub Type: i16,
pub Size: i16,
pub DeviceObject: *mut DEVICE_OBJECT,
pub Flags: u32,
pub DriverStart: *mut c_void,
pub DriverSize: u32,
pub DriverSection: *mut c_void,
pub DriverExtension: *mut DRIVER_EXTENSION,
pub DriverName: UNICODE_STRING,
pub HardwareDatabase: *mut UNICODE_STRING,
pub FastIoDispatch: *mut FAST_IO_DISPATCH,
pub DriverInit: DRIVER_INITIALIZE,
pub DriverStartIo: DRIVER_STARTIO,
pub DriverUnload: DRIVER_UNLOAD,
pub MajorFunction: [DRIVER_DISPATCH; 28],
}
Fields§
§Type: i16
§Size: i16
§DeviceObject: *mut DEVICE_OBJECT
§Flags: u32
§DriverStart: *mut c_void
§DriverSize: u32
§DriverSection: *mut c_void
§DriverExtension: *mut DRIVER_EXTENSION
§DriverName: UNICODE_STRING
§HardwareDatabase: *mut UNICODE_STRING
§FastIoDispatch: *mut FAST_IO_DISPATCH
§DriverInit: DRIVER_INITIALIZE
§DriverStartIo: DRIVER_STARTIO
§DriverUnload: DRIVER_UNLOAD
§MajorFunction: [DRIVER_DISPATCH; 28]
Trait Implementations§
§impl Clone for DRIVER_OBJECT
impl Clone for DRIVER_OBJECT
§fn clone(&self) -> DRIVER_OBJECT
fn clone(&self) -> DRIVER_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 DRIVER_OBJECT
Auto Trait Implementations§
impl Freeze for DRIVER_OBJECT
impl RefUnwindSafe for DRIVER_OBJECT
impl !Send for DRIVER_OBJECT
impl !Sync for DRIVER_OBJECT
impl Unpin for DRIVER_OBJECT
impl UnwindSafe for DRIVER_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
)