pub trait IMFMediaEventGenerator_Impl: Sized {
// Required methods
fn GetEvent(
&self,
dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS,
) -> Result<IMFMediaEvent>;
fn BeginGetEvent(
&self,
pcallback: Option<&IMFAsyncCallback>,
punkstate: Option<&IUnknown>,
) -> Result<()>;
fn EndGetEvent(
&self,
presult: Option<&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: Option<&IMFAsyncCallback>, punkstate: Option<&IUnknown>, ) -> Result<()>
fn EndGetEvent(&self, presult: Option<&IMFAsyncResult>) -> Result<IMFMediaEvent>
fn QueueEvent( &self, met: u32, guidextendedtype: *const GUID, hrstatus: HRESULT, pvvalue: *const PROPVARIANT, ) -> Result<()>
Object Safety§
This trait is not object safe.