Struct windows::Win32::Media::MediaFoundation::IMFSourceReader_Vtbl
#[repr(C)]pub struct IMFSourceReader_Vtbl {
pub base__: IUnknown_Vtbl,
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 GetNativeMediaType: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut *mut c_void) -> HRESULT,
pub GetCurrentMediaType: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT,
pub SetCurrentMediaType: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const u32, _: *mut c_void) -> HRESULT,
pub SetCurrentPosition: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const MaybeUninit<PROPVARIANT>) -> HRESULT,
pub ReadSample: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut u32, _: *mut u32, _: *mut i64, _: *mut *mut c_void) -> HRESULT,
pub Flush: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
pub GetServiceForStream: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const GUID, _: *const GUID, _: *mut *mut c_void) -> HRESULT,
pub GetPresentationAttribute: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const GUID, _: *mut MaybeUninit<PROPVARIANT>) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§GetStreamSelection: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL) -> HRESULT
§SetStreamSelection: unsafe extern "system" fn(_: *mut c_void, _: u32, _: BOOL) -> HRESULT
§GetNativeMediaType: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut *mut c_void) -> HRESULT
§GetCurrentMediaType: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT
§SetCurrentMediaType: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const u32, _: *mut c_void) -> HRESULT
§SetCurrentPosition: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const MaybeUninit<PROPVARIANT>) -> HRESULT
§ReadSample: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut u32, _: *mut u32, _: *mut i64, _: *mut *mut c_void) -> HRESULT
§Flush: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT
§GetServiceForStream: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const GUID, _: *const GUID, _: *mut *mut c_void) -> HRESULT
§GetPresentationAttribute: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const GUID, _: *mut MaybeUninit<PROPVARIANT>) -> HRESULT
Implementations§
§impl IMFSourceReader_Vtbl
impl IMFSourceReader_Vtbl
pub const fn new<Identity: IUnknownImpl<Impl = Impl>, Impl: IMFSourceReader_Impl, const OFFSET: isize>( ) -> IMFSourceReader_Vtbl
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl RefUnwindSafe for IMFSourceReader_Vtbl
impl Send for IMFSourceReader_Vtbl
impl Sync for IMFSourceReader_Vtbl
impl Unpin for IMFSourceReader_Vtbl
impl UnwindSafe for IMFSourceReader_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