pub trait ILockBytes_Impl: Sized {
    // Required methods
    fn ReadAt(
        &self,
        uloffset: u64,
        pv: *mut c_void,
        cb: u32,
        pcbread: *mut u32,
    ) -> Result<()>;
    fn WriteAt(
        &self,
        uloffset: u64,
        pv: *const c_void,
        cb: u32,
        pcbwritten: *mut u32,
    ) -> Result<()>;
    fn Flush(&self) -> Result<()>;
    fn SetSize(&self, cb: u64) -> Result<()>;
    fn LockRegion(&self, liboffset: u64, cb: u64, dwlocktype: u32) -> Result<()>;
    fn UnlockRegion(
        &self,
        liboffset: u64,
        cb: u64,
        dwlocktype: u32,
    ) -> Result<()>;
    fn Stat(&self, pstatstg: *mut STATSTG, grfstatflag: u32) -> Result<()>;
}

Required Methods§

fn ReadAt( &self, uloffset: u64, pv: *mut c_void, cb: u32, pcbread: *mut u32, ) -> Result<()>

fn WriteAt( &self, uloffset: u64, pv: *const c_void, cb: u32, pcbwritten: *mut u32, ) -> Result<()>

fn Flush(&self) -> Result<()>

fn SetSize(&self, cb: u64) -> Result<()>

fn LockRegion(&self, liboffset: u64, cb: u64, dwlocktype: u32) -> Result<()>

fn UnlockRegion(&self, liboffset: u64, cb: u64, dwlocktype: u32) -> Result<()>

fn Stat(&self, pstatstg: *mut STATSTG, grfstatflag: u32) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§