Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Heap Constants

Heap Constants 

#include <malloc.h>

These constants give the return value indicating status of the heap.

Constant Meaning


Initial header information was not found or was invalid.


Bad node was found, or heap is damaged.


_pentry field of _HEAPINFO structure does not contain valid pointer into heap (_heapwalk routine only).


Heap has not been initialized.


End of heap was reached successfully (_heapwalk routine only).


Heap is consistent (_heapset and _heapchk routines only). No errors so far; _HEAPINFO structure contains information about next entry (_heapwalk routine only).

Community Additions

© 2015 Microsoft