windows::Win32::Media::MediaPlayer

Struct IWMPEvents_Vtbl

#[repr(C)]
pub struct IWMPEvents_Vtbl {
Show 46 fields pub base__: IUnknown_Vtbl, pub OpenStateChange: unsafe extern "system" fn(_: *mut c_void, _: i32), pub PlayStateChange: unsafe extern "system" fn(_: *mut c_void, _: i32), pub AudioLanguageChange: unsafe extern "system" fn(_: *mut c_void, _: i32), pub StatusChange: unsafe extern "system" fn(_: *mut c_void), pub ScriptCommand: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void), pub NewStream: unsafe extern "system" fn(_: *mut c_void), pub Disconnect: unsafe extern "system" fn(_: *mut c_void, _: i32), pub Buffering: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL), pub Error: unsafe extern "system" fn(_: *mut c_void), pub Warning: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut c_void), pub EndOfStream: unsafe extern "system" fn(_: *mut c_void, _: i32), pub PositionChange: unsafe extern "system" fn(_: *mut c_void, _: f64, _: f64), pub MarkerHit: unsafe extern "system" fn(_: *mut c_void, _: i32), pub DurationUnitChange: unsafe extern "system" fn(_: *mut c_void, _: i32), pub CdromMediaChange: unsafe extern "system" fn(_: *mut c_void, _: i32), pub PlaylistChange: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: WMPPlaylistChangeEventType), pub CurrentPlaylistChange: unsafe extern "system" fn(_: *mut c_void, _: WMPPlaylistChangeEventType), pub CurrentPlaylistItemAvailable: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void), pub MediaChange: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void), pub CurrentMediaItemAvailable: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void), pub CurrentItemChange: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void), pub MediaCollectionChange: unsafe extern "system" fn(_: *mut c_void), pub MediaCollectionAttributeStringAdded: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void), pub MediaCollectionAttributeStringRemoved: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void), pub MediaCollectionAttributeStringChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *mut c_void), pub PlaylistCollectionChange: unsafe extern "system" fn(_: *mut c_void), pub PlaylistCollectionPlaylistAdded: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void), pub PlaylistCollectionPlaylistRemoved: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void), pub PlaylistCollectionPlaylistSetAsDeleted: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: VARIANT_BOOL), pub ModeChange: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: VARIANT_BOOL), pub MediaError: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void), pub OpenPlaylistSwitch: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void), pub DomainChange: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void), pub SwitchedToPlayerApplication: unsafe extern "system" fn(_: *mut c_void), pub SwitchedToControl: unsafe extern "system" fn(_: *mut c_void), pub PlayerDockedStateChange: unsafe extern "system" fn(_: *mut c_void), pub PlayerReconnect: unsafe extern "system" fn(_: *mut c_void), pub Click: unsafe extern "system" fn(_: *mut c_void, _: i16, _: i16, _: i32, _: i32), pub DoubleClick: unsafe extern "system" fn(_: *mut c_void, _: i16, _: i16, _: i32, _: i32), pub KeyDown: unsafe extern "system" fn(_: *mut c_void, _: i16, _: i16), pub KeyPress: unsafe extern "system" fn(_: *mut c_void, _: i16), pub KeyUp: unsafe extern "system" fn(_: *mut c_void, _: i16, _: i16), pub MouseDown: unsafe extern "system" fn(_: *mut c_void, _: i16, _: i16, _: i32, _: i32), pub MouseMove: unsafe extern "system" fn(_: *mut c_void, _: i16, _: i16, _: i32, _: i32), pub MouseUp: unsafe extern "system" fn(_: *mut c_void, _: i16, _: i16, _: i32, _: i32),
}

Fields§

§base__: IUnknown_Vtbl§OpenStateChange: unsafe extern "system" fn(_: *mut c_void, _: i32)§PlayStateChange: unsafe extern "system" fn(_: *mut c_void, _: i32)§AudioLanguageChange: unsafe extern "system" fn(_: *mut c_void, _: i32)§StatusChange: unsafe extern "system" fn(_: *mut c_void)§ScriptCommand: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void)§NewStream: unsafe extern "system" fn(_: *mut c_void)§Disconnect: unsafe extern "system" fn(_: *mut c_void, _: i32)§Buffering: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL)§Error: unsafe extern "system" fn(_: *mut c_void)§Warning: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut c_void)§EndOfStream: unsafe extern "system" fn(_: *mut c_void, _: i32)§PositionChange: unsafe extern "system" fn(_: *mut c_void, _: f64, _: f64)§MarkerHit: unsafe extern "system" fn(_: *mut c_void, _: i32)§DurationUnitChange: unsafe extern "system" fn(_: *mut c_void, _: i32)§CdromMediaChange: unsafe extern "system" fn(_: *mut c_void, _: i32)§PlaylistChange: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: WMPPlaylistChangeEventType)§CurrentPlaylistChange: unsafe extern "system" fn(_: *mut c_void, _: WMPPlaylistChangeEventType)§CurrentPlaylistItemAvailable: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void)§MediaChange: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void)§CurrentMediaItemAvailable: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void)§CurrentItemChange: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void)§MediaCollectionChange: unsafe extern "system" fn(_: *mut c_void)§MediaCollectionAttributeStringAdded: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void)§MediaCollectionAttributeStringRemoved: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void)§MediaCollectionAttributeStringChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *mut c_void)§PlaylistCollectionChange: unsafe extern "system" fn(_: *mut c_void)§PlaylistCollectionPlaylistAdded: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void)§PlaylistCollectionPlaylistRemoved: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void)§PlaylistCollectionPlaylistSetAsDeleted: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: VARIANT_BOOL)§ModeChange: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: VARIANT_BOOL)§MediaError: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void)§OpenPlaylistSwitch: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void)§DomainChange: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void)§SwitchedToPlayerApplication: unsafe extern "system" fn(_: *mut c_void)§SwitchedToControl: unsafe extern "system" fn(_: *mut c_void)§PlayerDockedStateChange: unsafe extern "system" fn(_: *mut c_void)§PlayerReconnect: unsafe extern "system" fn(_: *mut c_void)§Click: unsafe extern "system" fn(_: *mut c_void, _: i16, _: i16, _: i32, _: i32)§DoubleClick: unsafe extern "system" fn(_: *mut c_void, _: i16, _: i16, _: i32, _: i32)§KeyDown: unsafe extern "system" fn(_: *mut c_void, _: i16, _: i16)§KeyPress: unsafe extern "system" fn(_: *mut c_void, _: i16)§KeyUp: unsafe extern "system" fn(_: *mut c_void, _: i16, _: i16)§MouseDown: unsafe extern "system" fn(_: *mut c_void, _: i16, _: i16, _: i32, _: i32)§MouseMove: unsafe extern "system" fn(_: *mut c_void, _: i16, _: i16, _: i32, _: i32)§MouseUp: unsafe extern "system" fn(_: *mut c_void, _: i16, _: i16, _: i32, _: i32)

Implementations§

§

impl IWMPEvents_Vtbl

pub const fn new<Identity: IWMPEvents_Impl, const OFFSET: isize>() -> Self

pub fn matches(iid: &GUID) -> bool

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>,

Source§

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>,

Source§

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.