windows::Win32::Media::MediaFoundation

Trait IMFCapturePhotoSink_Impl

pub trait IMFCapturePhotoSink_Impl: IMFCaptureSink_Impl {
    // Required methods
    fn SetOutputFileName(&self, filename: &PCWSTR) -> Result<()>;
    fn SetSampleCallback(
        &self,
        pcallback: Ref<'_, IMFCaptureEngineOnSampleCallback>,
    ) -> Result<()>;
    fn SetOutputByteStream(
        &self,
        pbytestream: Ref<'_, IMFByteStream>,
    ) -> Result<()>;
}

Required Methods§

fn SetOutputFileName(&self, filename: &PCWSTR) -> Result<()>

fn SetSampleCallback( &self, pcallback: Ref<'_, IMFCaptureEngineOnSampleCallback>, ) -> Result<()>

fn SetOutputByteStream(&self, pbytestream: Ref<'_, IMFByteStream>) -> 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.

Implementors§