# NNS_FndAdjustFrmHeap

## Syntax

      #include <nnsys/fnd.h>

      u32 NNS_FndAdjustFrmHeap(NNSFndHeapHandle heap);

## Arguments

heap | Frame heap handle.

## Return Values

Returns the size (in bytes) of the frame heap after compression if the function succeeds. If it fails, 0 is returned.

## Description

This function deallocates the empty region of the frame heap from the heap region, then compresses that part of the heap. The function fails if there is a memory block allocated from the back of the heap region.

## See Also

`NNS_FndAllocFromFrmHeap, NNS_FndAllocFromFrmHeapEx, NNS_FndFreeToFrmHeap
`

## Revision History

2004/04/01 Initial version.

CONFIDENTIAL