[PATCH 4/5] [kernel] Support opening of console for read (try 2)

Ann and Jason Edmeades us at edmeades.me.uk
Tue Nov 20 17:45:02 CST 2012


On 20 November 2012 12:31, Alexandre Julliard <julliard at winehq.org> wrote:

>
> That doesn't guarantee that it's the process console, console handles
> can be passed across processes.
>
>
So apologies if this is an ignorant question, I dont really understand this
console logic properly so I was researching the options. MSDN help for
DuplicateHandle (
http://msdn.microsoft.com/en-gb/library/windows/desktop/ms724251(v=vs.85).aspx)
states console handles cannot be duplicated for use in other processes, is
there another context that I am missing?

Any hints/suggestions on the best way to solve this problem - Ideally we
would want to duplicate the handle extending to add write access, since the
original device was opened read only, but I am not aware of a clean way to
do this.

Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20121120/42af2087/attachment.html>


More information about the wine-devel mailing list