File indexing completed on 2025-12-15 10:10:27
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_WINAPI_PAGE_PROTECTION_FLAGS_HPP_INCLUDED_
0009 #define BOOST_WINAPI_PAGE_PROTECTION_FLAGS_HPP_INCLUDED_
0010
0011 #include <boost/winapi/basic_types.hpp>
0012 #include <boost/winapi/detail/header.hpp>
0013
0014 #ifdef BOOST_HAS_PRAGMA_ONCE
0015 #pragma once
0016 #endif
0017
0018 namespace boost {
0019 namespace winapi {
0020
0021 #if defined( BOOST_USE_WINDOWS_H )
0022
0023 BOOST_CONSTEXPR_OR_CONST DWORD_ PAGE_NOACCESS_ = PAGE_NOACCESS;
0024 BOOST_CONSTEXPR_OR_CONST DWORD_ PAGE_READONLY_ = PAGE_READONLY;
0025 BOOST_CONSTEXPR_OR_CONST DWORD_ PAGE_READWRITE_ = PAGE_READWRITE;
0026 BOOST_CONSTEXPR_OR_CONST DWORD_ PAGE_WRITECOPY_ = PAGE_WRITECOPY;
0027 BOOST_CONSTEXPR_OR_CONST DWORD_ PAGE_GUARD_ = PAGE_GUARD;
0028 BOOST_CONSTEXPR_OR_CONST DWORD_ PAGE_NOCACHE_ = PAGE_NOCACHE;
0029 BOOST_CONSTEXPR_OR_CONST DWORD_ PAGE_WRITECOMBINE_ = PAGE_WRITECOMBINE;
0030
0031 #else
0032
0033 BOOST_CONSTEXPR_OR_CONST DWORD_ PAGE_NOACCESS_ = 0x01;
0034 BOOST_CONSTEXPR_OR_CONST DWORD_ PAGE_READONLY_ = 0x02;
0035 BOOST_CONSTEXPR_OR_CONST DWORD_ PAGE_READWRITE_ = 0x04;
0036 BOOST_CONSTEXPR_OR_CONST DWORD_ PAGE_WRITECOPY_ = 0x08;
0037 BOOST_CONSTEXPR_OR_CONST DWORD_ PAGE_GUARD_ = 0x100;
0038 BOOST_CONSTEXPR_OR_CONST DWORD_ PAGE_NOCACHE_ = 0x200;
0039 BOOST_CONSTEXPR_OR_CONST DWORD_ PAGE_WRITECOMBINE_ = 0x400;
0040
0041 #endif
0042
0043
0044
0045
0046
0047 BOOST_CONSTEXPR_OR_CONST DWORD_ PAGE_EXECUTE_ = 0x10;
0048 BOOST_CONSTEXPR_OR_CONST DWORD_ PAGE_EXECUTE_READ_ = 0x20;
0049 BOOST_CONSTEXPR_OR_CONST DWORD_ PAGE_EXECUTE_READWRITE_ = 0x40;
0050 BOOST_CONSTEXPR_OR_CONST DWORD_ PAGE_EXECUTE_WRITECOPY_ = 0x80;
0051
0052 }
0053 }
0054
0055 #include <boost/winapi/detail/footer.hpp>
0056
0057 #endif