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

#[repr(C)]
pub struct IMalloc { pub lpVtbl: *const IMallocVtbl, }

Fields

lpVtbl: *const IMallocVtbl

Methods

impl IMalloc[src]

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

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

pub unsafe fn Free(&self, pv: *mut c_void)[src]

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

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

pub unsafe fn HeapMinimize(&self)[src]

Methods from Deref<Target = IUnknown>

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

pub unsafe fn AddRef(&self) -> ULONG[src]

pub unsafe fn Release(&self) -> ULONG[src]

Trait Implementations

impl Interface for IMalloc[src]

impl Deref for IMalloc[src]

type Target = IUnknown

The resulting type after dereferencing.

Auto Trait Implementations

impl !Send for IMalloc

impl !Sync for IMalloc

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]