Re: Resent: Partial PeekNamedPipe Implementation
July 22, 2002
6:26 p.m.
Uwe Bonnes <bon(a)elektron.ikp.physik.tu-darmstadt.de> writes:
wine/server/pipe.c, wine/server/named_pipe.c: xxx_get_info Return the number of bytes available for reading wine/dlls/kernel/sync.c: PeekNamedPipe Use get_file_info to get the number of bytes available for reading
I don't think it's a good idea to overload get_file_info that way. You should retrieve the pipe file descriptor and do the FIONREAD on the client side. We will need the file descriptor anyway to implement the full peek functionality. -- Alexandre Julliard julliard(a)winehq.com
8648
Age (days ago)
8648
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard