nn::fnd::ExpHeapTemplate::ResizeBlock Member Function

Syntax

size_t ResizeBlock(
     void * p,
     size_t newSize
);

Parameters

Name Description
in p Specifies the starting address of the memory block whose size is being changed
in newSize Specifies the new size (in bytes) of the memory block

Return Values

If successful, returns the new size (in bytes) of the memory block. Otherwise, returns 0.

Description

Changes the size of a memory block that was allocated from the expanded heap.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL