[][src]Struct CCODE::IStreamVtbl

#[repr(C)]pub struct IStreamVtbl {
    pub QueryInterface: Option<unsafe extern "C" fn(This: *mut IStream, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>,
    pub AddRef: Option<unsafe extern "C" fn(This: *mut IStream) -> ULONG>,
    pub Release: Option<unsafe extern "C" fn(This: *mut IStream) -> ULONG>,
    pub Read: Option<unsafe extern "C" fn(This: *mut IStream, pv: *mut c_void, cb: ULONG, pcbRead: *mut ULONG) -> HRESULT>,
    pub Write: Option<unsafe extern "C" fn(This: *mut IStream, pv: *const c_void, cb: ULONG, pcbWritten: *mut ULONG) -> HRESULT>,
    pub Seek: Option<unsafe extern "C" fn(This: *mut IStream, dlibMove: LARGE_INTEGER, dwOrigin: DWORD, plibNewPosition: *mut ULARGE_INTEGER) -> HRESULT>,
    pub SetSize: Option<unsafe extern "C" fn(This: *mut IStream, libNewSize: ULARGE_INTEGER) -> HRESULT>,
    pub CopyTo: Option<unsafe extern "C" fn(This: *mut IStream, pstm: *mut IStream, cb: ULARGE_INTEGER, pcbRead: *mut ULARGE_INTEGER, pcbWritten: *mut ULARGE_INTEGER) -> HRESULT>,
    pub Commit: Option<unsafe extern "C" fn(This: *mut IStream, grfCommitFlags: DWORD) -> HRESULT>,
    pub Revert: Option<unsafe extern "C" fn(This: *mut IStream) -> HRESULT>,
    pub LockRegion: Option<unsafe extern "C" fn(This: *mut IStream, libOffset: ULARGE_INTEGER, cb: ULARGE_INTEGER, dwLockType: DWORD) -> HRESULT>,
    pub UnlockRegion: Option<unsafe extern "C" fn(This: *mut IStream, libOffset: ULARGE_INTEGER, cb: ULARGE_INTEGER, dwLockType: DWORD) -> HRESULT>,
    pub Stat: Option<unsafe extern "C" fn(This: *mut IStream, pstatstg: *mut STATSTG, grfStatFlag: DWORD) -> HRESULT>,
    pub Clone: Option<unsafe extern "C" fn(This: *mut IStream, ppstm: *mut *mut IStream) -> HRESULT>,
}

Fields

QueryInterface: Option<unsafe extern "C" fn(This: *mut IStream, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>AddRef: Option<unsafe extern "C" fn(This: *mut IStream) -> ULONG>Release: Option<unsafe extern "C" fn(This: *mut IStream) -> ULONG>Read: Option<unsafe extern "C" fn(This: *mut IStream, pv: *mut c_void, cb: ULONG, pcbRead: *mut ULONG) -> HRESULT>Write: Option<unsafe extern "C" fn(This: *mut IStream, pv: *const c_void, cb: ULONG, pcbWritten: *mut ULONG) -> HRESULT>Seek: Option<unsafe extern "C" fn(This: *mut IStream, dlibMove: LARGE_INTEGER, dwOrigin: DWORD, plibNewPosition: *mut ULARGE_INTEGER) -> HRESULT>SetSize: Option<unsafe extern "C" fn(This: *mut IStream, libNewSize: ULARGE_INTEGER) -> HRESULT>CopyTo: Option<unsafe extern "C" fn(This: *mut IStream, pstm: *mut IStream, cb: ULARGE_INTEGER, pcbRead: *mut ULARGE_INTEGER, pcbWritten: *mut ULARGE_INTEGER) -> HRESULT>Commit: Option<unsafe extern "C" fn(This: *mut IStream, grfCommitFlags: DWORD) -> HRESULT>Revert: Option<unsafe extern "C" fn(This: *mut IStream) -> HRESULT>LockRegion: Option<unsafe extern "C" fn(This: *mut IStream, libOffset: ULARGE_INTEGER, cb: ULARGE_INTEGER, dwLockType: DWORD) -> HRESULT>UnlockRegion: Option<unsafe extern "C" fn(This: *mut IStream, libOffset: ULARGE_INTEGER, cb: ULARGE_INTEGER, dwLockType: DWORD) -> HRESULT>Stat: Option<unsafe extern "C" fn(This: *mut IStream, pstatstg: *mut STATSTG, grfStatFlag: DWORD) -> HRESULT>Clone: Option<unsafe extern "C" fn(This: *mut IStream, ppstm: *mut *mut IStream) -> HRESULT>

Trait Implementations

impl Clone for IStreamVtbl[src]

impl Copy for IStreamVtbl[src]

impl Debug for IStreamVtbl[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.