#[repr(C)]pub struct IPersistStorageVtbl {
pub QueryInterface: Option<unsafe extern "C" fn(This: *mut IPersistStorage, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>,
pub AddRef: Option<unsafe extern "C" fn(This: *mut IPersistStorage) -> ULONG>,
pub Release: Option<unsafe extern "C" fn(This: *mut IPersistStorage) -> ULONG>,
pub GetClassID: Option<unsafe extern "C" fn(This: *mut IPersistStorage, pClassID: *mut CLSID) -> HRESULT>,
pub IsDirty: Option<unsafe extern "C" fn(This: *mut IPersistStorage) -> HRESULT>,
pub InitNew: Option<unsafe extern "C" fn(This: *mut IPersistStorage, pStg: *mut IStorage) -> HRESULT>,
pub Load: Option<unsafe extern "C" fn(This: *mut IPersistStorage, pStg: *mut IStorage) -> HRESULT>,
pub Save: Option<unsafe extern "C" fn(This: *mut IPersistStorage, pStgSave: *mut IStorage, fSameAsLoad: BOOL) -> HRESULT>,
pub SaveCompleted: Option<unsafe extern "C" fn(This: *mut IPersistStorage, pStgNew: *mut IStorage) -> HRESULT>,
pub HandsOffStorage: Option<unsafe extern "C" fn(This: *mut IPersistStorage) -> HRESULT>,
}
Fields§
§QueryInterface: Option<unsafe extern "C" fn(This: *mut IPersistStorage, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>
§AddRef: Option<unsafe extern "C" fn(This: *mut IPersistStorage) -> ULONG>
§Release: Option<unsafe extern "C" fn(This: *mut IPersistStorage) -> ULONG>
§GetClassID: Option<unsafe extern "C" fn(This: *mut IPersistStorage, pClassID: *mut CLSID) -> HRESULT>
§IsDirty: Option<unsafe extern "C" fn(This: *mut IPersistStorage) -> HRESULT>
§InitNew: Option<unsafe extern "C" fn(This: *mut IPersistStorage, pStg: *mut IStorage) -> HRESULT>
§Load: Option<unsafe extern "C" fn(This: *mut IPersistStorage, pStg: *mut IStorage) -> HRESULT>
§Save: Option<unsafe extern "C" fn(This: *mut IPersistStorage, pStgSave: *mut IStorage, fSameAsLoad: BOOL) -> HRESULT>
§SaveCompleted: Option<unsafe extern "C" fn(This: *mut IPersistStorage, pStgNew: *mut IStorage) -> HRESULT>
§HandsOffStorage: Option<unsafe extern "C" fn(This: *mut IPersistStorage) -> HRESULT>
Trait Implementations§
Source§impl Clone for IPersistStorageVtbl
impl Clone for IPersistStorageVtbl
Source§fn clone(&self) -> IPersistStorageVtbl
fn clone(&self) -> IPersistStorageVtbl
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IPersistStorageVtbl
impl Debug for IPersistStorageVtbl
Source§impl Ord for IPersistStorageVtbl
impl Ord for IPersistStorageVtbl
Source§fn cmp(&self, other: &IPersistStorageVtbl) -> Ordering
fn cmp(&self, other: &IPersistStorageVtbl) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IPersistStorageVtbl
impl PartialEq for IPersistStorageVtbl
Source§impl PartialOrd for IPersistStorageVtbl
impl PartialOrd for IPersistStorageVtbl
impl Copy for IPersistStorageVtbl
impl Eq for IPersistStorageVtbl
impl StructuralPartialEq for IPersistStorageVtbl
Auto Trait Implementations§
impl Freeze for IPersistStorageVtbl
impl RefUnwindSafe for IPersistStorageVtbl
impl Send for IPersistStorageVtbl
impl Sync for IPersistStorageVtbl
impl Unpin for IPersistStorageVtbl
impl UnwindSafe for IPersistStorageVtbl
Blanket Implementations§
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