Trait IMFCaptureRecordSink_Impl
pub trait IMFCaptureRecordSink_Impl: IMFCaptureSink_Impl {
// Required methods
fn SetOutputByteStream(
&self,
pbytestream: Ref<'_, IMFByteStream>,
guidcontainertype: *const GUID,
) -> Result<()>;
fn SetOutputFileName(&self, filename: &PCWSTR) -> Result<()>;
fn SetSampleCallback(
&self,
dwstreamsinkindex: u32,
pcallback: Ref<'_, IMFCaptureEngineOnSampleCallback>,
) -> Result<()>;
fn SetCustomSink(&self, pmediasink: Ref<'_, IMFMediaSink>) -> Result<()>;
fn GetRotation(&self, dwstreamindex: u32) -> Result<u32>;
fn SetRotation(
&self,
dwstreamindex: u32,
dwrotationvalue: u32,
) -> Result<()>;
}
Required Methods§
fn SetOutputByteStream( &self, pbytestream: Ref<'_, IMFByteStream>, guidcontainertype: *const GUID, ) -> Result<()>
fn SetOutputFileName(&self, filename: &PCWSTR) -> Result<()>
fn SetSampleCallback( &self, dwstreamsinkindex: u32, pcallback: Ref<'_, IMFCaptureEngineOnSampleCallback>, ) -> Result<()>
fn SetCustomSink(&self, pmediasink: Ref<'_, IMFMediaSink>) -> Result<()>
fn GetRotation(&self, dwstreamindex: u32) -> Result<u32>
fn SetRotation(&self, dwstreamindex: u32, dwrotationvalue: u32) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.