windows::Win32::System::ClrHosting

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

pub const fn new<Identity: IHostMemoryManager_Impl, const OFFSET: isize>() -> Self

pub fn matches(iid: &GUID) -> bool

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.