#[repr(C)]
pub struct IMFMediaEngine_Vtbl {
Show 43 fields pub base__: IUnknown_Vtbl, pub GetError: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub SetErrorCode: unsafe extern "system" fn(_: *mut c_void, _: MF_MEDIA_ENGINE_ERR) -> HRESULT, pub SetSourceElements: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub SetSource: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT, pub GetCurrentSource: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub GetNetworkState: unsafe extern "system" fn(_: *mut c_void) -> u16, pub GetPreload: unsafe extern "system" fn(_: *mut c_void) -> MF_MEDIA_ENGINE_PRELOAD, pub SetPreload: unsafe extern "system" fn(_: *mut c_void, _: MF_MEDIA_ENGINE_PRELOAD) -> HRESULT, pub GetBuffered: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub Load: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub CanPlayType: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: *mut MF_MEDIA_ENGINE_CANPLAY) -> HRESULT, pub GetReadyState: unsafe extern "system" fn(_: *mut c_void) -> u16, pub IsSeeking: unsafe extern "system" fn(_: *mut c_void) -> BOOL, pub GetCurrentTime: unsafe extern "system" fn(_: *mut c_void) -> f64, pub SetCurrentTime: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT, pub GetStartTime: unsafe extern "system" fn(_: *mut c_void) -> f64, pub GetDuration: unsafe extern "system" fn(_: *mut c_void) -> f64, pub IsPaused: unsafe extern "system" fn(_: *mut c_void) -> BOOL, pub GetDefaultPlaybackRate: unsafe extern "system" fn(_: *mut c_void) -> f64, pub SetDefaultPlaybackRate: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT, pub GetPlaybackRate: unsafe extern "system" fn(_: *mut c_void) -> f64, pub SetPlaybackRate: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT, pub GetPlayed: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetSeekable: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub IsEnded: unsafe extern "system" fn(_: *mut c_void) -> BOOL, pub GetAutoPlay: unsafe extern "system" fn(_: *mut c_void) -> BOOL, pub SetAutoPlay: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT, pub GetLoop: unsafe extern "system" fn(_: *mut c_void) -> BOOL, pub SetLoop: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT, pub Play: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub Pause: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub GetMuted: unsafe extern "system" fn(_: *mut c_void) -> BOOL, pub SetMuted: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT, pub GetVolume: unsafe extern "system" fn(_: *mut c_void) -> f64, pub SetVolume: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT, pub HasVideo: unsafe extern "system" fn(_: *mut c_void) -> BOOL, pub HasAudio: unsafe extern "system" fn(_: *mut c_void) -> BOOL, pub GetNativeVideoSize: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut u32) -> HRESULT, pub GetVideoAspectRatio: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut u32) -> HRESULT, pub Shutdown: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub TransferVideoFrame: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const MFVideoNormalizedRect, _: *const RECT, _: *const MFARGB) -> HRESULT, pub OnVideoStreamTick: unsafe extern "system" fn(_: *mut c_void, _: *mut i64) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§GetError: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§SetErrorCode: unsafe extern "system" fn(_: *mut c_void, _: MF_MEDIA_ENGINE_ERR) -> HRESULT§SetSourceElements: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§SetSource: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT§GetCurrentSource: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§GetNetworkState: unsafe extern "system" fn(_: *mut c_void) -> u16§GetPreload: unsafe extern "system" fn(_: *mut c_void) -> MF_MEDIA_ENGINE_PRELOAD§SetPreload: unsafe extern "system" fn(_: *mut c_void, _: MF_MEDIA_ENGINE_PRELOAD) -> HRESULT§GetBuffered: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§Load: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§CanPlayType: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>, _: *mut MF_MEDIA_ENGINE_CANPLAY) -> HRESULT§GetReadyState: unsafe extern "system" fn(_: *mut c_void) -> u16§IsSeeking: unsafe extern "system" fn(_: *mut c_void) -> BOOL§GetCurrentTime: unsafe extern "system" fn(_: *mut c_void) -> f64§SetCurrentTime: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT§GetStartTime: unsafe extern "system" fn(_: *mut c_void) -> f64§GetDuration: unsafe extern "system" fn(_: *mut c_void) -> f64§IsPaused: unsafe extern "system" fn(_: *mut c_void) -> BOOL§GetDefaultPlaybackRate: unsafe extern "system" fn(_: *mut c_void) -> f64§SetDefaultPlaybackRate: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT§GetPlaybackRate: unsafe extern "system" fn(_: *mut c_void) -> f64§SetPlaybackRate: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT§GetPlayed: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetSeekable: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§IsEnded: unsafe extern "system" fn(_: *mut c_void) -> BOOL§GetAutoPlay: unsafe extern "system" fn(_: *mut c_void) -> BOOL§SetAutoPlay: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT§GetLoop: unsafe extern "system" fn(_: *mut c_void) -> BOOL§SetLoop: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT§Play: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§Pause: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§GetMuted: unsafe extern "system" fn(_: *mut c_void) -> BOOL§SetMuted: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT§GetVolume: unsafe extern "system" fn(_: *mut c_void) -> f64§SetVolume: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT§HasVideo: unsafe extern "system" fn(_: *mut c_void) -> BOOL§HasAudio: unsafe extern "system" fn(_: *mut c_void) -> BOOL§GetNativeVideoSize: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut u32) -> HRESULT§GetVideoAspectRatio: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut u32) -> HRESULT§Shutdown: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§TransferVideoFrame: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const MFVideoNormalizedRect, _: *const RECT, _: *const MFARGB) -> HRESULT§OnVideoStreamTick: unsafe extern "system" fn(_: *mut c_void, _: *mut i64) -> HRESULT

Implementations§

§

impl IMFMediaEngine_Vtbl

pub const fn new<Identity: IUnknownImpl<Impl = Impl>, Impl: IMFMediaEngine_Impl, const OFFSET: isize>( ) -> IMFMediaEngine_Vtbl

pub fn matches(iid: &GUID) -> bool

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.