Changes the protection on a region of committed pages in the virtual address space of the calling process.
To change the access protection of any process, use the VirtualProtectEx function.
PAGE_EXECUTE
0x10
Enables execute access to the committed region of pages. An attempt to read or write to the committed region results in an access violation.
This flag is not supported by the CreateFileMapping function.