ntdll: Properly set flags in NtCreateNamedPipe().
This commit is contained in:
parent
8a00eb8609
commit
759d76ae23
|
@ -2797,9 +2797,9 @@ NTSTATUS WINAPI NtCreateNamedPipeFile( PHANDLE handle, ULONG access,
|
||||||
req->options = options;
|
req->options = options;
|
||||||
req->sharing = sharing;
|
req->sharing = sharing;
|
||||||
req->flags =
|
req->flags =
|
||||||
(pipe_type) ? NAMED_PIPE_MESSAGE_STREAM_WRITE : 0 |
|
(pipe_type ? NAMED_PIPE_MESSAGE_STREAM_WRITE : 0) |
|
||||||
(read_mode) ? NAMED_PIPE_MESSAGE_STREAM_READ : 0 |
|
(read_mode ? NAMED_PIPE_MESSAGE_STREAM_READ : 0) |
|
||||||
(completion_mode) ? NAMED_PIPE_NONBLOCKING_MODE : 0;
|
(completion_mode ? NAMED_PIPE_NONBLOCKING_MODE : 0);
|
||||||
req->maxinstances = max_inst;
|
req->maxinstances = max_inst;
|
||||||
req->outsize = outbound_quota;
|
req->outsize = outbound_quota;
|
||||||
req->insize = inbound_quota;
|
req->insize = inbound_quota;
|
||||||
|
|
Loading…
Reference in New Issue