windows::Win32::Media::DirectShow

Trait IMediaParams_Impl

pub trait IMediaParams_Impl: IUnknownImpl {
    // Required methods
    fn GetParam(&self, dwparamindex: u32) -> Result<f32>;
    fn SetParam(&self, dwparamindex: u32, value: f32) -> Result<()>;
    fn AddEnvelope(
        &self,
        dwparamindex: u32,
        csegments: u32,
        penvelopesegments: *const MP_ENVELOPE_SEGMENT,
    ) -> Result<()>;
    fn FlushEnvelope(
        &self,
        dwparamindex: u32,
        reftimestart: i64,
        reftimeend: i64,
    ) -> Result<()>;
    fn SetTimeFormat(
        &self,
        guidtimeformat: &GUID,
        mptimedata: u32,
    ) -> Result<()>;
}

Required Methods§

fn GetParam(&self, dwparamindex: u32) -> Result<f32>

fn SetParam(&self, dwparamindex: u32, value: f32) -> Result<()>

fn AddEnvelope( &self, dwparamindex: u32, csegments: u32, penvelopesegments: *const MP_ENVELOPE_SEGMENT, ) -> Result<()>

fn FlushEnvelope( &self, dwparamindex: u32, reftimestart: i64, reftimeend: i64, ) -> Result<()>

fn SetTimeFormat(&self, guidtimeformat: &GUID, mptimedata: 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.

Implementors§