Allocates a new memory block of the specified size.
- 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_AllocAndZero()
-
MFHeap_Realloc()
-
MFHeap_Free()