[CONSRV]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 30 Dec 2012 22:00:20 +0000 (22:00 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 30 Dec 2012 22:00:20 +0000 (22:00 +0000)
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

index 45ca0eb..15d7c55 100644 (file)
@@ -12,7 +12,7 @@
 #pragma once
 
 #define IsConsoleHandle(h)  \
-    (((ULONG_PTR)(h) & 0x3) == 0x3)
+    (((ULONG_PTR)(h) & 0x10000003) == 0x3)
 
 #endif // _CONSOLE_H