Trait windows::Win32::Media::DirectShow::IMediaEvent_Impl

pub trait IMediaEvent_Impl: Sized + IDispatch_Impl {
    // Required methods
    fn GetEventHandle(&self) -> Result<isize>;
    fn GetEvent(
        &self,
        leventcode: *mut i32,
        lparam1: *mut isize,
        lparam2: *mut isize,
        mstimeout: i32,
    ) -> Result<()>;
    fn WaitForCompletion(&self, mstimeout: i32) -> Result<i32>;
    fn CancelDefaultHandling(&self, levcode: i32) -> Result<()>;
    fn RestoreDefaultHandling(&self, levcode: i32) -> Result<()>;
    fn FreeEventParams(
        &self,
        levcode: i32,
        lparam1: isize,
        lparam2: isize,
    ) -> Result<()>;
}

Required Methods§

fn GetEventHandle(&self) -> Result<isize>

fn GetEvent( &self, leventcode: *mut i32, lparam1: *mut isize, lparam2: *mut isize, mstimeout: i32, ) -> Result<()>

fn WaitForCompletion(&self, mstimeout: i32) -> Result<i32>

fn CancelDefaultHandling(&self, levcode: i32) -> Result<()>

fn RestoreDefaultHandling(&self, levcode: i32) -> Result<()>

fn FreeEventParams( &self, levcode: i32, lparam1: isize, lparam2: isize, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§