|
|
|
|
|
|
|
|
|
|
|
|||||||
CoTaskMem*() suite of functions.
More...Functions | |
| ULONG | CoTaskMemGetSize (void *pv) |
| Gives the size of a memory block. | |
| cs_sint_t | CoTaskMemDidAlloc (void *pv) |
| Determines allocation ownership of a memory block. | |
| void | CoTaskMemHeapMinimise () |
| Minimises the heap. | |
| void | CoTaskMemHeapMinimize () |
| Minimises the heap. | |
CoTaskMem*() suite of functions.
|
|
Determines allocation ownership of a memory block. This function returns a value indicating whether a memory block was allocated by the COM task allocator, as per IMalloc::DidAlloc()
|
|
|
Gives the size of a memory block. This function returns the size of a memory block relative to the COM task alloctor, as per IMalloc::GetSize()
|
|
|
Minimises the heap. This function minimises the heap as much as possible by releasing unused memory to the operating system, coalescing adjacent free blocks and committing free pages, as as per IMalloc::HeapMinimize(). |
|
|
Minimises the heap. This function minimises the heap as much as possible by releasing unused memory to the operating system, coalescing adjacent free blocks and committing free pages, as as per IMalloc::HeapMinimize(). |
|
|
| STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004 |