The information in this article applies to:
SUMMARY
The documentation to CreateFileMapping(), VirtualAlloc(), and
VirtualProtect() indicates that the PAGE_WRITECOPY protection gives
copy-on-write access to the committed region of pages. As it is,
PAGE_WRITECOPY makes sense only in the context of file mapping, where
you want to map something from the disk into your view and then modify
the view without causing the data to go on the disk.
This call will fail under any other versions of Windows NT.
NOTE: lpvAddr is a pointer to memory that was allocated with MEM_RESERVE and PAGE_NOACCESS. One case where this might be useful is when emulating the UNIX fork command. Emulating fork behavior would involve creating instance data and using threads or multiple processes. Additional query words: 3.10 3.50
Keywords : kbAPI kbKernBase kbMemory kbWinOS2000 kbDSupport kbGrpKernBase |
Last Reviewed: December 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |