Struct windows::Media::IMediaControl_Vtbl

#[repr(C)]
pub struct IMediaControl_Vtbl {
Show 34 fields pub base__: IInspectable_Vtbl, pub SoundLevelChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveSoundLevelChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub PlayPressed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemovePlayPressed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub PausePressed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemovePausePressed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub StopPressed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveStopPressed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub PlayPauseTogglePressed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemovePlayPauseTogglePressed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub RecordPressed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveRecordPressed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub NextTrackPressed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveNextTrackPressed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub PreviousTrackPressed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemovePreviousTrackPressed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub FastForwardPressed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveFastForwardPressed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub RewindPressed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveRewindPressed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub ChannelUpPressed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveChannelUpPressed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub ChannelDownPressed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveChannelDownPressed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub SoundLevel: unsafe extern "system" fn(_: *mut c_void, _: *mut SoundLevel) -> HRESULT, pub SetTrackName: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>) -> HRESULT, pub TrackName: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub SetArtistName: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>) -> HRESULT, pub ArtistName: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub SetIsPlaying: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT, pub IsPlaying: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub SetAlbumArt: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub AlbumArt: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
}

Fields§

§base__: IInspectable_Vtbl§SoundLevelChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveSoundLevelChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§PlayPressed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemovePlayPressed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§PausePressed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemovePausePressed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§StopPressed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveStopPressed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§PlayPauseTogglePressed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemovePlayPauseTogglePressed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§RecordPressed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveRecordPressed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§NextTrackPressed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveNextTrackPressed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§PreviousTrackPressed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemovePreviousTrackPressed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§FastForwardPressed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveFastForwardPressed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§RewindPressed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveRewindPressed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§ChannelUpPressed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveChannelUpPressed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§ChannelDownPressed: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveChannelDownPressed: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§SoundLevel: unsafe extern "system" fn(_: *mut c_void, _: *mut SoundLevel) -> HRESULT§SetTrackName: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>) -> HRESULT§TrackName: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§SetArtistName: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<HSTRING>) -> HRESULT§ArtistName: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§SetIsPlaying: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT§IsPlaying: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§SetAlbumArt: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§AlbumArt: 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.