Fiddling with function data.

This commit is contained in:
Ben Vanik
2015-06-09 22:01:01 -07:00
parent d482885378
commit 070d34cd02
3 changed files with 28 additions and 9 deletions

View File

@@ -179,7 +179,7 @@ class Win32ChunkedMappedMemoryWriter : public ChunkedMappedMemoryWriter {
bool Open(const std::wstring& path, bool low_address_space) {
DWORD file_access = GENERIC_READ | GENERIC_WRITE;
DWORD file_share = 0;
DWORD file_share = FILE_SHARE_READ;
DWORD create_mode = CREATE_ALWAYS;
DWORD mapping_protect = PAGE_READWRITE;
DWORD view_access = FILE_MAP_READ | FILE_MAP_WRITE;