#[repr(C)]pub struct BlockIo {
pub Revision: u64,
pub Media: &'static BlockIoMedia,
pub Reset: extern "win64" fn(_: &BlockIo, ExtendedVerification: bool) -> Status,
pub ReadBlocks: extern "win64" fn(_: &BlockIo, MediaId: u32, LBA: u64, BufferSize: usize, Buffer: *mut u8) -> Status,
pub WriteBlocks: extern "win64" fn(_: &BlockIo, MediaId: u32, LBA: u64, BufferSize: usize, Buffer: *const u8) -> Status,
pub FlushBlocks: extern "win64" fn(_: &BlockIo) -> Status,
}
Fields§
§Revision: u64
§Media: &'static BlockIoMedia
§Reset: extern "win64" fn(_: &BlockIo, ExtendedVerification: bool) -> Status
§ReadBlocks: extern "win64" fn(_: &BlockIo, MediaId: u32, LBA: u64, BufferSize: usize, Buffer: *mut u8) -> Status
§WriteBlocks: extern "win64" fn(_: &BlockIo, MediaId: u32, LBA: u64, BufferSize: usize, Buffer: *const u8) -> Status
§FlushBlocks: extern "win64" fn(_: &BlockIo) -> Status
Auto Trait Implementations§
impl Freeze for BlockIo
impl RefUnwindSafe for BlockIo
impl Send for BlockIo
impl Sync for BlockIo
impl Unpin for BlockIo
impl UnwindSafe for BlockIo
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