Struct windows::Win32::Media::DirectShow::IMemAllocator_Vtbl
#[repr(C)]pub struct IMemAllocator_Vtbl {
pub base__: IUnknown_Vtbl,
pub SetProperties: unsafe extern "system" fn(_: *mut c_void, _: *const ALLOCATOR_PROPERTIES, _: *mut ALLOCATOR_PROPERTIES) -> HRESULT,
pub GetProperties: unsafe extern "system" fn(_: *mut c_void, _: *mut ALLOCATOR_PROPERTIES) -> HRESULT,
pub Commit: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub Decommit: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub GetBuffer: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void, _: *const i64, _: *const i64, _: u32) -> HRESULT,
pub ReleaseBuffer: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§SetProperties: unsafe extern "system" fn(_: *mut c_void, _: *const ALLOCATOR_PROPERTIES, _: *mut ALLOCATOR_PROPERTIES) -> HRESULT
§GetProperties: unsafe extern "system" fn(_: *mut c_void, _: *mut ALLOCATOR_PROPERTIES) -> HRESULT
§Commit: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§Decommit: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§GetBuffer: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void, _: *const i64, _: *const i64, _: u32) -> HRESULT
§ReleaseBuffer: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
Implementations§
§impl IMemAllocator_Vtbl
impl IMemAllocator_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IMemAllocator_Vtblwhere
Identity: IMemAllocator_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IMemAllocator_Vtbl
impl RefUnwindSafe for IMemAllocator_Vtbl
impl Send for IMemAllocator_Vtbl
impl Sync for IMemAllocator_Vtbl
impl Unpin for IMemAllocator_Vtbl
impl UnwindSafe for IMemAllocator_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