mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 07:13:23 +00:00
fix pipe create flags traslation
svn path=/trunk/; revision=8775
This commit is contained in:
parent
f396c8299f
commit
31ac5158a6
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: npipe.c,v 1.17 2004/01/23 21:16:03 ekohl Exp $
|
/* $Id: npipe.c,v 1.18 2004/03/17 15:00:39 gdalsnes Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS system libraries
|
* PROJECT: ReactOS system libraries
|
||||||
|
@ -110,9 +110,9 @@ CreateNamedPipeW(LPCWSTR lpName,
|
||||||
{
|
{
|
||||||
CreateOptions = CreateOptions | FILE_WRITE_THROUGH;
|
CreateOptions = CreateOptions | FILE_WRITE_THROUGH;
|
||||||
}
|
}
|
||||||
if (dwOpenMode & FILE_FLAG_OVERLAPPED)
|
if (!(dwOpenMode & FILE_FLAG_OVERLAPPED))
|
||||||
{
|
{
|
||||||
CreateOptions = CreateOptions | FILE_SYNCHRONOUS_IO_ALERT;
|
CreateOptions = CreateOptions | FILE_SYNCHRONOUS_IO_NONALERT;
|
||||||
}
|
}
|
||||||
if (dwOpenMode & PIPE_ACCESS_DUPLEX)
|
if (dwOpenMode & PIPE_ACCESS_DUPLEX)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue