pub trait IAMDevMemoryAllocator_Impl: Sized {
    // Required methods
    fn GetInfo(
        &self,
        pdwcbtotalfree: *mut u32,
        pdwcblargestfree: *mut u32,
        pdwcbtotalmemory: *mut u32,
        pdwcbminimumchunk: *mut u32,
    ) -> Result<()>;
    fn CheckMemory(&self, pbuffer: *const u8) -> Result<()>;
    fn Alloc(&self, ppbuffer: *mut *mut u8, pdwcbbuffer: *mut u32) -> Result<()>;
    fn Free(&self, pbuffer: *const u8) -> Result<()>;
    fn GetDevMemoryObject(
        &self,
        ppunkinnner: *mut Option<IUnknown>,
        punkouter: Option<&IUnknown>,
    ) -> Result<()>;
}

Required Methods§

fn GetInfo( &self, pdwcbtotalfree: *mut u32, pdwcblargestfree: *mut u32, pdwcbtotalmemory: *mut u32, pdwcbminimumchunk: *mut u32, ) -> Result<()>

fn CheckMemory(&self, pbuffer: *const u8) -> Result<()>

fn Alloc(&self, ppbuffer: *mut *mut u8, pdwcbbuffer: *mut u32) -> Result<()>

fn Free(&self, pbuffer: *const u8) -> Result<()>

fn GetDevMemoryObject( &self, ppunkinnner: *mut Option<IUnknown>, punkouter: Option<&IUnknown>, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§