#[repr(C)]pub struct IPersistFileVtbl {
pub QueryInterface: Option<unsafe extern "C" fn(This: *mut IPersistFile, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>,
pub AddRef: Option<unsafe extern "C" fn(This: *mut IPersistFile) -> ULONG>,
pub Release: Option<unsafe extern "C" fn(This: *mut IPersistFile) -> ULONG>,
pub GetClassID: Option<unsafe extern "C" fn(This: *mut IPersistFile, pClassID: *mut CLSID) -> HRESULT>,
pub IsDirty: Option<unsafe extern "C" fn(This: *mut IPersistFile) -> HRESULT>,
pub Load: Option<unsafe extern "C" fn(This: *mut IPersistFile, pszFileName: LPCOLESTR, dwMode: DWORD) -> HRESULT>,
pub Save: Option<unsafe extern "C" fn(This: *mut IPersistFile, pszFileName: LPCOLESTR, fRemember: BOOL) -> HRESULT>,
pub SaveCompleted: Option<unsafe extern "C" fn(This: *mut IPersistFile, pszFileName: LPCOLESTR) -> HRESULT>,
pub GetCurFile: Option<unsafe extern "C" fn(This: *mut IPersistFile, ppszFileName: *mut LPOLESTR) -> HRESULT>,
}
Fields§
§QueryInterface: Option<unsafe extern "C" fn(This: *mut IPersistFile, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>
§AddRef: Option<unsafe extern "C" fn(This: *mut IPersistFile) -> ULONG>
§Release: Option<unsafe extern "C" fn(This: *mut IPersistFile) -> ULONG>
§GetClassID: Option<unsafe extern "C" fn(This: *mut IPersistFile, pClassID: *mut CLSID) -> HRESULT>
§IsDirty: Option<unsafe extern "C" fn(This: *mut IPersistFile) -> HRESULT>
§Load: Option<unsafe extern "C" fn(This: *mut IPersistFile, pszFileName: LPCOLESTR, dwMode: DWORD) -> HRESULT>
§Save: Option<unsafe extern "C" fn(This: *mut IPersistFile, pszFileName: LPCOLESTR, fRemember: BOOL) -> HRESULT>
§SaveCompleted: Option<unsafe extern "C" fn(This: *mut IPersistFile, pszFileName: LPCOLESTR) -> HRESULT>
§GetCurFile: Option<unsafe extern "C" fn(This: *mut IPersistFile, ppszFileName: *mut LPOLESTR) -> HRESULT>
Trait Implementations§
Source§impl Clone for IPersistFileVtbl
impl Clone for IPersistFileVtbl
Source§fn clone(&self) -> IPersistFileVtbl
fn clone(&self) -> IPersistFileVtbl
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 IPersistFileVtbl
impl Debug for IPersistFileVtbl
Source§impl Ord for IPersistFileVtbl
impl Ord for IPersistFileVtbl
Source§fn cmp(&self, other: &IPersistFileVtbl) -> Ordering
fn cmp(&self, other: &IPersistFileVtbl) -> 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 IPersistFileVtbl
impl PartialEq for IPersistFileVtbl
Source§impl PartialOrd for IPersistFileVtbl
impl PartialOrd for IPersistFileVtbl
impl Copy for IPersistFileVtbl
impl Eq for IPersistFileVtbl
impl StructuralPartialEq for IPersistFileVtbl
Auto Trait Implementations§
impl Freeze for IPersistFileVtbl
impl RefUnwindSafe for IPersistFileVtbl
impl Send for IPersistFileVtbl
impl Sync for IPersistFileVtbl
impl Unpin for IPersistFileVtbl
impl UnwindSafe for IPersistFileVtbl
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