[][src]Struct CCODE::IMallocSpyVtbl

#[repr(C)]pub struct IMallocSpyVtbl {
    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

impl Clone for IMallocSpyVtbl[src]

impl Copy for IMallocSpyVtbl[src]

impl Debug for IMallocSpyVtbl[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.