pub struct IStream(/* private fields */);Implementations§
Source§impl IStream
impl IStream
pub unsafe fn Read( &self, pv: *mut c_void, cb: u32, pcbread: *mut u32, ) -> HRESULT
pub unsafe fn Write( &self, pv: *const c_void, cb: u32, pcbwritten: *mut u32, ) -> HRESULT
pub unsafe fn SetSize(&self, libnewsize: u64) -> HRESULT
pub unsafe fn CopyTo<'a>( &self, pstm: impl IntoParam<'a, IStream>, cb: u64, pcbread: *mut u64, pcbwritten: *mut u64, ) -> HRESULT
pub unsafe fn Commit(&self, grfcommitflags: u32) -> HRESULT
pub unsafe fn Revert(&self) -> HRESULT
pub unsafe fn LockRegion( &self, liboffset: u64, cb: u64, dwlocktype: u32, ) -> HRESULT
pub unsafe fn UnlockRegion( &self, liboffset: u64, cb: u64, dwlocktype: u32, ) -> HRESULT
pub unsafe fn Clone(&self, ppstm: *mut Option<IStream>) -> HRESULT
Trait Implementations§
Source§impl From<&IStream> for ISequentialStream
impl From<&IStream> for ISequentialStream
Source§impl From<IStream> for ISequentialStream
impl From<IStream> for ISequentialStream
Source§impl Interface for IStream
impl Interface for IStream
const IID: Guid
type Vtable = IStream_abi
Source§impl<'a> IntoParam<'a, ISequentialStream> for &'a IStream
impl<'a> IntoParam<'a, ISequentialStream> for &'a IStream
fn into_param(self) -> Param<'a, ISequentialStream>
Source§impl<'a> IntoParam<'a, ISequentialStream> for IStream
impl<'a> IntoParam<'a, ISequentialStream> for IStream
fn into_param(self) -> Param<'a, ISequentialStream>
Source§impl<'a> IntoParam<'a, IUnknown> for &'a IStream
impl<'a> IntoParam<'a, IUnknown> for &'a IStream
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IUnknown> for IStream
impl<'a> IntoParam<'a, IUnknown> for IStream
fn into_param(self) -> Param<'a, IUnknown>
impl Eq for IStream
impl StructuralPartialEq for IStream
Auto Trait Implementations§
impl Freeze for IStream
impl RefUnwindSafe for IStream
impl !Send for IStream
impl !Sync for IStream
impl Unpin for IStream
impl UnwindSafe for IStream
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
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