# NNS_FndGetGroupIDForExpHeap

## C Specification

      #include <nnsys/fnd.h>

      u16 NNS_FndGetGroupIDForExpHeap(NNSFndHeapHandle heap);

## Arguments

heap | Extended heap handle

## Return Values

Returns the current group ID value.

## Description

Gets the group ID of the extended 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.

Immediately after creation of the heap, the group ID becomes 0.

## See Also

`NNS_FndSetAllocModeForExpHeap
`

## Revision History

04/28/2004 The value of the group ID after creation of the heap was incorrect. Revised. 04/01/2004 Initial Version