Struct winapi::objidlbase::IMalloc [] [src]

pub struct IMalloc {
    pub lpVtbl: *const IMallocVtbl,
}

Fields

lpVtbl

Methods

impl IMalloc

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

unsafe fn Realloc(&mut self, pv: *mut c_void, cb: SIZE_T) -> *mut c_void

unsafe fn Free(&mut self, pv: *mut c_void)

unsafe fn GetSize(&mut self, pv: *mut c_void) -> SIZE_T

unsafe fn DidAlloc(&mut self, pv: *mut c_void) -> c_int

unsafe fn HeapMinimize(&mut self)

Methods from Deref<Target=IUnknown>

unsafe fn QueryInterface(&mut self, riid: REFIID, ppvObject: *mut *mut c_void) -> HRESULT

unsafe fn AddRef(&mut self) -> ULONG

unsafe fn Release(&mut self) -> ULONG

Trait Implementations

impl Deref for IMalloc

type Target = IUnknown

fn deref(&self) -> &IUnknown

impl DerefMut for IMalloc

fn deref_mut(&mut self) -> &mut IUnknown

Derived Implementations

impl Debug for IMalloc

fn fmt(&self, __arg_0: &mut Formatter) -> Result