Trait windows::Win32::Media::DirectShow::IMemAllocator_Impl
pub trait IMemAllocator_Impl: Sized {
// Required methods
fn SetProperties(
&self,
prequest: *const ALLOCATOR_PROPERTIES,
) -> Result<ALLOCATOR_PROPERTIES>;
fn GetProperties(&self) -> Result<ALLOCATOR_PROPERTIES>;
fn Commit(&self) -> Result<()>;
fn Decommit(&self) -> Result<()>;
fn GetBuffer(
&self,
ppbuffer: *mut Option<IMediaSample>,
pstarttime: *const i64,
pendtime: *const i64,
dwflags: u32,
) -> Result<()>;
fn ReleaseBuffer(&self, pbuffer: Option<&IMediaSample>) -> Result<()>;
}
Required Methods§
fn SetProperties( &self, prequest: *const ALLOCATOR_PROPERTIES, ) -> Result<ALLOCATOR_PROPERTIES>
fn GetProperties(&self) -> Result<ALLOCATOR_PROPERTIES>
fn Commit(&self) -> Result<()>
fn Decommit(&self) -> Result<()>
fn GetBuffer( &self, ppbuffer: *mut Option<IMediaSample>, pstarttime: *const i64, pendtime: *const i64, dwflags: u32, ) -> Result<()>
fn ReleaseBuffer(&self, pbuffer: Option<&IMediaSample>) -> Result<()>
Object Safety§
This trait is not object safe.