diff options
Diffstat (limited to 'boost/detail/winapi/file_management.hpp')
-rw-r--r-- | boost/detail/winapi/file_management.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/boost/detail/winapi/file_management.hpp b/boost/detail/winapi/file_management.hpp index 80567bd477..b90b7ee07b 100644 --- a/boost/detail/winapi/file_management.hpp +++ b/boost/detail/winapi/file_management.hpp @@ -242,6 +242,24 @@ const DWORD_ FILE_END_ = 2; #endif // defined( BOOST_USE_WINDOWS_H ) +// Some of these constants are not defined by Windows SDK in MinGW or older MSVC +const DWORD_ FILE_FLAG_WRITE_THROUGH_ = 0x80000000; +const DWORD_ FILE_FLAG_OVERLAPPED_ = 0x40000000; +const DWORD_ FILE_FLAG_NO_BUFFERING_ = 0x20000000; +const DWORD_ FILE_FLAG_RANDOM_ACCESS_ = 0x10000000; +const DWORD_ FILE_FLAG_SEQUENTIAL_SCAN_ = 0x08000000; +const DWORD_ FILE_FLAG_DELETE_ON_CLOSE_ = 0x04000000; +const DWORD_ FILE_FLAG_BACKUP_SEMANTICS_ = 0x02000000; +const DWORD_ FILE_FLAG_POSIX_SEMANTICS_ = 0x01000000; +const DWORD_ FILE_FLAG_SESSION_AWARE_ = 0x00800000; +const DWORD_ FILE_FLAG_OPEN_REPARSE_POINT_ = 0x00200000; +const DWORD_ FILE_FLAG_OPEN_NO_RECALL_ = 0x00100000; +const DWORD_ FILE_FLAG_FIRST_PIPE_INSTANCE_ = 0x00080000; + +#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN8 +const DWORD_ FILE_FLAG_OPEN_REQUIRING_OPLOCK_ = 0x00040000; +#endif + // This constant is not defined in Windows SDK up until 6.0A const DWORD_ FILE_ATTRIBUTE_VIRTUAL_ = 0x00010000; |