pub struct IMallocVtbl {
pub QueryInterface: unsafe extern "system" fn(This: *mut IMalloc, riid: REFIID, ppvObject: *mut *mut c_void) -> HRESULT,
pub AddRef: unsafe extern "system" fn(This: *mut IMalloc) -> ULONG,
pub Release: unsafe extern "system" fn(This: *mut IMalloc) -> ULONG,
pub Alloc: unsafe extern "system" fn(This: *mut IMalloc, cb: SIZE_T) -> *mut c_void,
pub Realloc: unsafe extern "system" fn(This: *mut IMalloc, pv: *mut c_void, cb: SIZE_T) -> *mut c_void,
pub Free: unsafe extern "system" fn(This: *mut IMalloc, pv: *mut c_void),
pub GetSize: unsafe extern "system" fn(This: *mut IMalloc, pv: *mut c_void) -> SIZE_T,
pub DidAlloc: unsafe extern "system" fn(This: *mut IMalloc, pv: *mut c_void) -> c_int,
pub HeapMinimize: unsafe extern "system" fn(This: *mut IMalloc),
}
Fields
QueryInterface | |
AddRef | |
Release | |
Alloc | |
Realloc | |
Free | |
GetSize | |
DidAlloc | |
HeapMinimize | |