MEMCreateExpHeap

Syntax

#include <revolution/mem.h>

MEMHeapHandle MEMCreateExpHeap(
                             void*  startAddress,
                             u32    size );

Arguments

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

Return Values

Returns the heap handle when a heap was successfully created. Returns MEM_HEAP_INVALID_HANDLE (a null value) if a heap could not be created.

Description

Creates the expanded heap. The heap region is a memory region with size size and a start address specified by startAddress.

See Also

MEMCreateExpHeapEx

Revision History

2006/03/01 Initial version.


CONFIDENTIAL