windows::Win32::Media::MediaFoundation

Trait IMFMediaEventGenerator_Impl

pub trait IMFMediaEventGenerator_Impl: IUnknownImpl {
    // Required methods
    fn GetEvent(
        &self,
        dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS,
    ) -> Result<IMFMediaEvent>;
    fn BeginGetEvent(
        &self,
        pcallback: Ref<'_, IMFAsyncCallback>,
        punkstate: Ref<'_, IUnknown>,
    ) -> Result<()>;
    fn EndGetEvent(
        &self,
        presult: Ref<'_, IMFAsyncResult>,
    ) -> Result<IMFMediaEvent>;
    fn QueueEvent(
        &self,
        met: u32,
        guidextendedtype: *const GUID,
        hrstatus: HRESULT,
        pvvalue: *const PROPVARIANT,
    ) -> Result<()>;
}

Required Methods§

fn GetEvent( &self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS, ) -> Result<IMFMediaEvent>

fn BeginGetEvent( &self, pcallback: Ref<'_, IMFAsyncCallback>, punkstate: Ref<'_, IUnknown>, ) -> Result<()>

fn EndGetEvent(&self, presult: Ref<'_, IMFAsyncResult>) -> Result<IMFMediaEvent>

fn QueueEvent( &self, met: u32, guidextendedtype: *const GUID, hrstatus: HRESULT, pvvalue: *const PROPVARIANT, ) -> 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§