Struct IKsAllocator_Vtbl
#[repr(C)]pub struct IKsAllocator_Vtbl {
pub base__: IUnknown_Vtbl,
pub KsGetAllocatorHandle: unsafe extern "system" fn(_: *mut c_void) -> HANDLE,
pub KsGetAllocatorMode: unsafe extern "system" fn(_: *mut c_void) -> KSALLOCATORMODE,
pub KsGetAllocatorStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut KSSTREAMALLOCATOR_STATUS) -> HRESULT,
pub KsSetAllocatorMode: unsafe extern "system" fn(_: *mut c_void, _: KSALLOCATORMODE),
}
Fields§
§base__: IUnknown_Vtbl
§KsGetAllocatorHandle: unsafe extern "system" fn(_: *mut c_void) -> HANDLE
§KsGetAllocatorMode: unsafe extern "system" fn(_: *mut c_void) -> KSALLOCATORMODE
§KsGetAllocatorStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut KSSTREAMALLOCATOR_STATUS) -> HRESULT
§KsSetAllocatorMode: unsafe extern "system" fn(_: *mut c_void, _: KSALLOCATORMODE)
Implementations§
§impl IKsAllocator_Vtbl
impl IKsAllocator_Vtbl
pub const fn new<Identity: IKsAllocator_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IKsAllocator_Vtbl
impl RefUnwindSafe for IKsAllocator_Vtbl
impl Send for IKsAllocator_Vtbl
impl Sync for IKsAllocator_Vtbl
impl Unpin for IKsAllocator_Vtbl
impl UnwindSafe for IKsAllocator_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