This commit is contained in:
Reece Wilson 2024-04-10 08:20:47 +01:00
parent 13ddd42961
commit 1bb3197941
3 changed files with 6 additions and 4 deletions

View File

@ -120,7 +120,8 @@ namespace Aurora::IO::FS
FILE_SHARE_WRITE | FILE_SHARE_READ,
false,
OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL | FILE_FLAG_BACKUP_SEMANTICS);
FILE_FLAG_BACKUP_SEMANTICS,
FILE_ATTRIBUTE_NORMAL);
if (hFile == INVALID_HANDLE_VALUE)
{

View File

@ -464,7 +464,8 @@ namespace Aurora::IO::IPC
0,
false,
OPEN_ALWAYS,
FILE_ATTRIBUTE_NORMAL | FILE_FLAG_OVERLAPPED);
FILE_FLAG_OVERLAPPED,
FILE_ATTRIBUTE_NORMAL);
if ((!pipe) ||
(pipe == INVALID_HANDLE_VALUE))

View File

@ -243,8 +243,8 @@ namespace Aurora::IO::NT
0,
false,
OPEN_ALWAYS,
FILE_ATTRIBUTE_NORMAL,
NULL);
0,
FILE_ATTRIBUTE_NORMAL);
if (hPipe == INVALID_HANDLE_VALUE)
{