2
0
mirror of https://github.com/boostorg/winapi.git synced 2026-01-27 19:32:17 +00:00

Added declaration of MapViewOfFile.

This commit is contained in:
Andrey Semashev
2016-02-14 19:08:49 +03:00
parent 15eaf20041
commit 2905041e65

View File

@@ -51,6 +51,14 @@ OpenFileMappingW(
boost::detail::winapi::BOOL_ bInheritHandle,
boost::detail::winapi::LPCWSTR_ lpName);
BOOST_SYMBOL_IMPORT boost::detail::winapi::LPVOID_ WINAPI
MapViewOfFile(
boost::detail::winapi::HANDLE_ hFileMappingObject,
boost::detail::winapi::DWORD_ dwDesiredAccess,
boost::detail::winapi::DWORD_ dwFileOffsetHigh,
boost::detail::winapi::DWORD_ dwFileOffsetLow,
boost::detail::winapi::SIZE_T_ dwNumberOfBytesToMap);
BOOST_SYMBOL_IMPORT boost::detail::winapi::LPVOID_ WINAPI
MapViewOfFileEx(
boost::detail::winapi::HANDLE_ hFileMappingObject,
@@ -112,6 +120,7 @@ const DWORD_ SEC_IMAGE_NO_EXECUTE_ = (SEC_IMAGE_ | SEC_NOCACHE_);
using ::OpenFileMappingA;
#endif
using ::OpenFileMappingW;
using ::MapViewOfFile;
using ::MapViewOfFileEx;
using ::FlushViewOfFile;
using ::UnmapViewOfFile;