Struct IVMRSurfaceAllocator9_Vtbl
#[repr(C)]pub struct IVMRSurfaceAllocator9_Vtbl {
pub base__: IUnknown_Vtbl,
pub InitializeDevice: unsafe extern "system" fn(_: *mut c_void, _: usize, _: *const VMR9AllocationInfo, _: *mut u32) -> HRESULT,
pub TerminateDevice: unsafe extern "system" fn(_: *mut c_void, _: usize) -> HRESULT,
pub GetSurface: unsafe extern "system" fn(_: *mut c_void, _: usize, _: u32, _: u32, _: *mut *mut c_void) -> HRESULT,
pub AdviseNotify: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§InitializeDevice: unsafe extern "system" fn(_: *mut c_void, _: usize, _: *const VMR9AllocationInfo, _: *mut u32) -> HRESULT
§TerminateDevice: unsafe extern "system" fn(_: *mut c_void, _: usize) -> HRESULT
§GetSurface: unsafe extern "system" fn(_: *mut c_void, _: usize, _: u32, _: u32, _: *mut *mut c_void) -> HRESULT
§AdviseNotify: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
Implementations§
§impl IVMRSurfaceAllocator9_Vtbl
impl IVMRSurfaceAllocator9_Vtbl
pub const fn new<Identity: IVMRSurfaceAllocator9_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IVMRSurfaceAllocator9_Vtbl
impl RefUnwindSafe for IVMRSurfaceAllocator9_Vtbl
impl Send for IVMRSurfaceAllocator9_Vtbl
impl Sync for IVMRSurfaceAllocator9_Vtbl
impl Unpin for IVMRSurfaceAllocator9_Vtbl
impl UnwindSafe for IVMRSurfaceAllocator9_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