Trait windows::Win32::System::Com::IStream_Impl
pub trait IStream_Impl: Sized + ISequentialStream_Impl {
// Required methods
fn Seek(
&self,
dlibmove: i64,
dworigin: STREAM_SEEK,
plibnewposition: *mut u64,
) -> Result<()>;
fn SetSize(&self, libnewsize: u64) -> Result<()>;
fn CopyTo(
&self,
pstm: Option<&IStream>,
cb: u64,
pcbread: *mut u64,
pcbwritten: *mut u64,
) -> Result<()>;
fn Commit(&self, grfcommitflags: &STGC) -> Result<()>;
fn Revert(&self) -> Result<()>;
fn LockRegion(
&self,
liboffset: u64,
cb: u64,
dwlocktype: &LOCKTYPE,
) -> Result<()>;
fn UnlockRegion(
&self,
liboffset: u64,
cb: u64,
dwlocktype: u32,
) -> Result<()>;
fn Stat(&self, pstatstg: *mut STATSTG, grfstatflag: &STATFLAG) -> Result<()>;
fn Clone(&self) -> Result<IStream>;
}
Required Methods§
fn Seek( &self, dlibmove: i64, dworigin: STREAM_SEEK, plibnewposition: *mut u64, ) -> Result<()>
fn SetSize(&self, libnewsize: u64) -> Result<()>
fn CopyTo( &self, pstm: Option<&IStream>, cb: u64, pcbread: *mut u64, pcbwritten: *mut u64, ) -> Result<()>
fn Commit(&self, grfcommitflags: &STGC) -> Result<()>
fn Revert(&self) -> Result<()>
fn LockRegion( &self, liboffset: u64, cb: u64, dwlocktype: &LOCKTYPE, ) -> Result<()>
fn UnlockRegion(&self, liboffset: u64, cb: u64, dwlocktype: u32) -> Result<()>
fn Stat(&self, pstatstg: *mut STATSTG, grfstatflag: &STATFLAG) -> Result<()>
fn Clone(&self) -> Result<IStream>
Object Safety§
This trait is not object safe.