blob: e409d76f0fde70d89f5c688630bc90b2c510afbd [file] [log] [blame]
khenaidooab1f7bd2019-11-14 14:00:27 -05001// Copyright 2017 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5package windows
6
7const (
8 MEM_COMMIT = 0x00001000
9 MEM_RESERVE = 0x00002000
10 MEM_DECOMMIT = 0x00004000
11 MEM_RELEASE = 0x00008000
12 MEM_RESET = 0x00080000
13 MEM_TOP_DOWN = 0x00100000
14 MEM_WRITE_WATCH = 0x00200000
15 MEM_PHYSICAL = 0x00400000
16 MEM_RESET_UNDO = 0x01000000
17 MEM_LARGE_PAGES = 0x20000000
18
19 PAGE_NOACCESS = 0x01
20 PAGE_READONLY = 0x02
21 PAGE_READWRITE = 0x04
22 PAGE_WRITECOPY = 0x08
23 PAGE_EXECUTE_READ = 0x20
24 PAGE_EXECUTE_READWRITE = 0x40
25 PAGE_EXECUTE_WRITECOPY = 0x80
Andrea Campanella3614a922021-02-25 12:40:42 +010026
27 QUOTA_LIMITS_HARDWS_MIN_DISABLE = 0x00000002
28 QUOTA_LIMITS_HARDWS_MIN_ENABLE = 0x00000001
29 QUOTA_LIMITS_HARDWS_MAX_DISABLE = 0x00000008
30 QUOTA_LIMITS_HARDWS_MAX_ENABLE = 0x00000004
khenaidooab1f7bd2019-11-14 14:00:27 -050031)