nn::fnd::ExpHeapTemplate::Adjust Member FunctionMemoryRange Adjust( HeapAdjustMode mode );
| Name | Description | |
|---|---|---|
| in | mode | Specifies whether to reduce the heap starting from the tail (HEAP_ADJUST_TAIL) or the head (HEAP_ADJUST_HEAD) of the heap. |
MemoryRange object returned is zero. Frees unused areas of the expanded heap to reduce the amount of memory the expanded heap uses.
This function has different return values than the version of theAdjust function that takes no arguments. This function returns an nn::fnd::MemoryRange object as its return value. This nn::fnd::MemoryRange object can be used to create a new heap in the freed memory region.
We do not recommend using the version of the Adjust function that takes no arguments. When using the Adjust function, use the version documented on this page.CONFIDENTIAL