MEMSetGroupIDForExpHeap

C Specification

#include <revolution/mem.h>

u16 MEMSetGroupIDForExpHeap( MEMHeapHandle heap, u16 groupID );

Arguments

heap Heap handle.
groupID Group ID (a value from 0 through 255) to set.

Return Values

Returns the current group ID value.

Description

Sets the group ID of the expanded heap.

The memory blocks allocated from the extended heap each have their own group ID, and this value carries over to the group ID value set in the heap when the memory block is allocated.

The group ID becomes zero upon heap creation.

See Also

MEMGetGroupIDForExpHeap

Revision History

2006/03/01 Initial version.


CONFIDENTIAL