Allocates a new memory block of the specified size and zero's the contents.
- Parameters
-
bytes | Number of bytes to allocate for the new buffer. |
pHeap | Optional pointer to an MFHeap where the memory will be allocated. If pHeap is set to NULL, the current 'Active' heap will be used. |
- Returns
- A pointer to a new area in memory ready for use.
- See Also
- MFHeap_Alloc()
-
MFHeap_Realloc()
-
MFHeap_Free()