#[repr(C)]pub struct IMallocSpyVtbl {Show 15 fields
pub QueryInterface: Option<unsafe extern "C" fn(This: *mut IMallocSpy, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>,
pub AddRef: Option<unsafe extern "C" fn(This: *mut IMallocSpy) -> ULONG>,
pub Release: Option<unsafe extern "C" fn(This: *mut IMallocSpy) -> ULONG>,
pub PreAlloc: Option<unsafe extern "C" fn(This: *mut IMallocSpy, cbRequest: SIZE_T) -> SIZE_T>,
pub PostAlloc: Option<unsafe extern "C" fn(This: *mut IMallocSpy, pActual: *mut c_void) -> *mut c_void>,
pub PreFree: Option<unsafe extern "C" fn(This: *mut IMallocSpy, pRequest: *mut c_void, fSpyed: BOOL) -> *mut c_void>,
pub PostFree: Option<unsafe extern "C" fn(This: *mut IMallocSpy, fSpyed: BOOL)>,
pub PreRealloc: Option<unsafe extern "C" fn(This: *mut IMallocSpy, pRequest: *mut c_void, cbRequest: SIZE_T, ppNewRequest: *mut *mut c_void, fSpyed: BOOL) -> SIZE_T>,
pub PostRealloc: Option<unsafe extern "C" fn(This: *mut IMallocSpy, pActual: *mut c_void, fSpyed: BOOL) -> *mut c_void>,
pub PreGetSize: Option<unsafe extern "C" fn(This: *mut IMallocSpy, pRequest: *mut c_void, fSpyed: BOOL) -> *mut c_void>,
pub PostGetSize: Option<unsafe extern "C" fn(This: *mut IMallocSpy, cbActual: SIZE_T, fSpyed: BOOL) -> SIZE_T>,
pub PreDidAlloc: Option<unsafe extern "C" fn(This: *mut IMallocSpy, pRequest: *mut c_void, fSpyed: BOOL) -> *mut c_void>,
pub PostDidAlloc: Option<unsafe extern "C" fn(This: *mut IMallocSpy, pRequest: *mut c_void, fSpyed: BOOL, fActual: c_int) -> c_int>,
pub PreHeapMinimize: Option<unsafe extern "C" fn(This: *mut IMallocSpy)>,
pub PostHeapMinimize: Option<unsafe extern "C" fn(This: *mut IMallocSpy)>,
}
Fields§
§QueryInterface: Option<unsafe extern "C" fn(This: *mut IMallocSpy, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>
§AddRef: Option<unsafe extern "C" fn(This: *mut IMallocSpy) -> ULONG>
§Release: Option<unsafe extern "C" fn(This: *mut IMallocSpy) -> ULONG>
§PreAlloc: Option<unsafe extern "C" fn(This: *mut IMallocSpy, cbRequest: SIZE_T) -> SIZE_T>
§PostAlloc: Option<unsafe extern "C" fn(This: *mut IMallocSpy, pActual: *mut c_void) -> *mut c_void>
§PreFree: Option<unsafe extern "C" fn(This: *mut IMallocSpy, pRequest: *mut c_void, fSpyed: BOOL) -> *mut c_void>
§PostFree: Option<unsafe extern "C" fn(This: *mut IMallocSpy, fSpyed: BOOL)>
§PreRealloc: Option<unsafe extern "C" fn(This: *mut IMallocSpy, pRequest: *mut c_void, cbRequest: SIZE_T, ppNewRequest: *mut *mut c_void, fSpyed: BOOL) -> SIZE_T>
§PostRealloc: Option<unsafe extern "C" fn(This: *mut IMallocSpy, pActual: *mut c_void, fSpyed: BOOL) -> *mut c_void>
§PreGetSize: Option<unsafe extern "C" fn(This: *mut IMallocSpy, pRequest: *mut c_void, fSpyed: BOOL) -> *mut c_void>
§PostGetSize: Option<unsafe extern "C" fn(This: *mut IMallocSpy, cbActual: SIZE_T, fSpyed: BOOL) -> SIZE_T>
§PreDidAlloc: Option<unsafe extern "C" fn(This: *mut IMallocSpy, pRequest: *mut c_void, fSpyed: BOOL) -> *mut c_void>
§PostDidAlloc: Option<unsafe extern "C" fn(This: *mut IMallocSpy, pRequest: *mut c_void, fSpyed: BOOL, fActual: c_int) -> c_int>
§PreHeapMinimize: Option<unsafe extern "C" fn(This: *mut IMallocSpy)>
§PostHeapMinimize: Option<unsafe extern "C" fn(This: *mut IMallocSpy)>
Trait Implementations§
Source§impl Clone for IMallocSpyVtbl
impl Clone for IMallocSpyVtbl
Source§fn clone(&self) -> IMallocSpyVtbl
fn clone(&self) -> IMallocSpyVtbl
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 IMallocSpyVtbl
impl Debug for IMallocSpyVtbl
Source§impl Ord for IMallocSpyVtbl
impl Ord for IMallocSpyVtbl
Source§fn cmp(&self, other: &IMallocSpyVtbl) -> Ordering
fn cmp(&self, other: &IMallocSpyVtbl) -> 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 IMallocSpyVtbl
impl PartialEq for IMallocSpyVtbl
Source§impl PartialOrd for IMallocSpyVtbl
impl PartialOrd for IMallocSpyVtbl
impl Copy for IMallocSpyVtbl
impl Eq for IMallocSpyVtbl
impl StructuralPartialEq for IMallocSpyVtbl
Auto Trait Implementations§
impl Freeze for IMallocSpyVtbl
impl RefUnwindSafe for IMallocSpyVtbl
impl Send for IMallocSpyVtbl
impl Sync for IMallocSpyVtbl
impl Unpin for IMallocSpyVtbl
impl UnwindSafe for IMallocSpyVtbl
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