- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
public enum MemoryProtection
{
PAGE_EXECUTE = 16, // 0x00000010
PAGE_EXECUTE_READ = 32, // 0x00000020
PAGE_EXECUTE_READWRITE = 64, // 0x00000040
PAGE_EXECUTE_WRITECOPY = 128, // 0x00000080
PAGE_NOACCESS = 1,
PAGE_READONLY = 2,
PAGE_READWRITE = 4,
PAGE_WRITECOPY = 8,
PAGE_TARGETS_INVALID = 1073741824, // 0x40000000
PAGE_TARGETS_NO_UPDATE = PAGE_TARGETS_INVALID, // 0x40000000
PAGE_GUARD = 256, // 0x00000100
PAGE_NOCACHE = 512, // 0x00000200
PAGE_WRITECOMBINE = 1024, // 0x00000400
}
MAKAKA 10.05.2020 15:56 # 0
= 0x40000000
мы пишем
1073741824, // 0x40000000
зачем?зачем?
jojaxon 10.05.2020 16:25 # 0
guest8 11.05.2020 22:12 # −999
Ksyrx 17.05.2020 10:04 # 0
guest8 17.05.2020 15:24 # −999
bormand 17.05.2020 23:34 # 0
KOPOHABuPYC 18.05.2020 23:25 # 0
Fike 10.05.2020 22:49 # 0
ого, так можно было!
MatureGovnocoder 02.07.2020 13:40 # 0
Примерно вот так:
enum AwesomeEnum
{
Ok = 0b01010101011101010101110101110101 // 0x5575 5D75
}
bootcamp_dropout 02.07.2020 13:43 # 0
MatureGovnocoder 02.07.2020 13:44 # 0