Struct vc6_sys::IMallocSpyVtbl

source ·
#[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: ULONG) -> ULONG>, 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: ULONG, ppNewRequest: *mut *mut c_void, fSpyed: BOOL) -> ULONG>, 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: ULONG, fSpyed: BOOL) -> ULONG>, 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: ULONG) -> ULONG>§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: ULONG, ppNewRequest: *mut *mut c_void, fSpyed: BOOL) -> ULONG>§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: ULONG, fSpyed: BOOL) -> ULONG>§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

source§

fn clone(&self) -> IMallocSpyVtbl

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Copy for IMallocSpyVtbl

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.