Trait windows::Win32::Media::DirectShow::IMediaStream_Impl
pub trait IMediaStream_Impl: Sized {
// Required methods
fn GetMultiMediaStream(&self) -> Result<IMultiMediaStream>;
fn GetInformation(
&self,
ppurposeid: *mut GUID,
ptype: *mut STREAM_TYPE,
) -> Result<()>;
fn SetSameFormat(
&self,
pstreamthathasdesiredformat: Option<&IMediaStream>,
dwflags: u32,
) -> Result<()>;
fn AllocateSample(&self, dwflags: u32) -> Result<IStreamSample>;
fn CreateSharedSample(
&self,
pexistingsample: Option<&IStreamSample>,
dwflags: u32,
) -> Result<IStreamSample>;
fn SendEndOfStream(&self, dwflags: u32) -> Result<()>;
}
Required Methods§
fn GetMultiMediaStream(&self) -> Result<IMultiMediaStream>
fn GetInformation( &self, ppurposeid: *mut GUID, ptype: *mut STREAM_TYPE, ) -> Result<()>
fn SetSameFormat( &self, pstreamthathasdesiredformat: Option<&IMediaStream>, dwflags: u32, ) -> Result<()>
fn AllocateSample(&self, dwflags: u32) -> Result<IStreamSample>
fn SendEndOfStream(&self, dwflags: u32) -> Result<()>
Object Safety§
This trait is not object safe.