# NNS_FndFindContainHeap

## Syntax

      #include <nnsys/fnd.h>

      NNSFndHeapHandle NNS_FndFindContainHeap(const void* memBlock);

## Arguments

`memBlock` | Memory block of search target

## Return Values

Returns the heap handle if the heap that contains the specified memory block is found. If not found, returns `NNS_FND_HEAP_INVALID_HANDLE` (a `NULL` value).

## Description

Finds the heap that includes the memory block.

## See Also

`NNS_FndAllocFromExpHeap`
`NNS_FndAllocFromFrmHeap`
`NNS_FndAllocFromUnitHeap`

## Revision History

2008/12/05 Corrected typos.

2004/04/01 Initial version.

CONFIDENTIAL