IMalloc::HeapMinimize (Windows Embedded CE 6.0)
1/6/2010
This method minimizes the heap as much as possible by releasing unused memory to the operating system, coalescing adjacent free blocks and committing free pages.
Syntax
void HeapMinimize();
Parameters
None.
Return Value
None.
Remarks
Calling IMalloc::HeapMinimize is useful when an application has been running for some time and the heap may be fragmented.
To determine whether the platform supports this interface, see Determining Supported COM APIs.
Requirements
Header | objidl.h, objidl.idl |
Library | ole32.lib |
Windows Embedded CE | Windows CE 3.0 and later |