Cygwin: FIFO: use FILE_PIPE_REJECT_REMOTE_CLIENTS flag
Add that flag to the pipe type argument when creating the Windows named pipe. And add a definition of that flag to ntdll.h (copied from /usr/include/w32api/ddk/ntifs.h).
This commit is contained in:
@@ -557,7 +557,8 @@ enum
|
||||
enum
|
||||
{
|
||||
FILE_PIPE_BYTE_STREAM_TYPE = 0,
|
||||
FILE_PIPE_MESSAGE_TYPE = 1
|
||||
FILE_PIPE_MESSAGE_TYPE = 1,
|
||||
FILE_PIPE_REJECT_REMOTE_CLIENTS = 2
|
||||
};
|
||||
|
||||
typedef struct _FILE_PIPE_PEEK_BUFFER {
|
||||
|
Reference in New Issue
Block a user