windows::Win32::Media::DirectShow

Trait IAMVideoControl_Impl

pub trait IAMVideoControl_Impl: IUnknownImpl {
    // Required methods
    fn GetCaps(&self, ppin: Ref<'_, IPin>) -> Result<i32>;
    fn SetMode(&self, ppin: Ref<'_, IPin>, mode: i32) -> Result<()>;
    fn GetMode(&self, ppin: Ref<'_, IPin>) -> Result<i32>;
    fn GetCurrentActualFrameRate(&self, ppin: Ref<'_, IPin>) -> Result<i64>;
    fn GetMaxAvailableFrameRate(
        &self,
        ppin: Ref<'_, IPin>,
        iindex: i32,
        dimensions: &SIZE,
    ) -> Result<i64>;
    fn GetFrameRateList(
        &self,
        ppin: Ref<'_, IPin>,
        iindex: i32,
        dimensions: &SIZE,
        listsize: *mut i32,
        framerates: *mut *mut i64,
    ) -> Result<()>;
}

Required Methods§

fn GetCaps(&self, ppin: Ref<'_, IPin>) -> Result<i32>

fn SetMode(&self, ppin: Ref<'_, IPin>, mode: i32) -> Result<()>

fn GetMode(&self, ppin: Ref<'_, IPin>) -> Result<i32>

fn GetCurrentActualFrameRate(&self, ppin: Ref<'_, IPin>) -> Result<i64>

fn GetMaxAvailableFrameRate( &self, ppin: Ref<'_, IPin>, iindex: i32, dimensions: &SIZE, ) -> Result<i64>

fn GetFrameRateList( &self, ppin: Ref<'_, IPin>, iindex: i32, dimensions: &SIZE, listsize: *mut i32, framerates: *mut *mut i64, ) -> 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§