Struct IMFPMediaItem_Vtbl
#[repr(C)]pub struct IMFPMediaItem_Vtbl {Show 20 fields
pub base__: IUnknown_Vtbl,
pub GetMediaPlayer: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub GetURL: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT,
pub GetObject: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub GetUserData: unsafe extern "system" fn(_: *mut c_void, _: *mut usize) -> HRESULT,
pub SetUserData: unsafe extern "system" fn(_: *mut c_void, _: usize) -> HRESULT,
pub GetStartStopPosition: unsafe extern "system" fn(_: *mut c_void, _: *mut GUID, _: *mut PROPVARIANT, _: *mut GUID, _: *mut PROPVARIANT) -> HRESULT,
pub SetStartStopPosition: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const PROPVARIANT, _: *const GUID, _: *const PROPVARIANT) -> HRESULT,
pub HasVideo: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL, _: *mut BOOL) -> HRESULT,
pub HasAudio: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL, _: *mut BOOL) -> HRESULT,
pub IsProtected: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub GetDuration: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut PROPVARIANT) -> HRESULT,
pub GetNumberOfStreams: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub GetStreamSelection: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL) -> HRESULT,
pub SetStreamSelection: unsafe extern "system" fn(_: *mut c_void, _: u32, _: BOOL) -> HRESULT,
pub GetStreamAttribute: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const GUID, _: *mut PROPVARIANT) -> HRESULT,
pub GetPresentationAttribute: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut PROPVARIANT) -> HRESULT,
pub GetCharacteristics: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub SetStreamSink: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void) -> HRESULT,
pub GetMetadata: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
}Fields§
§base__: IUnknown_Vtbl§GetMediaPlayer: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetURL: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT§GetObject: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetUserData: unsafe extern "system" fn(_: *mut c_void, _: *mut usize) -> HRESULT§SetUserData: unsafe extern "system" fn(_: *mut c_void, _: usize) -> HRESULT§GetStartStopPosition: unsafe extern "system" fn(_: *mut c_void, _: *mut GUID, _: *mut PROPVARIANT, _: *mut GUID, _: *mut PROPVARIANT) -> HRESULT§SetStartStopPosition: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const PROPVARIANT, _: *const GUID, _: *const PROPVARIANT) -> HRESULT§HasVideo: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL, _: *mut BOOL) -> HRESULT§HasAudio: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL, _: *mut BOOL) -> HRESULT§IsProtected: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT§GetDuration: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut PROPVARIANT) -> HRESULT§GetNumberOfStreams: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§GetStreamSelection: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL) -> HRESULT§SetStreamSelection: unsafe extern "system" fn(_: *mut c_void, _: u32, _: BOOL) -> HRESULT§GetStreamAttribute: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const GUID, _: *mut PROPVARIANT) -> HRESULT§GetPresentationAttribute: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut PROPVARIANT) -> HRESULT§GetCharacteristics: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§SetStreamSink: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void) -> HRESULT§GetMetadata: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULTImplementations§
§impl IMFPMediaItem_Vtbl
impl IMFPMediaItem_Vtbl
pub const fn new<Identity: IMFPMediaItem_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IMFPMediaItem_Vtbl
impl RefUnwindSafe for IMFPMediaItem_Vtbl
impl Send for IMFPMediaItem_Vtbl
impl Sync for IMFPMediaItem_Vtbl
impl Unpin for IMFPMediaItem_Vtbl
impl UnwindSafe for IMFPMediaItem_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