fixme:win32:PeekNamedPipe
Mike McCormack
mikem at codeweavers.com
Tue Apr 16 14:06:14 CDT 2002
Hi Michael's,
Implementing PeekNamedPipe will probably be difficult to do properly.
Named pipes work through unix domain sockets at the moment. The code is
in dlls/ntdll/sync.c and server/named_pipe.c. (I was the one who wrote
most of it.)
Unfortunately I don't have time to work on this at the moment, but i can
give you a few hints on how to procede. You might be able to use
recvfrom with the MSG_PEEK flag to do it...
Tell me how it goes...
Mike
Michael Cardenas wrote:
> Michael Riedel wrote:
>
>> Thanks for the hint, and yes it is a kernel32 function.
>
>
> ok, then there's some work to do.
>
>> fixme:win32:PeekNamedPipe (00000080, (nil), 00000000, (nil),
>> 0x406a2194, (nil)): stub
>>
>> this means that at least a valid handle was created so that there is
>> already some code for CreateNamedPipe or CreatePipe?
>
>
> This means there's a stub. So, there's a placeholder with no code in it.
>
>> Is there anybody knowing more before I am going to try looking into
>> the sources?
>
>
> I'm not more knowing about this function per se, I'm sure whoever else
> wrote the rest of the named pipe implementation will know. But I do know
> that you can do this to find the stub, and possibly the file that has
> the other named pipe functions:
>
> find (winesrcdir) -name *.c | xargs grep PeekNamedPipe
>
More information about the wine-devel
mailing list