Struct IStorageVtbl

Source
#[repr(C)]
pub struct IStorageVtbl {
Show 16 fields pub parent: IUnknownVtbl, pub CreateStream: unsafe extern "system" fn(This: *mut IStorage, pwcsName: *const OLECHAR, grfMode: DWORD, reserved1: DWORD, reserved2: DWORD, ppstm: *mut *mut IStream) -> HRESULT, pub OpenStream: unsafe extern "system" fn(This: *mut IStorage, pwcsName: *const OLECHAR, reserved1: *const c_void, grfMode: DWORD, reserved2: DWORD, ppstm: *mut *mut IStream) -> HRESULT, pub CreateStorage: unsafe extern "system" fn(This: *mut IStorage, pwcsName: *const OLECHAR, grfMode: DWORD, reserved1: DWORD, reserved2: DWORD, ppstg: *mut *mut IStorage) -> HRESULT, pub OpenStorage: unsafe extern "system" fn(This: *mut IStorage, pwcsName: *const OLECHAR, pstgPriority: IStorage, grfMode: DWORD, snbExclude: SNB, reserved: DWORD, ppstg: *mut *mut IStorage) -> HRESULT, pub CopyTo: unsafe extern "system" fn(This: *mut IStorage, ciidExclude: DWORD, rgiidExclude: *const IID, snbExclude: SNB, pstgDest: *const IStorage) -> HRESULT, pub MoveElementTo: unsafe extern "system" fn(This: *mut IStorage, pwcsName: *const OLECHAR, pstgDest: *const IStorage, pwcsNewName: *const OLECHAR, grfFlags: DWORD) -> HRESULT, pub Commit: unsafe extern "system" fn(This: *mut IStorage, grfCommitFlags: DWORD) -> HRESULT, pub Revert: unsafe extern "system" fn(This: *mut IStorage) -> HRESULT, pub EnumElements: unsafe extern "system" fn(This: *mut IStorage, reserved1: DWORD, reserved2: *const c_void, reserved3: DWORD, ppenum: *mut *mut IEnumSTATSTG) -> HRESULT, pub DestroyElement: unsafe extern "system" fn(This: *mut IStorage, pwcsName: *const OLECHAR) -> HRESULT, pub RenameElement: unsafe extern "system" fn(This: *mut IStorage, pwcsOldName: *const OLECHAR, pwcsNewName: *const OLECHAR) -> HRESULT, pub SetElementTimes: unsafe extern "system" fn(This: *mut IStorage, pwcsName: *const OLECHAR, pctime: *const FILETIME, patime: *const FILETIME, pmtime: *const FILETIME) -> HRESULT, pub SetClass: unsafe extern "system" fn(This: *mut IStorage, clsid: REFCLSID) -> HRESULT, pub SetStateBits: unsafe extern "system" fn(This: *mut IStorage, grfStateBits: DWORD, grfMask: DWORD) -> HRESULT, pub Stat: unsafe extern "system" fn(This: *mut IStorage, pstatstg: *mut STATSTG, grfStatFlag: DWORD) -> HRESULT,
}

Fields§

§parent: IUnknownVtbl§CreateStream: unsafe extern "system" fn(This: *mut IStorage, pwcsName: *const OLECHAR, grfMode: DWORD, reserved1: DWORD, reserved2: DWORD, ppstm: *mut *mut IStream) -> HRESULT§OpenStream: unsafe extern "system" fn(This: *mut IStorage, pwcsName: *const OLECHAR, reserved1: *const c_void, grfMode: DWORD, reserved2: DWORD, ppstm: *mut *mut IStream) -> HRESULT§CreateStorage: unsafe extern "system" fn(This: *mut IStorage, pwcsName: *const OLECHAR, grfMode: DWORD, reserved1: DWORD, reserved2: DWORD, ppstg: *mut *mut IStorage) -> HRESULT§OpenStorage: unsafe extern "system" fn(This: *mut IStorage, pwcsName: *const OLECHAR, pstgPriority: IStorage, grfMode: DWORD, snbExclude: SNB, reserved: DWORD, ppstg: *mut *mut IStorage) -> HRESULT§CopyTo: unsafe extern "system" fn(This: *mut IStorage, ciidExclude: DWORD, rgiidExclude: *const IID, snbExclude: SNB, pstgDest: *const IStorage) -> HRESULT§MoveElementTo: unsafe extern "system" fn(This: *mut IStorage, pwcsName: *const OLECHAR, pstgDest: *const IStorage, pwcsNewName: *const OLECHAR, grfFlags: DWORD) -> HRESULT§Commit: unsafe extern "system" fn(This: *mut IStorage, grfCommitFlags: DWORD) -> HRESULT§Revert: unsafe extern "system" fn(This: *mut IStorage) -> HRESULT§EnumElements: unsafe extern "system" fn(This: *mut IStorage, reserved1: DWORD, reserved2: *const c_void, reserved3: DWORD, ppenum: *mut *mut IEnumSTATSTG) -> HRESULT§DestroyElement: unsafe extern "system" fn(This: *mut IStorage, pwcsName: *const OLECHAR) -> HRESULT§RenameElement: unsafe extern "system" fn(This: *mut IStorage, pwcsOldName: *const OLECHAR, pwcsNewName: *const OLECHAR) -> HRESULT§SetElementTimes: unsafe extern "system" fn(This: *mut IStorage, pwcsName: *const OLECHAR, pctime: *const FILETIME, patime: *const FILETIME, pmtime: *const FILETIME) -> HRESULT§SetClass: unsafe extern "system" fn(This: *mut IStorage, clsid: REFCLSID) -> HRESULT§SetStateBits: unsafe extern "system" fn(This: *mut IStorage, grfStateBits: DWORD, grfMask: DWORD) -> HRESULT§Stat: unsafe extern "system" fn(This: *mut IStorage, pstatstg: *mut STATSTG, grfStatFlag: DWORD) -> HRESULT

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.