[*] Amend NT IPC memory map

This commit is contained in:
Reece Wilson 2022-08-13 21:35:19 +01:00
parent 49214dd6f3
commit 9aa65a0bda

View File

@ -225,17 +225,9 @@ namespace Aurora::Process
return {};
};
hFileMap = ::CreateFileMappingA(INVALID_HANDLE_VALUE,
nullptr,
pageAttributes,
#if defined(AURORA_IS_64BIT)
AuBitsToHigher(length),
AuBitsToLower(length),
#else
0,
length,
#endif
path.c_str());
hFileMap = ::OpenFileMappingA(desiredAccess,
FALSE,
path.c_str());
if ((hFileMap == INVALID_HANDLE_VALUE) ||
(!hFileMap))
{