From 2e57ad7cbd05316638cefb95743fef9810a30cbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Sun, 30 Dec 2012 22:00:20 +0000 Subject: [PATCH] [CONSRV] I replaced by error the mask 0x10000003 by 0x3, which had as an effect to match handles of value 0xffffffff (invalid_handle_value). Fichtre ! svn path=/branches/ros-csrss/; revision=58064 --- include/reactos/subsys/win/console.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/reactos/subsys/win/console.h b/include/reactos/subsys/win/console.h index 45ca0ebacdf..15d7c55dbb9 100644 --- a/include/reactos/subsys/win/console.h +++ b/include/reactos/subsys/win/console.h @@ -12,7 +12,7 @@ #pragma once #define IsConsoleHandle(h) \ - (((ULONG_PTR)(h) & 0x3) == 0x3) + (((ULONG_PTR)(h) & 0x10000003) == 0x3) #endif // _CONSOLE_H