- create.c: All instances of a pipe must be the same pipe mode as when first instance...
authorMichael Martin <michael.martin@reactos.org>
Fri, 16 Jan 2009 14:33:45 +0000 (14:33 +0000)
committerMichael Martin <michael.martin@reactos.org>
Fri, 16 Jan 2009 14:33:45 +0000 (14:33 +0000)
commit9e097bc205a0dc9886067825505fcba9fca16be5
tree474125e917f810a178afd43b978d68f698cc8e57
parentdeb282d9e133ba98ef6ee9f1910d407c8fc6bcf7
- create.c: All instances of a pipe must be the same pipe mode as when first instance was created.
            Clients start of in byte stream mode, regardless of the pipe's mode.
- finfo.c:  NPFS does not allow changing read mode to message for byte stream mode pipes.
- rw.c:     The format in which data is in the pipe's buffer is based on the pipe mode vice read mode.
            Implement reads in byte stream mode for pipes using message mode.
            Fixed a bug that could caused buffer data to be corrupted due to incorrect calc of WritePtr position.
- fsctrl.c: Return buffer from NpfsPeekPipe if caller requested.
            Use a mutex before reading the pipe's buffer.
            Return the correct length in Irp info.

svn path=/trunk/; revision=38790
reactos/drivers/filesystems/npfs/create.c
reactos/drivers/filesystems/npfs/finfo.c
reactos/drivers/filesystems/npfs/fsctrl.c
reactos/drivers/filesystems/npfs/rw.c