Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Memory Allocation (Windows Embedded CE 6.0)


Use memory allocation routines to allocate, free, and reallocate memory.

For detailed reference information about the CRT functions, see Alphabetical Function Reference (CRT).

Routine Use


Allocates memory on the stack.

This function is deprecated because a more secure version, _malloca, is available.


Allocates storage for array, initializing every byte in allocated block to 0


Frees allocated block


Frees a block allocated by _malloca.


Allocates block of memory from heap


Allocates memory on the stack.

This function is a more secure version of _alloca.


Returns size of allocated block


Reallocates block to new size


A combination of realloc and calloc. Reallocates an array in memory and initializes its elements.


Sets file translation mode

Community Additions

© 2015 Microsoft