Struct IMFPMediaPlayer_Vtbl
#[repr(C)]pub struct IMFPMediaPlayer_Vtbl {Show 37 fields
pub base__: IUnknown_Vtbl,
pub Play: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub Pause: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub Stop: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub FrameStep: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub SetPosition: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const PROPVARIANT) -> HRESULT,
pub GetPosition: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut PROPVARIANT) -> HRESULT,
pub GetDuration: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut PROPVARIANT) -> HRESULT,
pub SetRate: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT,
pub GetRate: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT,
pub GetSupportedRates: unsafe extern "system" fn(_: *mut c_void, _: BOOL, _: *mut f32, _: *mut f32) -> HRESULT,
pub GetState: unsafe extern "system" fn(_: *mut c_void, _: *mut MFP_MEDIAPLAYER_STATE) -> HRESULT,
pub CreateMediaItemFromURL: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: BOOL, _: usize, _: *mut *mut c_void) -> HRESULT,
pub CreateMediaItemFromObject: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: BOOL, _: usize, _: *mut *mut c_void) -> HRESULT,
pub SetMediaItem: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub ClearMediaItem: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub GetMediaItem: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub GetVolume: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT,
pub SetVolume: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT,
pub GetBalance: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT,
pub SetBalance: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT,
pub GetMute: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub SetMute: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub GetNativeVideoSize: unsafe extern "system" fn(_: *mut c_void, _: *mut SIZE, _: *mut SIZE) -> HRESULT,
pub GetIdealVideoSize: unsafe extern "system" fn(_: *mut c_void, _: *mut SIZE, _: *mut SIZE) -> HRESULT,
pub SetVideoSourceRect: unsafe extern "system" fn(_: *mut c_void, _: *const MFVideoNormalizedRect) -> HRESULT,
pub GetVideoSourceRect: unsafe extern "system" fn(_: *mut c_void, _: *mut MFVideoNormalizedRect) -> HRESULT,
pub SetAspectRatioMode: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
pub GetAspectRatioMode: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub GetVideoWindow: unsafe extern "system" fn(_: *mut c_void, _: *mut HWND) -> HRESULT,
pub UpdateVideo: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub SetBorderColor: unsafe extern "system" fn(_: *mut c_void, _: COLORREF) -> HRESULT,
pub GetBorderColor: unsafe extern "system" fn(_: *mut c_void, _: *mut COLORREF) -> HRESULT,
pub InsertEffect: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: BOOL) -> HRESULT,
pub RemoveEffect: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub RemoveAllEffects: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub Shutdown: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
}Fields§
§base__: IUnknown_Vtbl§Play: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§Pause: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§Stop: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§FrameStep: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§SetPosition: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const PROPVARIANT) -> HRESULT§GetPosition: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut PROPVARIANT) -> HRESULT§GetDuration: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut PROPVARIANT) -> HRESULT§SetRate: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT§GetRate: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT§GetSupportedRates: unsafe extern "system" fn(_: *mut c_void, _: BOOL, _: *mut f32, _: *mut f32) -> HRESULT§GetState: unsafe extern "system" fn(_: *mut c_void, _: *mut MFP_MEDIAPLAYER_STATE) -> HRESULT§CreateMediaItemFromURL: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: BOOL, _: usize, _: *mut *mut c_void) -> HRESULT§CreateMediaItemFromObject: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: BOOL, _: usize, _: *mut *mut c_void) -> HRESULT§SetMediaItem: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§ClearMediaItem: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§GetMediaItem: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetVolume: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT§SetVolume: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT§GetBalance: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT§SetBalance: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT§GetMute: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT§SetMute: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT§GetNativeVideoSize: unsafe extern "system" fn(_: *mut c_void, _: *mut SIZE, _: *mut SIZE) -> HRESULT§GetIdealVideoSize: unsafe extern "system" fn(_: *mut c_void, _: *mut SIZE, _: *mut SIZE) -> HRESULT§SetVideoSourceRect: unsafe extern "system" fn(_: *mut c_void, _: *const MFVideoNormalizedRect) -> HRESULT§GetVideoSourceRect: unsafe extern "system" fn(_: *mut c_void, _: *mut MFVideoNormalizedRect) -> HRESULT§SetAspectRatioMode: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§GetAspectRatioMode: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§GetVideoWindow: unsafe extern "system" fn(_: *mut c_void, _: *mut HWND) -> HRESULT§UpdateVideo: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§SetBorderColor: unsafe extern "system" fn(_: *mut c_void, _: COLORREF) -> HRESULT§GetBorderColor: unsafe extern "system" fn(_: *mut c_void, _: *mut COLORREF) -> HRESULT§InsertEffect: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: BOOL) -> HRESULT§RemoveEffect: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§RemoveAllEffects: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§Shutdown: unsafe extern "system" fn(_: *mut c_void) -> HRESULTImplementations§
§impl IMFPMediaPlayer_Vtbl
impl IMFPMediaPlayer_Vtbl
pub const fn new<Identity: IMFPMediaPlayer_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IMFPMediaPlayer_Vtbl
impl RefUnwindSafe for IMFPMediaPlayer_Vtbl
impl Send for IMFPMediaPlayer_Vtbl
impl Sync for IMFPMediaPlayer_Vtbl
impl Unpin for IMFPMediaPlayer_Vtbl
impl UnwindSafe for IMFPMediaPlayer_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