[][src]Struct winapi::um::objidlbase::IStream

#[repr(C)]
pub struct IStream { pub lpVtbl: *const IStreamVtbl, }

Fields

lpVtbl: *const IStreamVtbl

Methods

impl IStream[src]

pub unsafe fn Seek(
    &self,
    dlibMove: LARGE_INTEGER,
    dwOrigin: DWORD,
    plibNewPosition: *mut ULARGE_INTEGER
) -> HRESULT
[src]

pub unsafe fn SetSize(&self, libNewSize: ULARGE_INTEGER) -> HRESULT[src]

pub unsafe fn CopyTo(
    &self,
    pstm: *mut IStream,
    cb: ULARGE_INTEGER,
    pcbRead: *mut ULARGE_INTEGER,
    pcbWritten: *mut ULARGE_INTEGER
) -> HRESULT
[src]

pub unsafe fn Commit(&self, grfCommitFlags: DWORD) -> HRESULT[src]

pub unsafe fn Revert(&self) -> HRESULT[src]

pub unsafe fn LockRegion(
    &self,
    libOffset: ULARGE_INTEGER,
    cb: ULARGE_INTEGER,
    dwLockType: DWORD
) -> HRESULT
[src]

pub unsafe fn UnlockRegion(
    &self,
    libOffset: ULARGE_INTEGER,
    cb: ULARGE_INTEGER,
    dwLockType: DWORD
) -> HRESULT
[src]

pub unsafe fn Stat(&self, pstatstg: *mut STATSTG, grfStatFlag: DWORD) -> HRESULT[src]

pub unsafe fn Clone(&self, ppstm: *mut *mut IStream) -> HRESULT[src]

Methods from Deref<Target = ISequentialStream>

pub unsafe fn Read(
    &self,
    pv: *mut c_void,
    cb: ULONG,
    pcbRead: *mut ULONG
) -> HRESULT
[src]

pub unsafe fn Write(
    &self,
    pv: *const c_void,
    cb: ULONG,
    pcbWritten: *mut ULONG
) -> HRESULT
[src]

Trait Implementations

impl Interface for IStream[src]

impl Deref for IStream[src]

type Target = ISequentialStream

The resulting type after dereferencing.

Auto Trait Implementations

impl !Send for IStream

impl !Sync for IStream

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]