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§
impl Freeze for IMediaPlaybackSession_Vtbl
impl RefUnwindSafe for IMediaPlaybackSession_Vtbl
impl Send for IMediaPlaybackSession_Vtbl
impl Sync for IMediaPlaybackSession_Vtbl
impl Unpin for IMediaPlaybackSession_Vtbl
impl UnwindSafe for IMediaPlaybackSession_Vtbl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more