Struct winapi::objidlbase::IMalloc
[−]
[src]
pub struct IMalloc { pub lpVtbl: *const IMallocVtbl, }
Fields
lpVtbl |
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 Deref for IMalloc
[src]
type Target = IUnknown
The resulting type after dereferencing
fn deref(&self) -> &IUnknown
The method called to dereference a value