Trait windows::Win32::System::Com::IMalloc_Impl

pub trait IMalloc_Impl: Sized {
    // Required methods
    fn Alloc(&self, cb: usize) -> *mut c_void;
    fn Realloc(&self, pv: *const c_void, cb: usize) -> *mut c_void;
    fn Free(&self, pv: *const c_void);
    fn GetSize(&self, pv: *const c_void) -> usize;
    fn DidAlloc(&self, pv: *const c_void) -> i32;
    fn HeapMinimize(&self);
}

Required Methods§

fn Alloc(&self, cb: usize) -> *mut c_void

fn Realloc(&self, pv: *const c_void, cb: usize) -> *mut c_void

fn Free(&self, pv: *const c_void)

fn GetSize(&self, pv: *const c_void) -> usize

fn DidAlloc(&self, pv: *const c_void) -> i32

fn HeapMinimize(&self)

Object Safety§

This trait is not object safe.

Implementors§