#[repr(C)]pub struct IMallocSpyVtbl {Show 15 fields
pub QueryInterface: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>,
pub AddRef: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy) -> ULONG>,
pub Release: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy) -> ULONG>,
pub PreAlloc: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy, cbRequest: SIZE_T) -> SIZE_T>,
pub PostAlloc: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy, pActual: *mut c_void) -> *mut c_void>,
pub PreFree: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy, pRequest: *mut c_void, fSpyed: BOOL) -> *mut c_void>,
pub PostFree: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy, fSpyed: BOOL)>,
pub PreRealloc: Option<unsafe extern "stdcall" 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 "stdcall" fn(This: *mut IMallocSpy, pActual: *mut c_void, fSpyed: BOOL) -> *mut c_void>,
pub PreGetSize: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy, pRequest: *mut c_void, fSpyed: BOOL) -> *mut c_void>,
pub PostGetSize: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy, cbActual: SIZE_T, fSpyed: BOOL) -> SIZE_T>,
pub PreDidAlloc: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy, pRequest: *mut c_void, fSpyed: BOOL) -> *mut c_void>,
pub PostDidAlloc: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy, pRequest: *mut c_void, fSpyed: BOOL, fActual: c_int) -> c_int>,
pub PreHeapMinimize: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy)>,
pub PostHeapMinimize: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy)>,
}Fields§
§QueryInterface: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>§AddRef: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy) -> ULONG>§Release: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy) -> ULONG>§PreAlloc: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy, cbRequest: SIZE_T) -> SIZE_T>§PostAlloc: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy, pActual: *mut c_void) -> *mut c_void>§PreFree: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy, pRequest: *mut c_void, fSpyed: BOOL) -> *mut c_void>§PostFree: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy, fSpyed: BOOL)>§PreRealloc: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy, pRequest: *mut c_void, cbRequest: SIZE_T, ppNewRequest: *mut *mut c_void, fSpyed: BOOL) -> SIZE_T>§PostRealloc: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy, pActual: *mut c_void, fSpyed: BOOL) -> *mut c_void>§PreGetSize: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy, pRequest: *mut c_void, fSpyed: BOOL) -> *mut c_void>§PostGetSize: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy, cbActual: SIZE_T, fSpyed: BOOL) -> SIZE_T>§PreDidAlloc: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy, pRequest: *mut c_void, fSpyed: BOOL) -> *mut c_void>§PostDidAlloc: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy, pRequest: *mut c_void, fSpyed: BOOL, fActual: c_int) -> c_int>§PreHeapMinimize: Option<unsafe extern "stdcall" fn(This: *mut IMallocSpy)>§PostHeapMinimize: Option<unsafe extern "stdcall" 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 duplicate 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 moreimpl Copy 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