Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Segment Allocation<br />
RtlpExtend<strong>Heap</strong>:<br />
1<br />
2<br />
3<br />
NtAllocateVirtualMemory(INVALID_HANDLE_VALUE, &allocAddr, 0,<br />
&h<strong>Heap</strong>->segmentReserve, MEM_RESERVE, rwProt);<br />
…<br />
NtAllocateVirtualMemory(INVALID_HANDLE_VALUE, &allocAddr, 0,<br />
&segmentCommit, MEM_COMMIT, rwProt);<br />
…<br />
return allocAddr;