Struct windows::Media::Playback::IMediaPlaybackSession_Vtbl

#[repr(C)]
pub struct IMediaPlaybackSession_Vtbl {
Show 39 fields pub base__: IInspectable_Vtbl, pub PlaybackStateChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemovePlaybackStateChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub PlaybackRateChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemovePlaybackRateChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub SeekCompleted: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveSeekCompleted: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub BufferingStarted: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveBufferingStarted: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub BufferingEnded: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveBufferingEnded: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub BufferingProgressChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveBufferingProgressChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub DownloadProgressChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveDownloadProgressChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub NaturalDurationChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveNaturalDurationChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub PositionChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemovePositionChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub NaturalVideoSizeChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveNaturalVideoSizeChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub MediaPlayer: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub NaturalDuration: unsafe extern "system" fn(_: *mut c_void, _: *mut TimeSpan) -> HRESULT, pub Position: unsafe extern "system" fn(_: *mut c_void, _: *mut TimeSpan) -> HRESULT, pub SetPosition: unsafe extern "system" fn(_: *mut c_void, _: TimeSpan) -> HRESULT, pub PlaybackState: unsafe extern "system" fn(_: *mut c_void, _: *mut MediaPlaybackState) -> HRESULT, pub CanSeek: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub CanPause: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub IsProtected: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub PlaybackRate: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT, pub SetPlaybackRate: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT, pub BufferingProgress: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT, pub DownloadProgress: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT, pub NaturalVideoHeight: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub NaturalVideoWidth: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub NormalizedSourceRect: unsafe extern "system" fn(_: *mut c_void, _: *mut Rect) -> HRESULT, pub SetNormalizedSourceRect: unsafe extern "system" fn(_: *mut c_void, _: Rect) -> HRESULT, pub StereoscopicVideoPackingMode: unsafe extern "system" fn(_: *mut c_void, _: *mut StereoscopicVideoPackingMode) -> HRESULT, pub SetStereoscopicVideoPackingMode: unsafe extern "system" fn(_: *mut c_void, _: StereoscopicVideoPackingMode) -> HRESULT,
}

Fields§

§base__: IInspectable_Vtbl§PlaybackStateChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemovePlaybackStateChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§PlaybackRateChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemovePlaybackRateChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§SeekCompleted: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveSeekCompleted: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§BufferingStarted: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveBufferingStarted: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§BufferingEnded: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveBufferingEnded: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§BufferingProgressChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveBufferingProgressChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§DownloadProgressChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveDownloadProgressChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§NaturalDurationChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveNaturalDurationChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§PositionChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemovePositionChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§NaturalVideoSizeChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveNaturalVideoSizeChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§MediaPlayer: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§NaturalDuration: unsafe extern "system" fn(_: *mut c_void, _: *mut TimeSpan) -> HRESULT§Position: unsafe extern "system" fn(_: *mut c_void, _: *mut TimeSpan) -> HRESULT§SetPosition: unsafe extern "system" fn(_: *mut c_void, _: TimeSpan) -> HRESULT§PlaybackState: unsafe extern "system" fn(_: *mut c_void, _: *mut MediaPlaybackState) -> HRESULT§CanSeek: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§CanPause: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§IsProtected: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§PlaybackRate: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT§SetPlaybackRate: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT§BufferingProgress: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT§DownloadProgress: unsafe extern "system" fn(_: *mut c_void, _: *mut f64) -> HRESULT§NaturalVideoHeight: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§NaturalVideoWidth: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§NormalizedSourceRect: unsafe extern "system" fn(_: *mut c_void, _: *mut Rect) -> HRESULT§SetNormalizedSourceRect: unsafe extern "system" fn(_: *mut c_void, _: Rect) -> HRESULT§StereoscopicVideoPackingMode: unsafe extern "system" fn(_: *mut c_void, _: *mut StereoscopicVideoPackingMode) -> HRESULT§SetStereoscopicVideoPackingMode: unsafe extern "system" fn(_: *mut c_void, _: StereoscopicVideoPackingMode) -> HRESULT

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.