Struct IHostMemoryManager_Vtbl
#[repr(C)]pub struct IHostMemoryManager_Vtbl {
pub base__: IUnknown_Vtbl,
pub CreateMalloc: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT,
pub VirtualAlloc: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize, _: u32, _: u32, _: EMemoryCriticalLevel, _: *mut *mut c_void) -> HRESULT,
pub VirtualFree: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize, _: u32) -> HRESULT,
pub VirtualQuery: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: *mut c_void, _: usize, _: *mut usize) -> HRESULT,
pub VirtualProtect: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize, _: u32, _: *mut u32) -> HRESULT,
pub GetMemoryLoad: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut usize) -> HRESULT,
pub RegisterMemoryNotificationCallback: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub NeedsVirtualAddressSpace: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize) -> HRESULT,
pub AcquiredVirtualAddressSpace: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize) -> HRESULT,
pub ReleasedVirtualAddressSpace: unsafe extern "system" fn(_: *mut c_void, _: *const c_void) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§CreateMalloc: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT
§VirtualAlloc: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize, _: u32, _: u32, _: EMemoryCriticalLevel, _: *mut *mut c_void) -> HRESULT
§VirtualFree: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize, _: u32) -> HRESULT
§VirtualQuery: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: *mut c_void, _: usize, _: *mut usize) -> HRESULT
§VirtualProtect: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize, _: u32, _: *mut u32) -> HRESULT
§GetMemoryLoad: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut usize) -> HRESULT
§RegisterMemoryNotificationCallback: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§NeedsVirtualAddressSpace: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize) -> HRESULT
§AcquiredVirtualAddressSpace: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: usize) -> HRESULT
§ReleasedVirtualAddressSpace: unsafe extern "system" fn(_: *mut c_void, _: *const c_void) -> HRESULT
Implementations§
§impl IHostMemoryManager_Vtbl
impl IHostMemoryManager_Vtbl
pub const fn new<Identity: IHostMemoryManager_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IHostMemoryManager_Vtbl
impl RefUnwindSafe for IHostMemoryManager_Vtbl
impl Send for IHostMemoryManager_Vtbl
impl Sync for IHostMemoryManager_Vtbl
impl Unpin for IHostMemoryManager_Vtbl
impl UnwindSafe for IHostMemoryManager_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