Trait windows::Win32::Media::DirectShow::IMemInputPin_Impl
pub trait IMemInputPin_Impl: Sized {
// Required methods
fn GetAllocator(&self) -> Result<IMemAllocator>;
fn NotifyAllocator(
&self,
pallocator: Option<&IMemAllocator>,
breadonly: BOOL,
) -> Result<()>;
fn GetAllocatorRequirements(&self) -> Result<ALLOCATOR_PROPERTIES>;
fn Receive(&self, psample: Option<&IMediaSample>) -> Result<()>;
fn ReceiveMultiple(
&self,
psamples: *const Option<IMediaSample>,
nsamples: i32,
) -> Result<i32>;
fn ReceiveCanBlock(&self) -> Result<()>;
}
Required Methods§
fn GetAllocator(&self) -> Result<IMemAllocator>
fn NotifyAllocator( &self, pallocator: Option<&IMemAllocator>, breadonly: BOOL, ) -> Result<()>
fn GetAllocatorRequirements(&self) -> Result<ALLOCATOR_PROPERTIES>
fn Receive(&self, psample: Option<&IMediaSample>) -> Result<()>
fn ReceiveMultiple( &self, psamples: *const Option<IMediaSample>, nsamples: i32, ) -> Result<i32>
fn ReceiveCanBlock(&self) -> Result<()>
Object Safety§
This trait is not object safe.