windows::Win32::Media::MediaFoundation

Trait IMFMediaEventQueue_Impl

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

Required Methods§

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

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

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

fn QueueEvent(&self, pevent: Ref<'_, IMFMediaEvent>) -> Result<()>

fn QueueEventParamVar( &self, met: u32, guidextendedtype: *const GUID, hrstatus: HRESULT, pvvalue: *const PROPVARIANT, ) -> Result<()>

fn QueueEventParamUnk( &self, met: u32, guidextendedtype: *const GUID, hrstatus: HRESULT, punk: Ref<'_, IUnknown>, ) -> Result<()>

fn Shutdown(&self) -> 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§