| 63 | } |
| 64 | |
| 65 | [Flags] |
| 66 | private enum PageProtection : uint { |
| 67 | NoAccess = 0x01, |
| 68 | Readonly = 0x02, |
| 69 | ReadWrite = 0x04, |
| 70 | WriteCopy = 0x08, |
| 71 | Execute = 0x10, |
| 72 | ExecuteRead = 0x20, |
| 73 | ExecuteReadWrite = 0x40, |
| 74 | ExecuteWriteCopy = 0x80, |
| 75 | Guard = 0x100, |
| 76 | NoCache = 0x200, |
| 77 | WriteCombine = 0x400, |
| 78 | } |
| 79 | |
| 80 | |
| 81 | private const int WAIT_OBJECT_0 = 0; |
nothing calls this directly
no outgoing calls
no test coverage detected