Trait windows::Win32::Media::DirectShow::IAMMediaTypeStream_Impl
pub trait IAMMediaTypeStream_Impl: Sized + IMediaStream_Impl {
// Required methods
fn GetFormat(
&self,
pmediatype: *mut AM_MEDIA_TYPE,
dwflags: u32,
) -> Result<()>;
fn SetFormat(
&self,
pmediatype: *const AM_MEDIA_TYPE,
dwflags: u32,
) -> Result<()>;
fn CreateSample(
&self,
lsamplesize: i32,
pbbuffer: *const u8,
dwflags: u32,
punkouter: Option<&IUnknown>,
) -> Result<IAMMediaTypeSample>;
fn GetStreamAllocatorRequirements(&self) -> Result<ALLOCATOR_PROPERTIES>;
fn SetStreamAllocatorRequirements(
&self,
pprops: *const ALLOCATOR_PROPERTIES,
) -> Result<()>;
}
Required Methods§
fn GetFormat(&self, pmediatype: *mut AM_MEDIA_TYPE, dwflags: u32) -> Result<()>
fn SetFormat( &self, pmediatype: *const AM_MEDIA_TYPE, dwflags: u32, ) -> Result<()>
fn CreateSample( &self, lsamplesize: i32, pbbuffer: *const u8, dwflags: u32, punkouter: Option<&IUnknown>, ) -> Result<IAMMediaTypeSample>
fn GetStreamAllocatorRequirements(&self) -> Result<ALLOCATOR_PROPERTIES>
fn SetStreamAllocatorRequirements( &self, pprops: *const ALLOCATOR_PROPERTIES, ) -> Result<()>
Object Safety§
This trait is not object safe.