[PATCH 1/2] kernel32: Invalid console handles for new processes are 0, not INVALID_HANDLE_VALUE.

Erich E. Hoover erich.e.hoover at wine-staging.com
Thu Apr 23 00:46:03 CDT 2015


I'm sorry it's taken me a while to resubmit this, between work and
being sick I haven't had a lot of time for Wine lately.  This patch
fixes the bug that Hearthstone was experiencing prior to a recent
update (Bug #36216), where it was expecting invalid console handles of
0 instead of INVALID_HANDLE_VALUE for new console processes.  At
least, it expects that from the TEB - the included testing shows that
console handles of 0 still correspond to INVALID_HANDLE_VALUE in the
STARTUPINFO.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-kernel32-Invalid-console-handles-for-new-processes-a.patch
Type: text/x-diff
Size: 8986 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150422/ca63cec6/attachment.patch>


More information about the wine-patches mailing list