|
-
February 7th, 2004, 04:56 AM
#1
Doubt on HeapAlloc
hi,
I have a doubt on HeapFree Function.
We do the heap allocation like this.
pV = HeapAlloc(Mem, HEAP_ZERO_MEMORY , ulSize);
When we do the heap free
HeapFree(Mem, 0, pV);
does this freeing memory has by any chance corrupt the memeory. What actually happens when the HeapFree function in called? is the the memory that is released by this HeapFree can be reused till the Heap is destroyed?
Thanks in Advance,
Varadha
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|