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

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

Fields

lpVtbl: *const IMallocVtbl

Methods

impl IMalloc
[src]

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 Debug for IMalloc
[src]

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

Formats the value using the given formatter.

impl Deref for IMalloc
[src]

type Target = IUnknown

The resulting type after dereferencing

fn deref(&self) -> &IUnknown

The method called to dereference a value

impl DerefMut for IMalloc
[src]

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

The method called to mutably dereference a value