MEMFindContainHeap

Syntax

#include <revolution/mem.h>

MEMHeapHandle MEMFindContainHeap( const void* memBlock );

Arguments

memBlock Memory block to search for.

Return Values

Returns the heap handle if the heap that contains the specified memory block is found. Otherwise, returns MEM_HEAP_INVALID_HANDLE (a NULL value).

Description

Finds the heap that includes the specified memory block.

See Also

MEMAllocFromExpHeap, MEMAllocFromFrmHeap, MEMAllocFromUnitHeap

Revision History

2006/03/01 Initial version.


CONFIDENTIAL