ntdll/kernel32: Pipe information.
- implemented ntdll.NtQueryInformationFile's FilePipeLocalInformation control code
- reimplemented kernel32.GetNamedPipeInfo on top of it
- enhance current features to make this work both on client and server handles
- now also returning the number of instances
diff --git a/server/protocol.def b/server/protocol.def
index 94cb686..0e18ab3 100644
--- a/server/protocol.def
+++ b/server/protocol.def
@@ -1736,7 +1736,7 @@
#define NAMED_PIPE_MESSAGE_STREAM_WRITE 0x0001
#define NAMED_PIPE_MESSAGE_STREAM_READ 0x0002
#define NAMED_PIPE_NONBLOCKING_MODE 0x0004
-
+#define NAMED_PIPE_SERVER_END 0x8000
/* Open an existing named pipe */
@REQ(open_named_pipe)
@@ -1781,6 +1781,7 @@
@REPLY
unsigned int flags;
unsigned int maxinstances;
+ unsigned int instances;
unsigned int outsize;
unsigned int insize;
@END