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.
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.
OS Versions: Windows CE 3.0 and later.
Header: Objidl.h, Objidl.idl.
Link Library: Ole32.lib
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.