The OLE implementation of IMalloc
allocates, frees, and manages memory.
The OLE libraries and object handlers call the methods of the IMalloc
implementation to manage memory. Those implementing object handlers should
to get a pointer to the IMalloc
implementation to handle task memory management needs.
, and Realloc
are similar to the C library functions malloc
, and realloc
. For debugging, refer to the functions CoRegisterMallocSpy
Methods in Vtable Order
||Allocates a block of memory.
||Frees a previously allocated block of memory.
||Changes the size of a previously allocated block of memory.
||Returns the size in bytes of a previously allocated block of memory
||Determines if this instance of IMalloc was used to allocate the specified
block of memory.
||Minimizes the heap by releasing unused memory to the operating system.
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages