Struct windows::Win32::Media::MediaFoundation::IMFVideoSampleAllocator_Vtbl
#[repr(C)]pub struct IMFVideoSampleAllocator_Vtbl {
pub base__: IUnknown_Vtbl,
pub SetDirectXManager: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub UninitializeSampleAllocator: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub InitializeSampleAllocator: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void) -> HRESULT,
pub AllocateSample: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§SetDirectXManager: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§UninitializeSampleAllocator: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§InitializeSampleAllocator: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void) -> HRESULT
§AllocateSample: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
Implementations§
§impl IMFVideoSampleAllocator_Vtbl
impl IMFVideoSampleAllocator_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IMFVideoSampleAllocator_Vtblwhere
Identity: IMFVideoSampleAllocator_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IMFVideoSampleAllocator_Vtbl
impl RefUnwindSafe for IMFVideoSampleAllocator_Vtbl
impl Send for IMFVideoSampleAllocator_Vtbl
impl Sync for IMFVideoSampleAllocator_Vtbl
impl Unpin for IMFVideoSampleAllocator_Vtbl
impl UnwindSafe for IMFVideoSampleAllocator_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