MEMCreateFrmHeap

C Specification

#include <revolution/mem.h>

MEMHeapHandle MEMCreateFrmHeap(
void*  startAddress,
u32             size );

Arguments

startAddress Start address of the allocated memory region in the heap.
size Size in bytes of the memory region allocated to the heap.

Return Values

Returns the heap handle when a heap can be created. Returns MEM_HEAP_INVALID_HANDLE (a NULL value) if a heap can't be created.

Description

Creates the frame heap. The heap region is a memory region that has a size specified by size beginning from the address specified by startAddress.

See Also

MEMCreateFrmHeapEx

Revision History

03/01/2006 Initial version.