18.11.2014 Views

Using Virtual Memory in your application

Using Virtual Memory in your application

Using Virtual Memory in your application

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1. Reserve <br />

2. 行 Commit<br />

不 ?<br />

理 !! !!<br />

<strong>Virtual</strong>Alloc((PVOID) (NULL, 99 * 1024,<br />

MEM_RESERVE| MEM_COMMIT, PAGE_READWRITE);<br />

100 kB <br />

Why ?<br />

page size(4KB) 數 <br />

: 若 不 , NULL

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!