Trait windows::Win32::Media::MediaFoundation::IMFCaptureSink_Impl
pub trait IMFCaptureSink_Impl: Sized {
// Required methods
fn GetOutputMediaType(
&self,
dwsinkstreamindex: u32,
ppmediatype: *mut Option<IMFMediaType>,
) -> Result<()>;
fn GetService(
&self,
dwsinkstreamindex: u32,
rguidservice: *const GUID,
riid: *const GUID,
ppunknown: *mut Option<IUnknown>,
) -> Result<()>;
fn AddStream(
&self,
dwsourcestreamindex: u32,
pmediatype: Option<&IMFMediaType>,
pattributes: Option<&IMFAttributes>,
pdwsinkstreamindex: *mut u32,
) -> Result<()>;
fn Prepare(&self) -> Result<()>;
fn RemoveAllStreams(&self) -> Result<()>;
}
Required Methods§
fn GetOutputMediaType( &self, dwsinkstreamindex: u32, ppmediatype: *mut Option<IMFMediaType>, ) -> Result<()>
fn GetService( &self, dwsinkstreamindex: u32, rguidservice: *const GUID, riid: *const GUID, ppunknown: *mut Option<IUnknown>, ) -> Result<()>
fn AddStream( &self, dwsourcestreamindex: u32, pmediatype: Option<&IMFMediaType>, pattributes: Option<&IMFAttributes>, pdwsinkstreamindex: *mut u32, ) -> Result<()>
fn Prepare(&self) -> Result<()>
fn RemoveAllStreams(&self) -> Result<()>
Object Safety§
This trait is not object safe.