pub struct HHEAP(/* private fields */);
Available on crate feature
kernel
only.Expand description
Handle to a
heap object.
Originally just a HANDLE
.
Trait Implementations§
source§impl Handle for HHEAP
impl Handle for HHEAP
source§unsafe fn from_ptr(p: *mut c_void) -> Self
unsafe fn from_ptr(p: *mut c_void) -> Self
Creates a new handle object by wrapping a pointer. Read more
source§unsafe fn as_mut(&mut self) -> &mut *mut c_void
unsafe fn as_mut(&mut self) -> &mut *mut c_void
Returns a mutable reference to the underlying raw pointer. Read more
source§impl PartialEq for HHEAP
impl PartialEq for HHEAP
source§impl kernel_Hheap for HHEAP
impl kernel_Hheap for HHEAP
source§fn GetProcessHeap() -> SysResult<HHEAP>
fn GetProcessHeap() -> SysResult<HHEAP>
GetProcessHeap
function.source§fn GetProcessHeaps() -> SysResult<Vec<HHEAP>>
fn GetProcessHeaps() -> SysResult<Vec<HHEAP>>
GetProcessHeaps
function.source§fn HeapCreate(
options: Option<HEAP_CREATE>,
initial_size: usize,
maximum_size: usize
) -> SysResult<HeapDestroyGuard>
fn HeapCreate( options: Option<HEAP_CREATE>, initial_size: usize, maximum_size: usize ) -> SysResult<HeapDestroyGuard>
HeapCreate
function.source§fn HeapAlloc(
&self,
flags: Option<HEAP_ALLOC>,
num_bytes: usize
) -> SysResult<HeapFreeGuard<'_, Self>>
fn HeapAlloc( &self, flags: Option<HEAP_ALLOC>, num_bytes: usize ) -> SysResult<HeapFreeGuard<'_, Self>>
source§fn HeapCompact(&self, flags: Option<HEAP_SIZE>) -> SysResult<usize>
fn HeapCompact(&self, flags: Option<HEAP_SIZE>) -> SysResult<usize>
HeapCompact
function.source§fn HeapReAlloc<'a>(
&'a self,
flags: Option<HEAP_REALLOC>,
mem: &mut HeapFreeGuard<'a, Self>,
num_bytes: usize
) -> SysResult<()>
fn HeapReAlloc<'a>( &'a self, flags: Option<HEAP_REALLOC>, mem: &mut HeapFreeGuard<'a, Self>, num_bytes: usize ) -> SysResult<()>
HeapReAlloc
function. Read moresource§fn HeapSetInformation(
&self,
information_class: HEAP_INFORMATION,
information: Option<&[u8]>
) -> SysResult<()>
fn HeapSetInformation( &self, information_class: HEAP_INFORMATION, information: Option<&[u8]> ) -> SysResult<()>
HeapSetInformation
function.source§fn HeapSize(
&self,
flags: Option<HEAP_SIZE>,
mem: &HeapFreeGuard<'_, Self>
) -> SysResult<usize>
fn HeapSize( &self, flags: Option<HEAP_SIZE>, mem: &HeapFreeGuard<'_, Self> ) -> SysResult<usize>
HeapSize
function.source§fn HeapValidate(
&self,
flags: Option<HEAP_SIZE>,
mem: Option<&HeapFreeGuard<'_, Self>>
) -> bool
fn HeapValidate( &self, flags: Option<HEAP_SIZE>, mem: Option<&HeapFreeGuard<'_, Self>> ) -> bool
HeapValidate
function. Read moreimpl Eq for HHEAP
impl Send for HHEAP
impl StructuralPartialEq for HHEAP
Auto Trait Implementations§
impl Freeze for HHEAP
impl RefUnwindSafe for HHEAP
impl !Sync for HHEAP
impl Unpin for HHEAP
impl UnwindSafe for HHEAP
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