windows::Win32::Media::MediaFoundation

Trait IMFTimer_Impl

pub trait IMFTimer_Impl: IUnknownImpl {
    // Required methods
    fn SetTimer(
        &self,
        dwflags: u32,
        llclocktime: i64,
        pcallback: Ref<'_, IMFAsyncCallback>,
        punkstate: Ref<'_, IUnknown>,
    ) -> Result<IUnknown>;
    fn CancelTimer(&self, punkkey: Ref<'_, IUnknown>) -> Result<()>;
}

Required Methods§

fn SetTimer( &self, dwflags: u32, llclocktime: i64, pcallback: Ref<'_, IMFAsyncCallback>, punkstate: Ref<'_, IUnknown>, ) -> Result<IUnknown>

fn CancelTimer(&self, punkkey: Ref<'_, IUnknown>) -> 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§