[*] Amend NT IPC memory map
This commit is contained in:
parent
49214dd6f3
commit
9aa65a0bda
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user