netapi32: implement NetServerEnum and NetShareEnum
kevin at plop.org
Mon Jan 5 19:13:38 CST 2004
You can duplicate a pipe handle with DuplicateHandle, make it inheritable and share it between processes similar
to many other handles
On Sunday 04 January 2004 03:33 pm, Juan Lang wrote:
> --- Alexandre Julliard <julliard at winehq.com> wrote:
> > You have to do inter-process synchronization, pipe
> > handles can be
> > shared between processes. I don't see how you can do
> > that without
> > putting everything into the wine server, which is
> > the same as putting
> > it into the kernel except with a large performance
> > hit (and not only
> > for named pipes, but for all file I/O, since it will
> > prevent many
> > optimizations). But feel free to prove me wrong; I
> > haven't studied the
> > protocol in detail so maybe I'm missing something.
> I don't think pipe handles can be shared in the same
> way as other handles. From MSDN's CreateFile
> "The opening process can duplicate the handle as many
> times as required but, once opened, the named pipe
> instance cannot be opened by another client. "
> I haven't experimented with handle duplication enough
> to know what this really means, though, so I may be
> all wet. We'll see..
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
More information about the wine-devel