Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::memory::InitHeap Function
C++
MEM_PROC int MEM_API InitHeap(PMEM pMem, PTRSZVAL dwSize);
Parameters 
Description 
PMEM pMem 
pointer to a memory space to setup as a heap. 
PTRSZVAL dwSize 
size of the memory space pointed at by pMem. 

even if pMem is just a POINTER returned from OpenSpace this will create a valid heap pointer. 

will result TRUE if a valid heap is present will result FALSE if heap is not able to init (has content)

Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!