Topic created on: January 6, 2006 14:12 CST by pedram .
I can't see to find an "official" answer to this issue ... maybe someone our here knows the answer.
When setting VirtualProtectEx(PAGE_GUARD) on an address range that spans across two pages, I assumed that a page hit would result in only that page having the PAGE_GUARD removed. However, that doesn't appear to be the case. Testing shows that all the pages affected by the original VirtualProtect are cleard of the guard as soon as any of them are hit.
Or am I missing something?