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
This commit is contained in:
Hermès Bélusca-Maïto 2012-12-30 22:00:20 +00:00
parent c0399e88a6
commit 2e57ad7cbd

View file

@ -12,7 +12,7 @@
#pragma once
#define IsConsoleHandle(h) \
(((ULONG_PTR)(h) & 0x3) == 0x3)
(((ULONG_PTR)(h) & 0x10000003) == 0x3)
#endif // _CONSOLE_H