MEMFindContainHeap

Syntax

#include <cafe/mem.h>

MEMHeapHandle MEMFindContainHeap( const void* memBlock );

Parameters

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.

Do Not Call From

Callbacks Do not call this function from any callback function.

See Also

MEMAllocFromExpHeap
MEMAllocFromFrmHeap
MEMAllocFromUnitHeap

Revision History

2013-05-08 Automated cleanup pass.
2010-11-01 Initial version.


CONFIDENTIAL