ISequentialStream

Trait ISequentialStream 

Source
pub trait ISequentialStream: IUnknown {
    // Required methods
    unsafe fn read(
        &self,
        pv: *mut c_void,
        cb: ULONG,
        pcbRead: *mut ULONG,
    ) -> HRESULT;
    unsafe fn write(
        &self,
        pv: *const c_void,
        cb: ULONG,
        pcbWritten: *mut ULONG,
    ) -> HRESULT;
}

Required Methods§

Source

unsafe fn read( &self, pv: *mut c_void, cb: ULONG, pcbRead: *mut ULONG, ) -> HRESULT

Source

unsafe fn write( &self, pv: *const c_void, cb: ULONG, pcbWritten: *mut ULONG, ) -> HRESULT

Trait Implementations§

Source§

impl ComInterface for dyn ISequentialStream

Source§

const IID: IID = IID_ISEQUENTIAL_STREAM

The associated id for this interface
Source§

type VTable = ISequentialStreamVTable

A COM compatible V-Table
Source§

type Super = dyn IUnknown

The interface that this interface inherits from
Source§

fn is_iid_in_inheritance_chain(riid: &GUID) -> bool

Check whether a given IID is in the inheritance hierarchy of this interface
Source§

impl<C: ISequentialStream> ProductionComInterface<C> for dyn ISequentialStream

Source§

fn vtable<O: Offset>() -> Self::VTable

Get the vtable for a particular COM interface

Implementations on Foreign Types§

Source§

impl<T: ISequentialStream + ComInterface + ?Sized> ISequentialStream for ComPtr<T>

Source§

unsafe fn read( &self, pv: *mut c_void, cb: ULONG, pcbRead: *mut ULONG, ) -> HRESULT

Source§

unsafe fn write( &self, pv: *const c_void, cb: ULONG, pcbWritten: *mut ULONG, ) -> HRESULT

Source§

impl<T: ISequentialStream + ComInterface + ?Sized> ISequentialStream for ComRc<T>

Source§

unsafe fn read( &self, pv: *mut c_void, cb: ULONG, pcbRead: *mut ULONG, ) -> HRESULT

Source§

unsafe fn write( &self, pv: *const c_void, cb: ULONG, pcbWritten: *mut ULONG, ) -> HRESULT

Implementors§