There are lots of method to allocate memory in Windows environment, such as VirtualAlloc, HeapAlloc, malloc, new.
VirtualAlloc
HeapAlloc
malloc
new
VirtualAlloc ===> sbrk() under UNIX
sbrk()
HeapAlloc ====> malloc() under UNIX
malloc()