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§
impl Freeze for IMediaControl_Vtbl
impl RefUnwindSafe for IMediaControl_Vtbl
impl Send for IMediaControl_Vtbl
impl Sync for IMediaControl_Vtbl
impl Unpin for IMediaControl_Vtbl
impl UnwindSafe for IMediaControl_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