Struct windows::Media::PlayTo::IPlayToReceiver_Vtbl

#[repr(C)]
pub struct IPlayToReceiver_Vtbl {
Show 42 fields pub base__: IInspectable_Vtbl, pub PlayRequested: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemovePlayRequested: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub PauseRequested: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemovePauseRequested: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub SourceChangeRequested: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveSourceChangeRequested: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub PlaybackRateChangeRequested: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemovePlaybackRateChangeRequested: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub CurrentTimeChangeRequested: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveCurrentTimeChangeRequested: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub MuteChangeRequested: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveMuteChangeRequested: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub VolumeChangeRequested: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveVolumeChangeRequested: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub TimeUpdateRequested: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveTimeUpdateRequested: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub StopRequested: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveStopRequested: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub NotifyVolumeChange: unsafe extern "system" fn(_: *mut c_void, _: f64, _: bool) -> HRESULT, pub NotifyRateChange: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT, pub NotifyLoadedMetadata: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub NotifyTimeUpdate: unsafe extern "system" fn(_: *mut c_void, _: TimeSpan) -> HRESULT, pub NotifyDurationChange: unsafe extern "system" fn(_: *mut c_void, _: TimeSpan) -> HRESULT, pub NotifySeeking: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub NotifySeeked: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub NotifyPaused: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub NotifyPlaying: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub NotifyEnded: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub NotifyError: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub NotifyStopped: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub FriendlyName: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub SetFriendlyName: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>) -> HRESULT, pub SetSupportsImage: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT, pub SupportsImage: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub SetSupportsAudio: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT, pub SupportsAudio: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub SetSupportsVideo: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT, pub SupportsVideo: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub Properties: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub StartAsync: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub StopAsync: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
}

Fields§

§base__: IInspectable_Vtbl§PlayRequested: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemovePlayRequested: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§PauseRequested: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemovePauseRequested: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§SourceChangeRequested: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveSourceChangeRequested: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§PlaybackRateChangeRequested: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemovePlaybackRateChangeRequested: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§CurrentTimeChangeRequested: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveCurrentTimeChangeRequested: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§MuteChangeRequested: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveMuteChangeRequested: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§VolumeChangeRequested: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveVolumeChangeRequested: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§TimeUpdateRequested: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveTimeUpdateRequested: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§StopRequested: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveStopRequested: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§NotifyVolumeChange: unsafe extern "system" fn(_: *mut c_void, _: f64, _: bool) -> HRESULT§NotifyRateChange: unsafe extern "system" fn(_: *mut c_void, _: f64) -> HRESULT§NotifyLoadedMetadata: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§NotifyTimeUpdate: unsafe extern "system" fn(_: *mut c_void, _: TimeSpan) -> HRESULT§NotifyDurationChange: unsafe extern "system" fn(_: *mut c_void, _: TimeSpan) -> HRESULT§NotifySeeking: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§NotifySeeked: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§NotifyPaused: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§NotifyPlaying: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§NotifyEnded: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§NotifyError: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§NotifyStopped: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§FriendlyName: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§SetFriendlyName: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>) -> HRESULT§SetSupportsImage: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT§SupportsImage: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§SetSupportsAudio: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT§SupportsAudio: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§SetSupportsVideo: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT§SupportsVideo: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§Properties: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§StartAsync: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§StopAsync: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> 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.