#[repr(C)]
pub struct IMFPMediaPlayer_Vtbl {
Show 37 fields pub base__: IUnknown_Vtbl, pub Play: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub Pause: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub Stop: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub FrameStep: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub SetPosition: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const MaybeUninit<PROPVARIANT>) -> HRESULT, pub GetPosition: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut MaybeUninit<PROPVARIANT>) -> HRESULT, pub GetDuration: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut MaybeUninit<PROPVARIANT>) -> HRESULT, pub SetRate: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT, pub GetRate: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT, pub GetSupportedRates: unsafe extern "system" fn(_: *mut c_void, _: BOOL, _: *mut f32, _: *mut f32) -> HRESULT, pub GetState: unsafe extern "system" fn(_: *mut c_void, _: *mut MFP_MEDIAPLAYER_STATE) -> HRESULT, pub CreateMediaItemFromURL: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: BOOL, _: usize, _: *mut *mut c_void) -> HRESULT, pub CreateMediaItemFromObject: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: BOOL, _: usize, _: *mut *mut c_void) -> HRESULT, pub SetMediaItem: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub ClearMediaItem: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub GetMediaItem: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetVolume: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT, pub SetVolume: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT, pub GetBalance: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT, pub SetBalance: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT, pub GetMute: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT, pub SetMute: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT, pub GetNativeVideoSize: unsafe extern "system" fn(_: *mut c_void, _: *mut SIZE, _: *mut SIZE) -> HRESULT, pub GetIdealVideoSize: unsafe extern "system" fn(_: *mut c_void, _: *mut SIZE, _: *mut SIZE) -> HRESULT, pub SetVideoSourceRect: unsafe extern "system" fn(_: *mut c_void, _: *const MFVideoNormalizedRect) -> HRESULT, pub GetVideoSourceRect: unsafe extern "system" fn(_: *mut c_void, _: *mut MFVideoNormalizedRect) -> HRESULT, pub SetAspectRatioMode: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT, pub GetAspectRatioMode: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub GetVideoWindow: unsafe extern "system" fn(_: *mut c_void, _: *mut HWND) -> HRESULT, pub UpdateVideo: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub SetBorderColor: unsafe extern "system" fn(_: *mut c_void, _: COLORREF) -> HRESULT, pub GetBorderColor: unsafe extern "system" fn(_: *mut c_void, _: *mut COLORREF) -> HRESULT, pub InsertEffect: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: BOOL) -> HRESULT, pub RemoveEffect: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub RemoveAllEffects: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub Shutdown: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§Play: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§Pause: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§Stop: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§FrameStep: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§SetPosition: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const MaybeUninit<PROPVARIANT>) -> HRESULT§GetPosition: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut MaybeUninit<PROPVARIANT>) -> HRESULT§GetDuration: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut MaybeUninit<PROPVARIANT>) -> HRESULT§SetRate: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT§GetRate: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT§GetSupportedRates: unsafe extern "system" fn(_: *mut c_void, _: BOOL, _: *mut f32, _: *mut f32) -> HRESULT§GetState: unsafe extern "system" fn(_: *mut c_void, _: *mut MFP_MEDIAPLAYER_STATE) -> HRESULT§CreateMediaItemFromURL: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: BOOL, _: usize, _: *mut *mut c_void) -> HRESULT§CreateMediaItemFromObject: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: BOOL, _: usize, _: *mut *mut c_void) -> HRESULT§SetMediaItem: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§ClearMediaItem: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§GetMediaItem: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetVolume: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT§SetVolume: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT§GetBalance: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT§SetBalance: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT§GetMute: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT§SetMute: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT§GetNativeVideoSize: unsafe extern "system" fn(_: *mut c_void, _: *mut SIZE, _: *mut SIZE) -> HRESULT§GetIdealVideoSize: unsafe extern "system" fn(_: *mut c_void, _: *mut SIZE, _: *mut SIZE) -> HRESULT§SetVideoSourceRect: unsafe extern "system" fn(_: *mut c_void, _: *const MFVideoNormalizedRect) -> HRESULT§GetVideoSourceRect: unsafe extern "system" fn(_: *mut c_void, _: *mut MFVideoNormalizedRect) -> HRESULT§SetAspectRatioMode: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§GetAspectRatioMode: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§GetVideoWindow: unsafe extern "system" fn(_: *mut c_void, _: *mut HWND) -> HRESULT§UpdateVideo: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§SetBorderColor: unsafe extern "system" fn(_: *mut c_void, _: COLORREF) -> HRESULT§GetBorderColor: unsafe extern "system" fn(_: *mut c_void, _: *mut COLORREF) -> HRESULT§InsertEffect: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: BOOL) -> HRESULT§RemoveEffect: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§RemoveAllEffects: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§Shutdown: unsafe extern "system" fn(_: *mut c_void) -> HRESULT

Implementations§

§

impl IMFPMediaPlayer_Vtbl

pub const fn new<Identity: IUnknownImpl<Impl = Impl>, Impl: IMFPMediaPlayer_Impl, const OFFSET: isize>( ) -> IMFPMediaPlayer_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.