Trait winsafe::prelude::mf_IMFMediaEventGenerator

source ·
pub trait mf_IMFMediaEventGenerator: ole_IUnknown {
    // Provided methods
    fn BeginGetEvent(
        &self,
        callback: &impl mf_IMFAsyncCallback,
        state: Option<&impl ole_IUnknown>
    ) -> HrResult<()> { ... }
    fn EndGetEvent(
        &self,
        result: &impl mf_IMFAsyncResult
    ) -> HrResult<IMFMediaEvent> { ... }
    fn GetEvent(&self, flags: Option<MF_EVENT_FLAG>) -> HrResult<IMFMediaEvent> { ... }
    fn QueueEvent(
        &self,
        met: ME,
        extended_type: &GUID,
        status: HRESULT,
        value: Option<&PROPVARIANT>
    ) -> HrResult<()> { ... }
}
Available on crate features kernel and mf only.
Expand description

This trait is enabled with the mf feature, and provides methods for IMFMediaEventGenerator.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§